public static void Main()
Console.WriteLine("It returns a value indicating whether the specified number evaluates to negative or positive infinity.\n");
public static void Display(double d1, double d2)
bool result = (d1 / d2).IsInfinity();
Console.WriteLine("{0}/{1} = {2}", d1, d2, result);