In this video we look at the Func, Action and Predicate built-in generic delegates. We work through a few basic code examples using the Func, Action and Predicate generic delegates for better understanding. An example of using a predicate as an argument to an extension method is also demonstrated. We also demonstrate how an extension method provided in the System.Linq namespace can accept a predicate argument and use it to filter a generic list.
Links
--------
If you’d like to make a donation to help support the channel, please click the link below,
https://www.paypal.com/paypalme/GavinLon
Full playlist - C# for Beginners Course
https://www.youtube.com/watch?v=2pquQMSYk6c&list=PL4LFuHwItvKbneXxSutjeyz6i1w32K6di
Full playlist - Advanced C# Course
https://www.youtube.com/watch?v=3cfVmcAkR2w&list=PL4LFuHwItvKaOi-bN1E2WUVyZbuRhVokL
Delegates (Part 3) - Covariance and Contravariance
https://youtu.be/ZfNZdYa3S9Q
LINQ
--------
https://docs.microsoft.com/en-us/dotnet/csharp/programming-guide/concepts/linq/
GitHub
-----------
https://github.com/GavinLonDigital/FuncActionPredicateExamples
All music and visual effects were created by Gavin Lon