C# Corner
Tech
News
Videos
Forums
Jobs
Books
Events
More
Interviews
Live
Learn
Training
Career
Members
Blogs
Challenges
Certification
Contribute
Article
Blog
Video
Ebook
Interview Question
Collapse
Feed
Dashboard
Wallet
Learn
Achievements
Network
Refer
Rewards
SharpGPT
Premium
Contribute
Article
Blog
Video
Ebook
Interview Question
Register
Login
Tags
No tag found
Content Filter
Articles
Videos
Blogs
Resources
News
Forums
Interviews
Complexity Level
Beginner
Intermediate
Advanced
Refine by Author
[Clear]
Jitendra Mesavaniya(10)
Dashrath Hapani(5)
Jignesh Kumar(4)
Ajay Kumar(4)
Praveen Raveendran Pillai(3)
Tural Suleymani(3)
Vishal Yelve(3)
Mariusz Postol(3)
Raj Bhatt(3)
Gurpreet Arora(2)
George (2)
Alpesh Maniya(2)
Vikas Singh(2)
Keyur (2)
Abhishek Yadav(2)
Abhishek Saini(2)
Yogeshkumar Hadiya(2)
Fuad Hasan(2)
Ashish Bhatnagar(2)
Shafaet Hossain(1)
Jayraj Chhaya(1)
Omar Rodriguez(1)
Sanjay Kumar(1)
Rajiv Singh(1)
Hamed Niazmand(1)
Geo J Thachankary(1)
Hanif Hefaz(1)
Jay Krishna Reddy (1)
Chetan Sanghani(1)
Jay Kumar(1)
Rasul Huseynov(1)
Muhammad Talha(1)
Ashutosh Singh(1)
Allani Saikumar(1)
Aman Patel(1)
Jaimin Shethiya(1)
Mithilesh Tata(1)
Vijay Pratap Singh(1)
Dinesh Gabhane(1)
Jaimin Patel(1)
Jobin S(1)
Ramawatar Bhakar(1)
Piyush Kumar(1)
Jefferson S. Motta(1)
Ravi Raghav(1)
Ajay Singh(1)
Shreneek Patil(1)
Naimish Makwana(1)
Bhavesh Raval(1)
Esamaldin Mohammed(1)
Vishvjit Shinde(1)
Jin Necesario(1)
Sanjay Mrinal Kumar Kodangi(1)
Sumit Singh Sisodia(1)
Mahesh Chand(1)
Vitalii Honcharuk(1)
Mahender Pal(1)
David Mccarter(1)
Ramakrishnan R(1)
Ajit Srivastava(1)
Siddharth Gajbhiye(1)
Resources
No resource found
New LINQ Features in .NET 9
Mar 29, 2025.
Discover the latest LINQ features in .NET 9 that enhance query performance, simplify data manipulation, and introduce new methods for better efficiency.
Exploring PLINQ (Parallel LINQ) for Parallel Processing
Mar 29, 2025.
PLINQ (Parallel LINQ) is a powerful feature in .NET that enables parallel processing of queries to improve performance on multi-core processors.
Understanding Expressions in C#: Dynamic Code and Query Generation
Mar 19, 2025.
Expressions in C# allow dynamic query generation, runtime compilation, and code transformation using Expression Trees. They are widely used in LINQ, ORM frameworks like Entity Framework, and reflection to optimize performance and enable flexible, data-driven logic.
Learn C#: Refactor Code
Mar 18, 2025.
Refactoring in C# enhances code readability, maintainability, and performance by eliminating redundancy, utilizing LINQ, extracting methods, applying null-coalescing operators, and implementing async/await patterns.
Select vs SelectMany in C# LINQ
Mar 17, 2025.
In C# LINQ, Select transforms each element of a collection individually, maintaining the original structure, while SelectMany flattens nested collections into a single sequence, combining all sub-elements.
Various Methods to Count Occurrences of Each Number in Array or List
Feb 17, 2025.
In this article, I'll show you different ways to count how often a number appears in C#. We'll look at methods like LINQ, Dictionary, GroupBy, and Parallel.ForEach, and see which ones work best for small and large datasets.
How to Convert a DataTable to a List of Objects in C#
Jan 27, 2025.
In many scenarios, you may need to convert this DataTable into a list of custom objects for easier manipulation and readability. In this article, we’ll go through a simple yet effective way to convert a DataTable to a list of any object type using C#.
Learn Quantifier Operations in LINQ
Jan 21, 2025.
Quantifier operations in LINQ simplify logical evaluations of collections using methods like `Any`, `All`, and `Contains`. They enhance readability, reduce boilerplate, and support efficient data validation and filtering.
New LINQ Methods in .NET 9: Index, CountBy, and AggregateBy
Dec 11, 2024.
In this article, I will showcase the new methods: Index, CountBy, and AggregateBy. These powerful additions in .NET 9 bring significant enhancements to LINQ, aimed at improving your coding experience and simplifying data manipulation tasks.
C# Foundation - Implicitly Typed Variables
Nov 28, 2024.
Implicitly typed variables in C#, declared using the var keyword, let the compiler infer the data type from the initialization expression. This improves code readability and reduces verbosity, especially with complex types.
.NET 9 CountBy: A New LINQ Powerhouse
Nov 20, 2024.
.NET 9 introduces the CountBy method, a powerful addition to LINQ that enhances querying capabilities. This feature allows developers to count elements based on specified conditions efficiently.
Understanding IEnumerable In C#
Nov 14, 2024.
IEnumerable in C# is an interface that defines a standard way to iterate over a collection of objects. The IEnumerable interface in C# provides a standard, efficient way to iterate over collections using foreach, enabling cleaner, more readable code, and LINQ integration.
Creating a CQRS Architecture in .NET Core 8
Nov 04, 2024.
This guide outlines a practical implementation of the CQRS (Command Query Responsibility Segregation) architecture using C# and MediatR, emphasizing the separation of read and write operations for better scalability and maintainability.
How to Store Temporary Information in Table Like Format in C#?
Oct 28, 2024.
In this article, we will learn how to manipulate and manage in-memory data effectively, allowing for quick access and modifications while maintaining a structured format for your applications.
How Select and SelectMany Works in C#
Oct 26, 2024.
Learn key differences, practical use cases, and examples that demonstrate how these methods simplify data manipulation, making it easier to work with nested and complex data structures in C#.
How Func Delegates Work in LINQ
Sep 27, 2024.
In this article, we explore how Func delegates operate within LINQ (Language Integrated Query) in C#. Func delegates enable concise and powerful data manipulation by allowing developers to pass methods as parameters.
Solid Introduction to Expression Trees in C#
Sep 26, 2024.
This article provides a comprehensive introduction to Expression Trees in C#. You'll learn about their structure, how they represent code as data, and their applications in LINQ queries.
Exploring the Performance Boosts in .NET 9
Sep 20, 2024.
.NET 9 introduces key performance improvements, including Native AOT for faster startup times and reduced memory usage, optimized garbage collection, enhanced threading for multicore systems, and HTTP/3 support for improved network performance.
POCO to Dictionary Conversion Techniques in C#
Sep 16, 2024.
This article explores five methods for converting a C# POCO to a dictionary using reflection, LINQ, JSON libraries, and ExpandoObject, comparing their performance through Benchmark.NET to find the best approach.
Dynamic LINQ with Gridify in .NET
Aug 30, 2024.
Learn how to leverage Gridify to simplify complex filtering, sorting, and pagination tasks. Perfect for developers seeking to optimize and extend their use of LINQ in C# applications.
Crafting Efficient and Maintainable C# Code
Aug 28, 2024.
This guide explores essential C# best practices for robust, maintainable code. It covers using meaningful variable names, following naming conventions, handling null values, and using var judiciously.
Learn About .NET 9 LINQ Enhancements
Aug 05, 2024.
In .NET 9, two new LINQ methods enhance code simplicity and readability: .CountBy and .AggregateBy. .CountBy counts elements by key, simplifying grouping and counting tasks. .AggregateBy streamlines aggregation operations, reducing complexity.
LINQ Best Practices
Aug 01, 2024.
Discover essential LINQ best practices for writing efficient, readable, and maintainable code in C#. Learn tips on query and method syntax, performance optimization, and effective use of lambda expressions and extension methods to enhance your .NET applications and streamline data querying.
Understanding of LINQ
Jul 28, 2024.
LINQ (Language Integrated Query) is a powerful feature in .NET that allows developers to write SQL-like queries directly in C# or VB.NET. It supports querying collections, XML, databases, and more, using a syntax that integrates seamlessly with the language.
LINQ to ADO.NET: Enhancing Data Access with Modern Querying
Jul 23, 2024.
In the evolving world of .NET, querying databases has traditionally been done using ADO.NET, which provides a robust set of classes for data access. However, the introduction of Language Integrated Query (LINQ) has revolutionized the way developers interact with data.
Optimizing LINQ Performance with Compiled Queries in .NET
Jul 22, 2024.
Compiled queries in LINQ (Language Integrated Query) are a powerful feature that can significantly improve the performance of your data access code, especially when dealing with repetitive queries.
Practical approach to EF Core with Scalar functions
Jul 21, 2024.
Learn how to implement and migrate scalar SQL functions in an ASP.NET Core application using Entity Framework Core. This guide covers creating a scalar function to calculate total unit prices, integrating it into EF Core, and calling it within LINQ queries to streamline database interactions.
jQuery DataTable Plugin to Customize Tables in Power Pages Portal
Jul 19, 2024.
How to integrate the jQuery DataTable Plugin into custom tables within the Power Pages Portal. The DataTable Plugin enhances tables by providing features such as pagination, column filtering, efficient search capabilities, and customizable styling.
Programming in Practice - LINQ to SQL - Explained
Jul 18, 2024.
Discover the power of LINQ to SQL in this comprehensive guide. Learn how to seamlessly integrate LINQ queries with SQL databases using the .NET framework. From setting up your environment to executing complex queries, this tutorial covers it all.
Differences Between IEnumerable and IQueryable in C#
Jul 17, 2024.
Explore the nuances between IEnumerable and IQueryable in C#. Understand how these interfaces differ in data retrieval and manipulation, with a focus on performance implications and suitable use cases.
Discard Variable in C# .NET
Jul 17, 2024.
The discard variable (_), introduced in C# 7.0, allows developers to ignore values intentionally. It enhances code clarity by signaling unused data in tuples, pattern matching, out parameters, and LINQ queries, promoting cleaner, more efficient, and maintainable programming in .NET applications.
Using Find Instead of FirstOrDefault with Collections in C# .NET
Jul 15, 2024.
When working with collections in C# .NET, FirstOrDefault and Find serve similar purposes of retrieving elements based on conditions. FirstOrDefault is versatile for any IEnumerable<T>, while Find is optimized for List<T>, offering potentially better performance in list operations.
Understanding LINQ While Writing Your Own
Jul 03, 2024.
LINQ (Language-Integrated Query) in .NET offers a unified, declarative way to query diverse data sources like objects, databases, XML, and more. It simplifies data manipulation with methods like Where, Select, and GroupBy, supporting both query and method syntax.
Mastering LINQ: TakeWhile and SkipWhile in C# .NET
Jul 01, 2024.
Explore LINQ's TakeWhile and SkipWhile methods in C#, which enhance data querying by conditionally including or excluding elements based on predicates. Learn how to use these powerful methods to process collections effectively, with detailed examples demonstrating their functionality and practical applications.
Optimizing LINQ Queries in C# and .NET Core Web APIs
Jun 21, 2024.
LINQ in C# optimizes data querying with readable syntax, but inefficient use can impact .NET Core Web API performance. Strategies like early filtering and selective projections enhance efficiency. Deferred execution via IQueryable delays query execution, optimizing database interactions.
Lazy Loading (4): EntityFramework
Jun 21, 2024.
This article will discuss lazy loading in Entity Framework. This article series explores Lazy Loading, focusing on its application in various technologies like LINQ, HTML, JavaScript, Entity Framework, and Angular, providing insights and performance considerations.
LINQ vs PLINQ Method Syntax for Efficient C# .NET Data Processing
Jun 17, 2024.
LINQ (Language Integrated Query) and PLINQ (Parallel LINQ) are .NET frameworks for querying data. LINQ offers a declarative syntax for querying various data sources with single-threaded execution, while PLINQ extends LINQ by enabling parallel execution.
C# Comparison Fundamentals: Best Practices and Tips
Jun 11, 2024.
Comparison operations are a fundamental aspect of programming in C#. Whether you're comparing primitive types, strings, or objects, or handling null values, understanding the nuances of comparison can enhance both the performance and readability of your code.
Understanding Single, SingleOrDefault, First, and FirstOrDefault in LINQ .NET C#
Jun 07, 2024.
LINQ (Language Integrated Query) provides powerful querying capabilities in C# to manipulate data collections. Among its arsenal of operators, Single, SingleOrDefault, First, and FirstOrDefault are frequently used to retrieve elements from sequences.
LINQ Query Syntax vs Method Syntax in Entity Framework
May 29, 2024.
Choosing between LINQ Query Syntax and Method Syntax in Entity Framework depends on various factors. Query Syntax often resembles SQL, making it more intuitive for those with SQL background, while Method Syntax offers more flexibility with lambda expressions and method chaining.
Lazy Loading (2): HTML
May 29, 2024.
This series explores Lazy Loading within the LINQ category, focusing on dynamically loading images in HTML to enhance page load times, featuring code examples and demos for practical application.
Multiple OrderBy Operations in Entity Framework
May 27, 2024.
Entity Framework (EF) is a powerful ORM (Object-Relational Mapper) in .NET that allows developers to work with databases using .NET objects. In EF, this can be achieved using OrderBy, ThenBy, OrderByDescending, and ThenByDescending methods in LINQ queries.
Data Pagination with Extension Methods in C#
May 20, 2024.
Pagination is a common technique used to manage and display data in chunks. This article discusses implementing pagination in C# using extension methods, which allow adding new functionality to existing types without modifying their source code, making data handling clean and reusable.
Programming in Practice - Structural Data
May 19, 2024.
In object-oriented programming, the basic way to create structural data is to define custom types and interconnect them using references. Let's analyze this case using sample code in the context of intentionally programmed relationships between items.
Unlocking Performance: Exploring PLINQ in .NET C#
May 08, 2024.
In today's computing landscape, where multi-core processors are ubiquitous, optimizing the performance of your applications often involves leveraging parallelism. One powerful tool in the .NET developer's arsenal for achieving parallelism is PLINQ - Parallel Language-Integrated Query.
Programming in Practice - LINQ Expression
May 06, 2024.
An impression can be made that: data is data, and it doesn't matter where it comes from provided it is reliable. The LINQ technology is presented to fetch the necessary data from any available source. After reading the full story forget about ChatGPT and MSDN in the context of LINQ to make your life easier.
Database Connectivity in Visual Studio
May 03, 2024.
Visual Studio facilitates robust database connectivity through technologies like ADO.NET and Entity Framework. Developers can seamlessly integrate with SQL Server, MySQL, Oracle, and more using connection strings and data source management tools.
Single, SingleOrDefault, First, and FirstOrDefault in Linq .NET C#
Apr 30, 2024.
LINQ's element operators like Single, SingleOrDefault, First, FirstOrDefault, Last, and LastOrDefault provide specific functionalities for retrieving elements from collections in C#. Here's how to use them effectively.
Data Conversion in C#/.NET: List to DataTable and Vice Versa
Apr 29, 2024.
In C#/.NET, converting data from one format to another, such as from a list of custom objects to a DataTable, is a frequent requirement. In this article, we'll explore efficient techniques for converting data from a list to a DataTable and vice versa, along with practical examples to illustrate each conversion process.
Entity Framework Core: Features, Real-time Implementation, Best Practices
Apr 29, 2024.
Entity Framework Core (EF Core) stands as a powerful toolset for .NET developers, streamlining the interaction between applications and databases through object-relational mapping (ORM). Whether adopting a database-first or code-first approach, EF Core simplifies data access and manipulation.
Explain Lambda Functions in .NET C#
Apr 26, 2024.
In the realm of .NET programming, lambda functions represent a powerful and concise way to define anonymous methods or functions. In this article, we'll explore the fundamentals of lambda functions in .NET, understand their syntax and usage, and uncover their practical applications in real-world scenarios.
C# Programming: Language Fundamentals, OOP, Async, LINQ
Apr 25, 2024.
This guide provides a thorough exploration of the C# language, covering essential topics such as language fundamentals, object-oriented programming concepts, asynchronous programming, and Language Integrated Query (LINQ).
LINQ in C#: Knowing When to Use First() vs FirstOrDefault()
Apr 24, 2024.
LINQ, a cornerstone of C#, empowers developers to query data across various sources efficiently. This guide delves into the nuanced differences between First() and FirstOrDefault(), aiding in crafting resilient and optimized code.
New LINQ Methods in .NET 9 Preview
Apr 14, 2024.
While the release of .NET 9 is planned for November 2024, the preview version is already available. One of the new .NET 9 features is the new LINQ methods: CountBy, AggregateBy, and Index. In this article, I present how to use these methods.
Functional programming in C# - Introduction
Apr 02, 2024.
Lets learn the concept of functional programming, its usage and why functional programming is important
What is Language Integrated Query in C#?
Mar 29, 2024.
Know about LINQ (Language Integrated Query) in C# and their benefits. In this article, we have explained LINQ with an example.
Exploring .NET 6's MinBy() and MaxBy() Extension Methods
Mar 22, 2024.
In this article, I will demonstrate the exciting new additions to LINQ extension methods introduced in.NET 6: MinBy() and MaxBy(). Let's explore how these powerful methods simplify code, providing efficient solutions for selecting extreme values within a generic sequence.
Misconceptions About the Four LINQ methods
Mar 09, 2024.
Misconceptions about the four LINQ methods. Single(), SingleOrDefault(), First(), and FirstOrDefault(). This article addresses misconceptions surrounding four LINQ methods—Single(), SingleOrDefault(), First(), and FirstOrDefault(). Clarifying differences and potential pitfalls helps prevent null references and invalid operator exceptions in code.
Leveraging Compiled Queries for Enhanced Performance in LINQ
Mar 09, 2024.
Compiled queries in LINQ allow developers to pre-compile LINQ queries into executable delegates, reducing the overhead of query compilation and optimization. By caching the compiled query execution plan, compiled queries improve the performance of frequently executed or complex queries in C# applications.
What is New in .NET 9
Mar 04, 2024.
.NET 9, succeeding .NET 8, places particular emphasis on cloud-native applications and enhancing performance. It will receive standard-term support (STS) for 18 months.
Why we should learn C#?
Feb 26, 2024.
This article explores the reasons behind choosing C# over other languages, delving into its evolution, key features like object orientation, lambda expressions, LINQ, generics, and its adaptability for modern development needs.
Data Conversions in C# with SuperConvert
Jan 03, 2024.
In this article, I will explain the Nuget library "SuperConvert" that provides seamless data conversion for.net, like Convert  datatable to JSON. Convert JSON to Datatable, Convert CSV to DataTable, Convert CSV to JSON, Convert DataTable to CSV, Convert DataTable to XLS, Convert JSON to CSV, Convert JSON to XLS.
Display Loading or Processing Message Inside DataTable
Nov 27, 2023.
displays a loading screen while data is being loaded into a DataTable using JavaScript, you can use a combination of HTML, CSS, and JavaScript. Below is a simple example demonstrating how you can achieve this using the DataTables library and a loading spinner.
Sorting Arrays in C#
Nov 24, 2023.
This article guides us through sorting arrays in C# using the Array.Sort() method and LINQ queries. It covers both ascending and descending orders, providing code snippets for clarity.
Difference Between Concurrency and Parallelism in C#
Nov 09, 2023.
The article you provided gives a comprehensive overview of the concepts of concurrency and parallelism and their relevance in C# programming. It highlights the distinctions between the two concepts and provides clear examples and use cases for each. The discussion of best practices and considerations for managing concurrency and parallelism effectively is a valuable addition, as it helps developers avoid common pitfalls and make informed decisions when implementing these concepts in their applications.
Understanding LINQ in C#: Query Syntax and Method Syntax
Oct 03, 2023.
This article is an informative and in-depth exploration of LINQ (Language Integrated Query) within the context of C#, a widely used programming language in the software development industry. The guide delves into both the query syntax and method syntax aspects of LINQ, providing readers with a thorough understanding of how to effectively use LINQ to query and manipulate data in C# applications.
Understanding LINQ in .NET
Sep 11, 2023.
LINQ, or Language Integrated Query, is a powerful feature in the .NET framework that simplifies data querying and manipulation in C# and VB.NET applications. It provides a uniform and SQL-like syntax for querying data from various sources, including in-memory collections, databases, XML, and more.
Exploring the Diverse Flavors of LINQ with Examples
Aug 22, 2023.
LINQ is a powerful feature in modern programming languages like C# that allows developers to perform queries on different types of data sources using a consistent syntax. With LINQ, you can query and manipulate data without worrying about the underlying data source, whether it's an in-memory collection, a database, or XML
How to Convert DataTable to JSON in ASP.NET Web API
Aug 21, 2023.
This article will show you how to convert a DataTable to a JSON string in an ASP.NET Web API. You can use this technique to return data from your Web API in a format that is easy for clients to consume.
Exporting DataTable to PDF in C#
Aug 18, 2023.
Export DataTable to PDF in C# using iTextSharp library. This article will show you how to export a DataTable to PDF in C# using the iTextSharp library. The code snippet provided can be used as a starting point for your own projects.
Convert Excel Data Into DataTable
Aug 08, 2023.
Learn to leverage the .NET Excel framework for effortless handling of Microsoft Excel files in your .NET applications. Discover conversion techniques, API integration, and practical implementation for data manipulation.
Using the OrderBy and OrderByDescending Operator in LINQ
Aug 08, 2023.
Using the OrderBy and OrderByDescending Operator in LINQ: Sorting Collections
Learn About Programming Logic And LINQ
Jul 25, 2023.
In this article, you will learn about the basics of programming logic.
EF Core in .NET 7 API
Jul 13, 2023.
Using EF Core in .NET 7 API
C# LINQ With Select and SelectMany Operator
Jul 10, 2023.
C# LINQ with select and select many operator
LINQ Methods
Jun 16, 2023.
Linq Methods
Difference between IQueryable, IEnumerable, IList and List
Jun 12, 2023.
when to use what IQueryable, IEnumerable, IList and List
How To Create Table Using Ant Design UI In ReactJS
Jun 07, 2023.
In this article, we will learn how to create a Table using Ant Design UI with React JS and Typescript.
Convert Excel To Data Table In ASP.NET Core Using EP Plus
Mar 13, 2023.
In this article, we are going to talk about how you can convert excel to DataTable using the EPPlus package in Asp.Net Core MVC application. You can also use this method in any .Net project not only .Net Core MVC.
LINQ (Language Integrated Query)
Jan 31, 2023.
In this article, you will learn about LINQ (Language Integrated Query).
C# Convert Excel To DataTable
Jan 20, 2023.
In this article, we will discuss how to convert Excel data to Datatable using ExcelPackage in C#.
Find Blank Column Using LINQ In UiPath
Jan 03, 2023.
In this article, you will learn how to find blank column Using LINQ in UiPath.
Use Of Filter Data Table Activity In UiPath
Dec 27, 2022.
Idea about how to use the Filter Data Table Activity in UiPath Studio.
Difference Between Single Vs SingleOrDefault And First Vs FirstOrDefault
Nov 28, 2022.
In this article, you will learn about the Difference Between Single Vs SingleOrDefault And First Vs FirstOrDefault.
Reverse Words In A String In C#
Nov 07, 2022.
Given a string s, reverse the order of characters in each word within a sentence while still preserving whitespace and initial word order.
Converting Between JSON And Datatables In C#
Oct 18, 2022.
Using SuperConvert to Convert JSON to Datatable, and Datatable to JSON
Pagination In MVC With Jquery DataTable
Oct 04, 2022.
Pagination in MVC with Jquery DataTable with Complex data as parameter
LINQ Partitioning Operators - Take, TakeWhile, Skip & SkipWhile
Sep 13, 2022.
Take, TakeWhile, Skip and SkipWhile are called Partitioning Operators and we’ll discuss and investigate them. Not only that we’ll also see an equivalent loop construct to appreciate where these operators derived.
How To Create Data Table With Filter Using Primereact/Primefaces In ReactJS
Jun 13, 2022.
In this article i create a react js applications and use data table with filters using PrimeReact UI..
Awesome LINQ Features In .Net 6
Feb 21, 2022.
In this article, you will learn about awesome LINQ features in .Net 6.
Awesome LINQ Impovements In .NET 6.0
Jan 20, 2022.
These are the articles for to show the LINQ improvements in .NET 6.
How to Convert an Array to a List in C#?
Jan 13, 2022.
Converting an array to a list in C# involves transforming the data structure from an array, which has a fixed size, into a list, which can dynamically adjust its size. This process is essential when flexibility in modifying the collection is needed. In C#, this can be achieved using the `ToList()` method provided by LINQ (Language Integrated Query) or by using the `List<T>` constructor, passing the array as an argument. Both approaches enable seamless conversion, allowing for easier manipulation and utilization of the collection's elements. This guide provides insights into the step-by-step process of converting an array to a list, emphasizing its utility and demonstrating practical use cases.
Advanced Entity Framework Core - Output EF SQL Queries To The Console And Tips To Setup Dbcontext With The Development In Mind
Jan 10, 2022.
When you work with abstractions over SQL Database you may be wondering what does Entity Framework constructs from your Linq queries. To get a clue on it here are 3 options. Tips to setup DbContext with the development in mind for development purposes, you may sometimes decide to use an in-memory database for all environments including production, you may set up HealthChecks, below shows how to add health checks for the DbContext also for the development environment good to have set o.EnableDetailedErrors(); and o.EnableSensitiveDataLogging(); ?to manipulate with all these options you may consider adding configuration options
Creating Aggregated View Using DataTable
Dec 14, 2021.
In this article we are doing to discuss how we can use Data Tables to create custom html view for Dynamics 365 CE
Collection Performance - How Do You LINQ?
Dec 04, 2021.
In this article, you will learn how do you LINQ?
Display SharePoint List Or Library Items Using DataTable JS
Oct 08, 2021.
In this article, we build an application to display SharePoint List or Library items using DataTable JS
Bind Gridview And Export Gridview Data To Excel Using ASP.NET C#
May 31, 2021.
In this article, you will learn how to bind Gridview and Export Gridview Data To Excel Using ASP.Net C#.
DataTable And DataTableCollection Class In ADO.NET
Mar 17, 2021.
In this article, you will learn about DataTable and DataTableCollection Class in ADO.NET.
Properties, Methods And Events Of DataSet Class In ADO.NET
Mar 11, 2021.
In this article, you will learn Properties, Methods and Events of DataSet Class in ADO.NET
How To Use Ngx-Datatable To Show The Data In Grid View Using Angular 8
Feb 02, 2021.
In this article, you will learn about Ngx-datatable. It is a reusable npm package used to show data in a grid.