using System;
using System.Linq;
class Program
{
static void Main()
{
string str = "hello";
string uniqueStr = new string(str.Distinct().ToArray());
Console.WriteLine("Unique String: " + uniqueStr);
}
}
To embed this program on your website, copy the following code and paste it into your website's HTML: