C#语法基础04_Debug.Assert

时间:2021-04-07 11:08:49   收藏:0   阅读:0

C#语法基础04_Debug.Assert

仅当为false时,跳出信息提示框,或将显示简化提醒信息和提醒消息

// 存在重载
Debug.Assert(<bool>);
Debug.Assert(<bool>,"simplified string");
Debug.Assert(<bool>,"simplified string", "string");

技术图片

评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!