text: public static bool StartsWith(char[] s, int len, string prefix){int prefixLen = prefix.Length;if (prefixLen > len){return false;}for (int i = 0; i < prefixLen; i++){if (s[i] != prefix[i]){return false;}}return true;}