.net 6 foreach uniquement sinon nul
List<string> items = null;
items?.ForEach(item =>
{
// ...
});
Combative Cicada
List<string> items = null;
items?.ForEach(item =>
{
// ...
});