Extension Methods in Visual Basic 9.0

19 minutes, 40 seconds


Right click “Save as…”

In this in interview Scott Wisniewski, a Developer on the Visual Basic Team, talks about Extension Methods and shows us a couple interesting LINQ providers. In his own unique way, Scott dives into the meaning of Extension Methods and how they can extend types with discoverable methods which are part of the underpinnings of LINQ. He walks through some code written as an extension to LINQ query results to generate pie charts and then dives into a LINQ provider he built that hooks into Performance Monitor to give you real-time statistics on your LINQ queries. You can also read Scott's MSDN Magazine article here.

0:00 – 1:15



Simple Extension Method on a string


Pie chart extension


Discussion of Lambda expression/Inline Functions


Custom LINQ Provider utilizing Performance Monitor


Follow the discussion

  • Oops, something didn't work.

    Getting subscription
    Subscribe to this conversation

Comments closed

Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation, please create a new thread in our Forums, or Contact Us and let us know.