[英]Delete references from System.Diagnostics.Debug
我不知道如何删除 System.Diagnostics.Debug 类中的引用,我尝试访问它的方法以查看是否有一个方法可以满足我的要求,但没有,有人知道如何删除引用吗?
System.Diagnostics.Debug is a .NET class in the System.Diagnostics namespace. System.Diagnostics.Debug 是 System.Diagnostics 命名空间中的 .NET 类。 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.通常 System.Diagnostics 命名空间在
using
它的文件顶部using
语句引用,例如using System.Diagnostics
,因此只需删除它的所有实例,以及您在代码中使用 Debug 类的任何位置,应该是您需要做的所有事情。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.