By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,702 Members | 1,432 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,702 IT Pros & Developers. It's quick & easy.

How to find out who instantiated a class

P: n/a
aaj
Hi all

Is it possible for object to display the name of the object that instatiated
it.

thanks
Andy
Nov 21 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Is it possible for object to display the name of the object that instatiated
it.


Not unless you pass it in as a parameter to the constructor. BTW,
objects in general don't have names.

Mattias

--
Mattias Sjögren [MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.
Nov 21 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.