Did you know that if you make an enum and a class in C# and have your enum as a getsetter on your class that its first value will be the default value when you new up an instance of your class?
nice! (false is the default for a bool in this sort of situation and zero the default for an int and twelve ante meridiem on day one of year one for a DateTime)
No comments:
Post a Comment