using System;
using System.Collections.Generic; // Required for list
public class Program
{
static List<string> data = new List<string> { "10", "20", "apple", "banana", "30" };
public static void Main()
// Accessing elements
Console.WriteLine("First number: " + data[0]); // Output 10
Console.WriteLine("Second string: " + data[2]); // Output apple
// Modifying an element
data[0] = "100"; // Change the first element
// Adding elements
data.Add("orange");
// Removing elements
data.Remove("banana");
}