c# get type of class you are executing code in code example Example: how to find the type of a object c# use the "is" keyword