using System.Collections;
public void customers(string str, int computer)
Hashtable table = new Hashtable();
char[] ch = str.ToCharArray();
for (int i = 0; i < str.Length; i++)
if (table.ContainsKey(ch[i]))
Console.WriteLine(found + "-" + not);
public static void Main()
string str = "ABCBCADEED";
Program program = new Program();
program.customers(str, computer);