我需要知道我的对象在内存中消耗了多少字节(在C#中).例如,我Hashtable,或SortedList,或多少List<String>.
Hashtable
SortedList
List<String>
.net c# memory performance profiling
我正在开发一个目前创建了数百个对象的应用程序.
是否可以确定(或近似)对象(类实例)分配的内存?
.net c# memory profiling object
.net ×2
c# ×2
memory ×2
profiling ×2
object ×1
performance ×1