public static void Main(string[] args)
Console.Write("Enter first word:");
string word1 = Console.ReadLine();
Console.Write("Enter second word:");
string word2 = Console.ReadLine();
char[] char1 = word1.ToLower().ToCharArray();
char[] char2 = word2.ToLower().ToCharArray();
string NewWord1 = new String(char1);
string NewWord2 = new String(char2);
if(NewWord1 == NewWord2){
Console.WriteLine("Yes! Words \"{0}\" and \"{1}\" are Anagrams",word1,word2);
Console.WriteLine("No! Words \"{0}\" and \"{1}\" are not Anagrams",word1,word2);