Use generic collections such as dictionary. use generic interfaces and generic methods to forget hashtable and arraylist.
Use the built-in generic delegate action and func of the framework to define the new delegate type.
Use LINQ to XML instead of xmldocument and xpathnavigator.
Use Entity Framework (AEF) instead of LINQ to SQL. If it is not an SQL Server database, select an ORM framework.
Use WCF to upgrade WSE, MSMQ, And. Net remoting.
Please familiarize yourself with the classes under system. Threading. task, so that you can increase the programming capability under multithreading to a new level (. NET 4.0 ).
Use manualreseteventslim and readerwriterlockslim as much as possible. Use spinlock instead of monitor in some cases. These will bring better performance and more comfortable use (. NET 4.0 ).
Use Dynamic instead of reflection whenever possible.
Consider the classes in the system. runtime. caching namespace if you want to perform global Cache Management.
Use the razor template instead of the ASPX page and master page, and use MVC.
Please give up the old gridview. The Ajax age has been around for many years. These flashy controls serve as toys for teaching.
If you are still using. net2.0/vs2005, please upgrade it as soon as possible. Even if you cannot reach. net4.0 or use. net3.5, a simple var will make coding feel much better.