Extending Base Type Functionality with Extension Methods

This article comes from Scott Mitchell at 4guysfromrolla.com. Its good post which I liked and wanna share with you: Extension methods allow a developer to tack on her own methods to an existing class in the .NET Framework. For example, imagine that our developer created a method named StripHtml, that strips HTML elements from a
Continue reading Extending Base Type Functionality with Extension Methods

New Visual Basic 9 string features

Thats something really good! Now in the new Visual Studio 2008 you don’t have to use underscore when writing text on multiple lines. Here is an example how we used to write it:

Now we can do something like that:

The text formatting is preserved as well. All you have to do is
Continue reading New Visual Basic 9 string features

Visual Basic 9.0 Language Specification Released

This language specification corresponds to the version of Visual Basic that will ship in Visual Studio 2008. The spec covers the following major new features: • Friend assemblies (InternalsVisibleTo) • Relaxed delegates • Local type inferencing • Anonymous types • Extension methods • Nullable types • Ternary operator • Query expressions • Object initializers •
Continue reading Visual Basic 9.0 Language Specification Released

What is the difference between VB 9, VBx and Silverlight? (Scott Wisniewski)

Today I came across that post at Visual Basic Team blog which is quite good. Enjoy it reading!I recently received an email from a customer asking for clarification as to what the difference was between VB 9, VBx and Sliverlight. In particular, it seems as if we have been releasing so much information about cool
Continue reading What is the difference between VB 9, VBx and Silverlight? (Scott Wisniewski)

Lexical Closures in VB 9

Must read for everyone who is developing in VB! Jared Parsons tells us what he think closure is: “A closure is a feature which allows users to seemlessly access an environment (locals, parameters and methods) from more than one function.“ and here are some samples:

In this code we have a lambda expression which takes in
Continue reading Lexical Closures in VB 9

The Visual Basic Language on Silverlight

Fast quote from The Visual Basic Team Blog! Their latest entry is about Visual Basic Language on Silverlight. Supported… Late Binding: One of the most definitive features of the VB language, I find late binding to be especially useful in writing Silverlight code-behind. Conversions: Implicit and explicit conversion operators are available—Ctype, CStr, etc. Linq: Currently,
Continue reading The Visual Basic Language on Silverlight