2014年3月11日
摘要: StringString 是不可变的(immutable), 一旦建立,不能改变。字符串池CLR初始化时会创建一个内部的HASH TABLE,key是字符串,value是对托管堆上的字符串对象的引用。但是当显式的New一个字符串对象时,字符串池不起作用。System.Runtime.CompilerServices.CompilationRelaxationAttribute特性来开关字符串池ComplitationRelaxations.NoStringInterningSecureString命名空间System.SecuritySecureString的由来SecureString是用来 阅读全文
posted @ 2014-03-11 21:16 carolinehan 阅读(209) 评论(0) 推荐(0) 编辑
摘要: MetaDataMetadata is aset of data tables that describe what is defined in the module, such as types and their members.MetaData also has tables indicating what the managed module references, such as imported types and their members.Assembly?An assembly is a logical grouping of one or more modules or r 阅读全文
posted @ 2014-03-11 19:43 carolinehan 阅读(343) 评论(0) 推荐(0) 编辑