仅当为false时,跳出信息提示框,或将显示简化提醒信息和提醒消息
// 存在重载 Debug.Assert(<bool>); Debug.Assert(<bool>,"simplified string"); Debug.Assert(<bool>,"simplified string", "string");
C#语法基础04_Debug.Assert
原文:https://www.cnblogs.com/moyutime/p/14620054.html