using System.Collections.Generic;
static void Main(string[] args)
List<string> myList = new List<string> { "a", "ABS", "b", "XYZ", "c", "APO", "d" };
for (int i = 0; i < myList.Count; i++)
Console.WriteLine("0. " + myList[i]);
myList.RemoveAll(t => t == "ABS" || t == "XYZ" || t == "APO");
for (int i = 0; i < myList.Count; i++)
Console.WriteLine("1. " + myList[i]);