It happens all the time. You’re working in Visual Studio, and you need to work with an object that is in a namespace you haven’t declared yet. For example, you need to create a WebRequest in the System.Net namespace.
You have a few choices, some easy and some hard: You could add a using or import statement at the top of the class file as in “using System.NET”. You could fully qualify the object as in “System.Net.WebRequest”. You could try to click that tiny, tiny little red rectangle that will open the Smart Tag. You could type “CTRL + SHIFT + F10”. Or you could take the easy road and simply enter “Ctrl + .”.
“Ctrl + .” Rocks! Try it, you’ll love it!
Feedback:
What is your favorite Visual Studio 2008 tip or trick? Tell us all about it in the comments section. I’m keeping score: Me 2 / Readers 0.
PowerPoint: 31 Days of Visual Studio 2008 Tips & Tricks.pptx (Note: PowerPoint is updated daily to include new items.)
Theme design by Jelle Druyts
Pick a theme: BlogXP BlogXP business calmBlue Candid Blue dasBlog dasblogger DirectionalRedux Discreet Blog Blue Elegante essence Just Html MadsSimple Mobile Mono Movable Radio Blue Movable Radio Heat nautica022 orangeCream Portal Project84 Project84Grass Slate Sound Waves The Right Stuff 2.0 Tricoleur useit.com Voidclass2 BlogXP BlogXP business calmBlue Candid Blue dasBlog dasblogger DirectionalRedux Discreet Blog Blue Elegante essence Just Html MadsSimple Mobile Mono Movable Radio Blue Movable Radio Heat nautica022 orangeCream Portal Project84 Project84Grass Slate Sound Waves The Right Stuff 2.0 Tricoleur useit.com Voidclass2
Powered by: newtelligence dasBlog 2.0.7226.0
The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.
© Copyright 2008, Chris Craft
E-mail