.net - Where's the ValueType stored when CLR initialize the data structure to store them -


i know value type instances stored in stack , reference type instances stored in heap. but, after clr ensure assemblies define type have loaded, create data structures store type object, reference type object stored in heap, where's value type objects stored?

the type objects different types reference types, i.e. type class, stored on heap.


note value types stored on stack if local variables in method. if members of class, stored on heap part of instance of class.


Comments

Popular posts from this blog

Delphi XE2 Indy10 udp client-server interchange using SendBuffer-ReceiveBuffer -

Qt ActiveX WMI QAxBase::dynamicCallHelper: ItemIndex(int): No such property in -

python - cx_oracle unable to find Oracle Client -