using System; public class StringParsing { public static void Main() { } static bool IsFileURI(String path) { return (String.Compare(path, 0, "file:", 0, 5, StringComparison.OrdinalIgnoreCase) == 0); } }