Learn it from developers who built it.
Tutorials, how-tos and deep dives on AI, .NET, C#, cloud and developer tools, written by the community.
In this article, we will discover the essence of handling arrays in C#. Learn how to initialize, manipulate, and iterate through arrays efficiently. Explore techniques for clearing, copying, and accessing elements.

In object-oriented programming (OOP) with C#, classes serve as the foundation for building robust and scalable applications. Two important concepts in class design are sealed classes and abstract classes.

In this article, we will learn Boxing and unboxing in C# allow conversion from value types to reference types and vice versa. This article explains boxing and unboxing in C#.

Learn how to implement IEnumerable in a C# class, use GetEnumerator and yield return, and iterate custom collections with foreach.

The "this" keyword in C# is a reference to a class or a struct itself. In this article, you'll learn what the C# "this" keyword is, and how and when to use the "this" in C#.

Explore the distinction between 'ref' and 'out' keywords in C#. Learn how 'ref' passes arguments by reference for both input and output, while 'out' is used solely for output parameters, aiding in flexible parameter passing and variable modification within methods.

This article elucidates essential concepts of C# programming, specifically focusing on loops, namely the break and continue statements. It presents an example demonstrating the usage and differentiation of these statements within a loop.

In C#, the concept of inheritance plays a vital role in object-oriented programming (OOP). Developers often design class hierarchies to create a relationship between different types of objects. However, in some scenarios, you might want to restrict the inheritance of a particular class.

In today's programming landscape, continuous learning is essential for developers to enhance productivity and efficiency. C# introduces new features like yield return and yield break, optimizing code execution and memory usage. Let's explore their significance through practical examples.

Explore Git and GitHub integration in C# using the LibGit2Sharp NuGet package. Learn initialization, cloning, staging, committing, pushing, pulling, and conflict resolution. Ensure robust error handling for seamless Git operations in your C# applications.

Discover how to create a multilingual web application in ASP.NET 8 using a single Resx file. This tutorial explores efficient localization techniques, enabling your site to support multiple languages seamlessly.

Learn how abstract classes in C# define shared behavior and required members for derived classes, including abstract methods, overrides, interfaces, fields, properties, and constructors.

JSON (JavaScript Object Notation) has become a ubiquitous data interchange format, especially in web development. In C#, developers have multiple options for serializing C# objects to JSON and deserializing JSON strings back to C# objects

Learn more about queues and priority queues in C# with practical examples and methods like Enqueue, Dequeue, Peek, Count, Clear, and more. Dive into efficient data structure management.

This article delves into the concept of extension methods in C#, exploring their syntax, benefits, and best practices through practical examples. It offers a means to extend existing types without altering their original implementation, enabling developers to augment functionality.

In this article, we will provide an explanation about the virtual method with consise answer, which is help full for the people who wants to attends the C# with opps interview.

In this article, we build a practical reusable Logging Proxy in C#. This article elucidates the creation of a Logging-Proxy, vital for logging calls and data transfers over specified interfaces, aiding in debugging or documentation. It employs the Proxy Design Pattern for seamless integration.

Efficiently integrating databases with C# applications is crucial for managing data seamlessly. Explore various approaches like ADO.NET, Entity Framework Core, and Dapper along with best practices for successful integration.

Learn how to define and use enums in C#, including underlying types, attributes, explicit values, parsing, conversion, and iteration.

Arrays are fundamental data structures in programming languages, including C#. In this article, we'll explore single-dimensional, two-dimensional, and multidimensional arrays in C#, understand their differences, and learn how to work with them effectively.

Understanding the distinctions among classes, records, and structs is vital in C# development. Classes encapsulate data and behavior, records offer immutable data modeling, while structs are lightweight value types. Examples illustrate their usage.

In this article, we will delve into the concept of soft deletion and illustrate how to implement it effectively with EF Core.

Discover Ziggy Rafiq's comprehensive guide on converting strings to JSON, Base64, XML, and CSV formats using C#. Plus, learn how to reverse the process effortlessly. Don't miss out on this must-read article!

The article on secure coding in C# applications, written by Ziggy Rafiq, is a must-read for developers who want to fortify their applications against potential vulnerabilities and security threats. By implementing the essential best practices suggested in the article, developers can effectively safeguard sensitive data and ensure a secure user experience.

Deploying Web Apps and APIs with Visual Studio involves utilizing Visual Studio's built-in deployment features to efficiently publish your applications. You can configure various settings such as publishing method, target location, exclusion of specific files or folders, and launch preferences.

In this article, we will explore Queue data structure in C#, facilitating FIFO (First In, First Out) operations. Utilize methods like Enqueue, Dequeue, and Peek for efficient data manipulation.

Naming conventions are a set of rules and guidelines used for naming variables, functions, classes, and other entities in a programming language. They help improve code readability, maintainability, and consistency across projects.

Learn how to create, format, compare, and parse GUIDs in C# using the System.Guid struct, including common uses for unique identifiers.

Protecting applications and user data is crucial in today's digital age. Secure coding practices play a vital role in ensuring the security of the code written in C# on the Microsoft.net Framework. Ziggy Rafiq's article emphasizes the significance of secure coding techniques to prevent vulnerabilities and reduce the risk of cyber-attacks. By prioritizing secure coding, applications and user data can be protected, instilling trust and confidence in the users.

Learn how to split C# strings with a backslash delimiter, escape backslashes correctly, and remove empty entries with StringSplitOptions.RemoveEmptyEntries.
Everything on C#, not only its articles: the C# page →
DevSocialUpcoming · 3rd editionAI Agents ConferenceNov 23–27, 2026Live onlineMembers only16days leftRegisterMembers onlyWrite an article and earn +1,000 SHARP when it is approved.
Write an article