Implicit Casting in C#

The following code explains the casting between INT and object types:

using System;
using System.Text;

namespace forgetCode
{

    class program
    {
        public static void Main()
        {
            // Assign an integer and then cast it to an object implictly.
            int value1 = 100;
            object value2 = value1;
           
            Console.WriteLine(value2);

        }
    }
}


Output:
100