Essential C#
OracleDongDong
这个作者很懒,什么都没留下…
展开
-
20120709-the key factor affecting explicit or implicit interface implementation
1. first situation: one class implement one interface and all the interface implementation is implicit public interface IBankAccount { void PayIn(decimal amount); bool Wi原创 2012-07-09 16:41:41 · 440 阅读 · 0 评论 -
Nullable Modifier--from <Essential c# 2.0>
三句话总结: 数值类型的变量不能使用null赋值; 在变量类型前面加上 ? 表示该值为可空; 使用时显示转换为iny型,进行运算时不执行运算,也就是值为空。 原文: Mark Michaelis P53 As I pointed out earlier, value typescannot be assigned翻译 2012-07-10 11:10:27 · 638 阅读 · 0 评论 -
c# 默认 访问修饰符 小结
http://www.cnblogs.com/dashan9zj/archive/2009/02/13/1390091.html c# 的访问修饰符是private 还是 internal? 准确的说,不能一概而论。 [MSDN] Classes and structs that are not nested within other classes or structs转载 2012-07-10 15:18:10 · 575 阅读 · 0 评论