C# return和break

break是跳出当前循环

 

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

posted @ 2014-08-05 18:21  小蚕豆  阅读(828)  评论(0编辑  收藏  举报