Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Apr 06, 2012 01:22 AM by EnenDaveyBoy
Participant
1465 Points
1146 Posts
Apr 06, 2012 01:07 AM|LINK
Sorry this is a newbie question, do extension methods classes have to be in the root directory?
All-Star
27438 Points
4893 Posts
MVP
Apr 06, 2012 01:09 AM|LINK
Nope. Extension methods can be (and typically are) in a namespace and then can be used when that namespace is in scope via a "using" statement.
Apr 06, 2012 01:22 AM|LINK
i tried that but it didn't work, only when I put it in the root folder did it work.
Might have to try again
Thanks
EnenDaveyBoy
Participant
1465 Points
1146 Posts
Extension methods quick question
Apr 06, 2012 01:07 AM|LINK
Sorry this is a newbie question, do extension methods classes have to be in the root directory?
BrockAllen
All-Star
27438 Points
4893 Posts
MVP
Re: Extension methods quick question
Apr 06, 2012 01:09 AM|LINK
Nope. Extension methods can be (and typically are) in a namespace and then can be used when that namespace is in scope via a "using" statement.
DevelopMentor | http://www.develop.com
thinktecture | http://www.thinktecture.com/
EnenDaveyBoy
Participant
1465 Points
1146 Posts
Re: Extension methods quick question
Apr 06, 2012 01:22 AM|LINK
i tried that but it didn't work, only when I put it in the root folder did it work.
Might have to try again
Thanks