Back to list
Views:   6.8K
Replies:  1

How do I implement IEnumerable.GetEnumerator() on the SortedList class in the MVC example?

Hi All,

How would I implement the following:

IEnumerator<T> IEnumerable<T>.GetEnumerator()
   throw new NotImplementedException();
On the SortedList.cs class? It's used in the ASP.Net MVC sample.
Thanks in advance!
Pieter van der Westhuizen, Mar 02, 2011
Reply 1

I use

return GetEnumerator();

Julio Jesus Anaya Hernandez, Jul 10, 2017
Stay Inspired!
Join other developers and designers who have already signed up for our mailing list.
Terms     Privacy     Cookies       Do Not Sell       Licensing      
Made with    in Austin, Texas.  - vsn 44.0.0
© Data & Object Factory, LLC.