static void Main(string[] args) { double kilometer; Console.WriteLine("Convert Kilometers to meters"); Console.Write("Enter Kilometers to convert:"); kilometer = Convert.ToDouble(Console.ReadLine()); ConvertValues convertKM = new ConvertValues(); convertKM.KilometerToMeter(kilometer); Console.ReadKey(); }
static void Main(string[] args) { ConvertValues convertKM = new ConvertValues(); convertKM.KilometerToMeter(); Console.ReadKey(); }