Extension method: Difference between revisions

Content deleted Content added
Current VB.NET solutions: fix syntaxhighlight error
Line 150:
==Current VB.NET solutions==
In most ways, the VB.NET solution is similar to the C# solution above. However VB.NET has a unique advantage in that it allows members to be passed in to the extension by reference (C# only allows by value). Allowing for the following;
<syntaxhighlight lang="vbvbnet">
Dim x As String = "some string value"
x.Reverse()