.net 6 foreach hanya jika tidak nol
List<string> items = null;
items?.ForEach(item =>
{
// ...
});
Combative Cicada
List<string> items = null;
items?.ForEach(item =>
{
// ...
});