using System;
using System.Collections.Specialized;
public class Program
{
public static void Main()
{
StringCollection sc = new StringCollection();
sc.Add("c#");
sc.Add("c++");
sc.Add("java");
sc.Add("c#");
sc.Add("php");
sc.Add("python");
sc.Add("c#");
while (sc.Contains("c#"))
sc.Remove("c#");
foreach (string s in sc) {
Console.WriteLine(s);
}
}
}
/*
run:
c++
java
php
python
*/