typeof operator and GetType method
xxxxxxxxxx
string s1 = "Hello";
Type t1= typeof(string);
Type t2= s1.GetType();
Console.WriteLine(t1); // Output: System.String
Console.WriteLine(t2); // Output: System.String
Console.WriteLine(t1 == t2); // Output: true