List in C#

Sourav.Kayal
Posted by Sourav.Kayal under C# category on | Points: 40 | Views : 797
class Program
{
static void Main(string[] args)
{
List<string> list = new List<string>();
list.Add("Sourav");
list.Add("Scott");
list.Add("Tiger");
foreach (var v in list)
{
Console.WriteLine(v);
}

Console.ReadLine();
}
}

Comments or Responses

Login to post response