📅  最后修改于: 2022-03-11 14:49:00.495000             🧑  作者: Mango
string removedupes(string s)
{
string newString = string.Empty;
List found = new List();
foreach(char c in s)
{
if(found.Contains(c))
continue;
newString+=c.ToString();
found.Add(c);
}
return newString;
}