Programming Optimization and Performance

Tips, tricks, techniques for C# optimization and performance

Program optimization@wikipedia - first learn its description :)
C# Optimizations@dotnetperls
Optimization Misnomer@dotnetperls
Hidden Features of C#@stackoverflow
How to Write High-Performance C# Code
Code performance analysis in Visual Studio 2008 
Improving .NET Application Performance and Scalability@Microsoft (book, you can download) 
Writing High-Performance Managed Applications : A Primer@MSDN
Design for Performance vs. Tune for performance@MSDN
Writing Faster Managed Code: Know What Things Cost@MSDN
Performance Tips and Tricks in .NET Applications@MSDN
Best Practise for Improving .NET Application Performance and Scalability
Optimize Your Program Performance@wikihow 
http://stackoverflow.com/a/927773 - how a performance tuning can be done
http://stackoverflow.com/a/2473829
Performance@MSDN
Code optimization tutorial@CodeProject Part I - Part II - Part III 


You can use some profiling tools.

BONUS
Grace Hopper To Programmers: Mind Your NanoSeconds 

"The First Rule of Program Optimization: Don't do it. The Second Rule of Program Optimization (for experts only!): Don't do it yet." (Michael A. Jackson




Check out these links. There are good tips.

http://www.codeguru.com/csharp/.net/net_general/performance/article.php/c15879/C-Tips-and-Tricks.htm
http://www.codeguru.com/csharp/article.php/c17967/10-C-Programming-and-Microsoft-Visual-Studio-Tips-and-Tricks.htm
http://www.codeguru.com/csharp/article.php/c17911/7-Common-Mistakes-Made-By-C-Programmers.htm
http://www.codeguru.com/csharp/article.php/c18111/10-More-C-Programming-and-Microsoft-Visual-Studio-Tips-and-Tricks.htm
http://tipsandtricks.runicsoft.com/index.html
http://www.csharpcity.com/optimization-101/
Software Engineering Tips
http://blogs.msdn.com/b/ricom/
http://ivision.wordpress.com/2010/06/08/code-optimization-smart-coding-i/
http://forum.team-mediaportal.com/threads/some-simple-coding-techniques-to-push-c-as-fast-as-possible.937/ 
http://www.techgalaxy.net/Docs/Dev/5ways.htm
codebetter
http://www.jaftalks.com/Home/Show/Code%20optimization%20remarks
http://csharpcomputing.com/Tutorials/Lesson23.htm
http://geekswithblogs.net/BlackRabbitCoder/archive/2010/08/26/c.net-five-little-wonders-that-make-code-better-1-of.aspx
http://www.vcskicks.com/optimize_csharp_code.php
http://jroller.com/rolsen/date/20060419


Happy coding...

m ant / Mechanical Ant