Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
swdev:dotnet:lists_and_observablecollections [2013/03/14 15:28]
smayr
swdev:dotnet:lists_and_observablecollections [2013/03/14 15:35] (current)
smayr
Line 19: Line 19:
 Create a color list: Create a color list:
 <code csharp> <code csharp>
 +using System.Linq;  // Required for 'Where' lambda/linq statements
 +using System.Collections.ObjectModel; // Required for ObservableCollection
 +
 public class TColorList: List<TColor> public class TColorList: List<TColor>
 { {