System.Uri.CheckForColonInFirstPathSegment C# (CSharp) Method

CheckForColonInFirstPathSegment() private static method

private static CheckForColonInFirstPathSegment ( string uriString ) : bool
uriString string
return bool
        private static bool CheckForColonInFirstPathSegment(string uriString)
        {
            int index = uriString.IndexOfAny(s_pathDelims);

            return (index >= 0 && uriString[index] == ':');
        }