Episode

Extension Methods in Visual Basic 9.0

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'sMSDN Magazine article here.

0:00 – 1:15

Intro

1:15

Simple Extension Method on a string

4:34

Pie chart extension

6:32

Discussion of Lambda expression/Inline Functions

9:39

Custom LINQ Provider utilizing Performance Monitor