C# Corner
Tech
News
Videos
Forums
Trainings
Books
Live
More
Interviews
Events
Jobs
Learn
Career
Members
Blogs
Challenges
Certifications
Bounties
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]
Aarav Patel(10)
Sandhiya Priya(6)
Nidhi Sharma(5)
Dashrath Hapani(5)
Ananya Desai(4)
Praveen Raveendran Pillai(4)
Rikam Palkar(3)
Jayraj Chhaya(3)
Rohit Gupta(3)
Jay Krishna Reddy (3)
Jignesh Kumar(3)
Brajesh Kumar(2)
Tanuj (2)
Sarthak Varshney(2)
Praveen Kumar(2)
Micheal Xavier A (2)
Sangeetha S(2)
John Godel(2)
Niharika Gupta(1)
Ng Cheehou(1)
Priya Prajapati(1)
Tuhin Paul(1)
Subash S(1)
Nabaraj Ghimire(1)
Harsh Bhensawala(1)
Riya Patel(1)
Raghunath Bhukan(1)
Vishal Joshi(1)
Sangeet Shah(1)
Mariem Moalla(1)
Mahesh Chand(1)
Akshay Amin(1)
Patrick Kearns(1)
Shanuka Maheshwaran(1)
Nitin (1)
Baibhav Kumar(1)
Shivang (1)
Sardar Mudassar Ali Khan (1)
Divyansh Gupta(1)
Ayush Gupta(1)
Daniel Gomez(1)
Vishal Yelve(1)
Sridharan D(1)
Mark Pelf(1)
Lokendra Singh(1)
Sreenath Kappoor(1)
Mohamed Azarudeen Z(1)
Deepak Tewatia(1)
Omar Rodriguez(1)
Rajiv Singh(1)
Ziggy Rafiq(1)
Hamed Niazmand(1)
Tural Suleymani(1)
Gurpreet Arora(1)
Geo J Thachankary(1)
Resources
No resource found
Entity Framework Core Performance Anti-Patterns in Production
Jul 23, 2026.
Master EF Core performance! Avoid common anti-patterns like N+1 queries, over-fetching, and client-side evaluation for faster, scalable .NET apps.
Advanced LINQ Performance: Hidden Costs Every C# Developer Should Know
Jul 23, 2026.
Unlock LINQ's power in C#! Discover hidden performance costs and learn practical techniques for efficient, production-ready code.
Entity Framework Core 11: New Features and Performance Enhancements
Jul 20, 2026.
Discover EF Core 11's performance boosts, new features, and best practices for faster .NET data access and efficient database management.
Optimizing Entity Framework Core Queries for Large-Scale Applications
Jul 02, 2026.
Optimize EF Core queries for large-scale apps. Learn techniques like projection, AsNoTracking, pagination, and indexing for peak performance.
Building Flexible EF Core Queries with Query Objects
Jun 27, 2026.
Master EF Core query flexibility with Query Objects. Build reusable, composable queries for maintainable, efficient data retrieval.
Learn LINQ in C# from Scratch
Jun 26, 2026.
LINQ is a set of language and framework features for writing queries on collection types. It is useful for selecting, accessing, and transforming data in a dataset.
Hybrid RAG with LangGraph: Vector, Keyword & Metadata Retrieval in Action
Jun 20, 2026.
Master hybrid RAG with LangGraph: Combine vector, keyword, and metadata retrieval for production-ready, auditable AI answers.
Mastering .NET Interviews – Part 3: Advanced C# Features
Jun 20, 2026.
Master advanced C# features for .NET interviews: Generics, Delegates, Events, LINQ, and Async/Await. Elevate your coding skills!
Mastering .NET Interviews – Part 6: Entity Framework & Data Access
Jun 20, 2026.
Master .NET interviews: Dive into Entity Framework (EF) & data access. Learn EF Core, LINQ, migrations, transactions, and common interview questions.
Hybrid Retrieval in Azure AI Search: Combining Vector, Keyword, and Semantic Ranking
Jun 16, 2026.
Boost RAG accuracy with Azure AI Search's hybrid retrieval: combining vector, keyword, and semantic ranking for superior AI responses.
Understanding Hybrid Search Architecture in AI-Powered Applications
Jun 09, 2026.
Hybrid search combines keyword and vector search for AI apps, improving accuracy and user experience. Essential for RAG.
Schrödinger's AI Part 13: Let’s Build an MCP Server with .NET
May 06, 2026.
Build an MCP (Model Context Protocol) server with .NET! This tutorial guides you through creating a weather app server, connecting it to AI clients, and leveraging external tools.
What is TF-IDF and How is it Used in Text Processing?
Apr 20, 2026.
Unlock the power of TF-IDF! Learn how this essential NLP technique identifies important words in documents for search, classification, and more. Master text processing!
How to Use the New Field Keyword in C# 14 for Properties
Apr 09, 2026.
Simplify C# property implementation with the 'field' keyword in C# 14! Reduce boilerplate, enhance readability, and maintain custom validation effortlessly. Boost productivity!
Difference Between IEnumerable, IQueryable, and ICollection?
Apr 08, 2026.
Unlock the secrets of IEnumerable, IQueryable, and ICollection in C#! Master data handling, optimize database interactions, and boost application performance. Choose the right interface!
How to Optimize LINQ Queries in Entity Framework Core to Avoid the N+1 Problem
Apr 08, 2026.
Boost EF Core performance! Learn to optimize LINQ queries, avoid the N+1 problem with eager loading, projections, and more. Build faster, scalable apps now!
Why Modern C# Encourages Functional Programming Concepts
Apr 05, 2026.
Explore how modern C# embraces functional programming with LINQ, lambdas, records, and pattern matching for cleaner, safer, and more maintainable code.
IEnumerable vs IQueryable in C#
Mar 26, 2026.
Unlock the secrets of IEnumerable vs IQueryable in C#! Learn when to use each for optimal C# performance with databases and large datasets. Boost your app's speed!
What is the Difference Between IEnumerable and IQueryable in C#?
Mar 25, 2026.
Unlock the secrets of IEnumerable vs. IQueryable in C#! Learn when to use each for optimal performance in data querying, especially with LINQ and Entity Framework. Master efficient data handling!
Parallel LINQ (PLINQ) in C#: Unlocking Multi-Core Performance
Mar 23, 2026.
Unlock multi-core performance in C# with Parallel LINQ (PLINQ). Learn how to parallelize LINQ queries with .AsParallel() for CPU-bound tasks and improve performance. Explore its advantages and disadvantages.
C# Performance Optimization Techniques Every Developer Should Know
Mar 02, 2026.
Boost C# app performance! Master value/reference types, minimize allocations, optimize LINQ, and conquer concurrency. Profile, cache, and choose collections wisely.
Difference Between SELECT [Section] FROM sectionmaster and SELECT Section FROM sectionmaster in SQL
Feb 27, 2026.
Understand the subtle difference between `SELECT [Section]` and `SELECT Section` in SQL. Learn when to use square brackets for escaping identifiers and avoid syntax errors. Master SQL queries!
Difference Between First() and FirstOrDefault() in LINQ?
Feb 26, 2026.
Understand the crucial difference between First() and FirstOrDefault() in LINQ for C#. Learn when to use each method for robust, exception-safe .NET applications. Avoid common mistakes!
What Is the Difference Between Stored Procedures and LINQ in .NET?
Feb 23, 2026.
Explore the key differences between Stored Procedures and LINQ in .NET for database interactions. Optimize your ASP.NET Core apps for performance and maintainability.
ZLINQ vs LINQ
Feb 20, 2026.
Unlock peak .NET performance! Compare LINQ & ZLINQ for querying data. Discover when ZLINQ's zero-allocation approach crushes LINQ in speed and memory efficiency.
What Is LINQ and How Does It Improve Data Querying in C#?
Feb 18, 2026.
Discover LINQ in C#: a powerful feature for streamlined data querying. Learn how it simplifies data access, improves code readability, and boosts .NET application performance.
What Is LINQ and How Does It Improve Data Querying in C#?
Feb 17, 2026.
Discover LINQ in C#: Simplify data querying, boost code readability, and enhance performance in .NET applications. Ideal for scalable enterprise systems.
Difference Between IEnumerable and IQueryable in LINQ?
Feb 16, 2026.
Unlock LINQ performance! Discover the crucial differences between IEnumerable and IQueryable for efficient data querying in .NET. Optimize your ASP.NET Core apps!
Advanced LINQ Techniques Every C# Developer Should Know
Feb 12, 2026.
Unlock C# LINQ's full potential! Master advanced techniques for efficient querying, performance optimization, and avoiding common pitfalls. Elevate your .NET skills!
Transformers v5: What’s New and How to Use the Latest Hugging Face Release
Feb 01, 2026.
Learn what Transformers v5 introduces and how to use its new architecture, APIs, and performance improvements for modern NLP, vision, and multimodal workflows.
10 C# Features You’re Probably Using Wrong
Jan 20, 2026.
Avoid common C# pitfalls! Learn to use async/await, LINQ, records, and other features correctly for better performance, readability, and maintainability. Level up your C# skills!
Understanding this, base, and the Builder Pattern in C#
Jan 15, 2026.
Demystifying C# object creation! Learn when to use 'this', 'base', and the Builder Pattern for efficient, readable code. Master constructor chaining and inheritance.
The New field Keyword in C# 14: Practical Usage, Examples, and Best Practices
Dec 28, 2025.
Explore C# 14's `field` keyword: simplify property logic, eliminate backing fields, and boost code readability. Learn practical uses, best practices, and performance tips.
C# LINQ: .ToList() vs .ToListAsync() - Threading Model Analysis and Performance Optimization
Dec 29, 2025.
Unlock C# LINQ performance! Discover the crucial differences between .ToList() and .ToListAsync() for optimal threading, scalability, and I/O efficiency. Boost your app's responsiveness!
Count() vs Any() in C#
Dec 02, 2025.
Unlock C# performance! Discover the crucial difference between Count() and Any() when checking for emptiness in collections and LINQ queries. Learn when to use each for optimal speed, especially with EF Core and large datasets. Avoid performance pitfalls!
Efficient Data Manipulation in ASP.NET Core with LINQ
Nov 26, 2025.
Master data manipulation in ASP.NET Core with LINQ! This tutorial covers filtering, ordering, grouping, and more, with practical examples and a complete app.
C# Fundamentals
Nov 25, 2025.
Master C# fundamentals before diving into ASP.NET Core! Learn variables, OOP, inheritance, LINQ, and more with real-world examples. Includes a CRUD practice task.
Mastering Loops in C#: A Complete Guide With Best Practices, Mistakes, and When to Use What
Nov 23, 2025.
Master C# loops! This guide covers for, while, foreach, parallel loops, and LINQ. Learn best practices, common mistakes, and performance tips for efficient code.
.NET 10 Breaking Changes: The New field Keyword
Nov 16, 2025.
Discover the .NET 10 'field' keyword: a powerful C# 14 feature for concise property validation. Learn how it simplifies code but may introduce breaking changes & how to fix them.
C# 14: The Next Step in Language Evolution for .NET 10
Nov 12, 2025.
Explore C# 14's new features in .NET 10: extension members, field keyword, null-conditional assignment, span improvements, and more. Boost code clarity and performance!
Set Up Traefik with Docker: Secure, Smart HTTPS Routing
Nov 06, 2025.
Learn how to deploy Traefik with Docker for automatic HTTPS, easy container routing, and a visual dashboard—all in one beginner-friendly guide.
Lambda Expressions and LINQ in ASP.NET Web Forms
Oct 29, 2025.
Master ASP.NET Web Forms with LINQ and Lambda expressions! Simplify data querying, filtering, and manipulation for cleaner, more efficient code. Boost performance!
Find the Largest and Smallest number in an array
Oct 29, 2025.
Learn how to find the largest and smallest numbers in an array using C# and ASP.NET. This real-time example demonstrates a simple web form with backend logic using LINQ for efficient processing.
Visual Studio: Basic Commands and Keywords Every Developer Should Know
Oct 24, 2025.
Boost your coding productivity in Visual Studio by mastering essential keyboard shortcuts, common C# keywords, and beginner tips. Learn how to code faster, debug efficiently, and streamline your development workflow.
How LINQ Turns Your C# Code into SQL Queries (With Real Examples)
Oct 21, 2025.
Unlock the power of LINQ! This article provides a comprehensive guide on how LINQ translates your C# code into efficient SQL queries. Learn with practical examples demonstrating filtering, joining, ordering, and grouping. Understand deferred execution and the difference between LINQ to Entities and LINQ to Objects. Master LINQ and optimize your database interactions in .NET!
Chapter 12: Modern JavaScript (ES6+): Arrow Functions, let/const, and More
Oct 12, 2025.
Unlock the power of modern JavaScript (ES6+)! This guide covers essential features like arrow functions, let/const, template literals, destructuring, and the spread/rest operators. Learn how to write cleaner, safer, and more efficient code with practical examples. Master block scoping, string interpolation, and concise syntax for improved development workflows.
Field-backed Properties in C# 14
Sep 29, 2025.
C# 14 introduces field-backed properties, enabling developers to inject logic (validation, normalization) into auto-implemented properties without manual backing fields. The field contextual keyword provides access to the compiler-generated backing field within property accessors, simplifying code and reducing boilerplate. This feature offers a balance between concise syntax and custom behavior, enhancing code readability and maintainability for simple property logic.
Mastering Delegates in C#
Sep 28, 2025.
This article goes beyond the basics, revealing how delegates enable flexible, extensible, and testable applications. Learn how they underpin events, LINQ, asynchronous programming, and design patterns. Master delegates for clean code, separation of concerns, and building robust systems that scale. Elevate your C# skills today!
Azure IIS Setup: Installing a Free Let’s Encrypt SSL Certificate
Sep 27, 2025.
Secure your Azure-hosted IIS web applications with a free Let's Encrypt SSL certificate! This step-by-step guide walks you through the entire process, from prerequisites to verification, ensuring encrypted communication, improved user trust, and a boost in search engine rankings. Learn how to use Win-ACME to automate certificate installation and renewal, saving you time and resources. Get HTTPS up and running on your Azure website today!
LINQ: Foundational Concepts
Sep 23, 2025.
Unlock the power of LINQ in .NET! Learn foundational concepts, syntax options, standard query operators, and how it revolutionizes data querying. #LINQ #dotnet
Differences Between let, const, and var in JavaScript
Sep 23, 2025.
Understand the crucial differences between var, let, and const in JavaScript. This guide clarifies scope, hoisting, reassignment, and redeclaration, empowering you to write cleaner, safer, and more maintainable code. Learn when to use each keyword to avoid common pitfalls and embrace modern JavaScript best practices. Choose const by default, let for changing values, and avoid var for optimal code clarity and bug prevention.
LeftJoin in .NET 10 & EF Core 10 - A Game Changer for LINQ Developers
Sep 19, 2025.
Finally! .NET 10 and EF Core 10 introduce native LeftJoin and RightJoin LINQ methods, simplifying data queries and eliminating verbose workarounds. Learn how to use these game-changing features for cleaner, more readable code, mirroring SQL's LEFT JOIN functionality.
IEnumerable vs IQueryable in .NET
Sep 18, 2025.
Learn how IEnumerable handles in-memory data efficiently, while IQueryable shines with remote data sources like databases, translating LINQ to SQL for server-side filtering. Choosing the right interface can dramatically improve your application's speed and resource usage, preventing performance bottlenecks and ensuring smooth data handling.
How Do You Measure the Success of Your SEO Efforts?
Sep 06, 2025.
Unlock the secrets to SEO success! This guide provides a practical, human-focused approach to measuring your SEO performance. Go beyond rankings and traffic to understand visibility, engagement, conversions, and ROI. Learn how to track key metrics, analyze competitor benchmarks, and ensure your SEO efforts drive real business growth.
Get Notified on Telegram When a Specific Keyword Appears on Google News
Aug 27, 2025.
Monitor Google News for specific keywords and get instant Telegram alerts using Make.com. This setup avoids scraping and proxies, delivering timely updates directly to your chat.
Create an Auto-Reply Email System Using Gmail Filters + Make.com
Aug 26, 2025.
Acknowledge support emails and new leads instantly while keeping replies accurate and traceable.
What is a Variable Scope in JavaScript?
Aug 26, 2025.
Understand JavaScript variable scope: global, function, and block. Learn var, let, const differences and lexical scope. Write cleaner, bug-free code!
What is the Difference Between var, let, and const in JavaScript?
Aug 20, 2025.
Understanding the difference between var, let, and const in JavaScript is crucial for writing clean, efficient, and bug-free code. In this article, we break down their scope, hoisting, mutability, and best practices with examples.
Deep Dive into JavaScript Hoisting
Aug 08, 2025.
A comprehensive guide explaining JavaScript hoisting—how variable and function declarations are lifted during the compilation phase—covering var, let, const behaviors, and best practices to avoid pitfalls.
What are indexers in C#?
Aug 07, 2025.
Exploring indexers in C# is a powerful feature that lets objects behave like arrays. We'll explain the basics in simple language, compare them to properties, cover multiple examples including overloaded and multi-parameter indexers, and share real-world use cases.
Build a Simple Chatbot in Python Using NLTK and Rule-Based Logic
Aug 05, 2025.
In this article, you will build a lightweight Python chatbot that uses NLTK for text preprocessing and simple rule-based / similarity logic to respond to user queries. The bot handles greetings, FAQs, fallback similarity matching, and small talk. It’s a practical beginner-to-intermediate project demonstrating natural language processing basics without deep learning.
Real time Example of Constructor Chaining
Jul 23, 2025.
Learn how constructors work in Java, including overloading, static constructors, and constructor chaining using the `this` and `base` keywords—demonstrated with real-time examples like the `BankAccount` class.
Managing Relationships, Migrations, and Performance Optimization in ASP.NET Core MVC
Jul 18, 2025.
This ASP.NET Core MVC project demonstrates how to manage one-to-many relationships using Entity Framework Core, handle code-first migrations, and apply performance optimization techniques such as AsNoTracking, pagination, and in-memory caching.
New Linux Bugs Let Hackers Gain Root: CVE-2025-6018 & 6019
Jul 10, 2025.
Discover how clever logic flaws in Linux could let attackers become root. Understand CVE-2025-6018 & 6019—and how to stay safe.
Data View and LINQ in C# and VB.NET
Jul 07, 2025.
Learn how to fetch unique values from a DataTable using DataView and LINQ in C# and VB.NET. Explore sorting, filtering, and displaying distinct book records with examples compatible with .NET Core and .NET 9.
Mastering LINQ in C#
Jun 25, 2025.
Language Integrated Query (LINQ) is a game-changer in C#. It brings SQL-like data querying capabilities directly into your C# code, making data manipulation more intuitive, type-safe, and readable.
Understanding Select vs SelectMany in LINQ
Jun 19, 2025.
In this article, we are going to learn about the importance of LINQ features of select and SelectMany and the difference between them.
FirstOrDefault vs. SingleOrDefault in LINQ: Key Differences and Use Cases
Jun 16, 2025.
In this article, we'll dive into the key differences between FirstOrDefault and SingleOrDefault, examining their behaviours, ideal use cases, and guidance on when to use each one. By the end, you'll gain a better understanding of how to utilize these methods to optimize data queries in your C# applications.
PLINQ vs LINQ: Use Cases, and Performance Insights in C#
May 25, 2025.
Discover the key differences between LINQ and PLINQ in C#, including their syntax, execution models, performance benchmarks, use cases, and when to choose parallelism for processing large datasets efficiently.
Let's Start with React Components
May 22, 2025.
Learn the basics of React components and how they help build dynamic user interfaces. This beginner-friendly guide introduces you to functional components, props, and component structures to kickstart your journey in React development.
Let’s Talk About Agentic Web (or Web 4.0)
May 21, 2025.
An introduction to the Agentic Web (Web 4.0), where intelligent agents reason, act, and collaborate to create a more contextual, human-centered internet.
Don't Let Gen AI Lead Your Business to Fail– The Answer is PT-SLMs
May 15, 2025.
Discover why generic AI models fall short for businesses and how Private Tailored Small Language Models (PT-SLMs) offer secure, efficient, and domain-specific alternatives for smarter, safer AI adoption.
How to Convert a DataTable to a List of Objects in C#
Apr 27, 2025.
Learn how to convert a DataTable to a List<T> in C#. Explore manual, reflection-based, and LINQ methods for better performance, type safety, and cleaner code. Improve maintainability in modern C# applications.
Order of Execution in LINQ Queries
Apr 22, 2025.
This article explains the difference between deferred and immediate execution, outlines the execution order, and shares best practices to write efficient and optimized LINQ queries for real-world applications.
LINQ in C# Tutorial for Beginners: 101 C# LINQ Operations
Apr 17, 2025.
Learn LINQ in C# with 101 essential operations for beginners. Simple examples of filtering, sorting, and joining data to make your code better and faster. Perfect for new C# developers.
.NET 8 - System.Linq.Dynamic.Core – using SQL LIKE
Apr 11, 2025.
System.Linq.Dynamic.Core library does not support SQL LIKE, and I added support for it. Added SQL LIKE support to the System.Linq.Dynamic.Core in .NET 8 using a custom patch. Enables dynamic SQL pattern matching in EF8 projects where built-in LIKE functionality was missing.
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.
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.
Working with Anonymous Function(Lambda) in Python
Mar 27, 2025.
A lambda function in Python is an anonymous function (function without a name) that can have any number of arguments but only one expression. It is defined using the lambda keyword.
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.
Making Sense of yield in C#
Mar 18, 2025.
In C#, the yield keyword is used to create iterators that return values one at a time without generating a full collection. It enables lazy evaluation, meaning elements are only computed when requested. This can lead to better performance and lower memory usage.
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.
Learn Const Keyword in JavaScript
Feb 05, 2025.
The const keyword in JavaScript, introduced in ES6, is used to declare variables that cannot be reassigned. It provides block-scoped immutability, ensuring values remain constant. Unlike var and let, const prevents reassignment but does not make objects immutable.
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.
Let's Play with ServiceNow Table API Using Postman
Jan 10, 2025.
Learn how to create and test a POST Table API in ServiceNow using Postman. Step-by-step guide covers API setup, JSON payload, authentication, headers, and testing, ensuring secure and efficient data handling with best practices.
Essential C# Keywords
Dec 25, 2024.
This article explains important C# keywords that help in writing more efficient code. It covers keywords like volatile, value, get, set, yield, partial, and where, describing their uses in a simple manner. These concepts are essential for anyone looking to improve their C# programming skills.
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.
.NET 9 : Params Collections
Nov 15, 2024.
In .NET 9 the params keyword has been extended to support not only arrays but also other collection types like ReadOnlySpan<T> and IEnumerable<T>. This enhancement offers greater flexibility and potential performance improvements.
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 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#.
An in-depth Look at Advanced Pattern Matching in C# 12
Oct 21, 2024.
With Ziggy Rafiq, learn how to leverage advanced pattern matching features in C# 12, including the new let pattern and enhanced recursive patterns.
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.