The common language runtime conserves string storage by maintaining a table, called the intern pool, that contains a single reference to each unique literal string declared or created programmatically in your program. Consequently, an instance of a literal string with a particular value only exists once in the system.
Definition taken from: http://msdn.microsoft.com/en-us/library/system.string.intern.aspx
Definition taken from: http://msdn.microsoft.com/en-us/library/system.string.intern.aspx
No comments:
Post a Comment