This question is tagged C, C++, and C#: "What's the best way to do a backwards loop in C/C#/C++?"
I think the asker assumed the same syntax would work for all languages. However, no-one has answered with all three languages. We have to scroll to the bottom to find an answer that works in all three languages, and that might be an accident because the answer names no language.
To me, this is a C# question.
- Question text uses C#.
- The accepted answer uses C#.
- The answer posted by the asker uses C#.
I tried to remove C and C++ from the question, but it was rolled back. A user commented: "Removing the C and C++ from the title and the tags, would invalidate half a dozen of legitimate answers."
What should be done about this question? Should it be closed with "Needs more focus", as everyone has failed to fully answer it?
Current answers:
- C#, +182 (accepted answer)
- C#, +61
- C++, +121
- C#, +56
- C++, +12
- C/C++, +2
- C#, 0
- C#, +1
- C#, +4
- C++, +3
- C++, 0
- C++, 0
- C#, +17
- C#, 0
- C#, -5
- C/C++/C#, 0
- C and C#, +3
- C#, -1