C# 클래스 System.Temperature

Helper methods for temperature conversion
파일 보기 프로젝트 열기: porrey/iot 1 사용 예제들

공개 메소드들

메소드 설명
ConvertToCelsius ( this fahrenheit ) : float

Converts a temperature in Celsius to Fahrenheit.

ConvertToFahrenheit ( this celsius ) : float

Converts a temperature in Fahrenheit to Celsius.

메소드 상세

ConvertToCelsius() 공개 정적인 메소드

Converts a temperature in Celsius to Fahrenheit.
public static ConvertToCelsius ( this fahrenheit ) : float
fahrenheit this The temperature in Celsius.
리턴 float

ConvertToFahrenheit() 공개 정적인 메소드

Converts a temperature in Fahrenheit to Celsius.
public static ConvertToFahrenheit ( this celsius ) : float
celsius this The temperature in Fahrenheit.
리턴 float