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