CSharp examples for Language Basics:Data Type
The following code uses two literals of type int with values 12 and 30.
We also declared a variable of type int whose name was x:
using System;/* w ww. j a v a 2 s. c o m*/ class Test { static void Main(){ int x = 12 * 30; Console.WriteLine (x); } }