摘要: Check if there is parameter Code: if [ -n "$1" ] && [ -n "$2" ] # note the quoted test strings then echo "Strings \"$1\" and \"$2\" are ... 阅读全文
posted @ 2011-11-30 17:39 独暮朝阳 阅读(510) 评论(0) 推荐(0)
摘要: C#中property与attribute的区别,他们各有什么用处,这种机制的好处在哪里 定义:Attribute 类将预定义的系统信息或用户定义的自定义信息与目标元素相关联。公共语言运行时允许你添加类似关键字的描述声明,叫做attributes, 它对程序中的元素进行标注,如类型、字段、方法和属性等。Attributes和Microsoft .NET Framework文件的元数据保存在一起,可以用来向运行时描述你的代码,或者在程序运行的时候影响应用程序的行为。 Property是类中存取数据的一个统一模式 C#中的Field就是C++中指的成员变量Member Variable什么是m 阅读全文
posted @ 2011-01-04 22:00 独暮朝阳 阅读(567) 评论(1) 推荐(0)
摘要: Book and Chapters 阅读全文
posted @ 2009-12-29 11:33 独暮朝阳 阅读(129) 评论(0) 推荐(0)
摘要: 学习时遇到的概念和知识的简单记录,以便知识累积。 阅读全文
posted @ 2009-10-13 12:38 独暮朝阳 阅读(250) 评论(0) 推荐(0)