Selector/Selector.MAUI/Data/WeatherForecast.cs

14 lines
246 B
C#
Raw Normal View History

2023-01-21 16:55:51 +00:00
namespace Selector.MAUI.Data;
public class WeatherForecast
{
public DateTime Date { get; set; }
public int TemperatureC { get; set; }
public int TemperatureF => 32 + (int)(TemperatureC / 0.5556);
public string Summary { get; set; }
}