Extension Methods in VB.NET
Last week we took a look at Extension Methods in CSharp. Today we will continue looking at Extension methods using VB.NET syntax. It’s obvious by comparing the syntax in VB.NET to the syntax we used in C#, that either there was a strong disagreement as to how to implement Extension Methods syntactically, or the language teams never talk to each other.
The key difference between the implementations is that VB.NET requires you to place the method in a module and attribute the method as an extension method. Let’s take a look.
If you're new here, you may want to subscribe to my RSS feed. Thanks for visiting!

