C# Delegates (Part 5 - Asynchronous Callback Methods) - Advanced C# Tutorial (Part 3.5)
This video is the fifth and final part of a video series on delegates. In this video we are looking at how delegates can be used to encapsulate callback methods. In this video we copy sample code from a Microsoft docs web page into a .NET Core Console Project where the 'Dns' built-in class is used to asynchronously look up the IP addresses for user specified domain names like for e.g. 'google.com', 'microsoft.com' and 'yahoo.com'. The built-in 'AsyncCallBack' delegate is used to encapsulate a callback method. Links -------- If you’d like to make a donation to help support the channel, please click the link below, PayPal https://www.paypal.com/paypalme/GavinLon BitCoin 12JZYMiRq5YRDN5R5zuyYt7jMN8eTpkgns 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 Sample Code --------------------- https://docs.microsoft.com/en-us/dotnet/standard/asynchronous-programming-patterns/using-an-asynccallback-delegate-to-end-an-asynchronous-operation?view=netframework-4.8 Learn more about DNS ------------------------------------ https://www.cloudflare.com/learning/dns/what-is-dns/ Learn more about Multi-threading and Thread Safety ----------------------------------------------------------------------------------- https://docs.microsoft.com/en-us/dotnet/standard/threading/managed-threading-best-practices Learn more about Asynchronous Patterns ------------------------------------------------------------------- https://docs.microsoft.com/en-us/dotnet/standard/asynchronous-programming-patterns/?view=netframework-4.8 All music in this video was created by Gavin Lon
Download
0 formatsNo download links available.