属性或注解(CLR或Java)的酷用途? [英] Cool uses of Attributes or Annotations (CLR or Java)?

查看:145
本文介绍了属性或注解(CLR或Java)的酷用途?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在CLR的自定义属性什么是一些很酷的应用/ C#code,你已经做了或听说过?另外,标准属性有趣的新用途也行!

What are some cool applications for custom attributes in CLR/C# code that you've done or heard about? Also interesting new uses of the standard attributes is also ok!

编辑:由于Java的注释似乎是一样的CLR的attrbutes,Java注释的使用也是有效的。

Since Java's annotations seems to be the same as CLR's attrbutes, uses of Java annotations is also valid.

推荐答案

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