Does anyone know what factors affect the memory size an object will
consume by simply creating a new instance? I know that member-level value-
types will consume memory respective of their data type (Int32 consumes 4
bytes, etc.). What about code? Does a class that contains no member
variables, but 2000 lines of code consume any memory by simply
instantiating a new one?

Reply via email to