how to find the type of a object c#

C#
use the "is" keyword

Source

Also in C#: