c# - Behavior of ObservableCollection(IEnumerable) constructor -


according msdn there overload observablecollection constructor can pass ienumerable. according short msdn page make "copy" of ienumerable.

how determine how behave? "copy" totally independent of original or changes made ienumerable (such linq query) reflected automatically in observablecollection?

msdn page

this constructor walks through items in ienumerable , adds each 1 observablecollection. once finished new observablecollection has nothing more ienumerable (except if dealing collection of reference types observablecollection hold references same objects supplied ienumerable).


Comments

Popular posts from this blog

unicode - Are email addresses allowed to contain non-alphanumeric characters? -

c++ - Convert big endian to little endian when reading from a binary file -

C#: Application without a window or taskbar item (background app) that can still use Console.WriteLine() -