Ray's playground

 

2011年8月4日

Constants and Fields(Chapter 7 of CLR via C#)

摘要: A constant is a symbol that has a never-changing value. When defining a constant symbol,its value must be determinable at compile time. The compiler then saves the constant’s valuein the assembly’s metadata. This means that you can define a constant only for types thatyour compiler considers primit. 阅读全文

posted @ 2011-08-04 23:39 Ray Z 阅读(239) 评论(0) 推荐(0) 编辑

Type and Member Basics(Chapter 6 of CLR via C#)

摘要: The CLR offers two IL instructions for calling a method: The call IL instruction can be used to call static, instance, and virtual methods.When the call instruction is used to call a static method, you must specify the typethat defines the method that the CLR should call. When the call instruction . 阅读全文

posted @ 2011-08-04 23:35 Ray Z 阅读(183) 评论(0) 推荐(0) 编辑

导航