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 how C# 14 introduces first-class language support for Span<T> and ReadOnlySpan<T>, including new implicit conversions, usage patterns, performance benefits, and limitations.

Master C# fundamentals before diving into ASP.NET Core! Learn variables, OOP, inheritance, LINQ, and more with real-world examples. Includes a CRUD practice task.

This article provides a complete and easy-to-understand guide to Object-Oriented Programming (OOP) in C# .NET, covering core concepts such as classes, objects, variables, methods, constructors, access modifiers, encapsulation, inheritance, polymorphism, abstraction, and interfaces. With clear explanations and practical examples, it helps learners build a strong foundation for real-world .NET development and technical interview preparation. Ideal for beginners, students, and professionals looking to improve their understanding of OOP principles in C#.

Master C# inheritance! Learn about base/derived classes, single/multi-level/hierarchical inheritance, method overriding, 'base' keyword, and preventing inheritance.

Unlock the power of C#! Explore interfaces vs. abstract classes with real-world and programming examples. Learn when to use each for optimal design and code reuse.

Master AI-driven .NET development with C# 14 & .NET 10! Learn prompt engineering best practices, enhanced interpolation, & build robust, scalable AI features.

Explore C#'s 25-year evolution from legacy code to modern mastery. Learn null safety, pattern matching, async/await, records, and migration strategies. Boost .NET skills!

Master C# variables and data types! Learn to store data effectively using int, string, double, bool, and more. Includes real-world examples and a code snippet.

Master the Single Level of Abstraction Principle (SLAP) in C# for cleaner, more maintainable code. Learn to write code that reads like a story! Examples included.

Master C# variables and data types! This guide covers primitive (int, double, bool, string) & non-primitive types (arrays, lists) with real-world examples. Perfect for beginners!

Master C# loops! This guide covers for, while, foreach, parallel loops, and LINQ. Learn best practices, common mistakes, and performance tips for efficient code.

Spice up your C# console apps! Learn how to use colors to improve readability and highlight important information using the ConsoleColor enumeration. Make your CLI tools shine!

Learn how to use the null conditional assignment operator (?.) in C# to simplify null checks and prevent.

Master C# delegates! This guide covers definition, purpose, types (single-cast, multi-cast), anonymous methods, lambda expressions, built-in delegates, and use cases.

Learn C# asynchronous programming with async/await, Task.WhenAll, cancellation tokens, ConfigureAwait, and Task.Run. Covers I/O-bound versus CPU-bound work and common pitfalls.

Explore C# 14's new features in .NET 10: extension members, field keyword, null-conditional assignment, span improvements, and more. Boost code clarity and performance!

Explore C# vs. TypeScript for demanding applications. Discover why C# and .NET excel in multithreading, CPU-intensive tasks, and enterprise-grade performance, surpassing TypeScript's limitations.

Master CSV processing from basic reading to AI-powered enterprise solutions. Learn optimization, security, and future trends with code examples and case studies.

Learn how to extend existing types without modification, adding functionality and improving code readability.

Learn how it provides a zero-allocation view over memory for arrays, strings, and more, boosting efficiency and reducing GC overhead

Master the Tell, Don't Ask principle in C# for cleaner, more maintainable object-oriented code. Refactor from queries to commands for SOLID design!

Master C# OOPs: Grasp core concepts like classes, objects, inheritance, and polymorphism. Ace your interviews with practical examples and interview Q&As.

Master C# with these essential logical programs! Learn to reverse strings, remove duplicates, count characters, find the 2nd highest number, check palindromes, & more.

Master C# constructor overloading in WebForms! Learn to initialize objects flexibly with different parameters. Real-time example included for practical use.

Learn C# WebForms interface implementation with a practical example! Discover abstraction, loose coupling, and code reusability using IEmployee and Manager.

Master C# WebForms with method overloading and overriding! This tutorial provides a real-time example, showcasing compile-time and run-time polymorphism in action.

Learn C# inheritance in WebForms! This tutorial shows how to create a base `Employee` class and extend it with a `Manager` class, demonstrating code reuse.

Learn to create a Student class in C# WebForms with fields, properties, and methods. This tutorial covers object-oriented programming principles and real-time use cases.

Learn to create a Number Triangle Pattern in C# WebForms using nested loops! This tutorial provides a real-time example with ASPX code and explanation. Perfect for beginners!

Learn to create a Diamond Star Pattern in C# using ASP.NET WebForms! This tutorial covers nested loops, StringBuilder, and HTML encoding for dynamic pattern generation. Perfect for beginners!
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