Extension Methods in Visual Basic 9.0

Download

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

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

Tags:

Follow the Discussion

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.