I have started researching Reactive extensions and I would like to know how to do the following (ill try and keep it simple):
-
Have a list of string (or any other type)
-
When an item is added to the said list, do something with it.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
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.
You can’t do that with the existing
List<String>class – it doesn’t provide notifications, and there’s nothing that Reactive Extensions can do about that.You might want to look at
ObservableCollection<T>though.