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)
Praveen Kumar(12)
Sean Franklin(4)
Tahir Ansari(3)
Miguel Teheran(3)
Bardia Mostafavi(3)
Gautam Singh(2)
Abhishek Yadav(2)
Rohit Gupta(2)
John Godel(2)
Mominul Islam(2)
Lisa Fusco(2)
Rajiv Singh(2)
Rasul Huseynov(2)
Yogeshkumar Hadiya(2)
Guest User(2)
Uday Dodiya(1)
Sandhiya Priya(1)
Tanuj (1)
Guest User(1)
Raghunath Bhukan(1)
Baibhav Kumar(1)
Azer Engazzou(1)
Vitalii Honcharuk(1)
Ayush Kumar Gupta (1)
Vijay Kumari(1)
Maria Joshua Roy(1)
Vipul Malhotra(1)
Sarthak Varshney(1)
George (1)
Rajashekar Syereddy(1)
Abhijeet Jadhav(1)
Abhishek Khandare(1)
Ali Benchaaban(1)
Ziggy Rafiq(1)
Yuvapriya P(1)
Ravikant Sahu(1)
Esamaldin Mohammed(1)
Rathrola Prem Kumar(1)
Sardar Mudassar Ali Khan (1)
Jay Krishna Reddy (1)
Alexis Chan Gridel(1)
Nagaraj M(1)
Jin Necesario(1)
Catcher Wong(1)
Archie Vankar(1)
Ivan Porta(1)
Miroslav Adamec(1)
Sergey Vasiliev(1)
Prasham Sabadra(1)
Ravishankar N(1)
Sumit Kharche(1)
David Mccarter(1)
Amir Ismail(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.
Creating Dynamic Data-Style Cards Using ASP.NET
Feb 17, 2026.
Dynamically load article cards from your database with this efficient setup! Features include SEO-friendly URLs, consistent UI, and easy CMS control. Two-column layout.
The ubiquitous Database:An article on SQLITE
Feb 06, 2026.
Explore SQLite, the ubiquitous, serverless SQL database engine. Discover its features, uses (IoT, apps, websites), and limitations. A lightweight, powerful solution!
An article on C#programming
Jan 27, 2026.
Explore C#, a powerful and modern object-oriented language by Microsoft. Part of the .NET ecosystem, it's versatile for apps, games, and cloud services. Learn key OOP principles!
Earn Crypto by Writing Articles in 2026: How Developers & Students Can Get Sharp Token Rewards on C# Corner
Jan 12, 2026.
Turn your tech writing and community help into crypto: learn how developers and students globally can earn Sharp Token on C# Corner via Learn-to-Earn contributions.
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.
String Methods in JavaScript – A Complete Article
Nov 15, 2025.
Master JavaScript strings! This guide covers essential methods like slice, replace, trim, and more, with examples for efficient text manipulation. Perfect for learning!
Functions in JavaScript – Complete Article
Nov 15, 2025.
Master JavaScript functions! Learn about declarations, expressions, arrow functions, parameters, scope, hoisting, and more. Write cleaner, reusable code today!
Article Explainer: AI-Driven Tool for Simplified Knowledge Structuring
Oct 20, 2025.
Learn how Article Explainer transforms complex GitHub articles into structured, explainable formats using AI and NLP principles for education, SEO, and GEO optimization.
LLMs, Tokens, Weights, Vectors, Embeddings — A Practical Article
Oct 12, 2025.
Unlock the power of LLMs! This practical guide demystifies tokens, vectors, embeddings, and weights, revealing how they work together in RAG/agent applications. Learn to optimize your LLM systems for speed, cost-effectiveness, and reliability through better token management, strategic retrieval, and clear prompt contracts. Improve your LLM performance today!
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.
n8n Social Media Automation Made Easy (2025)
Sep 20, 2025.
Automate social media posting with n8n! This guide provides a cost-effective workflow to transform a single article URL into optimized content for LinkedIn, Reddit, and X/Twitter, complete with AI-generated images. Learn to build a robust, scalable 8-node system using OpenAI and web scraping techniques for efficient content repurposing and distribution.
Can AI Summarize Long Articles or Emails Efficiently?
Sep 01, 2025.
Tired of information overload? Discover how AI summarization tools use NLP to condense lengthy articles and emails into concise summaries, saving time and improving retention. Explore the benefits, limitations, and best practices for using AI to efficiently manage digital information. Learn about extractive and abstractive summarization and the future of LLMs in this field. A game-changer for productivity!
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.
Auto-Post New Blog Articles to LinkedIn via RSS Feeds
Aug 09, 2025.
If you're a content creator, blogger, or marketer, you know that publishing a blog post is only half the job. Getting eyeballs on it is the rest—and that usually means promoting it across channels like LinkedIn.
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.
How to Install Docker Engine on Ubuntu
Jan 21, 2025.
Learn how to install Docker Engine on Ubuntu with this step-by-step article. Simplify containerized app development and deployment effortlessly.
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.
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.
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.
Git GUI Clients (4-1), SVN and TortoiseSVN
Apr 18, 2024.
This article is to discuss Git GUI Client.
Configure Knowledge Management for Customer Service D365
Apr 18, 2024.
Configure knowledge management in D365 for efficient customer service. Establish a robust knowledge base, optimize search functionalities, manage content lifecycle, and ensure secure access. Implement collaboration features, streamline workflows, and utilize analytics for continuous improvement.
A guide to display ServiceNow Knowledge articles in Copilot for Microsoft 365
Feb 20, 2024.
Copilot Extensibility: Step by Step guide to display ServiceNow Knowledge articles in Copilot for Microsoft 365
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.
Using HTML5, CSS3, and JavaScript to their full potential
Dec 28, 2023.
Crafting dynamic and engaging web journeys: HTML5, the cornerstone of web architecture, has evolved to embrace semantic elements such as <header>, <nav>, <section>, <article>, and <footer>. Replacing generic <div> tags, these elements imbue meaning and enhance accessibility. - Ziggy Rafiq
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#
How to Write an Article That Attracts More Viewers?
Sep 09, 2023.
This article will explain how you can write a better article that attracts more viewers.
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.
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.
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.
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.
Let's Talk about IAM User in AWS
Aug 22, 2023.
In our system, user management involves two key profiles: the Root User and IAM Users. Each serves distinct purposes in maintaining system integrity and security. This presentation outlines the differentiation between these user types, demonstrates how to transition from the Root User to an IAM User, and emphasizes the significance of controlled access.
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.
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.
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.
Log4Net And .NET Core
Sep 06, 2022.
Using Log4net in .NET Core 6 using a console application.
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.
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.
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.
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.
What Are The Key Features For Editing In Writing
Oct 07, 2021.
In this article, you wil learn what are the key features for editing in writing.
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? ??
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.
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.
Microsoft Teams - Adding "Share To Teams" Embedded Button On The Site / Articles / Intranet
Oct 01, 2020.
In this article I'll discuss how to add "Share to Teams" button on our site or pages in site or in article or in blogs so that respective page/article will be share in Microsoft Teams
Azure Storage CORS Concepts - CORS Rules Concepts - Part Six
Sep 29, 2020.
In this article, you will learn how to create CORS rules for Azure Storage using AllowedOrigins, AllowedMethods, AllowedHeaders, ExposedHeaders, and MaxAgeInSeconds properties.
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.
Geekstory - My First Magazine Article And The Power Of Networking
Sep 04, 2020.
In this article, you will learn about Geekstory - My First Magazine Article and the Power of Networking.
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.
Top 10 Most Popular Articles Of Cosmos DB
Jul 16, 2020.
This article lists the top 10 most-read articles of the Cosmos DB category.
Top 10 Most Popular Articles of Cognitive Services
Jul 13, 2020.
This article lists the top 10 most-read articles of Cognitive Services category
Top 10 Most Popular Articles of Big Data
Jul 08, 2020.
This article lists the top 10 most-read articles of the Big Data category.
Top 10 Most Popular Articles of Artificial Intelligence
Jul 03, 2020.
This article lists the top 10 most-read articles of Artificial Intelligence Category.
Top 10 Most Popular Articles of Xamarin
Jun 29, 2020.
This article lists the top 10 most-read articles of Xamarin category.
Top 10 Most Popular Articles of Unity
Jun 25, 2020.
This article lists the top 10 most-read articles of the Unity category.
Top 10 Most Popular Articles of React
Jun 23, 2020.
This article lists the top 10 most-read articles of React category.
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.
Top 10 Most Popular Articles of R
Jun 22, 2020.
This article lists the top 10 most-read articles of R category.
Top 10 Most Popular Articles of Python
Jun 19, 2020.
This article lists the top 10 most-read articles of Python category.
Top 10 Most Popular Articles of Power BI
Jun 18, 2020.
This article lists the top 10 most-read articles of Power BI category.
Top 10 Most Popular Articles of PowerApps
Jun 17, 2020.
This article lists the top 10 most-read articles of the PowerApps category.
Top 10 Most Popular Articles of PHP
Jun 16, 2020.
This article lists the top 10 most-read articles of PHP category.