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]
Gurpreet Arora(17)
Harshad Tretiya(12)
Sean Franklin(4)
Emanuel Martins(3)
Tahir Ansari(3)
Miguel Teheran(3)
Bardia Mostafavi(3)
Mominul Islam(2)
Lisa Fusco(2)
Rajiv Singh(2)
Rasul Huseynov(2)
Yogeshkumar Hadiya(2)
Guest User(2)
Nanddeep Nachan(2)
Uday Dodiya(1)
Gautam Singh(1)
Raghunath Bhukan(1)
Baibhav Kumar(1)
Azer Engazzou(1)
Rajesh Gami(1)
Sandhiya Priya(1)
Vitalii Honcharuk(1)
John Godel(1)
Maria Joshua Roy(1)
Vipul Malhotra(1)
Babita (1)
Jalpa Dhola(1)
Aayushi B(1)
Abhishek Chadha(1)
Arun Potti(1)
Manikandan M(1)
Abhishek Khandare(1)
Ali Benchaaban(1)
Yuvapriya P(1)
Esamaldin Mohammed(1)
Abhishek Singhal(1)
Sardar Mudassar Ali Khan (1)
Jay Krishna Reddy (1)
Alexis Chan Gridel(1)
Henri Hein(1)
Nagaraj M(1)
Jin Necesario(1)
Catcher Wong(1)
Kamna Priya(1)
Ivan Porta(1)
Sumit Gupta(1)
Piyush Pansuriya(1)
Miroslav Adamec(1)
Sergey Vasiliev(1)
Sumit Kharche(1)
Amir Ismail(1)
Madhan Thurai(1)
Mohammad Elsheimy(1)
Avnish Kumar(1)
Harsha Vardhini(1)
Resources
No resource found
Debugging AI-Generated Code: A Guide for Developers
Apr 03, 2026.
With the rise of AI tools like ChatGPT, developers can generate code faster than ever. However, this speed comes with a new responsibility—debugging and validating AI-generated code. This article provides a practical guide to identifying and fixing issues in AI-generated code using real-world C# examples. It covers common pitfalls such as missing validations, edge-case failures, and incorrect business logic. Additionally, it demonstrates how to ensure code reliability through unit testing with xUnit and implements a real-world ASP.NET API scenario. The article emphasizes the importance of developer judgment, testing, and debugging skills in the AI era, ensuring that generated code is not just functional but production-ready.
Top 3 Legit Ways Developers & Students Can Earn in 2026 (No Hype — Real Opportunities)
Jan 02, 2026.
Developers and students can earn in 2026 through real, skill-based and value-driven opportunities. This article explores micro-work, contribution-based earning, and building digital assets — focusing on growth, learning, community and sustainable income.
C# 14- Beyond Methods: Exploring Advanced Extension Member Scenarios
Dec 25, 2025.
Unlock the power of C# 14 extension members beyond basic methods! Discover advanced techniques for cleaner APIs, fluent design, and improved code readability. Elevate your C# skills!
How to Design a Redis Cache Strategy for Scalable Applications (With C# Examples)
Dec 23, 2025.
Learn how to design a production ready Redis cache strategy using cache aside pattern, TTLs, and best practices. Includes real C# examples using Redis for scalable systems.
Return First: A Clean-Code Mindset
Dec 08, 2025.
Clean Code Principles in .NET : Introduce how Return First fits into modern clean code practices and why it matters for .NET developers. Reducing Complexity with Guard Clauses : Explain how guard clauses simplify methods, reduce nesting, and improve readability. Real-World .NET Examples : Provide practical before after code samples from controllers, services, and validation flows to demonstrate the impact. Improving Maintainability and Debugging : Show how early returns make debugging easier and help ensure consistent business rules. When Return-First Should NOT Be Used : Clarify edge cases where early-return might not be ideal important for a balanced, senior level approach.
Implementing an Excel-like Editable Grid in Angular — Without Third-Party Libraries
Nov 14, 2025.
Craft an Excel-like editable grid in Angular without external libraries. This guide covers architecture, UX, accessibility, performance, and implementation.
Various Way To Displaying Backend Data in Frontend with Data Binding in ASP.NET
Nov 06, 2025.
Explore various ASP.NET data binding techniques to display backend data in the frontend. Learn to use GridView, Repeater, ListView, and more for dynamic web pages.
Mastering Async/Await For Robust And Scalable .NET Apps
Oct 03, 2025.
This article explains how to properly leverage async/await for scalable applications. Learn to avoid common pitfalls like thread pool exhaustion and connection pool bottlenecks. Discover best practices for ConfigureAwait, database connections, and end-to-end async implementation.
CSharp (C#) and Generative AI: From Legacy Visual Studio to Modern Enterprise AI
Sep 21, 2025.
Explore the intersection of legacy .NET systems and modern Generative AI. Learn how C# developers are using prompt engineering to bridge the gap between Visual Studio 2005/2006 and .NET 6/7/8, extending the life of older systems while innovating with AI-driven capabilities. Discover hybrid AI scenarios and the future of C# development.
Master C# from Basics to Advanced | Complete C# Learning Path with Algorithms & Real-World Skills
Aug 17, 2025.
Learn C# step by step! From basics to advanced concepts with 20+ algorithms, OOP, LINQ, async, desktop & web app development.
Building an Invoice Entry System with Angular, ASP.NET Core, Dapper, CQRS, and SQL Server
Aug 12, 2025.
Learn how Vibe Coding revolutionizes retail merchandising by replacing static seasonal plans with AI-powered, multi-agent systems that detect trends, align inventory, adjust pricing, and personalize catalogs in real time.
Google Developer Group, CSharp & HackIndia: Expand Web3 & AI Student Developer Reach in India
Mar 24, 2025.
GDG Partners with HackIndia to expand its reach to student developers across India.
The Object Oriented Programming
Mar 17, 2025.
The Object Oriented Programming (OOP)  improves the scalability and reusability of the code. This comprise of class and objects.
Understanding Context Manager in Python
Mar 15, 2025.
?Python's context managers, implemented via the statement, ensure efficient resource management by automating setup and teardown operations, such as opening and closing files, even when exceptions occur.
Infinite Scroll and Loading Indicator in ListView in MAUI MVVM .NET 9 [GamesCatalog] - Part 5
Mar 06, 2025.
This article covers lazy loading, async data fetching, and UI optimization for a seamless user experience in GamesCatalog. Enhance performance with smooth scrolling and dynamic data updates.
Consuming an API and Populating a List with the Results in MAUI MVVM .NET 9 [GamesCatalog] - Part 4
Mar 03, 2025.
Learn how to consume an API and populate a list with the results in a .NET 9 MAUI MVVM app. In this part of the GamesCatalog series, you'll fetch data from an API, bind it to a list, and implement best practices for handling API responses efficiently.
Creating a ListView MAUI MVVM .NET 9 [GamesCatalog] - Part 2
Feb 14, 2025.
Create a MAUI .NET 9 project that displays game information using a ListView. Bind a ViewModel with an ObservableCollection of UIIGDBGame items, and design a clean UI using XAML, Grid, and custom styling for a game catalog.
CSharp.com Unveils Real-World Web3 Skills Credentialing and Certifications to Empower Developers and Simplify Hiring
Dec 31, 2024.
CSharp.com unveils real-world Web3 skills credentialing and certifications to empower software developers and streamline the hiring process for employers.
How to Use Microsoft Teams for Project Management
Nov 28, 2024.
Microsoft Teams simplifies project management by integrating task management, real-time communication, and collaboration. Use Planner for tasks, schedule check-ins, and keep your team organized with chat updates and meetings.
How to Create a ListView Command Set Extension
Nov 12, 2024.
A ListView Command Set extension in SharePoint customizes the command bar or context menu of lists/libraries. It allows adding buttons that trigger custom actions, such as displaying alerts, showing selected items, or integrating with external systems.
Explaning Bucket Sort Algorithm
Oct 21, 2024.
The `BucketSort` class implements the bucket sort algorithm, which distributes elements into buckets, sorts them, and merges the sorted buckets. It's efficient for uniformly distributed data, with potential quadratic complexity in the worst case.
Boyer-Moore Majority Vote Algorithm
Oct 21, 2024.
The Boyer-Moore Majority Vote Algorithm efficiently finds elements appearing more than a fraction of the time in linear time and constant space, using two candidates and counters to track occurrences.
How to Save Power Apps Editable Gallery Data to Sharepoint List?
Jun 13, 2024.
The PowerApps ForAll function iterates through Gallery5 items, using Patch to update TimeSheetEntriesDetail. It captures date, project ID, and employee details from tempcol, ensuring precise data insertion into SharePoint. This process automates data management, enhancing efficiency in app development and deployment.
The Art of JavaScript Hoisting: Understanding the Ins and Outs
Jun 11, 2024.
Discover the intricacies of JavaScript hoisting in this comprehensive guide. Understand how JavaScript handles variable and function declarations, the impact of scope, and the best practices to avoid common pitfalls.
Under The Hood Of Thread Synchronization With LOCK
May 15, 2024.
The LOCK keyword is the most popular mutual-exclusive thread synchronization construct. The LOCK statement in C# is crucial for thread synchronization, preventing race conditions by restricting access to shared resources. Under the hood, it translates to the Monitor class, enhancing code efficiency and reliability.
Introduction to Monitor Class in C#
May 13, 2024.
The Monitor class is built on dotNET’s FCL (Framework Class Library) infrastructure. In general, it provides to achieve thread safety.
How to Integrate Instant Plugins in the Canvas App?
Apr 29, 2024.
Dataverse Accelerator by Microsoft introduces low-code plug-ins for real-time business logic workflows in Canvas apps. Learn step-by-step integration of Instant Plugin with Power Fx in Dataverse environment. Test and utilize the Instant Plugin for efficient app development.
Implementation of Collection View in .NET MAUI
Feb 02, 2024.
In this article, I will explain MAUI Collection View implementation using Visual Studio 2022. .NET MAUI Collection View is a view for presenting lists of data using different layout specifications. Collection View should be used for presenting lists of data that require scrolling or selection.
Understanding and Managing Server-Side (Output) Caching in .Net
Jan 15, 2024.
IIS employs System.Web.Caching for efficient output caching. Utilize HttpRuntime.Cache.Insert for CRUD operations, specifying key, value, and optional parameters like dependencies, absolute expiration, and sliding expiration for optimization.
Real-Time Paris Metro Crowdedness Forecast: A Proof of Concept with Azure and C#
Jan 08, 2024.
In this article, we will learn about navigating you through crafting a prototype for forecasting crowd levels in Paris Métros using Azure and C#. It covers Azure setup, machine learning, model deployment, streaming pipeline creation, and user application integration.
Exploring Default Lambda Parameters in C# 12
Jan 01, 2024.
Default Lambda Parameters in C# 12.
Constructors in C#
Oct 12, 2023.
In C#, constructors are essential methods responsible for initializing and creating objects within a given class. These functions are invoked when you create an instance of the class. Constructors share the same name as the class and do not have a return type. In C#, there are several fundamental types of constructors.
C# Composite Design Pattern
Sep 26, 2023.
Discover the power of the Composite design pattern in C#, a structural pattern that unifies objects into tree structures, simplifying complex hierarchies for versatile software development.
Unlocking C# Chain of Responsibility Pattern
Sep 25, 2023.
In software design, maintaining the separation of concerns is fundamental. This principle not only enhances code modularity but also ensures each module has a single responsibility. However, as applications grow in complexity, managing the flow of responsibilities can become challenging. This is where design patterns come to the rescue. Among them, the Chain of Responsibility pattern stands out as a robust tool for handling responsibilities in a flexible and decoupled manner.
Proxy Pattern in C#
Sep 22, 2023.
Learn about the Proxy Pattern in C#, a powerful structural design pattern. Explore its purpose, implementation, and real-world applications, enhancing software efficiency, maintainability, and scalability. Happy Learning!
Exploring Decorator Pattern in C#
Sep 21, 2023.
Exploring the Decorator Pattern in C#.the Decorator Pattern stands out as a versatile tool for extending the functionality of classes without altering their structure. In this article, we will delve into the Decorator Pattern and how it can be implemented in C#.
Understanding the Flyweight Design Pattern in C#
Sep 20, 2023.
Explore the Flyweight Design Pattern in C#, a memory-efficient structural pattern. Learn to optimize performance by sharing common properties among objects, improving application efficiency.
Understanding the Factory Design Pattern in C#
Sep 19, 2023.
Understanding the Factory Design Pattern in C#
Custom Exceptions in C#
Sep 19, 2023.
Enhance error handling in C# with custom exceptions. Learn how they provide specificity, control, documentation, and maintainability, and follow best practices for effective implementation.
Adapter Pattern in C#
Sep 19, 2023.
Demystifying the Adapter Pattern in C#: Bridging the Gap Between Incompatible Interfaces
Exploring Anonymous Functions in C#
Sep 18, 2023.
Exploring Anonymous Functions in C#
Sealed Classes in C#
Aug 28, 2023.
Delve into the significance of sealed classes in C# OOP. Uncover their role in defining code boundaries and inheritance. Gain insights into their benefits, optimizing security and performance. Master the art of using them judiciously for enhanced code predictability and maintainability.
Structs in C#
Aug 28, 2023.
Discover the significance of C# structs - lightweight alternatives to classes. Efficiently manage memory and enhance performance with value types while considering scenarios and pitfalls for optimal implementation.
Private Constructor in C#
Aug 28, 2023.
Explore Private Constructors in C#: Unveiling Their Roles and Significance. Discover how these constructors influence design patterns like Singleton, control object creation, and encapsulate initialization logic for improved C# applications.
Building a Bulk Email Sending Console App with NET Core 7.0
Aug 27, 2023.
Building a Bulk Email Sending Console App with NET Core 7.0 entails the creation of a robust and versatile solution tailored to efficiently manage large-scale email distributions. Through a meticulous development process, this application emerges as a vital tool for businesses and organizations seeking an effective way to reach their target audiences.
Generics in C#
Aug 25, 2023.
Harness the Versatility of C# Generics: Boost Code Reusability and Type Safety. Dive into how Generics empower adaptable, efficient code, accommodating various data types while maintaining robust type checking.
Delegates in C#
Aug 25, 2023.
Explore the fundamental potency of C# delegates—vital for encapsulating methods as first-class entities. Empower callbacks and event management for efficient C# application development.
Using SuperConvert.Abstraction NuGet Library for Data Conversion
Aug 23, 2023.
SuperConvert.Abstraction is a powerful library that provides data conversion functionalities for your .NET applications. With this library, you can easily convert between different data formats, such as JSON, CSV, and XLS, using a simple and intuitive API. The library also introduces a new Dependency Injection (DI) service to streamline the usage of its features.
Document Viewer Capabilities in ASP.NET Core 7.0
Aug 20, 2023.
Learn how to integrate, customize, and make the most of the new capabilities for seamless document viewing and interaction within your web applications.
Constant Interpolated Strings in C#
Aug 18, 2023.
Explore interpolated strings in C#, a powerful feature for expressive string formatting. Learn about constant interpolated strings introduced in C# 10, enhancing readability and performance. Understand benefits, use cases, and considerations for improved code quality and maintainability.
Understanding Numeric IntPtr and UIntPtr in C#
Aug 18, 2023.
Discover the importance of IntPtr and UIntPtr in C# programming. Learn how these types facilitate memory management, pointer arithmetic, and interop with native libraries, ensuring efficient and safe practices.
What is Delegates in C# .NET?
Aug 12, 2023.
Delegates in C# act as method pointers, enabling dynamic invocation of methods. They enhance code modularity and flexibility, finding use in event handling, callbacks, and asynchronous programming.
ListView Widget In Flutter
Aug 11, 2023.
In this article, you will learn about ListView and all its types in Flutter.
What is new in C# 12?
Aug 08, 2023.
Let’s explore the new features in C# 12 with .NET 8 and how we can use it.
Flurl API Integration Tutorial for ASP.NET Core Web API with Advanced Concepts
Jul 31, 2023.
Flurl is a popular and easy-to-use library for working with HTTP APIs in .NET applications. It provides a fluent API for building and sending HTTP requests, as well as handling the responses in a convenient way.
Early Return Pattern in C#
Jul 28, 2023.
We will have an overview of the early return pattern and some examples in C#
Avoiding Common C# Coding Mistakes - Do's And Don'ts To Remember
Apr 06, 2023.
Here I'm explaining about the common mistakes that we must avoid while performing coding
Back to Basics - How And Why Learning C# Programming Language
Feb 13, 2023.
This article is the very first of the "Back to Basics" playlist, its goal is to bring the basic knowledge to start developing with the C# language. Whether you are an experienced developer of another language such as Rust, C++, or you are a beginner looking to design applications with dotnet technologies, or even games with Unity.
Overloading State Images In ListView Controls
Dec 19, 2022.
A technique to quickly implement an action button in the ListView control for WinForms.
Manage Global Usings In C#
Oct 22, 2022.
In this article, we will learn about the keyword "global" which is introduced in C# 10.0.
How To Add Custom Add-Ins To MS Word
Oct 07, 2022.
This article shows you how to add add-ins to word desktop.
How To Add Add-Ins In PowerPoint
Sep 20, 2022.
In this article, you will learn how to add custom add-ins.
Log4Net And .NET Core
Sep 06, 2022.
Using Log4net in .NET Core 6 using a console application.
How To Deploy Excel Add-ins To Your Organization
Aug 12, 2022.
This article show you how to deploy excel add-ins in your organization.
Another Tool For Analyzing RDB Files Of Redis
Jul 27, 2022.
This article introduces an RDB analysis tool based on c# and explains its basic usage and how to customize it.
How To Add Custom Add-Ins To Excel
Jul 05, 2022.
In this article, you will learn how to add Excel add-ins.
How To Deploy PowerPoint Add-ins To Your Organization
Jun 15, 2022.
This article shows you, how to deploy PowerPoint add-ins.
Editable Table With Ant Design
Jun 13, 2022.
In a Computer world, a table is an arrangement of information or data. It's represented in a more complex structure including a row and column. Tables are widely used in communication, research, and data analysis.
How To Deploy Word Add-Ins To Your Organization
Jun 03, 2022.
This article show you how to deploy word add-ins to your organization.
How To Create Excel Add-Ins?
May 10, 2022.
Create an Excel add-in using HTML, CSS, JavaScript, or C# to enhance functionality across various platforms, including Excel for Windows, Mac, and Office 365. Install Yeoman and the generator-office globally, generate a project, and run it using npm commands. Test your add-in in Excel’s Home Tab.
Symmetrical Repository Pattern - Data Access Made Easy In .NET
May 09, 2022.
In this article, I will describe an interesting pattern that can be implemented to make it trivial to perform CRUD/RESTful data access across a full-stack .net system, with this technique that abstracts away the boilerplate.
How To Create PowerPoint Add-Ins
Apr 04, 2022.
in this article, I will show you how to create PowerPoint Add-ins
How To Deploy Outlook Add-ins To Your Organization
Mar 19, 2022.
This article provides a comprehensive guide on deploying Outlook add-ins to organizations for other users. It covers the step-by-step process of deploying add-ins using Office 365, ensuring easy access for users within the organization.
How To Publish Outlook Add-Ins Using Visual Studio Code
Mar 17, 2022.
In this article, you will learn how to publish outlook add-ins using visual studio code.
How To Create Word Add-Ins
Mar 16, 2022.
This article outlines the steps to create and run a Word add-in using technologies like HTML, CSS, JavaScript, and C#. Word add-ins enhance functionality and work across platforms, including Windows, Mac, and Office 365.
Picking Between Blazor Server And Blazor WebAssembly
Feb 07, 2022.
In this article, I will describe key differences between Blazor Server and Blazor WebAssembly, and what you should consider when deciding between project types.
Directory 📁 Handling In C#
Dec 09, 2021.
In this article we are going to see Directory handling in c#. In this article we are see all the operation which we can perform in directory.
How To Create Outlook Add-ins
Nov 24, 2021.
Creating Outlook add-ins involves using tools like VSTO or Office JavaScript API, programming in C# or JavaScript, and customizing UI elements like ribbons and task panes. Deployment via Office Store and ensuring security are key considerations.
Blazor - JavaScript Isolation (ES6 Modules & Blazor)
Nov 15, 2021.
In this article, we will learn how to isolate JavaScript to an individual Blazor Component.
Behavioral Design Patterns In C#
Nov 07, 2021.
Tutorial about Behavioral Design Patterns in C# in simple words.
C# Evolution
Nov 04, 2021.
A short journey in C# history.
Structural Design Patterns In C#
Oct 28, 2021.
In this article, you will learn about structural design patterns in c# in simple word.
Creational Design Patterns In C#
Oct 27, 2021.
Tutorial about Creational Design Patterns in c# in simple word.
SharePoint Site Templates
Jun 29, 2021.
In this article, you will learn about SharePoint Site Templates.
🔄 C# 9.0 Features And C# 10 Expectations
Jun 24, 2021.
The latest version of C#, 9.0, was officially released in November 2020. These days there are already rumors of the features of the future version, C# 10.
Decompiling In .NET For Dummies🤓
Jun 14, 2021.
Do you want to learn how easy it is to decompile a .NET application? ??
Implementing Editable Forms For Related Entities In Dynamics CRM
Mar 27, 2021.
In this article, you will learn about Descriptive steps to implement editable forms in Dynamics CRM.
Rounded Scrollbar In ListView/ComboBox - WPF
Mar 24, 2021.
In this article, you will learn about rounded scrollbar in ListView/ComboBox - WPF.
DefaultAzureIdentity And Its Various Credential Types
Jan 05, 2021.
This article shows various ways to retrieve an Azure identity from an application context using Azure.Identity.
Overview Of Yeoman Generator For Office Add-ins
Dec 08, 2020.
Discover how to streamline Office Add-in development using Yeoman Generator. This overview covers setup, tools, and JavaScript API integration for efficient creation of custom Office solutions.
Check How You Remember Nullable Value Types - Let's Peek Under The Hood
Nov 09, 2020.
In this article, you will learn to check how you remember nullable value types. Let's peek under the hood.
How To Easily Create Azure Functions Using Azure Portal
Sep 06, 2020.
Learn to effortlessly build Azure Functions via Azure Portal. Explore serverless computing, diverse triggers like HTTP or Timer, bindings for seamless data integration, and easy deployment. Monitor, scale, and manage costs conveniently within your Azure subscription.
DotVVM Controls - GridView
Jul 27, 2020.
This article gives an introduction to DotVVM GridView Control.
Upload Image, Save In Database, And Show In Gridview
Jul 16, 2020.
In this article, I will tell you how to save an image in your local directory, save its path in a database, and also show that image in grid view column in ASP.NET.
Using Declarations In C# 8
Jun 22, 2020.
In this article I will explain the syntax feature "using declarations" introduced in C# 8 and how this feature can reduce code noise.
List View in Spfx
Apr 09, 2020.
In this article, we will learn about how to implement a list view in SPFx using PNP reusable controls
Develop Outlook Add-ins with SharePoint Framework
Feb 25, 2020.
In this article, you will learn how to develop Outlook Add-ins with SharePoint Framework.
Matrix Multiplication In C# - Applying Transformations To Images
Feb 23, 2020.
Today I will show you my implementation of matrix multiplication C# and how to use it to apply basic transformations to images like rotation, stretching, flipping, and modifying color density.
NSwagStudio - Generate C# Client Code Of ASP.NET Core Web API 😍
Feb 10, 2020.
Learn how to effortlessly generate C# client code for ASP.NET Core Web API using NSwag. Simplify API consumption without manual HttpClient setup. Compatible with various .NET platforms.
Create And Deploy Outlook Add-Ins Using SPFx 1.10
Feb 04, 2020.
Create And Deploy Outlook Add-Ins Using SPFx 1.10" is a guide for integrating custom functionalities into Microsoft Outlook using SharePoint Framework (SPFx) version 1.10. It offers insights into developing, deploying, and managing Outlook add-ins within the Microsoft 365 ecosystem.