|
|
|
244 days, 2 hours, 47 minutes
ago
Wednesday, June 10, 2009 1:37:28 PM
GMT
Wednesday, June 10, 2009 1:46:24 AM
GMT
|
|
msmvps.com --
How to prevent Extension methods from appearing as global functions
C# have static (or shared) classes which VB lacks. Instead VB uses modules which are almost the same thing. One thing differs though and that is that modules makes its public methods appear as global accessible functions, meaning you don’t have to type the ModuleName.MethodName() when calling such a member. You can instead simply call MethodName() directly.
A disadvantage of this fact is that extension methods, that must exist in modules ...
|
|
tags:
extension methods, intellisense, VB, VB.NET, Visual Basic, visual studio
|
|
No comments yet, be the first one to post comment.