E
Elementary Penguin
is there a way to decrement a foreach loop?
for example
string s = "cat";
foreach(char c in s)
//some how it goes backward here
Console.WriteLine(c);
and so the result would be
t
a
c
for example
string s = "cat";
foreach(char c in s)
//some how it goes backward here
Console.WriteLine(c);
and so the result would be
t
a
c