public static void Main()
Console.Write("Input string1:");
string str1 = Console.ReadLine();
Console.Write("Input string2:");
string str2 = Console.ReadLine();
char[] ch1 = str1.ToLower().ToCharArray();
char[] ch2 = str2.ToLower().ToCharArray();
string val1 = new string(ch1);
string val2 = new string(ch2);
Console.WriteLine("Both the strings are Anagrams");
Console.WriteLine("Both the strings are not Anagrams");