Topic / 29 pieces

C# videos

The language itself. Pattern matching, nullable reference types, records, and the features people skip because the old way still compiles.

C# videos

Newest first. No clever sorting hiding the good stuff.

Video / csharp

The Secret to Mastering Queue, Stack and Dictionary in C#!

EF Core soft deletes can be implemented with a nullable deletion timestamp, a save-changes interceptor, and global query filters.

13:3013,762 views525 likes
Video / csharp

Async Void in C#: The Trap Card You Keep Playing

The C# `init` accessor supports object initializers while preventing properties from being changed after initialization.

8:175,469 views281 likes
Short / csharp

How Pattern Matching Saves Your Day!

ASP.NET Core exception handling progresses from built-in middleware and custom middleware to modular .NET 8 `IExceptionHandler` implementations registered in priority order.

0:314,516 views57 likes
Video / csharp

Easy LINQ Tips Every Developer Should Know!

Practical LINQ techniques improve performance and readability by avoiding repeated work, unnecessary allocations, unstable pagination, and accidental client-side processing.

13:4913,108 views631 likes
Short / csharp

C# '== null': There's a Better Way!

The Peacock extension color-codes VS Code workspaces to distinguish projects, Live Share sessions, containers, WSL, and remote environments.

1:032,882 views109 likes
Short / csharp

Can One Letter Break Your App!?

Parameterizing Entity Framework queries can let EF reuse a compiled query shape and help the database reuse its query plan.

0:354,758 views71 likes
Video / csharp

Stop Using == null: The Safer C# Pattern You Need Today!

C# inequality operators and `is not` pattern matching behave differently around constants, boxing, type checks, nulls, and overloaded operators.

11:4115,588 views580 likes
Short / csharp

ToLower is Killing your App Performance!

`Task.Wait` blocks its thread, while `await` releases that thread for other work until the operation completes.

0:431,853 views54 likes
Video / csharp

Stop Using ToLower() for Comparisons! The Fast, Correct Way in C#

14:2649,880 views1,802 likes
Video / csharp

Supercharge Your WinForms Projects with .NET 9 Roslyn Analyzers

3:541,111 views31 likesYouTube
Short / csharp

Value Types in C#

Using `var` can reduce repetition and simplify refactoring, but descriptive names and team-wide consistency matter more than personal preference.

0:541,414 views75 likes
Short / csharp

Reference Types in C#

C# reference types hold references to objects, so two variables can point to the same instance and observe the same changes.

1:001,170 views52 likes
Video / csharp

The Best C# Collections Explained

C# 12 expands aliases to tuples, pointers, arrays, and most other types, helping shorten repeated or complex declarations.

4:2215,899 views757 likes
Video / csharp

C#: Class, Struct or Record - Which Should You Choose?

Classes, structs, records, and record structs are compared through reference versus value semantics, equality, mutability, and practical selection criteria.

7:5363,553 views2,756 likes
Short / csharp

String or string in C#?

C# `string` is an alias for `System.String`, making the choice primarily a matter of style and team consistency.

0:552,147 views102 likes
Video / csharp

Should You be Using the var Keyword in C#?

Choosing among `IEnumerable`, `ICollection`, `IList`, and `IQueryable` depends on whether data needs iteration, mutation, positional access, or remote query processing.

2:581,661 views77 likes
Video / csharp

What is the Record Type in C#?

Returning `Task` instead of `async void` keeps asynchronous work observable, testable, awaitable, and able to propagate exceptions correctly.

4:2414,788 views546 likes
Video / csharp

Stop Using the var Keyword!

Explicit C# types can reduce the mental effort of understanding inferred variables, while target-typed constructor syntax offers a concise compromise.

2:426,443 views223 likes
Short / csharp

Stack vs. Heap in .NET

Git stash temporarily saves uncommitted changes, restores a clean working directory, and lets you reapply selected work later.

1:003,338 views147 likes
Video / csharp

Should LINQ Be Banned from C#!?

Microsoft's AI Smart Components add clipboard-driven form filling, suggested combo-box options, and sentence autocomplete to .NET web interfaces.

3:201,520 views64 likes
Short / csharp

Immutability in .NET just got a LOT easier

C# records provide value-based equality, concise declarations, useful printing, deconstruction, and immutable copying, while record structs offer value-type behavior.

0:56959 views41 likes
Video / csharp

You Should Probably Stop Using Task.Wait in C#

EF Core's `AsSplitQuery` avoids Cartesian explosion by loading sibling relationships with separate SQL queries and combining the results.

2:122,339 views64 likes
Video / csharp

Should you await Inside Your C# Loops?

EF Core lazy loading can silently create N+1 database queries, while eager loading or targeted projections can retrieve data more efficiently.

3:283,868 views181 likes
Short / csharp

How to Create a Custom HttpClient Logger (2024)

A custom `IHttpClientLogger` can replace verbose default HTTP client logs with focused request, response, and failure information.

1:29829 views27 likes
Video / csharp

Are People Wrong About .NET?

Common startup objections to .NET are challenged through its cross-platform support, open-source ecosystem, deployment flexibility, performance, and modern tooling.

2:571,340 views61 likes
Short / csharp

How has .NET not had this before!?

C# collection expressions simplify array and list creation, add spread syntax, and can support custom collection types through a builder attribute.

1:00459 views9 likes
Short / csharp

Better C# Anonymous Functions & Lambdas

A playful Blazor movie-trailer riff contrasts .NET web development with MVC, postbacks, state, JavaScript, and jQuery.

0:42478 views13 likes
Short / csharp

Alias Any Type in C# 12

C# pattern matching with `is null` and `is not null` avoids misleading results from overloaded equality operators.

1:56809 views30 likes
Video / csharp

C# Has New Primary Constructors

CodeSnap creates customizable, theme-aware screenshots of selected code directly inside VS Code.

2:52777 views34 likes
Browse every topic