简体   繁体   中英

Delete references from System.Diagnostics.Debug

我不知道如何删除 System.Diagnostics.Debug 类中的引用,我尝试访问它的方法以查看是否有一个方法可以满足我的要求,但没有,有人知道如何删除引用吗?

System.Diagnostics.Debug is a .NET class in the System.Diagnostics namespace. Not sure why you are calling it "my" class.

Usually the System.Diagnostics namespace is referenced with a using statement at the top of the file where it is used, eg using System.Diagnostics , so just deleting all instances of that, and any places where you use the Debug class in your code, should be all you need to do.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM