Output of a calculation - CSharp Language Basics

CSharp examples for Language Basics:Console

Description

Output of a calculation

Demo Code

using System;//from   w  w  w  . j av a2 s .c  om
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
class Program
{
   static void Main(string[] args)
   {
      // Output of a calculation
      Console.WriteLine(1 + 1);
   }
}

Result


Related Tutorials