ComputerHardwareStore_YouAr.../ComputerHardwareStore/WebApplication1/WeatherForecast.cs

14 lines
282 B
C#
Raw Permalink Normal View History

2024-05-01 19:43:56 +04:00
namespace WebApplication1
{
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; }
}
}