W
win_cpp
Hello,
I was wondering if there is something equivalent to 'Repeat' pattern
in C# where I can say,
Repeat(10) myobj.SayHi();
The expansion of this being,
for (int i = 0; i < 10; ++i)
{
myObj.SayHi();
}
This is like a counted loop in assembly programming ...
Thanks,
WinCPP
I was wondering if there is something equivalent to 'Repeat' pattern
in C# where I can say,
Repeat(10) myobj.SayHi();
The expansion of this being,
for (int i = 0; i < 10; ++i)
{
myObj.SayHi();
}
This is like a counted loop in assembly programming ...
Thanks,
WinCPP