Home
Blog
This Is My Favorite VB.NET Feature
Updated
Dot Net Perls

This Is My Favorite VB.NET Feature

Even though it is used for many programs, VB.NET is mostly ignored even by its creators. Other languages like C# get much more attention; new features are often exclusive to C# in .NET updates.

But VB.NET persists, and I have found it has some good points—even features that C# does not have. One thing it does, for example is support case-insensitive syntax. So we can use "sub" in place of "Sub" for a subroutine.

This is helpful for VB.NET for these reasons:

Some keywords, like "ByRef" and ByVal can be difficult to remember how to capitalize.
Keywords like Dim and As are short and may be left lowercase for readability.
The language is supposed to use capital letters, but it is easier to type lowercase letters.

It is a good compromise to just leave the syntax case-insensitive. This can also speed up development if you have a capitalization inconsistency but the program still compiles correctly. Case-insensitive syntax is a useful feature for VB.NET.

Dot Net Perls is a collection of pages with code examples, which are updated to stay current. Programming is an art, and it can be learned from examples.
Donate to this site to help offset the costs of running the server. Sites like this will cease to exist if there is no financial support for them.
Sam Allen is passionate about computer languages, and he maintains 100% of the material available on this website. He hopes it makes the world a nicer place.
No updates found for this page.
Home
Changes
© 2007-2025 Sam Allen