Skip to content

Instantly share code, notes, and snippets.

View carlos-regis's full-sized avatar
🎯
Focusing

Carlos Regis carlos-regis

🎯
Focusing
View GitHub Profile
@carlos-regis
carlos-regis / .editorConfig
Created April 11, 2024 13:36 — forked from RealDotNetDave/.editorConfig
.editorConfig by David (dotNetDave) McCarter - dotNetTips.com
# 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
[*]
// 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++)