C# Program to print the long int value

C# Program to print the long int value. In this program we can print the long integer value in the C sharp programming language. The primary distinction between int and long is their width, with int being 32 bits and long being 64 bits. When the types int and long are counted in bytes rather than bits, the type int is 4 bytes and the type long is only twice as big, at 8 bytes.

using System;

namespace Main
{
class Program
{
static void Main(string[] args)
{
long myNum = 100000000000L;
Console.WriteLine(myNum);
}
}
}

100000000000