int i = 0; Console.WriteLine(i is System.Int32);
キャストだが、失敗の場合はnullを代入する。
Type t = typeof(StreamReader); Console.WriteLine("t.Fullname");