languages
C# Articles, Tutorials & News
C# articles, tutorials, and news from the DotNetNews archive.
2322 articles Updated Page 31 of 93
Browse additional C# articles from the DotNetNews archive.
C# articles
Page 31 of 93
Newest first
-
Null-Coalescing Operator vs Ternary Operator in .NET
benedictodoh.medium.com Issue #344
In .NET, both the null-coalescing operator (??) and the ternary conditional operator (?:) are used to simplify conditional expressions…
-
The Strategy Pattern in C#: A Complete Deep Dive from First Principles to Production-Ready Code
medium.com Issue #344
Friend link :- Read full story for free!
-
C# .NET Object-Oriented Programming – A Complete Guide (Beginner to Advanced)
c-sharpcorner.com Issue #344
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...
-
5 Underused C# Features That Level Up Your Code Quality
medium.com Issue #343
Type safety, zero-cost abstractions, and cleaner APIs with features most developers still ignore.
-
C# Fundamentals
c-sharpcorner.com Issue #343
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.
-
The C# Keyword You’ve Been Misusing for Years — One Example That Finally Makes It Click
blog.stackademic.com Issue #343
Most developers get this keyword painfully wrong. This deep dive breaks the illusion with a simple, unforgettable example that rewires… Continue reading on Stackademic »
-
Difference Between IEnumerable, ICollection, and IList in C#?
c-sharpcorner.com Issue #343
Learn the clear and simple differences between IEnumerable, ICollection, and IList in C#. Understand what they are, how they work, when to use them, and see real C# code examples to help you choose th...
-
Value Objects In C#: A Structured Approach to Consistent Business Data
medium.com Issue #343
Introduction
-
Achieving Full Application Logging in C# with Roslyn Code Transformation
medium.com Issue #343
Introduction
-
How Do I Fix “Object Reference Not Set to an Instance of an Object” in C#?
c-sharpcorner.com Issue #342
Learn simple, clear, and practical ways to fix the common C# error "Object reference not set to an instance of an object." Understand why it happens, how to identify the root cause, and how ...
-
How I Used C# Source Generators to Eliminate Boilerplate and Speed Up Development
blog.stackademic.com Issue #341
An exploration of compile-time metaprogramming, what it automates well, and the surprising productivity gains it unlocked. Continue reading on Stackademic »
-
⭐ New Features in .NET 10 and C# 14 — A Deep Dive Into What’s Coming Next
medium.com Issue #341
As .NET continues to evolve, Microsoft’s latest release — .NET 10 paired with C# 14 — brings one of the most polished and…
-
Variables and Data Types in C#
c-sharpcorner.com Issue #341
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!
-
Fetching GitHub content from C#
blog.elmah.io Issue #341
One of the many advantages of storing project assets on GitHub is that you can access them both manually and programmatically from anywhere. At elmah.io, we are using this for documentation, code snip...
-
Common LINQ Methods with Examples in .NET Core
medium.com Issue #340
Here’s a comprehensive list of LINQ (Language Integrated Query) extension methods available in .NET Core. These methods are part of the…
-
Let’s take a look at the new page — Handling and Throwing Exceptions in .NET:
peter-jackson.medium.com Issue #340
https://www.devart.com/dotconnect/dotnet-exceptions.html
-
How to Safely Concatenate Strings in C#
medium.com Issue #340
String concatenation is a common task in almost every C# application from building user messages to constructing dynamic SQL queries or…
-
The Hidden Bugs Behind async/await That No One Warns You About
medium.com Issue #339
Async/await looks innocent… until it silently destroys your application. Let’s talk about the stuff juniors are never told — the async…
-
Mastering Loops in C#: A Complete Guide With Best Practices, Mistakes, and When to Use What
c-sharpcorner.com Issue #339
Master C# loops! This guide covers for, while, foreach, parallel loops, and LINQ. Learn best practices, common mistakes, and performance tips for efficient code.
-
What is a Constructor?
c-sharpcorner.com Issue #339
Unlock the power of constructors in programming! Learn what they are, how they work, and their different types (default, parameterized, DI) with C# examples. Master object initialization!
-
The New C# 14 Extension Members Hack You Must Try
medium.com Issue #339
A practical guide to the new C# 14 extension members with examples, diagrams, and clean patterns you’ll actually use.
-
Interface vs Abstract Class in C#: Real-World and Programming Examples Explained in Simple Language
c-sharpcorner.com Issue #339
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.
-
Convert HTML to RTF (Rich Text) Using C#
medium.com Issue #339
This guide details how to implement the HTML to RTF conversion efficiently using C# and the free .NET library.
-
Understanding Inheritance in C# with Practical Examples
c-sharpcorner.com Issue #338
Master C# inheritance! Learn about base/derived classes, single/multi-level/hierarchical inheritance, method overriding, 'base' keyword, and preventing inheritance.
-
Senior C# Dev Reacts to Reddit’s C# Community (Hot Takes Only)
levelup.gitconnected.com Issue #338
#2. — Best approach for background or async tasks Continue reading on Level Up Coding »