title: Types comparison in VB.NET
body: <p>How i can compare type data type in VB.NET?
  My code:</p>
  
  <pre><code>Private Function Equal(ByVal parameter As String, ByVal paramenterName As String, ByVal dataType As Type) As String
  
      If dataType = String Then
          return 1;
      End If
  
   End Function
  </code></pre>
  
  <p>Any ideas?</p>