且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何将C#帮助集成到控制台应用程序

更新时间:2021-10-09 22:46:34

在您的主要方法中调用 ShowHelpRequired

Call ShowHelpRequired in your main method :

    static void Main(string[] args)
    {

        if(ShowHelpRequired(args))
        {
            Console.WriteLine("Show help message here");
        }
    }