Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 86937
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T22:19:27+00:00 2026-05-10T22:19:27+00:00

I needed a generic collection or list that can fire an event when an

  • 0

I needed a generic collection or list that can fire an event when an item is added or removed.

I discovered that BindingList(of T) has events for this and wired up a quick proof of concept that worked fine.

Of course, this doesn’t feel like the most educated choice; BindingList is overkill for what I’m doing. Are there any simpler collection/list objects that do this?

I could roll my own of course.

Bonus Points: While we’re at it, are you aware of any really comprehensive resources that go over all the .Net collection types in detail?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-10T22:19:28+00:00Added an answer on May 10, 2026 at 10:19 pm

    ObservableCollection(of T) implements INotifyCollectionChanged. It will notify you when items are added or removed. That isn’t the same interface as IRaiseItemChangedEvents which is implemented by BindingList(of T). It should work for you though.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a generic class that has one type parameter (T). I needed to
I need a generic collection class which I can add to, and enumerate over.
how can I check a certain element from a generic list and change it
I have a Generic Class Factory class that has two methods one utilizes the
I'm after a collection that I can iterate through very fast. I'll also be
I needed to change a work item field from PlainText -> String. As I
I needed to build an Android app that lets you view a web page
Is there a library of generic collection algorithms for .NET? I would like to
EDIT ive got it almost, having and error message now that it can't find
The problem: I have a custom collection PagedList<T> that is being returned from my

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.