ACAT.Applications.ACATTalk.Program.isOption C# (CSharp) Method

isOption() private static method

Checks if the specified string is an option flag. it should start with a - or a /
private static isOption ( String arg ) : bool
arg String arg to check
return bool
        private static bool isOption(String arg)
        {
            if (!String.IsNullOrEmpty(arg))
            {
                return (arg[0] == '/' || arg[0] == '-');
            }

            return false;
        }
    }