摘要:
[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Struct, AllowMultiple = true) // multiuse attribute]public class Author : System.Attribute{ string name; public double version; public Author(string name) { this.name = name; version = 1.0; // Default value } public strin 阅读全文