Questions et réponses pour le linq :

Language Integrated Query (LINQ) is a Microsoft .NET Framework component that adds native data querying capabilities to .NET languages. Please consider using more detailed tags when appropriate, for example [linq-to-sql], [linq-to-entities] / [entity-framework], or [plinq]

10
votes
Comment puis-je récupérer tous les éléments après la première ne pas commencer par un "-" à l'aide de linq? xxx ...

10
votes
J'ai un tableau simple d'objets: if(contacts.Length == 0) return; ...

10
votes
var books = from book in booksXml.Descendants("book") let Name = book.Attribute("name") ?? new XAttribute("name", string.Empty) let Price = book.At ...

10
votes
disons que nous avons une collection d'objets de personne xxx et quelque part dans la collection définie par code xxx N ...