WeatherForecast.cs 294 B

12345678910111213
  1. namespace WebApplicationAvaloniaForMe
  2. {
  3. public class WeatherForecast
  4. {
  5. public DateOnly Date { get; set; }
  6. public int TemperatureC { get; set; }
  7. public int TemperatureF => 32 + (int)(TemperatureC / 0.5556);
  8. public string? Summary { get; set; }
  9. }
  10. }