#fix
https://proglib.io/w/c8e37e70
What changed in .net 5 that makes it not throw when changing dictionary values in foreachhttps://proglib.io/w/c8e37e70
Stack Overflow
What changed in .net 5 that makes it not throw when changing dictionary values in foreach
In .NET<5 and .NET Core 3.1 the following code
var d = new Dictionary<string, int> { { "a", 0 }, { "b", 0 }, { "c", 0 } };
foreach (var k in d.Keys)
{
d[k...
var d = new Dictionary<string, int> { { "a", 0 }, { "b", 0 }, { "c", 0 } };
foreach (var k in d.Keys)
{
d[k...
#fix
https://proglib.io/w/8bbbb82e
Difference in lambda expressions between full .NET framework and .NET Corehttps://proglib.io/w/8bbbb82e
Stack Overflow
Difference in lambda expressions between full .NET framework and .NET Core
Is there a difference in the declaration of lambda expressions between the .NET Framework and .NET Core?
The following expressions compiles in .NET Core:
var lastShift = timeline.Appointments
...
The following expressions compiles in .NET Core:
var lastShift = timeline.Appointments
...