Quote Originally Posted by dw85745
Alex:

From my read of your post, your saying System.String object stores all string literals on the heap no matter whether they are declared Public, Private or Local.

Is this correct, or are you saying the System.String object is stored on the heap?
System.String objects and strings associated with them are stored on the heap, this is how CLR works.

Thanks,
Aleksey Tsingauz,
VB.NET Compiler Dev Team.