12 years, 4 months ago
Highlights
If the only way that client code can call with invalid keys, sanitize that input in a central place before passing it on to the rest of the program. Sounds like after that input…
12 years, 4 months ago
12 years, 7 months ago
12 years, 7 months ago
Just to add to dr01d3k4's explanation, static members are class members and therefore accessed through the class, non-static members are object (instance) members and are access…
12 years, 7 months ago
Or an alternative would be to create the instances of Appointment when you create DayPlanner, e.g. public class Planner { Appointment[] DayPlanner = new Appointment[] {n…
12 years, 7 months ago
Latest Activity
See all in DiscussionsIf the only way that client code can call with invalid keys, sanitize that input in a central place before …
12 years, 4 months ago
Just to add to dr01d3k4's explanation, static members are class members and therefore accessed through the class, non-static members are …
12 years, 7 months ago
Or an alternative would be to create the instances of Appointment when you create DayPlanner, e.g. public class Planner { …
12 years, 7 months ago