how to get object type c# code example Example 1: c# get type of class Type tp = value.GetType(); Example 2: how to find the type of a object c# use the "is" keyword