A few days ago I saw a clip of PDC 2008 about MVC .Net which is great concept. It was performed by Phil Haack. In this video Phil shows a trick of Visual studio which is very useful.
Most of the time during application development you want use a class which its name space has not been included. Guess what should you do? Oh yes ! You should type name space completely or leave current line and go to top of class adding appropriate "using" statement get back to your line of code. Surprisingly there is a trick in visual studio 2008 (I tested in visual studio 2008). If reference of class included in project you can Type class name completely at the same time a tooltip bar will be appeared under your class name. At the same time press Ctrl+. (dot). A menu will be appeared which offers you two options. First option will add using statement at the top of code class file. Second option will insert full class name including name space.
!(https://5thrqg.bay.livefilestore.com/y1p0snTWe1Jg0ugeUDe89nhOn2YbMiAlN6FcMjO__gEFz_q1Mo0rDlMufKV5eAlHEz5RVV1wSEobfvnPOlDhber45OImXQZvGu-/CtrlDot.jpg?psid=1) ![kick it on DotNetKicks.com](https://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fahmadreza.com%2fgf%2fblog%2fvisual-studio-trick-adding-namespace%2f)