TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
C# Corner
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
C#
FOLLOW
C# is a multi-paradigm programming language. This section contains C# related articles and syntaxes.
Articles
(3504)
Blogs
(2104)
Resources
(71)
Videos
(96)
News
(17)
Articles
Crafting Efficient and Maintainable C# Code
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 judicious...
Hanif Hefaz
Aug 28, 2024
Abstract Factory Design Pattern in .NET Core C# 12
In this detailed article by Ziggy Rafiq, you will learn how to implement key components like AbstractFactory, ConcreteFactory, AbstractProduct, and ConcreteProduct in .NET Core with C# 12. By lever...
Ziggy Rafiq
Aug 28, 2024
Resolving Race Conditions and Critical Sections in C#
A race condition in C# occurs when multiple threads access shared data simultaneously without proper synchronization, leading to unpredictable and incorrect results. This tutorial covers how to ide...
Tural Suleymani
Aug 28, 2024
Default Implementation in C# Interfaces
This article details creating a `StringUtils` utility class in Java to centralize common string operations. It covers methods for checking if a string is alphanumeric with underscores or consists s...
Ajay Kumar
Aug 28, 2024
How to Create a Custom Message Box in Windows Form Application
Learn how to create a custom message box in a Windows Forms application using C#. This step-by-step guide covers everything from designing the message box to implementing it in your WinForms projec...
Jithu Thomas
Aug 28, 2024
Understanding Dependency Inversion Principle (DIP) with C#
This guide explains how DIP enhances software design by decoupling high-level and low-level modules, promoting flexibility and maintainability. Understand its implementation using Dependency Inject...
Geo J Thachankary
Aug 27, 2024
Basics Of C#
This article explains C# basics with C# code examples including C# data types, class, objects, properties, and methods. You'll also learn basic OOP concepts such as overloading, polymorphism, a...
Am Ansari
Feb 27, 2012
Difference between lock(this) and lock(privateObj) in C#
In multi-threaded C# programming, the lock statement ensures that critical code sections are accessed by only one thread at a time. While lock(this) locks on the current instance, it can expose you...
Vipul Kumar
Aug 22, 2024
Understanding the Flag Enums in C#
The [Flags] attribute in C# allows an enum to represent a combination of values using bitwise operations. This is useful when an enum needs to store multiple values simultaneously. By applying [Fla...
Balaji Thilagar
Aug 21, 2024
Understanding the Interface Segregation Principle (ISP) with C#
Explore the Interface Segregation Principle (ISP) from SOLID design principles to ensure code flexibility and maintainability. ISP advocates for breaking down large, unwieldy interfaces into smalle...
Geo J Thachankary
Aug 21, 2024
Code Examples for .NET 8 Features with C# 12
An in-depth look at performance enhancements, language improvements, and new libraries in this comprehensive article by Ziggy Rafiq.
Ziggy Rafiq
Aug 01, 2024
Detailed use of Tuples and Value Tuples in C#
This guide explores the detailed use of Tuples and ValueTuples in C#. It covers their differences, how to create and manipulate them, and practical examples for implementing them in real-world appl...
Sanjay Kumar
Aug 16, 2024
Create QR Code Report Using RDLC Report With Preview
In this article we can learn how to make our own QR code. Make a QR report using RDLC reports with preview condition.
Joginder Banger
Mar 28, 2016
Understanding the Record in C#
Learn how records differ from classes, their advantages in creating immutable types, and how they enhance object initialization, equality checks, and more in .NET applications.
Ajay Kumar
Aug 16, 2024
Understanding the Liskov Substitution Principle (LSP) with C#
The Liskov Substitution Principle (LSP) ensures that objects of a base class can be replaced with objects of a derived class without altering program correctness. This principle, part of SOLID desi...
Geo J Thachankary
Aug 14, 2024
Learn Server-Sent Events in C# .NET
Server-Sent Events (SSE) in C# .NET enable real-time, one-way communication from server to client over HTTP, ideal for live updates like notifications or data streaming. Unlike WebSockets, SSE is s...
Ajay Kumar
Aug 14, 2024
Iterations and Improving Code Quality with C# yield return
This article explores how the yield return statement in C# can simplify iteration logic and enhance code quality. By allowing deferred execution and creating custom iterators, developers can write ...
Ajay Kumar
Aug 13, 2024
Understanding the Open/Closed Principle (OCP) with C#
The Open/Closed Principle (OCP) states that software entities should be open for extension but closed for modification. This principle helps in creating flexible and maintainable code by allowing n...
Geo J Thachankary
Aug 12, 2024
Tortoise SVN Automation Using C#
In this article, we will look into automation of Tortoise SVN activities like checkout, delete, rename on a SVN repository using C# in a console application.
Sateesh Arveti
Aug 19, 2015
Leveraging Records for Data Transfer Objects (DTOs) in C# .NET
This article explores how to leverage C# records for implementing Data Transfer Objects (DTOs) in .NET. It delves into the benefits of using records for immutable data structures, enhancing code re...
Jitendra Mesavaniya
Aug 12, 2024
No Records Available.
81
-
100
of
3504
<<
3
4
5
6
7
>>
Learn C# 8.0
Challenge yourself
C# Skill
E-Book Download
Get Certified
Front-end