//Exact runtime type of the current instance. object.GetType();
string a = "This is a string"; Console.WriteLine(a.GetType())
use the "is" keyword
Type tp = value.GetType();