Online C# Compiler

using System; using System.Collections.Generic; public class Demo { public static void Main(String[] args){ List<int> list = new List<int>(); list.Add(25); list.Add(50); list.Add(75); list.Add(100); list.Add(200); Console.WriteLine("Count of elements in the List = "+list.Count); list.RemoveAt(2); Console.WriteLine("\nCount of elements in the List [UPDATED] = "+list.Count); } }