public static void Main()
double? numericValue1 = input1 as double?;
Console.WriteLine($"When inputting a double: numericValue.HasValue = {numericValue1.HasValue}");
double? numericValue2 = input2 as double?;
Console.WriteLine($"When inputting an int: numericValue2.HasValue = {numericValue2.HasValue}");