把写代码过程经常用到的一些代码做个记录,如下资料是关于C#华氏温度和摄氏温度的相互专函片段的代码。
public static double CelsiusToFahrenheit
(string temperatureCelsius)
{
double celsius = System.Double.Parse (temperatureCelsius);
}
public static double FahrenheitToCelsius
(string temperatureFahrenheit)
{
double fahrenheit = System.Double.Parse (temperatureFahrenheit);
}