How i can compare type data type in VB.NET? My code:
Private Function Equal(ByVal parameter As String, ByVal paramenterName As String, ByVal dataType As Type) As
If datatype Is GetType(String) Then 'do something End If
Substitute Is for = and everything works
Is
=