Visual Basic Blog

A group blog from members of the VB team

Live From Redmond Webcast Series (Beth Massi)

The Visual Basic team has put together a "Live from Redmond" webcast series aimed at the next version of Visual Basic and Visual Studio code named "Orcas". The live series starts April 18th and will continue to the end of May. Come join us for this exciting series direct from the Visual Basic team!! Here's the schedule (check the VB Developer ...

Extension Methods Best Practices (Extension Methods Part 6)

This is the sixth installment in my series of posts about extension methods. You can find links to the rest of the series here. Today I am going to talk about some best practices for using extension methods. Most of this content is geared toward authors of class libraries designed for wide spread consumption. Developers of such libraries often...

Extension methods and Generics (Extension Methods Part 5)

This is the 5th installment in my series of posts about extension methods. You can find links to the rest of the series here. Originally I had planned on discussing extension method versioning issues, but I've decided to postpone that topic to my next post and talk about extension methods and generics instead. In Orcas we've introduced a new ...

Extension Methods (part 3)

In my previous 2 posts I talked about some of the benefits of extension methods and then delved into the details of our new binding rules for consuming them in your programs. Today I'm going to talk about some perils to be aware of when defining extension methods. First, however, I'm going to dig a little into the mechanics used by the ...

Extension Methods (part 2)

In my previous post I gave a high level overview of some of the benefits of using Extension Methods in VB 9.0. Today I'm going to delve into some of the details about how to define extension methods and then use them in your programs. Defining Extension Methods You can define an extension method by creating a method in a VB module and ...

Extension methods (part 1)

Hi. I'm Scott Wisniewski, a dev on the VB Compiler Team. I've been here for a while now (about a year and a half), but this is my first blog post. I've been spending the past seven months or so working on Orcas, and finally decided it would be a good time to come up for some air, talk about what I've been working on, and start to actually make...

Holiday fun with LinQ, and LinQ technologies in mind

OK, so when you're playing around with LinQ and all it's various additional bits, you really do get to have a bit of fun. I've made this available simply because i enjoyed doing it. The basic idea is to time and then compare the duration of various 'IsPrime' implementations. The 'client' simply allows you to run various IsPrime implementations...

VB6 Collections: The Missing LINQ

By Jonathan Aneja   Hi, my name’s Jonathan and I’m a Program Manager on the VB team, working mainly on LINQ features.  One of the things I love about LINQ is it’s not just limited to querying over databases and XML – you can query over any collection of Objects.  For example, let’s say I have a collection of ...

New VB9 Bloggers

By Amanda Silver  I just wanted to let you know that we’re working furiously on turning the VB9 features into an actual product, understanding how the debugger and editor should support them, and getting another CTP out to you all. Your feedback so far as been invaluable.  Hopefully you’ll see that we’ve ...