Revision: 5332
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at February 28, 2008 05:58 by karelklic
Initial Code
static void AddUniqe(Item item, List<Item> list) { int offs = list.FindIndex(delegate(Item i) { return i.id == item.id; }); if (offs >= 0) list[offs] = item; else list.Add(item); }
Initial URL
Initial Description
Important note is http://blogs.msdn.com/abhinaba/archive/2005/10/18/482180.aspx
Initial Title
Anonymous methods in C#
Initial Tags
Initial Language
C#