Not necessarily, I mean, at Design-Time their's the debugger attached and possible Debug-Output is slowing down the execution (which get's dumped when you Build it for the release). If you want to test the performance, then the best way would be to just take it to test drive outside the IDE or even within a virtual machine.
I've never much cared about performance of my program until it was needed. There are some rules which you can stick to:
* To concatenate large strings (f.e. within a Loop) use a Stringbuilder (System.Text)
* Always declare variables outside of Loops
* At very large collections use a normal For Loop instead of a For Each (one variable declaration less)
* Try to avoid unnecessary calls and exceptions
Bobby
|