using System; using Microsoft.Scripting.Math; class Program { static void Main(string[] args) { BigInteger a = BigInteger.Parse("12345678901234567890"); BigInteger b = BigInteger.Parse("98765432109876543210"); // Arithmetic operations BigInteger sum = a + b; BigInteger difference = a - b; BigInteger product = a * b; BigInteger quotient = a / b; BigInteger remainder = a % b; Console.WriteLine("Sum: " + sum); Console.WriteLine("Difference: " + difference); Console.WriteLine("Product: " + product); Console.WriteLine("Quotient: " + quotient); Console.WriteLine("Remainder: " + remainder); // Logical and bitwise operations BigInteger and = a & b; BigInteger or = a | b; BigInteger xor = a ^ b; BigInteger negation = ~a; BigInteger shiftleft = a << 10; BigInteger shiftright = b >> 10; Console.WriteLine("And: " + and); Console.WriteLine("Or: " + or); Console.WriteLine("Xor: " + xor); Console.WriteLine("Negation: " + negation); Console.WriteLine("Shift left: " + shiftleft); Console.WriteLine("Shift right: " + shiftright); } }This example demonstrates how to perform basic arithmetic and logical operations using BigInteger. The package library helps to perform operations on large numbers, which the basic datatypes of int, long and double cannot handle. Overall, the Microsoft.Scripting.Math BigInteger package library is a powerful tool for performing mathematical operations with precision and should be used when performing operations on large numbers.