Posts

Showing posts from April, 2020

C# Is in VB

Because I never remember C# if (arg is XMLElement) {...} VB If TypeOf arg Is XmlElement Then ... End If

C# typeof in VB

Because I always forget C# if (formatType == typeof(ICustomFormatter)) return this; VB If formatType = GetType(ICustomFormatter) Then Return Me