> Cause we need to use features of the IList interface as well. > Is ordering important? If so, then it is probably best to use IList<T>. The 'keyed' part can easily be done via linq.
myObject.Values.Single(x=>x.Key="test") You could ofcourse put this in a method on the MyObject class but the above code is something that I often use. -- Ramon -- You received this message because you are subscribed to the Google Groups "nhusers" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/nhusers?hl=en.
