How to get all instances from certain class or Kill all instances of certain class ?

Posted by Ehab Sutan on Stack Overflow See other posts from Stack Overflow or by Ehab Sutan
Published on 2010-05-29T14:38:07Z Indexed on 2010/05/29 14:42 UTC
Read the original article Hit count: 188

Filed under:

Hello, in C# How to get all instances from certain class or Kill all instances of certain class ? For Example : I've a Class Names "MyClass" from which i make 3 instances "m1","m2","m3".

Is there a way to get all these instances or kill them all ??

© Stack Overflow or respective owner

Related posts about c#