SimpleFunctions/TestFunction/WeatherForecast.cs
Elias Stepanik cd23fbe4a9 f
2023-05-29 18:42:26 +02:00

12 lines
248 B
C#

namespace TestFunction;
public class WeatherForecast
{
public DateOnly Date { get; set; }
public int TemperatureC { get; set; }
public int TemperatureF => 32 + (int)(TemperatureC / 0.5556);
public string? Summary { get; set; }
}