source: Farmatiko/WeatherForecast.cs@ afefe75

Last change on this file since afefe75 was 30a465f, checked in by DimitarSlezenkovski <dslezenkovski@…>, 4 years ago

Initial commit

  • Property mode set to 100644
File size: 290 bytes
RevLine 
[30a465f]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.