I see that i can declare public properties in two ways. Both of them have get / set accessors, but what is the difference between them?
class Job
{
public int Interval { get; set; }
public string Key { get; set; }
}
class Job1
{
public int Interval = 0;
public string Key = string.Empty;
}