how would i go about adding each instance of a class to a list upon creation?

I'd like to know how to dynamically add each and every instance of a class to a list upon the instance creation in c# is there a way to use a for each instance of x class or another way that isn't as intuitive as what I've suggested?

by alixious via /r/csharp

Leave a Reply