This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # dotNetDave's (David McCarter) Editor Config - dotNetTips.com | |
| # Updates to this file are posted quarterly at: https://bit.ly/EditorConfig5 | |
| # Updated February 14, 2024 | |
| # dotNetDave's NEW coding standards book is available at: https://bit.ly/CodingStandards8 | |
| # Rockin' the Code World with dotNetDave (weekly live show): https://bit.ly/RockinCodeWorldShows | |
| root = true | |
| # All Files | |
| [*] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Stephen Toub Deep Dive on Async/Await | |
| // https://www.youtube.com/watch?v=R-z2Hv-7nxk | |
| using System.Collections.Concurrent; | |
| using System.Runtime.CompilerServices; | |
| using System.Runtime.ExceptionServices; | |
| // ------------------------------------------------------------ | |
| AsyncLocal<int> myValue = new(); | |
| List<MyTask> tasks = new(); | |
| for (int i = 0; i < 100; i++) |