VB Import Alias
M. Keith Warren points out that in C#, you can use the using statement to also create an alias to a particular class to save you some typing. I honestly thought that didn't work, but I'm glad I'm wrong, that's cool. VB.NET can do the same thing.
Imports
cfg = System.Configuration.ConfigurationSettings
Thought I'd also mention another way the using statement can be used in C# (but unfortunately has no equivelant in VB.NET) to automatically dispose of a variable when you're done (when the block of code ends).
using (SqlConnection con = new SqlConnection())
{
// do something with con
}
Even if you declare the variable outside of the parens, it will still call Dispose on “con” after the last curly brace. You can also declare as many variables inside the using parens seperated by commas as you want and they will all be disposed of afterwords for you.