小编Jam*_*mes的帖子

我如何记录ac#dll

如何编写类,以便在其他项目中引用dll的人可以看到属性和方法描述?

    [Description("My age in years attribute")]
    public int Age
    {
        get { return 0; }
        set { }
    }
Run Code Online (Sandbox Code Playgroud)

不起作用,也不起作用

    /// <summary>
    /// My age in years attribute
    /// </summary>
    public int Age
    {
        get { return 0; }
        set { }
    }
Run Code Online (Sandbox Code Playgroud)

c# dll attributes class

8
推荐指数
1
解决办法
2271
查看次数

标签 统计

attributes ×1

c# ×1

class ×1

dll ×1