Celsius to Fahrenheit c#
private static void CelsiusToFahrenheit(double celsius)
{
var fahrenheit = Math.Round((celsius * 1.8) + 32, 2);
Console.WriteLine($"{fahrenheit}°F");
}
// CelsiusToFahrenheit(0); output 32°F
// CelsiusToFahrenheit(20); output 68°F
// CelsiusToFahrenheit(30); output 86°F
Also in C#:
- c# get foreground window
- import regex c#
- c# get all class properties
- .net core session
- start up file in asp.net core
- How to set an expiry date on a program
- unity detect any key
- c#if
- get enum by index c#
- datagridview column color c#
- first sentence letter capital in c#
- POST http://localhost:5001/api/v1/identity/login 500 (Internal Server Error) LoginForm.jsx:39 Error: Request failed with status code 500 at createError (createError.js:16) at settle (settle.js:17) at XMLHttpRequest.handleLoad (xhr.js:61)
- find negative version of integer in c#
- c# region tag
- unity set sprite transparency
- unity indestructible
- wpf c# select folder path
- unity collider2d contains point
- add variable to the beginning of a list c#
- generate range c#
- for each textbox c#
- c# convert column name to number
- how to make if statement c#
- how to remove space between string in c#