string code = "AABBDDCCRRFF";
string answer = new String(code.Distinct().ToArray());
More Related Contents:
- Generate random string from list of string in C#? [closed]
- Deserialize JSON into C# dynamic object?
- How to read a text file reversely with iterator in C#
- Transparent control over PictureBox
- Dynamically replace the contents of a C# method?
- How to tell whether a point is to the right or left side of a line
- Reliable method to get machine’s MAC address in C#
- Creating a copy of an object in C# [duplicate]
- C# SQL Server – Passing a list to a stored procedure
- How to convert list of arrays into a multidimensional array
- URL mapping with C# HttpListener
- Passing a single item as IEnumerable
- What is a thread exit code?
- How can I discover the “path” of an embedded resource?
- pass a value from one form to another
- “Interface not implemented” when Returning Derived Type
- An expression tree lambda may not contain a null propagating operator
- How do I create a C# app that decides itself whether to show as a console or windowed app?
- How to modify existing XML file with XmlDocument and XmlNode in C#
- Incorrect stacktrace by rethrow
- Caching in WCF?
- Is the destructor called if the constructor throws an exception?
- C# Get Generic Type Name
- c#: getter/setter
- How to fix “No overload for method ‘ ‘ takes 0 arguments”?
- Create Items from 3 collections using Linq
- SqlBulkCopy Insert with Identity Column
- How to use Push Notifications in Xamarin Forms
- Best way to programmatically configure network adapters in .NET
- Transactions for C# objects?