In C++ it is fairly simple to display the actual value of a pointer to an object. For example:
// hope this makes sense: (please edit if not)
void* p = New CSomething();
cout << p;
Is there a way to do something like this in .NET?
The value of doing this would/could only be educational, e.g. for purposes of demonstration as in displaying a value for students to see rather than just comparing for reference equality or null (nothing) to prove shallow copies, immutability etc.