public static void Main()
Console.Write("Enter temperature value to convert: ");
double.Parse(Console.ReadLine());
Console.Write("Enter 'c' to convert to Celsius or 'f' to convert to Fahrenheit: ");
char.Parse(Console.ReadLine());
result = (temp - 32) * 5 / 9;
result = (temp * 9 / 5) + 32;
Console.WriteLine("Invalid chocie. Please enter 'c' or 'f'.");
Console.WriteLine("{0} degrees {1} is {2:0.##} degrees {3}.", temp, unit, result, choice == 'c' ? "Fahrenheit" : "Celsius");