IEnumerable<T> on collection so Linq can be used.
Please implement IEnumerable<T> on your collections so Linq can be used. I realize you want .net 1.1 compatibility, but you can maintain that by implementing the interface in a conditional compile block.
// would like this ...
string address = message.From.FirstOrDefault().Address;
1
vote
anonymous
shared this idea
-
Adminmartin.vobr (Admin, Rebex) commented
In build 3479 we've added the support for IEnumerable<T> to installation packages for .NET 2.0 and newer. http://blog.rebex.net/news/archive/2009/07/13/build-3479.aspx