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
Using C# 12 with Clean Code Practices
Learn how to write cleaner, more maintainable code with C# 12 features such as primary constructors and improved pattern matching. This article explores practical examples and tips for applying cle...
Ziggy Rafiq
Sep 21, 2024
C# Code To Overcome "The Process Cannot Access The File XYZ Because It Is Being Used By Anot...
This guide provides practical C# code solutions for handling file access issues, including techniques for managing file locks and ensuring smooth file operations without interruptions.
Saravanan Ponnusamy
Aug 03, 2017
Why To Use C# And When To Prefer Other Languages
This blog explores the choice between programming languages like C#, C++, and Java, focusing on productivity, ease of use, and project requirements. It emphasizes the importance of selecting the ri...
Afzaal Ahmad Zeeshan
Mar 24, 2016
Cleaning the Resources: Finalize vs Dispose
This article explores the concepts of Destructor and Dispose in C#. It illustrates the object's lifecycle, highlighting how constructors allocate memory and destructors clean up. The role of th...
Pradeep Shet
Jul 09, 2014
Why We Should Prefer To Use Dispose Method Than Finalize Method
This article explores the benefits of Dispose for efficient resource cleanup, improved performance, and reliable memory management in C#. Discover best practices for handling managed and unmanaged ...
Kailash Chandra Behera
Nov 01, 2015
An overview of the Task Parallel Library (TPL) in C#
The Task Parallel Library (TPL) is a collection of public types and APIs within the .NET framework that facilitates the integration of parallelism and concurrency into applications.
Sanjay Kumar
Sep 17, 2024
POCO to Dictionary Conversion Techniques in C#
This article explores five methods for converting a C# POCO to a dictionary using reflection, LINQ, JSON libraries, and ExpandoObject, comparing their performance through Benchmark.NET to find the ...
Geo J Thachankary
Sep 16, 2024
What is Indexer in C#?
An indexer in C# allows objects to be indexed like arrays, enabling access to elements using an index. It’s defined with this keyword and can be used to encapsulate data access in a class or struct...
Arpit Shrivastava
Sep 13, 2024
Action And Func Delegates In C#
In C#, Action, and Func are generic delegates used to handle methods. Action is used for methods that don't return a value, while Func returns a value. Action<int> executes a method with ...
Josue Molina
Oct 06, 2015
Detailed use of Action Delegate in C#
In C#, the Action delegate represents a method that does not return a value and can accept up to 16 parameters. It's useful for passing methods as arguments, callbacks, and event handling. It ...
Sanjay Kumar
Sep 11, 2024
Explain Switch Case Uses in C#
In C#, the switch statement serves as a control structure that enables the execution of distinct code blocks based on the value of a variable. It is frequently utilized when there is a need to comp...
Sanjay Kumar
Sep 11, 2024
Exaplain Copy Constructor in C#
A copy constructor in C# allows creating a new object by copying an existing object. It duplicates the values of properties and fields from the original object. This method is useful for creating i...
Vishal Joshi
Sep 10, 2024
Working With FTP Using C#
Learn how to work with FTP (File Transfer Protocol) using C# in this comprehensive guide. Explore how to connect to FTP servers, upload and download files, and manage file transfers programmatically.
Kaushik Dudhat
Jul 30, 2019
Serialization And Deserialization In C# Using Protobuf-net.dll
This article describes how to implement serialization and deserialization using Protobuf-net.dll. This article explores Protobuf-net, a .NET library for efficient serialization and deserialization ...
Manas Mohapatra
Dec 23, 2016
A Guide to Using the Decorator Pattern in Your C# Code
In this article, we will learn how to implement this pattern in your C# code, improve code reusability, and follow best practices for more maintainable and flexible software design.
Safyan Yaqoob
Sep 04, 2024
Using Factory Patterns in C# 12 to simplify A/B testing
Find out how Ziggy Rafiq simplifies A/B testing with feature toggles in C# 12 by using Factory and Abstract Factory design patterns.
Ziggy Rafiq
Aug 30, 2024
Optimizing Searching Algorithms in C# and Reducing Complexities
This article explores the implementation of 10 common searching algorithms in C#, detailing their use cases, workings, and complexities. From simple linear searches to more complex algorithms like ...
Hanif Hefaz
Aug 30, 2024
C# 12 Design Patterns: Factory and Abstract Factory
By Ziggy Rafiq, discover how Factory and Abstract Factory design patterns simplify the creation of complex objects in C# 12.
Ziggy Rafiq
Aug 29, 2024
Understanding of Domain Driven Design (DDD)
Domain-driven design is a software development approach that closely aligns software models with business needs. It focuses on key concepts like Entities, Value Objects, Aggregates, and Aggregate R...
Safyan Yaqoob
Aug 29, 2024
Interface Re-implementation in C#
This guide covers the principles of object-oriented programming, including inheritance and polymorphism, and demonstrates practical techniques for effective interface re-implementation and code re...
Mamta M
Aug 29, 2024
No Records Available.
61
-
80
of
3504
<<
2
3
4
5
6
>>
Learn C# 8.0
Challenge yourself
C# Skill
E-Book Download
Get Certified
Blockchain Beginner