📜  visual studio c# 标记类已弃用 - C# 代码示例

📅  最后修改于: 2022-03-11 14:48:52.379000             🧑  作者: Mango

代码示例1
[Obsolete("This class should not be used anymore!", true)]
public class MyObsoleteClass
{
    ...
}