Data Type C# Tutorial

using System;
using System.ComponentModel;
    class MainClass
    {
        static void Main()
        {
            Nullable nullable = 5;
            object boxed = nullable;
            Console.WriteLine(boxed.GetType());
            nullable = (Nullable)boxed;
            Console.WriteLine(nullable);
            nullable = new Nullable();
            boxed = nullable;
            Console.WriteLine(boxed == null);
            nullable = (Nullable)boxed;
            Console.WriteLine(nullable.HasValue);
        }
    }