Hello friends, In this article I will show you how to create hierarchical or parent child relation ship data using C# LINQ query. This is a very concise code made simpler with the use of LINQ in C#. I am considering that we have data coming from first table which contains a foreign key reference to other DataTable.
[Read more…] about Create Hierarchical data using C# LINQLINQ
Convert DataTable to List or Array using LINQ C#
Hello Friends, In this article I will show you a small code example to convert DataTable to List or Array in C# code example.
[Read more…] about Convert DataTable to List or Array using LINQ C#C# Tip: Join or Concat to Merge two Arrays using LINQ
Hello Friends, In C# or any programming language we come across many scenarios where we may want to concatenate or merge two arrays or lists. This can be easily accomplished using LINQ in C#.
[Read more…] about C# Tip: Join or Concat to Merge two Arrays using LINQHow to work with LINQ in DotNET Core
Hello friends, In this article I will show you how to work with LINQ in dotnet core framework released by Microsoft on Windows and Linux platform.
C# Deferred Execution and Reevaluation in LINQ
Hello Friends, In my previous article I have discussed about the different ways we can write LINQ queries in C#. I talked about the Lambda Syntax and comprehension syntax. In this article I want to discuss one important concept of LINQ queries known as deferred execution which can help you to prevent from making silly mistakes.
[Read more…] about C# Deferred Execution and Reevaluation in LINQ