using System.Collections.Generic;
static char []RemoveDuplicateCharacters(char []str, int n)
HashSet<char>s = new HashSet<char>(n - 1);
char[] st = new char[s.Count];
public static void Main()
char []str= "This is a tesTAa".ToCharArray();
Console.Write(RemoveDuplicateCharacters(str, n));