Results for linq
Getting the previous and next record from list using linq Getting the previous and next record from list using linq Reviewed by Bhaumik Patel on 11:10 PM Rating: 5

linq Right Outer Joins

Bhaumik Patel 8:15 PM
linq Right Outer Joins Join when using LINQ. There are no keywords defined in C#, we have to use DefaultIfEmpty() function to get the desir...Read More
linq Right Outer Joins linq Right Outer Joins Reviewed by Bhaumik Patel on 8:15 PM Rating: 5

linq left outer joins

Bhaumik Patel 8:12 PM
linq left outer joins Join when using LINQ. There are no keywords defined in C#, we have to use DefaultIfEmpty() function to get the desired...Read More
linq left outer joins linq left outer joins Reviewed by Bhaumik Patel on 8:12 PM Rating: 5

linq Inner Joins c#

Bhaumik Patel 8:10 PM
linq Inner Joins private void InnerJoins() { Tag = "Inner Joins"; Person bhaumik = new Person { F...Read More
linq Inner Joins c# linq Inner Joins c# Reviewed by Bhaumik Patel on 8:10 PM Rating: 5

Tracing linq query in sql format c#

Bhaumik Patel 7:34 PM
Linq query trace in sql format c# Tracing of Linq to Entities query, This is for "Linq-to-Entities" // In Linq Entities _ent ...Read More
Tracing linq query in sql format c# Tracing linq query in sql format c# Reviewed by Bhaumik Patel on 7:34 PM Rating: 5

linq simple outer joins

Bhaumik Patel 7:46 PM
Simple linq outer joins If you want to use a join operator other than the "equal" operator you will need to use a nested query. ...Read More
linq simple outer joins linq simple outer joins Reviewed by Bhaumik Patel on 7:46 PM Rating: 5

linq joins

Bhaumik Patel 7:37 PM
Join In Linq Join when using LINQ. There are no keywords defined in C#, we have to use DefaultIfEmpty() function to get the desired result. ...Read More
linq joins linq joins Reviewed by Bhaumik Patel on 7:37 PM Rating: 5
How to get all items from a list that are not unique with LINQ How to get all items from a list that are not unique with LINQ Reviewed by Bhaumik Patel on 1:12 AM Rating: 5
How to count items per category with LINQ How to count items per category with LINQ Reviewed by Bhaumik Patel on 1:08 AM Rating: 5

linq Except

Bhaumik Patel 6:49 PM
linq Except public static void Except() { int[] numbersA = { 0, 2, 4, 5, 6, 8, 9 }; int[] numbersB = { 1, 3,...Read More
linq Except linq Except Reviewed by Bhaumik Patel on 6:49 PM Rating: 5

linq Intersect

Bhaumik Patel 6:59 PM
linq Intersect public static void Intersect() { int[] numbersA = { 0, 2, 4, 5, 6, 8, 9 }; int[] numbersB = {...Read More
linq Intersect linq Intersect Reviewed by Bhaumik Patel on 6:59 PM Rating: 5

linq Union

Bhaumik Patel 7:03 PM
linq Union public static void Union() { int[] numbersA = { 0, 2, 4, 5, 6, 8, 9 }; int[] numbersB = { 1, 3, 5...Read More
linq Union linq Union Reviewed by Bhaumik Patel on 7:03 PM Rating: 5

linq Distinct

Bhaumik Patel 7:01 PM
linq Distinct This sample uses Distinct to remove duplicate elements in a sequence of factors of 300. public static void Distinct() ...Read More
linq Distinct linq Distinct Reviewed by Bhaumik Patel on 7:01 PM Rating: 5

linq Aggregate

Bhaumik Patel 6:59 PM
linq Aggregate public static void Aggregate() { // Aggregate - Simple double[] doubles = { 1.7, 2.3, 1.9, 4....Read More
linq Aggregate linq Aggregate Reviewed by Bhaumik Patel on 6:59 PM Rating: 5

linq Average

Bhaumik Patel 6:34 PM
linq Average This sample uses Average to get the average of all numbers in an array. public static void Average() { //...Read More
linq Average linq Average Reviewed by Bhaumik Patel on 6:34 PM Rating: 5

linq Max

Bhaumik Patel 6:28 PM
linq Max Get the Min and Max value from a query. public static void Max() { // Max - Simple int[] numbers ...Read More
linq Max linq Max Reviewed by Bhaumik Patel on 6:28 PM Rating: 5

linq Min

Bhaumik Patel 7:16 PM
linq Min Get the Min and Max value from a query. public static void Min() { // Min - Simple int[] numbers ...Read More
linq Min linq Min Reviewed by Bhaumik Patel on 7:16 PM Rating: 5

linq Sum

Bhaumik Patel 6:35 PM
linq Sum public static void Sum() { // Sum - Simple int[] numbers = { 5, 4, 1, 3, 9, 8, 6, 7, 2, 0 }; ...Read More
linq Sum linq Sum Reviewed by Bhaumik Patel on 6:35 PM Rating: 5

linq Count

Bhaumik Patel 6:52 PM
linq Count public static void Count() { // linq Count - Simple int[] factorsOf300 = { 2, 2, 3, 5, 5 };...Read More
linq Count linq Count Reviewed by Bhaumik Patel on 6:52 PM Rating: 5

linq Reverse

Bhaumik Patel 6:58 PM
linq Reverse public static void Reverse() { string[] digits = { "zero", "one", "two", ...Read More
linq Reverse linq Reverse Reviewed by Bhaumik Patel on 6:58 PM Rating: 5