RosettaCodeData/Task/Loops-Foreach/C-sharp/loops-foreach.cs
2023-07-01 13:44:08 -04:00

6 lines
118 B
C#

string[] things = {"Apple", "Banana", "Coconut"};
foreach (string thing in things)
{
Console.WriteLine(thing);
}