best practices for code bits - performance

  • Thread starter Thread starter Picho
  • Start date Start date
P

Picho

Hi guys,

does any of you know of a resource that binds up all the little things we
should favour in terms of performance in c#?

for example...

building a string,
itterating (foreach vs. for)
etc

thanx,

Picho
 
I don't know of any single convenient source that collects all tips,
but you should read Rico Mariani's blog: http://blogs.msdn.com/ricom/

He's the .NET performance guy among the Microsoft bloggers and has
many good tips. Be aware that he doesn't consider good coding
practices in his blog -- you'll have to weigh such decisions yourself!

One paper available from Microsoft covering the same ground is
"Improving .NET Application Performance and Scalability" at
http://msdn.microsoft.com/library/en-us/dnpag/html/scalenet.asp
but they don't go into all the details as Rico Mariani does.
 
Back
Top