gettype object .net core code example Example: how to find the type of a object c# use the "is" keyword