C# try-catch

try
{the code may occur exception}
catch
{ the code handle exception}

 

NOTE:easy than java try-catch

posted @ 2018-06-29 23:27  MikeLi  阅读(124)  评论(0编辑  收藏  举报