source: Farmatiko/WeatherForecast.cs@ 42e2397

Last change on this file since 42e2397 was 822c59d, checked in by DimitarSlezenkovski <dslezenkovski@…>, 4 years ago

Initial commit

  • Property mode set to 100644
File size: 290 bytes
Line 
1using System;
2
3namespace Farmatiko
4{
5 public class WeatherForecast
6 {
7 public DateTime Date { get; set; }
8
9 public int TemperatureC { get; set; }
10
11 public int TemperatureF => 32 + (int)(TemperatureC / 0.5556);
12
13 public string Summary { get; set; }
14 }
15}
Note: See TracBrowser for help on using the repository browser.