Suppose I have a Tom object that has a Person class.
Class Person String Name DateTime BirthDate String Role Int32 Salary
Can you give me an approximate size of his memory if he has the following meanings:
Name = Tom. Date of birth = 1/1/1990. Role = User. Salary = 30000
Could you also tell us how the calculation was performed?
source share