CodePlexProject Hosting for Open Source Software
A DateTime IsWithinRange() method is available here:
http://www.codeproject.com/KB/cs/Utilities.aspx along with many other helpful extensions. I don't see anything in there for checking numeric ranges.
The extensions on that page are not in my package or in the "more.txt" list of others that I wanted to check.
The project already contains an IsBetween method which is extending IComparable. That means the method is not only available on DateTime and numerical values but also any other (value or reference) type supporting that interface.
Are you sure you want to delete this post? You will not be able to recover it later.
Are you sure you want to delete this thread? You will not be able to recover it later.