GaryC said:It's not. However, there are side effects. Having the ability to write DateTime.Now.Ago is definitely confusing. The Ago property would show up on all DateTimes (provided the using statement is there). The idea is good, though. Having an int extension property named MinutesAgo seems better.TommyCarlier said:*snip*
I too would have liked to see extension properties. We have custom properties that we read from the DB and are generating them onto classes. We are forced to use the ugly GetPropertyname() syntax.
Holy cow... I wanted to reply but this thread is over a year old... and now I did it