I've added a .clone method to IList<of T>. If we like it then similar methods can be added for sets, dictionaries and collections, both generic and non. You can see the checkins here in changeset:2199 and changeset:2200.
The idea is that you can now write "t.clone.blah.blah" instead of "List<of X>(t).blah.blah". Cobra has other methods that also promote invoking multiple methods left-to-right. See the wiki pages StandardLibraryExtensionMethods and PrimitiveTypeMembers.
Forums
List.clone
1 post
• Page 1 of 1
1 post
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 45 guests