Open matthewcreek opened 3 months ago
Relevant Link
Code utilizes a for loop but all answers correspond to a foreach loop syntax.
for
foreach
Suggested change:
char[] chars = {'p', 'l', 'r', 's', 't'}; foreach (<loop-statement>) { Console.WriteLine(i); }
Relevant Link
for
loop but all answers correspond to aforeach
loop syntax.Suggested change: