VB.NET


Shortcuts for Defining Anonymous Objects in C# and VB

Here are two ways to save some typing when defining anonymous objects. One only works in Visual Basic, though.

Pattern Matching in C# 7.0 Case Blocks

Welcome to the 21st century, C#, now that case blocks support a variety of pattern-matching formats.

Making Sense of Class Modifiers in C# and Visual Basic

Both are .NET Framework-based, but they don't seem to be speaking the same language.

Sneak Preview of a Leaner, More Nimble Visual Studio 2017

From Visual Studio Live! in Orlando, Microsoft's Tim Sneath offered an extensive look inside the next-generation development platform.

It's Safe to Handle Unhandled Visual Basic and C# Exceptions

Pile on the exceptions, and .NET will have your back with the tools it provides at your disposal.

Life Without On Error Resume Next

The alternative to that simple error-handling combo is the Try...Catch, but it's not as simple as wrapping up your code with it.

Magic Forms Access in Visual Basic and C#

Look behind the curtain on this one, and you'll see that code is quite magical in and of itself.

Visual Studio LightSwitch Gets Turned Off

As Microsoft ends further development of LightSwitch, the "development" tool aimed at line-of-business types, it introduces an alternative: PowerApps.

Tricks with Goto in Visual Basic and C#

Goto statements, whether they're used in Visual Basic or C#, can be confounding as to their purpose in some contexts.

Local Static Variables in Visual Basic and C#

Here's another area where the two languages differ.

Cool Case Clauses in Visual Basic and C#

Each language treats case clauses differently, but there's a way you can make them less boring in C#.

Overcoming Escape Sequence Envy in Visual Basic and C#

C# might be more elegant with escape sequences, but that doesn't mean Visual Basic is weaker in this area.

It's All About Character in C# and Visual Basic

How C# and Visual Basic handle characters and single-character strings is a bit inconsistent. There's no tidy solution, but it's something you do need to know.

Running Custom Code in SharePoint? Not For Long...

As the end approaches for code-based sandbox support in SharePoint sites, Microsoft and third parties point to a few resources for inventorying sites that use it.

A Lifetime of Data in C# and Visual Basic

Or, how lifetime can mean different lengths of time, depending on whether it's procedural- or block-level.

Default Access Levels in C# and Visual Basic

It pays to be explicit and not use the emotional defaults of each language.

Retain State by Serializing to Disk

If you're looking for an easy way to save the user's current state, the simplest solution is use the Serialize and Deserialize method.

Experiencing Nothingness in C# and Visual Basic

Nothing and null are one and the same, except in the language of programming.

Entity Developer 6.0 Now Supports EF Core 1.0, Telerik's Data Access

New version allows for visual design and code generation of apps using Microsoft's newest Entity Framework Core 1.0, as well as popular data access framework from Telerik.

Conflicts in C# and Visual Basic

Case matters when moving from one language to another and, often, variable naming conflicts can be as simple as that.

Upcoming Events

.NET Insight

Sign up for our newsletter.

I agree to this site's Privacy Policy.