using System;
public class Program
{
//Goal is to make M1 = M2
public static void Main()
string[] E = new string[] { "band", "bond", "bear", "cars", "fond", "food", "foot", "hand", "head"};
string M1 = "hand";
string M2 = "foot";
char[] temp = M1.ToCharArray();
for(int i = 0;i<M2.Length;i++)
temp[i] = M2[i];
}
M1 = new string(temp);
Console.WriteLine(M1);