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
(3506)
Blogs
(2104)
Resources
(71)
Videos
(96)
News
(17)
Articles
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
Mask an Aadhar Number into Blocks of 4 Digits Each
This C# code demonstrates how to mask sensitive numbers, like Aadhar or account numbers. It validates input length, uses StringBuilder to format Aadhar numbers with spaces, and shows account number...
Rajeev Kumar
Jul 30, 2024
C# Access Modifiers
This article will discuss the C# Access Modifiers
George
Jul 29, 2024
Intermediate Code Optimizations in C#
Intermediate code optimization in C# improves performance by refining Intermediate Language (IL) code. Techniques like inlining, loop optimizations, dead code elimination, and constant folding enha...
Ajay Kumar
Jul 29, 2024
How to Use JWSHMAC in ASP.NET Web Application
Learn how to implement JWSHMAC in an ASP.NET web application to secure JSON data using HMAC. This guide covers installing the JWT NuGet package, creating a JWT helper class for token generation and...
Jithu Thomas
Jul 29, 2024
Understanding Iterators in C#
In this article, we will Understand key concepts, such as iterator methods and custom iteration patterns, and enhance your C# programming skills with practical examples and tips.
Ajay Kumar
Jul 28, 2024
No Records Available.
101
-
120
of
3506
<<
4
5
6
7
8
>>
Learn C# 8.0
Challenge yourself
C# Skill
E-Book Download
Get Certified
ASP .NET Web Developer