Visual Basic Blog

A group blog from members of the VB team

Getting Loopy (Matt Gertz)

In my last post, I talked about the hidden costs that can occur whenever you call out to methods, particularly in loops.  In looking at my examples, reader KG2V commented that another thing that folks need to be aware of is avoiding the assumption that the world (or, in this case, a list) is a static thing.  It’s a good point ...

Hidden Costs (Matt Gertz)

(Note: there was a grievous error in this post based on a bad assumption on my art regarding VB.  Not feeling the need to hide my ignorance :-), I have instead made a number of edits in this post to bring it back to some semblance of reality.)One thing that gets me annoyed with myself is realizing that the product or service I’ve ...

Testing Events for Nothing/Null (Doug Rothaus)

While helping some Windows API folks with some sample code this week, I stumbled upon...uh...I mean “carefully researched” an issue that you might find handy.You may be aware that the RaiseEvent statement automatically checks to verify if an event handler exists before raising the event. If the event is Nothing, then there’s ...

Properties vs Fields – Why Does it Matter? (Jonathan Aneja)

The other day I got an email from a developer asking an interesting question about VB10’s Auto-implemented Properties feature. “I am, however, somewhat confused regarding the properties feature you mentioned - i.e. turning 11 lines of get/set/backing variable into one line. Wouldn't this be exactly the same as the existing ...

Implicit Line Continuation (Kathleen McGrath)

In the second part of my interview with Doug Rothaus, he describes the new implicit line continuation feature in Visual Basic 2010. Learn about the most common scenarios that no longer require the underscore character (_) in the topic, Statements in Visual Basic. See the Video: implicit Line Continuation   --Kathleen McGrath ...

Auto-Implemented Properties (Kathleen McGrath)

In this interview, Doug Rothaus, a programming writer on the Visual Studio User Education team, describes the auto-implemented properties in Visual Basic 2010. He also demonstrates some of the code examples in his Help topic: Auto-Implemented Properties. See the Video: Auto-Implement Properties.   --Kathleen...

Try Out Dotfuscator in VS 2010 Beta 1!

The team at PreEmptive Solutions recently posted a great blog article that walks through all the latest features in VS 2010's Dotfuscator Software Services - Community Edition (previously known as Dotfuscator CE). Browse through the article to learn what's new, or download the beta to follow along in the IDE.What's New with Dotfuscator in ...

VS2010 Beta1 Extensibility News (Lisa Feigenbaum)

I recently received this letter from the Visual Studio Extensibility team, that I thought would be interesting to readers of this blog. Whether you're building Visual Studio extensions or downloading them from others, there's news here for you.   News from the Visual Studio Extensibility team…   Are you ...

How We Do It: Building the Visual Studio Product Line (Beth Massi, Matt Gertz)

Ever wonder how we build Visual Studio and the .NET Framework? I mean literally. You know, the build process that spits out a product at the other end?  Well I sure did and it's not just hitting F5 people ;-). In this interview I sit down with Matt Gertz, frequent VB blogger and also the guy in charge of the builds in Developer Division (...

Feedback usabilla icon