return type of object c# code example Example: c# get type of object //Exact runtime type of the current instance. object.GetType();