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