>>The age old questions. Should I use a property or a method? Is one faster than the other?
>
>?? A property is a piece of information. A method DOES something. Very different.
Property:
public bool IsMyBirthDay
{
get{return DateTime.Today == new DateTime(1976, 1, 15);}
}
Method:
public bool IsMyBirthDay()
{
return DateTime.Today == new DateTime(1976, 1, 15);
}
Semper ubi sub ubi.