public static bool isOnEdge(string s, char c)
return (s[0] == c && s[s.Length-1] == c);
public static string merge (string s1, string s2)
public static string between (string s, int num1, int num2)
for (int i = num1; i < num2; i++)
for (int i = num2; i < num1; i++)
public static bool LOWvsUP(string s)
for (int i = 0; i < s.Length; i++)
public static bool findNo (string s)
for (int i = 0; i < s.Length - 1; i++)
if (s[i] == 'n' && s[i+1] == 'o')
public static bool isInside(string str1, string str2)
for (int i = 0; i < str1.Length-str2.Length; i++)
if (between(str1, i, i + str2.Length) == str2)
public static string flip (string s)
for (int i = s.Length-1; i >= 0; i--)
public static bool isSymmetric(string s)
public static void Main()
Console.WriteLine(isSymmetric("dahd dhd"));