摘要:
Similarities1.Both contain code to be executed2. Both can be used to hide implementation details3. Both can be virtual, abstract, or override Differences1. Syntactic – properties do not use parenthese... 阅读全文
posted @ 2006-07-06 20:47
愛如風過
阅读(171)
评论(0)
推荐(0)
摘要:
using Methods 1.Reduce clarity 2.Increase risk of errors,both syntactic and semanticuisng Operator makes expression cleatExample: MyIntVar1=MyIntVar2+MyIntVar3 (Operator)... 阅读全文
posted @ 2006-07-06 20:07
愛如風過
阅读(165)
评论(0)
推荐(0)
摘要:
Struct Constructor RestrictionsAlthough the syntax for struct and class constructors is the same, there are someadditional restrictions that apply to struct constructors:1. The compiler always create... 阅读全文
posted @ 2006-07-06 09:48
愛如風過
阅读(269)
评论(0)
推荐(0)
浙公网安备 33010602011771号