Click here to Skip to main content
15,608,772 members
Articles / Programming Languages / C# 4.0

Tagged as


4 bookmarked

Extension Methods in C#

Rate me:
Please Sign up or sign in to vote.
5.00/5 (6 votes)
12 Apr 2011CPOL
You inspired me to contribute the DateTime extensions methods that I use in my programs. (But use at your own risk!). Thank you./// /// Date and Time Manager class./// public static class DateMan{ /// /// Returns the age in years for the given DOB...


Daily Counts


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Written By
Software Developer Snowy Hydro Ltd
Australia Australia
I am a .NET C# developer with an engineering background. I have been living and working in Sydney, Australia since 1993.

Comments and Discussions