Does C# have extension properties?

For example, can I add an extension property to DateTimeFormatInfo called ShortDateLongTimeFormat which would return ShortDatePattern + " " + LongTimePattern?

6 s
6

Leave a Reply

Your email address will not be published. Required fields are marked *