using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ListCount
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("-----------------------------------");
List<string> CountryList = new List<string>();
CountryList.Add("Bangladesh");
CountryList.Add("India");
CountryList.Add("Pakistan");
CountryList.Add("Nepal");
CountryList.Add("Maldives");
CountryList.Add("Srilanka");
CountryList.Add("Bhutan");
CountryList.Add("Afganistan");
Console.WriteLine("\n Count number of List item ");
Console.WriteLine("\n There are: {0}, {0}", CountryList.Count,"\n Country inthis CountryList");
Console.ReadLine();
}
}
}