4 ms·
C# will not context switch until you yield execution with an await. There is some default continuation setup that will happen if you use the Task Parallel Libr
by jayd16 5y ago
C# will not context switch until you yield execution with an await. There is some default continuation setup that will happen if you use the Task Parallel Library (where the context management is explicit but abstracted away inside the library) but that's a different thing.