Output math calculation to the console - CSharp Language Basics

CSharp examples for Language Basics:Hello World

Description

Output math calculation to the console

Demo Code

using System;/*from w  w w. j a v a2  s.c o m*/
class Test
{
   static void Main()
   {
      int x = 12 * 30;
      Console.WriteLine (x);
   }
}

Result


Related Tutorials