Skip to content
C# Corner
Search
articles
videos
blogs
forums
interview questions
articles
Tech
Articles
Blogs
News
Videos
Interviews
Forums
Books
Events
More
Jobs
Stories
Login
Contribute
Article
Blog
Video
Ebook
Interview Question
Loading
Top Articles by Mariem Moalla
Mariem Moalla
's top articles
Value Types vs Reference Types in C#: Storage, Assignment, and When to Use Each
7d
Published Sep 7, 2026, 11:12 AM
4.9k
0
100
Article
Sealed Classes in C#: When Should You Use Them?
3d
Published Sep 11, 2026, 4:12 AM
4.7k
0
100
Article
Everything You Need to Know About Minimal APIs in .NET
1y
Published Aug 11, 2025, 5:06 AM
4.5k
0
100
Article
All you need to know about switch expression and Modern Pattern Matching
11mo
Published Sep 22, 2025, 12:00 AM
Updated Sep 22, 2025, 9:25 AM
4.4k
0
100
Article
Why ValueTask Can Save You from Async Overhead
1y
Published Sep 4, 2025, 12:00 AM
Updated Sep 5, 2025, 5:56 AM
4.3k
0
100
Article
const vs readonly vs static readonly in C#
3d
Published Sep 11, 2026, 12:01 PM
4.2k
0
100
Article
var vs object vs dynamic in C#
6d
Published Sep 8, 2026, 3:58 AM
3.5k
0
100
Article
How Async/Await Really Works in C# : A Beginner-Friendly Guide
1y
Published Sep 7, 2025, 12:00 AM
Updated Sep 8, 2025, 7:39 AM
2.8k
2
100
Article
The Evolution of the switch Statement in C#
12d
Published Sep 1, 2026, 10:34 PM
Updated Sep 2, 2026, 11:32 AM
2.7k
1
100
Article
GraphQL for Beginners
14d
Published Aug 28, 2026, 9:09 AM
Updated Aug 31, 2026, 11:51 AM
2.5k
0
100
Article
SQL Server Index Fragmentation: What It Is and How to Fix
1y
Published Aug 20, 2025, 4:50 AM
2.3k
0
100
Article
Domain Driven Design (DDD) for Beginners
9mo
Published Dec 14, 2025, 5:34 PM
Updated Dec 15, 2025, 7:18 AM
2.3k
0
100
Article
When to Use Generic vs Non-Generic Collections in C#
1y
Published Aug 19, 2025, 8:10 AM
2.2k
0
100
Article
Why Readonly Doesn't Make Objects Immutable in C#
1y
Published Aug 9, 2025, 8:08 AM
2.1k
0
100
Article
Understanding Span<T> in C#
10mo
Published Nov 9, 2025, 11:24 AM
Updated Nov 10, 2025, 7:30 AM
2.1k
0
100
Article
When To Use ToList() and ToArray()?
1y
Published Aug 20, 2025, 10:14 AM
Updated Aug 20, 2025, 10:16 AM
2.1k
0
100
Article
C# Performance Hack: Use record struct for Small, Immutable Models
1y
Published Sep 16, 2025, 12:00 AM
Updated Sep 17, 2025, 4:14 AM
2k
0
100
Article
C# tips: string.IsNullOrEmpty vs string.IsNullOrWhiteSpace
11mo
Published Oct 3, 2025, 12:00 AM
Updated Oct 3, 2025, 12:28 PM
2k
0
100
Article
Observability in .NET with OpenTelemetry
6mo
Published Feb 17, 2026, 7:52 AM
Updated Feb 17, 2026, 11:26 AM
2k
0
100
Article
Structured Logging in .NET: Why You Should Avoid String Interpolation
1y
Published Aug 13, 2025, 4:46 AM
2k
0
100
Article
C# Tip: Use Stack<T>, Not List<T>
11mo
Published Oct 1, 2025, 12:00 AM
Updated Oct 2, 2025, 3:09 PM
1.8k
0
100
Article
Record, Record Struct, and Structural Equality in C#
9mo
Published Dec 14, 2025, 7:52 PM
Updated Dec 15, 2025, 4:53 AM
1.8k
0
100
Article
How to Write Tests in C# in 5 Steps & TDD Explained
1y
Published Aug 7, 2025, 11:01 AM
1.6k
0
100
Article
.NET 10 Breaking Changes: The New field Keyword
10mo
Published Nov 16, 2025, 6:11 PM
Updated Nov 17, 2025, 7:25 AM
1.6k
0
100
Article
Why not use Dictionaries in Multi-Thread Apps
11mo
Published Oct 6, 2025, 12:00 AM
Updated Oct 6, 2025, 11:06 AM
1.6k
0
100
Article
Abstract vs Virtual in C#
7mo
Published Jan 26, 2026, 2:22 PM
Updated Jan 27, 2026, 4:06 AM
1.6k
0
100
Article
Using Cache in C# with Concurrency
7mo
Published Jan 20, 2026, 8:41 PM
Updated Jan 21, 2026, 4:38 AM
1.5k
0
100
Article
Stop Looping: Use Dictionary<Guid, T> for Fast Entity Access in .NET
1y
Published Aug 5, 2025, 6:23 AM
1.4k
0
100
Article
What you need to know about Extension Members in C#
10mo
Published Nov 9, 2025, 9:57 AM
Updated Nov 10, 2025, 7:48 AM
1.4k
0
100
Article
Null Conditional Assignment in C#
10mo
Published Nov 15, 2025, 7:21 PM
Updated Nov 17, 2025, 7:15 AM
1.2k
0
100
Article
Understanding Any() vs Count()
10mo
Published Nov 16, 2025, 6:47 PM
Updated Nov 17, 2025, 10:39 AM
1.1k
0
100
Article
Cache, Local Storage, and Modern Caching Techniques
7mo
Published Jan 19, 2026, 1:17 PM
Updated Jan 20, 2026, 4:33 AM
1.1k
0
100
Article
Binary Search From Basics
10mo
Published Oct 28, 2025, 9:00 AM
Updated Oct 31, 2025, 5:52 AM
1k
0
100
Article
Understand SOLID Design Principles in 5 Minutes
7mo
Published Jan 19, 2026, 12:15 PM
Updated Jan 20, 2026, 4:32 AM
986
0
100
Article
Beginner's Guide: Authentication & Authorization in Modern Applications
5mo
Published Mar 27, 2026, 6:25 AM
Updated Mar 31, 2026, 9:54 AM
916
0
100
Article
Load Balancer vs Reverse Proxy vs API Gateway
1mo
Published Aug 6, 2026, 9:25 AM
Updated Aug 7, 2026, 11:54 AM
444
0
100
Article
Adding Parameters to C# Methods Without Breaking Existing Code
1mo
Published Aug 10, 2026, 3:46 PM
Updated Aug 12, 2026, 6:13 AM
363
1
100
Article
CSP Nonces vs Hashes: Lessons I Learned Securing an ASP.NET Core Application
1mo
Published Aug 4, 2026, 10:29 PM
Updated Aug 10, 2026, 11:25 AM
319
1
100
Article
gRPC vs REST
21d
Published Aug 23, 2026, 11:35 AM
Updated Aug 24, 2026, 11:43 AM
315
0
100
Article
Content Security Policy in ASP.NET Core
1mo
Published Aug 3, 2026, 9:24 PM
Updated Aug 5, 2026, 11:17 AM
308
1
100
Article
How to Build a gRPC Service in .NET from Scratch
18d
Published Aug 25, 2026, 4:07 PM
Updated Aug 27, 2026, 4:11 AM
278
1
100
Article
Why Every Website Needs a Content Security Policy (CSP)
1mo
Published Aug 2, 2026, 7:54 PM
Updated Aug 5, 2026, 9:56 AM
274
0
100
Article
The Silent Performance Killer: Understanding the N+1 Query Problem in EF Core
26d
Published Aug 18, 2026, 8:20 AM
Updated Aug 19, 2026, 8:59 AM
270
1
100
Article
Azure App Service vs Azure Functions: When should you choose each?
28d
Published Aug 16, 2026, 10:57 PM
Updated Aug 17, 2026, 12:12 PM
237
0
100
Article
Decorator vs Proxy Design Pattern : What’s the Difference?
27d
Published Aug 16, 2026, 8:59 PM
Updated Aug 18, 2026, 5:16 AM
235
1
100
Article