Answers for "how to loop array of objects in c#"

C#
1

C# loop through array of objet

List<string> names = new List<string>() { "Suresh Dasari", "Rohini Alavala", "Trishika Dasari" };

            foreach (string name in names)

            {

                Console.WriteLine(name);

            }
Posted by: Guest on June-12-2020

Code answers related to "how to loop array of objects in c#"

C# Answers by Framework

Browse Popular Code Answers by Language