public static void Main()
string[,] list = GenerateCollection();
for (int i = 0; i <= list.GetUpperBound(0); i++) {
bool result = IsAnagram(s1, s2);
Console.WriteLine("{0}, {1}: {2}", s1, s2, result);
public static bool IsAnagram(string s, string t) {
public static string[,] GenerateCollection()
string[,] collection = new string[,]
{"netherlands", "rent handles"},
{"asdfasdf", "fdsafdsa"},