Memorandum ASP.NET


Il blog di uno smanettone .net
Home Blogs | Home | Login | Contact | My Profile | RSS | About | Cerca

C# Tips – Using delegate in List.Find() predicate

If we had at hand a functional language (eg Lisp), so we can easy manipulate a collection or list.With the. NET Framework 2.0, we can also work in a more functional mode with Generics (exploring). Using this feature of the CLR we can process our data in a much more immediate, especially with anonymous delegates.An example that I propose, and is also the most common situation is that I've developed is the use of these delegates to the search function Find() for a generic list (List<T>)View  
Leggi tutto il post...
Categoria: C#
martedì, 05 lug 2011 Ore. 18.17

Scrivi un commento

Nome:
Blog:
E-Mail:
(l'indirizzo e-mail non verrà pubblicato, consente di essere avvertiti quando arrivano nuovi commenti a questo Post)
Codice:
Corpo:
Cookie:

Commenti

Copyright © 2002-2007 - Blogs 2.0
dotNetHell.it | Home Page Blogs
ASP.NET 2.0 Windows 2003