Is there a Generic Collection with events?

  • Thread starter Thread starter Lee Grissom
  • Start date Start date
L

Lee Grissom

There's Collection<T>, but it doesn't have event hooks for items added or
removed. I was going to create a descendent that does just that, but before
I do, I want to make sure there isn't already something that exists in the
Framework.

Thanks,
Lee
 
Hello,

take a look at System.Collections.ObjectModel.Collection<T>. It's an
extensible typed collection.

Best regards,
Henning Krause
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top