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.
This article explains the C# static method and code examples of stack methods in C#. C# features static and nonstatic class methods. Static methods, at the type level, are shared across all objects of the class, exemplified by Console methods. Learn their usage and distinctions.

SOLID design principles provide guidelines for creating maintainable, flexible, and scalable software. They enhance code readability, reduce duplication, and promote effective testing. Principles like SRP, OCP, LSP, ISP, and DIP ensure clear responsibilities, extensibility, and decoupling.

Learn C# secure coding practices including password hashing, input validation, parameterized SQL queries, cryptography, HTTPS, secret management, and security updates.

Discover best practices for handling DateTime, UTC, and Offset in C# with expert insights from Ziggy Rafiq, ensuring efficient time management in your applications Learn best practices, tips, and code examples for seamless time zone conversions and daylight-saving time considerations

Learn how to enable C# 8.0 nullable reference types, address compiler warnings, and initialize or check nullable properties to prevent null reference exceptions.

Streamline data transfer in .NET Core with Data Transfer Objects (DTOs). Simplify and optimize application layers for enhanced performance and scalability.

Learn how to define and use C# enums for task statuses, including explicit values, status descriptions, hash codes, benefits, and common use cases.

Understanding C# Data Types is essential for programming in C#. It involves grasping primitive types like integers, floating-point numbers, booleans, and characters, as well as complex types like strings and objects. Mastery includes knowledge of value types, reference types, type conversions, casting, and handling nullable types.

In this article, we will Explore the Singleton Design Pattern in C# with a concise sample code demonstrating its implementation. Learn how to ensure a class has only one instance, providing global access to it while controlling its instantiation.

Discover a powerful Password Generator tool designed to enhance your online security. Our innovative solution creates strong and unique passwords with customizable length and complexity.

In this article, we will explore asynchronous communication techniques leveraging RabbitMQ, a powerful message broker. Discover how RabbitMQ facilitates reliable, scalable message routing in distributed systems.

In this article, we will learn how to dynamically fetch stored procedures from Microsoft SQL Server using C# for enhanced database interaction. This tutorial explores C#'s capabilities to programmatically connect to SQL Server, retrieve stored procedures, and manage them within your application.

Returning an array listing via Remote Procedure Call (RPC) involves serializing the array on the server, sending it to the client, then deserializing it. Client invokes RPC, server processes the request, and transmits the array back to client for further handling.

Records introduced in C# 9.0 represent a significant enhancement to the language's capability for handling data. This article aims to explore records in-depth, covering their syntax, features, and usage through illustrative examples.

In this article, we will discuss Experimental Attributes in .NET 8 and C# 12. The ExperimentalAttribute in C# .NET 8 marks APIs as experimental, signaling potential changes. It's crucial for libraries or APIs to foster controlled innovation.

ASP.NET 8's Part 4 tutorial explores building multilingual applications using a single Resx file and Resource Manager. This feature facilitates easy localization and globalization, enabling developers to efficiently manage culture-specific resources within their web applications.

Lets learn the concept of functional programming, its usage and why functional programming is important

Learn how to invoke C# asynchronous methods from synchronous code using Task.Run and Wait, along with blocking, deadlock, and performance considerations.

Access modifiers play a crucial role in object-oriented programming languages like C#. They dictate the accessibility of classes, methods, properties, and other members within a program. In this article, we delve into the concept of public methods in C#, exploring their significance, usage, and best practices.

C# boasts diverse paradigms, including Object-Oriented, Imperative, Functional, and Generic programming. Its multi-paradigm nature empowers developers to solve problems using various styles, enhancing flexibility and efficiency.

Learn how to create multilingual applications using ASP.NET 8 in this third part of our series. Explore efficient techniques for managing form validation strings using a single Resx file, ensuring seamless user experience across different languages.

Explore an alternative approach in ASP.NET 8 for building multilingual applications using a single Resx file in Part 2 of this series. Discover how to efficiently manage localization and globalization, leveraging resource files and innovative techniques.

Understand the difference between IEnumerable and IQueryable in .NET collections. While IEnumerable is suitable for in-memory collections, IQueryable allows for optimized queries, especially in scenarios like Entity Framework with database operations, enhancing performance significantly.

This article provides an insightful overview of structs in C#, detailing their value type nature, stack allocation, and key characteristics. It includes examples and considerations for when to use structs versus classes.

In this article, we have explained the difference between String and StringBuilder in C# with example. Know the basic knowledge of String and StringBuilder in C#.

Know about LINQ (Language Integrated Query) in C# and their benefits. In this article, we have explained LINQ with an example.

C# property is a member of a class that allows the class to expose some functionality without exposing the implementation details. This article explains what a property is in C#, why we need properties, and how to implement properties in C# and .NET.

This article explores C# .Net's System.IO namespace for file manipulation tasks, covering directory exploration, file operations like read, write, copy, delete, and more. It delves into DirectoryInfo, DriveInfo, FileStream, BinaryReader/Writer, StreamReader/Writer, StringReader/Writer, and the usage of File and Directory classes.

Method overloading in C# allows defining multiple methods with the same name but different parameters within the same class. This enables flexibility and enhances code readability by providing various ways to invoke a method based on different parameter types or numbers, facilitating code reuse and polymorphism.

In this article, you will understand the difference between 'throw exception' and 'throw clause' is essential for effective error handling. While 'throw exception' generates and propagates a new exception object, 'throw clause' simply rethrows the current exception, maintaining its original state.
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