long
In this chapter you will learn:
long type
To specify a long type, use either the l or L suffix. For example
using System;/*from ja va 2 s .c om*/
public class MainClass{
public static void Main() {
long lVal = 0x7FFFFFL; // Long value specified as hex constant
Console.WriteLine(lVal);
}
}
Next chapter...
What you will learn in the next chapter:
Home » C# Tutorial » Byte, Integer, Long