摘要: 特性(attribute)是被指定给某一声明的一则附加的声明性信息。 元数据,就是C#中封装的一些类,无法修改.类成员的特性被称为元数据中的注释. 1、什么是特性 1)属性与特性的区别属性(Property):属性是面向对象思想里所说的封装在类里面的数据字段,Get,Set方法。特性(Attribute):官方解释:特性是给指定的某一声明的一则附加 的声明性信息。 允许类似关键字的描述声明。它对程序中的元素进行标注,如类型、字段、方法、属性等。 从.net角度看,特性是一种 类,这些类继承于System.Attribute类,用于对类、属性、方法、事件等进行描述,主要用在反射中。但从面向... 阅读全文
posted @ 2013-06-26 10:14 若愚Shawn 阅读(2307) 评论(0) 推荐(0) 编辑
摘要: Windows Method 1: Using the Command Prompt1Click on theStartbutton.2Typecmdin the search bar, right above the Start button, and pressEnter. This will open the command prompt.If you're using Windows XP, clickRun, typecmd, and pressEnter.3At the command prompt, typeipconfig /alland pressEnter. Don 阅读全文
posted @ 2013-06-26 08:45 若愚Shawn 阅读(749) 评论(0) 推荐(0) 编辑