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
(3472)
Blogs
(2101)
Resources
(71)
Videos
(96)
News
(17)
Articles
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
Func, Action And Local Function In C# 7
This article covers using Func, Action, and local functions in C# 7. It explains how Func returns a value, Action does not, and how local functions can be defined within other methods. Examples inc...
Sandeep Singh Shekhawat
Mar 12, 2017
Transitioning from Switch Statements To Switch Expressions in C#
Explore how to modernize your C# code by transitioning from traditional switch statements to the more concise and powerful switch expressions introduced in C# 8.0.
Jay Krishnareddy
Aug 09, 2024
Difference Between Tuples vs ValueTuples in C#
In this article, we will discover practical use cases for each, and understand when to choose one over the other in your C# applications to enhance code efficiency and readability.
Sanjay Kumar
Aug 09, 2024
Validating User Input Using Regular Expression With C#
In software development, validating user input is crucial to prevent errors and security issues. Regular expressions (regex) are used to validate fields such as email, zip codes, and phone numbers....
Ahmad Mozaffar
Dec 22, 2017
How To Enable C# 7.1 Version To My Projects
To update your project to C# 7.1, you can use one of three methods: 1) Through Visual Studio Project Properties by selecting C# 7.1 in the Build menu. 2) By editing the csproj file and setting <...
Sai Kumar Koona
Aug 20, 2018
Understanding Multithreading with the Thread Class in C#
Learn how to implement multithreading in C# using the Thread class. This guide covers creating and managing threads, passing parameters, handling exceptions, and using Task for simplified paralleli...
Abhishek Yadav
Aug 06, 2024
Multithreading in C# Task Creation Using Loop
This article introduces multithreading in C# using the Task class from the Task Parallel Library (TPL). It explains creating and executing tasks serially within a loop, ensuring tasks are completed...
Abhishek Yadav
Aug 06, 2024
Exploring ValueTask in C#
xploring ValueTask in C#" delves into the intricacies of the ValueTask type introduced in C#. It compares ValueTask with Task, highlighting performance benefits and appropriate use cases.
Ajay Kumar
Aug 05, 2024
How to Get Only Letters from a String in C#?
Learn how to extract only the letters from a string in C# using various methods. This guide covers techniques such as using regular expressions, string manipulation methods, and LINQ to filter out ...
Rajeev Kumar
Aug 05, 2024
Async/Await: Beyond the Basics
Error handling in async code involves using try-catch blocks to manage exceptions, ensuring smooth operation. Task chaining, like a relay race, connects tasks so the result of one task feeds into t...
Priya Chavadiya
Aug 05, 2024
Intra-process vs Inter-process Synchronization in C#
In C#, intra-process synchronization involves managing concurrency within a single process using tools like lock, Mutex, and Semaphore. Inter-process synchronization deals with coordination between...
Sanjay Kumar
Jul 31, 2024
Why We Should Avoid Using await in C# Loops
Avoid using `await` inside C# loops as it causes sequential execution and resource contention, leading to poor performance. Instead, use alternatives like `Task.WhenAll`, `Parallel.ForEachAsync`, o...
Ajay Kumar
Jul 31, 2024
Getting Started With Unit Testing Using C# And xUnit
Unit Testing in ASP.NET Core involves testing individual components or methods to ensure they work as intended. By creating test cases for small functionalities, developers can catch bugs early, im...
Mukesh Kumar
Oct 26, 2018
No Records Available.
61
-
80
of
3472
<<
2
3
4
5
6
>>
Learn C# 8.0
Challenge yourself
C# Skill
E-Book Download
Get Certified
AWS