Users Pricing

forum

home / developersection / forums / difference between observablecollection and bindinglist in wpf?

difference between ObservableCollection and BindingList in wpf?

Anonymous User 6094 10 Aug 2013

I want to know the difference between ObservableCollection and BindingList because I've used both to notify for any add/delete change in Source, but I actually do not know when to prefer one over the other.

Why would I choose one of the following over the other?

ObservableCollection<Employee> lstEmp = new ObservableCollection<Employee>();

or

BindingList<Employee> lstEmp = new BindingList<Employee>();


I am a content writter !


1 Answers