隐藏或开始visual studio的错误提示波浪线 Check Tools -> Options -> Text editor -> C#, Basic or other language -> Advanced -> Underline Errors in the editor.