首页 > 技术文章 > C# return和break

xiaocandou 2014-08-05 18:21 原文

break是跳出当前循环

 

return 是终止执行,当程序return之后,所有的都停止啦

推荐阅读