一.概述
https://docs.microsoft.com/zh-cn/dotnet/csharp/programming-guide/concepts/attributes/
二.创建自定义特性
https://docs.microsoft.com/zh-cn/dotnet/csharp/programming-guide/concepts/attributes/creating-custom-attributes
三.使用反射访问特性
https://docs.microsoft.com/zh-cn/dotnet/csharp/programming-guide/concepts/attributes/accessing-attributes-by-using-reflection