在C#中使用custom属性的优点 [英] Advantages of using the custom attribute in c#

查看:134
本文介绍了在C#中使用custom属性的优点的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

什么是Attribute?
为什么我们需要为此?
自定义Attribute的优点是什么?

What is an Attribute?
Why do we need to go for this?
What are the advanteges of custom Attributes?
How to define and how to use them?

推荐答案

阅读一些MSDN文档,或在Google上搜索!
Read some MSDN documentation, or google it!


[
This[^] may help.

It may be worth your while investing in some beginners c# books.


这篇关于在C#中使用custom属性的优点的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆