2012年5月24日

C#运算符与表达式

摘要: the operator andexpression are similar to C++.However C# had added some new and useful operators ,for example :is,as,etc.is operatorthe is operator is used for checking if the operation-type is equal or able to exchange to each other.the is operator is particular fitted forPolymorphism condition.The 阅读全文

posted @ 2012-05-24 16:53 .ne菜鸟 阅读(174) 评论(0) 推荐(0)

C#修饰符

摘要: 1.set vector and get vector is needed in CSharp programing.2.readonly is different from const.for example:Class Myclass{const int a=10;//this paramater can't be changed any morereadonly int b=10;//this paramater can't be changed.tooreadonly int c;//c can be initialed in the futrue.public Myc 阅读全文

posted @ 2012-05-24 16:21 .ne菜鸟 阅读(137) 评论(0) 推荐(0)

导航