Author: rmdw | Posted on: 5/7/2010 9:24:14 PM | Views : 472

I have a situation where I need to maintain a large number of related integer values in my ASP.Net 3.5 application.  The SortedList seems perfect for this purpose.  If this were a Windows app I'd just create a class and setup one method to Set values within the SortedList and another one to Get values out of it.
But being a web app, I'm not entirely sure of the best approach to use.  Sure, I could just create one method for Set and another for Get but that doesn't seem very "clean".
I thought about creating a UserControl without any visual elements but am not sure if that makes sense.
How would you go about implementing such a SortedList in your web app?
Robert


...

Go to the complete details ...