How to iterate SortedList values one by one?

How to iterate SortedList values one by one in ASP.net

using System.Collections; ---> Namespace must be added;
objL ---> a SortedList with values.

IDictionaryEnumerator ide = objL.GetEnumerator();
while (ide.MoveNext())
{
string strVal = ide.Value.ToString();
}

No comments: