none
How to display the elements from my sorted list in C# code.

    Question

  • I don't know how to display elements from my sorted list to console applications

    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using System.Threading.Tasks;
    
    namespace Test
    {
        class Program
        {
            static void Main(string[] args)
            {
                SortedList<string, string> srtList = new SortedList<string, string>();
                srtList.Add("a", "1");
                srtList.Add("b", "2");
                srtList.Add("c", "3");
    
               
            }
        }
    }

    thanks for helping every one :-).

    Monday, December 5, 2016 5:43 AM

Answers

All replies