using an output from a method to use in another method with parameters?

前端 未结 0 1526
半阙折子戏
半阙折子戏 2020-11-30 07:44

I have a method that asks the user for a number greater than zero and returns the user\'s input.

private static int GetPositiveInt(string prompt, int min)
            


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题