Equivalent to VarType in C#

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • lathamoulali
    New Member
    • May 2008
    • 25

    #1

    Equivalent to VarType in C#

    I want to know the Equivalent of VarType in C# as

    if(VarType(Obje ct) > 1)
    --------
    ----------
    ----------
    End If

    How to implement this in C#
    Please let me know the Answer Soon .
    Thanks,

    Latha.
  • r035198x
    MVP
    • Sep 2006
    • 13225

    #2
    Every System.Object has a GetType() method.

    Comment

    Working...