C#华氏温度和摄氏温度的相互专函源码片段
把写代码过程经常用到的一些代码做个记录,如下资料是关于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);}
声明:本站所有文章资源内容,如无特殊说明或标注,均为采集网络资源。如若本站内容侵犯了原著者的合法权益,可联系本站删除。