Akash,
I think that you need to revise a good number of these optimizations. A
good number of them are either incomplete, are targeted for very specific
situations, or are outright wrong. A good number of them can also be
considered "premature" optimizations.
For example:
Instead of For.Each construct within the iteration you must use Normal For
Loop Construct as For . Each creates an overhead.
Yes, it does, but have you measured how much of an overhead it creates?
It's minimal, at best, and provides a MUCH better way of iterating through
resources, as well as establishes a well-known interface which is now used
everywhere. It's an optimization that I could never recommend in good
conscience.
I would do a lot of work revising these.
--
- Nicholas Paldino [.NET/C# MVP]
-
mv*@spam.guard.caspershouse.com
"softwareakash" <so***********@gmail.comwrote in message
news:11**********************@75g2000cwc.googlegro ups.com...
Hi All
Some tips for optimizing your .Net Code.
You can add more by leaving comments
http://dotnetforum.blogspot.com
or
http://www.dotnetforum.blogspot.com
Regards
Akash