Casting Integer in C#

The following code explains the simple casting of integer.

using System;
using System.Text;

namespace forgetCode
{

    class program
    {
        public static void Main()
        {
            int value = (int)1.5; // Cast 1.
            Console.WriteLine(value);                  

        }
    }
}


Output:

1