Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

how can i replace Any for All method and vice versa linq in c#

var results = from e in employees
              group e by e.Department into d
              select new { Department = d.Key,
              Size = d.Count() };

Source by www.codemag.com #
 
PREVIOUS NEXT
Tagged: #replace #Any #All #method #vice #versa #linq
ADD COMMENT
Topic
Name
3+4 =