Int32.GetType() : Int32 « System « C# / C Sharp by API






Int32.GetType()

  

using System;
using System.Reflection;
   
class TypeObjectFromInstanceApp
{
    public static void Main(string[] args)
    {
        int i = 6;
        Type type = i.GetType();
        Console.WriteLine(type.Name);
    }
}

   
    
  








Related examples in the same category

1.Int32 == Int32
2.Int32.Equals(23)
3.Int32.GetHashCode
4.Int32.Parse(String value)
5.UInt32.MinValue
6.Int32.ToString
7.Int32.ToString(String format,CultureInfo info)