class TimePeriod { private double seconds; // Property "Hours" public double Hours { get { return seconds / 3600; } set { seconds = value * 3600; } } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)