static void testLongestCommonSubsequence() { string str1 = "ABCDGH"; string str2 = "AEDFHR"; Console.WriteLine("Longest common subsequence between " + str1 + " and str2 is: " + StringProblems.getLongestCommonSubsequence(str1, str2)); }