Answer:
No, there is no way to get the address of an object. We can only have the reference to the object which is created to access the members of the class for a given object.
This is because once an object is created all the variables(values/reference types) are allocated the memory in heap and so it is very difficult to trace the exact address in heap memory.
Get Questpond's 500+ .NET Interview preparation videos at discounted price
Found interesting? Add this to: