Remix.run Logo
EVa5I7bHFq9mnYK 2 days ago

That could be shortened to

names.ForEach(name=>Console.WriteLine($"Hello, {name}! Enjoy your C#"));