Delegates in C# - A practical demonstration, including Action and Func
Delegates in C# are really powerful, but most people don't know how to use them effectively, if at all. Today I am going to show you what delegates are, how to use them, why they are useful, and really how to take your code to the next level. Along the way, I will cover the special types of delegates named Func and Action. Now if all these new words seem intimidating, don't worry. This topic is actually really simple at its foundation. Yes, you can do some complex things with delegates, but an actual delegate is absolutely simple. Source Code: https://www.iamtimcorey.com/downloads... Patreon: / iamtimcorey Newsletter signup: https://signup.iamtimcorey.com/ 0:00 - Intro 1:28 - Demo application walk-through 7:52 - Explaining and creating a Delegate 18:19 - Func and Action: problems you can solve with delegates 21:37 - Func Delegate: creating and explaining 30:56 - Why to have delegate, if all the work is done elsewhere 34:00 - Action Delegate: creating and explaining 38:07 - Creating anonymous methods: anonymous Delegate 43:08 - Creating anonymous methods: anonymous Func 45:15 - Creating anonymous methods: anonymous Action 49:30 - Using Delegates in other projects: WinForms 58:37 - Using Anonymous Delegates in other projects: WinForms 1:02:15 - Summary

Debugging in C# - Finding and Fixing Problems in Your Application

Handling Exceptions in C# - When to catch them, where to catch them, and how to catch them

Testing GitHub Copilot's Pricing After June 1st
![Learn C# Intermediate FREE Tutorial Course! [2026]](https://i.ytimg.com/vi/I6kx-_KXNz4/hqdefault.jpg?sqp=-oaymwEjCNACELwBSFryq4qpAxUIARUAAAAAGAElAADIQj0AgKJDeAE=&rs=AOn4CLCL3hbruSWx7rkpwdto3rp54zq6UA)
Learn C# Intermediate FREE Tutorial Course! [2026]

lofi hip hop radio 📚 beats to relax/study to

Intro to WebAPI - One of the most powerful project types in C#

Union types in C# | DEM304

What Is Disrupting GPS Over The Whole Of Europe?

Intro to WPF: Learn the basics and best practices of WPF for C#

Interfaces in C# - What they are, how to use them, and why they are so powerful.

Microsoft's Greed is Finally Backfiring

SQL Stored Procedures - What They Are, Best Practices, Security, and More...

Factory Pattern in C# with Dependency Injection

C# Async / Await - Make your app more responsive and faster with asynchronous programming

Design Patterns: Don't Repeat Yourself in C#

C# Events and Delegates Made Simple | Mosh

How Netflix Uses Java - 2026 Edition

C# Events & Delegates

Inheritance vs Interfaces in C#: Object Oriented Programming

