+ 2
Your Console.WriteLine is inside the foreach loop. It should be outside the loop.
11th Jun 2022, 2:46 AM
Paul K Sadler
Paul K Sadler - avatar
+ 4
What are you struggling with? and what was the task instruction? Prefer to add link to your code bit than raw text, it's easier to check, and line number referencing is supported (for pointing out problem location). https://www.sololearn.com/post/75089/?ref=app
11th Jun 2022, 2:32 AM
Ipang