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.

Learn the fundamental differences between interfaces and abstract classes in C#. This article breaks down their key characteristics, use cases, and performance implications with code examples. Ideal for developers and interview preparation.

A clear guide explaining the meanings of the keywords public, static, and void as used in C# methods, what each does, how they interact, and typical use cases like the Main() method.

An in-depth look at the differences between classes and structs in C#, explaining their memory behavior, inheritance abilities, performance implications, when to use each, and real-world code examples to highlight best practices.

A hands-on guide to understanding object-oriented programming (OOP) in C#, complete with real-world examples. Learn the four pillars of OOP, Encapsulation, Inheritance, Polymorphism, and Abstraction, and how to apply them in modern C# applications.

This post explores a common performance issue in .NET, using collections for ID-based lookups, and presents a cleaner, faster alternative using Dictionary.

A clear and concise guide explaining how C#, C, and .NET differ — covering their roles, syntax, usage, and ecosystem. Perfect for beginners and professionals looking to understand where each technology fits.

A beginner-friendly yet comprehensive guide to C#, covering its origins, core features, and why it remains one of the most popular programming languages for software development in 2025 — with code examples and practical tips.

Learn what C# is, its core features, and how it is used for web APIs, desktop and mobile apps, cloud services, games, and enterprise software.

In this beginner-friendly C# project, you will build a simple daily mood tracker using a console interface and JSON for local data storage. This project is great for understanding how to combine real-life utility with coding fundamentals.

Explains how C# value and reference types differ in assignment, memory behavior, nullability, and parameter passing, with examples of common pitfalls.

Learn the exact differences between var, dynamic, and object in C#. This in-depth guide covers syntax, performance, use cases, and practical code examples for each.

In C#, a sealed class prevents inheritance, ensuring its behavior can't be altered through subclassing. It enhances security, enforces design rules, and can improve performance in certain scenarios.

This article provides a clear and practical overview of the most common C# collections, including arrays, lists, dictionaries, queues, stacks, and sets. It explains their key features and use cases with easy-to-understand examples of employee management.

This C# cheatsheet offers a quick guide to key concepts, syntax, and examples from basics like variables and loops to advanced topics like LINQ, async/await, delegates, and more. Perfect for quick revision.

In this article, we will build a simple personal budget tracker using C# with a clean console UI and JSON for persistent storage. This beginner-friendly project helps users understand file handling, data serialization, and basic CRUD operations—ideal for those starting with .NET or looking for a practical mini project.

The article is about to explain C# .NET fundamentals and syntax that is required for basic and advanced software development.

Reflection in C# enables runtime inspection and interaction with types, methods, and properties. It’s powerful for dynamic scenarios like plugin systems, but should be used cautiously due to performance risks.

Explore object-oriented programming (OOP) in C# for 2025, covering core principles—encapsulation, inheritance, polymorphism, and abstraction, along with modern features like records, pattern matching, and more.

This article explains encryption and decryption, their importance for data security, how algorithms, keys, and hashing work, and when to use them to protect sensitive data, ensure privacy, and maintain compliance.

Learn how to display DataGridView data horizontally in a WinForms application. This article shows you how to set up row headers, add columns, and rotate data display programmatically.

The difference between Abstract Class and a Normal Class in C#, including definitions, concepts, use cases, and examples.

Learn how to build a secure ASP.NET Web API using C# and JWT authentication. This hands-on guide covers token generation, validation, and securing endpoints to protect your API with modern practices.

This article breaks down each principle — Single Responsibility, Open/Closed, Liskov Substitution, Interface Segregation, and Dependency Inversion — with simple console app.

Compare imperative and declarative programming in C# through examples that calculate student marks with loops, mutable state, and LINQ.

C# is a modern, simple, powerful, and advanced programming language. This article talks about what kind of software applications we can build with C#.

Can you build AI or machine learning apps using C# like you can in Python? Absolutely! While Python leads in AI development due to its rich ecosystem, C# offers powerful tools like ML.NET, ONNX Runtime, and Azure Cognitive Services for building and deploying AI solutions in .NET applications. This guide explains how to use C# for AI, where it shines, and when Python might still be the better choice.

Learn all the types of classes in C# with clear examples and use cases. Understand when to use abstract, static, sealed, generic, and partial classes in .NET Framework.

Learn how the Singleton Design Pattern works in C# with a real-time example. Understand its use in controlling object creation, ensuring only one instance exists for global access and efficiency.

With this best practices guide by Ziggy Rafiq, you will learn Factory Pattern in C# 13 with clean architecture, DI, and testable design.

Everything on C#, not only its articles: the C# page →
Write an article and earn +1,000 SHARP when it is approved.
Write an article