C# Programmer

How to iterate a list

using System.Collections.Generic;

public class Demo

{

public void IterateListDemo()

{

  var Lst = new List<string>( );

            foreach(var item in Lst)
            {
                Console.WriteLine( item);

           }

}

}