If want to use an object but are not certain what namespace it belongs to you can quickly look it up with the following 2 steps:
- Right click on the object in question.
- From the context menu, choose Resolve.
OR
- Click on the object in question
- Ctrl + period to invoke the context menu.
From here, you can choose to either add a using statement of the namespace to the top of your file or to prepend the namespace to the object as seen in the screenshot below:
Thanks,
–Mike







Or you can simply press CTRL+. and it will give you similar option.
Thanks for the shortcut, i’ll update the blog.
In vs2008 i tend to use Shift+Alt+F10. It seems to work pretty well for resolving unknown types, implementing interfaces, etc. I haven’t tried it in vs2010 yet though.
Short-cut Alt+Shift+F10 still working good in VS2010. Feature of Alt+Shift+F10 similar to Ctrl+.