你的位置: 码友网首页 / 资讯源列表 / C# Attributes

关于[C# Attributes]的摘要:

A .NET application doesn’t just contain code and data; it also contains metadata, which is information about data. In .NET, this means that an application contains the code that defines the application and data that describes the code. An attribute is one type of metadata that can be stored in a .NET application. Other types of metadata contain information about the types, code, assembly, and all other elements stored in your application. Reflection is the process of retrieving this metadata at runtime. The data can be inspected and used to make decisions. In this article, you will learn how to use C# attributes in your own code and how to use reflection along with attributes.

原文地址: https://codewithshadman.com/csharp-attributes/

收录时间: 2020-04-20 浏览量: 1614 分类: C#开发

| 0 收藏 | 0