Using Integers
using System; public class UsingIntegers { static void Main(string[] args) { int MyInt = 12345; long MyLong = MyInt; } public long My2ndFunction(long MyLong) { try { long c = checked(MyLong * 500); } catch (OverflowException e) { Console.WriteLine(e); } return 0; } }