Extension methods namespace

Nov 5, 2007 at 1:57 PM
I have a usability question..

I want to improve an existing project with using i4o. The problem is, now i have to go through the complete sourcecode, and add the using statement for the i4o namespace, so that the special extension methods (Where etc) are used. Why not place the extension methods class in the System namespace, as that's most likely used always?

Regards,

Matthijs ter Woord
Coordinator
Dec 1, 2007 at 1:09 AM
Thanks for the question - sorry about the delay in response.

Actually - and especially with extension methods - a lot of people argue that you should be very afraid of declaring methods in the system namespace w/regard to them. I tend to agree - since having a more strict namespace will tend to make it more of an "opt-in" feature than an "opt-out" one.