CAN u Please Provide me any code optimization Techniques in C#
Can Anyone Plese Provide me Code Optimization Techniques from which i can learn them like any links or books or anuthing that may be useful
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Mamta MRank #268 · 9.4K reputationPosted Feb 16, 2012, 7:36 PM EST
http://www.amazon.com/Clean-Code-Handbook-Software-Craftsmanship/dp/0132350882
http://www.amazon.com/Refactoring-Improving-Design-Existing-Code/dp/0201485672/ref=pd_sim_b_4
http://www.amazon.com/Code-Complete-Practical-Handbook-Construction/dp/0735619670/ref=pd_sim_b_1
http://www.garshol.priv.no/blog/105.html
http://www.google.co.in/url?sa=t&rct=j&q=optimization%20of%20code&source=web&cd=2&sqi=2&ved=0CC4QFjAB&url=http%3A%2F%2Fdragonbook.stanford.edu%2Flecture-notes%2FStanford-CS143%2F20-Optimization.pdf&ei=COc9T6GBMerhmAWJg_zQBw&usg=AFQjCNHZPIfHrENxAzjuLhMXuVEFoMH5Rg&cad=rja
Suthish NairRank #92 · 22.8K reputationPosted Feb 19, 2012, 7:42 AM EST
SenthilkumarRank #387 · 6.5K reputationPosted Feb 28, 2012, 4:13 AM EST
2) use the break when ever it meets criteria...
3) Do not use the more objects. it will take more space
4) Do not use the try catch in hirarchy.. use in lower boundary level
5) use caching techniques
6) Try to use the data reader rather than dataset
7) try to avoid unnecessary roundstrips
8) use the javascript for validation and Ajax for improve the performance
9) Do not use more session variables
10) Try to do some business logics in the stored procedure
11) Do not store more values in the view state
12) Try to use the custom paging and load the pagination data on demand
13) Try to delete the multiple records in single request
14) Use the css layout rather than table layout. It will render fastly
15) Do not use more images in the web pages