Concise VB.NET?

less than 1 minute read

Okay, VB.NET has a more concise syntax for checking reference equality without calling out to Object.ReferenceEquals:

"`If c1 Is c2 Then...`" vs. "`if ((object)c1 == (object)c2) {...}`"

Okay, VB.NET gets this one; I’m not yet persuaded however and my preference is still for C# given the choice.

Updated: