Loop over the names in the array in C#

c# loop array
Apr 22, 202305:15 PM255 views
0

Problem

What are the different ways to loop over the array of names below? ```csharp internal class Program { private static void Main(string[] args) { string[] names = { "john", "jack", "mary", "mandy" }; } } ```
Menu