Tag Archives: for

Reverse for

When one writes a for loop for ascending order it will probably be like this: for (int i = 0; i < count; i++) But what if you want to do it in reversed order? The first option would be: … Continue reading

Posted in C# | Tagged , , , | Leave a comment

Useful batch commands in pre-build and post-build steps of Visual Studio projects

I found that these two small commands are often very helpful when you write pre-build or post-build steps for your Visual Studio projects: for /d %%f in (“path\*”) do … xcopy /y “path\*.*” “anotherpath\” And of course, their power comes when … Continue reading

Posted in Development | Tagged , , , , | Leave a comment