Run Code
|
Code Wall
|
Users
|
Misc
|
Feedback
|
About
|
Login
|
Theme
Reverse a String Using Hash Function
//Rextester.Program.Main is the entry point for your code. Don't change it. //Compiler version 4.0.30319.17929 for Microsoft (R) .NET Framework 4.5 using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; namespace Rextester { public class Program { public static void Main(string[] args) { //Your code goes here String Str="Ningaraja"; Console.WriteLine("Entered String is"+Str); var unique=new HashSet<Char>(Str); Console.WriteLine("Converted string is"); foreach(Char c in unique) { Console.WriteLine(c); } } } }
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
Palindrome 1
Stack as a queue
iran
Crystals Plep
latest Iequatable
true or false
UINT32toHEX
Testing 9
pankaj_sql
Math 9.3
Please log in to post a comment.