using System.Data.SqlTypes; // ... SqlInt64 num = new SqlInt64(1234567890);
using System.Data.SqlTypes; // ... SqlInt64 num1 = new SqlInt64(1234567890); SqlInt64 num2 = new SqlInt64(9876543210); if (num1 > num2) { Console.WriteLine("num1 is greater than num2"); } else { Console.WriteLine("num2 is greater than num1"); }
using System.Data.SqlTypes; // ... SqlInt64 num = new SqlInt64(1234567890); int regularNum = (int)num; Console.WriteLine(regularNum);All of these examples use the System.Data.SqlTypes package library.