Skip to content
Happy Programming Guide
Start learning

C#

C# fundamentals in plain English — types, collections, LINQ and the language features that make everyday code shorter.

26 guides

C#

C# Reflection and Attributes

Reading type information at run time, writing custom attributes, and the performance cost — plus source generators as the modern alternative.

5 min read

C#

C# and ASP.NET Core

Building web applications and APIs with ASP.NET Core: minimal APIs, controllers, dependency injection, middleware, validation and configuration.

5 min read

C#

C# Security

The security work that matters in .NET applications: SQL injection, XSS, secrets, authentication, deserialization, randomness and dependency scanning.

5 min read

C#

C# Collections

List, Dictionary, HashSet, Queue and the read-only interfaces — which to choose, how they perform, and the mistakes that cause exceptions.

5 min read

C#

C# and Databases

Talking to a database from C#: ADO.NET, Dapper and Entity Framework Core compared, with parameterised queries, migrations and the N+1 trap.

5 min read

C#

C# and Unity Game Development

How C# works inside Unity: MonoBehaviour, the lifecycle methods, Update versus FixedUpdate, prefabs, and the performance mistakes beginners make.

5 min read

C#

CORS Not Working in ASP.NET Core

The policy is defined and the browser still blocks the request. Middleware order, the policy that was never applied, credentials with a…

4 min read

C#

Asynchronous Programming with C#

What async and await actually do, why .Result deadlocks, how to run work concurrently with Task.WhenAll, and cancellation done properly.

5 min read

C#

C# Performance Optimization

Profiling before guessing, then the fixes that pay: allocations, LINQ in hot paths, string building, Span, async correctness and database queries.

5 min read

C#

Introduction to C#

What C# is, what .NET provides, where the language is used, and your first program — plus how it compares with Java,…

4 min read

Keep going — pick your next guide

The fastest way to improve is to read one guide, then build the thing it describes. Start with the basics, or jump straight to a project.