Calling methods C# -Having Trouble calling the methods

Nov 8 2016 6:11 PM
namespace TemperatureConvertions
{
class TemperatureConversion
{
public static double FTOC(double c)
{
return ((9.0 / 5.0) * c) + 32;
}
public static double CTOF(double f)
{
return (5.0 / 9.0) * (f - 32);
}
static void Main(string[] args)
{
double Temperature;
TemperatureConversion T = new TemperatureConversion();
Temperature = T.c;
Console.WriteLine("Enter Temperature In Celcius: ", Temperature);
Console.ReadLine();
}
}
}

Answers (1)