Here is a program that reads in a temperature given in degrees Centigrade and outputs the corresponding value in degrees Fahrenheit:
namespace ConsoleConvert { using System; using System.Threading; public class MyClass { public static void Main() { Console.Write("Centigrade value: "); string tCentigradeString = Console.ReadLine(); double tCentigrade = double.Parse(tCentigradeString); double tFahrenheit = 32 + tCentigrade*9/5; Console.WriteLine("Fahrenheit value: " + tFahrenheit); Thread.Sleep(10000); } } }