VS.Net return type auto completion

From Tutorials

Jump to: navigation, search

Do you ever find yourself typing away in some program and come across some method that returns some crazy thing that you would rather not type ? Something like this below …

Image:returntypeautogeneration1.jpg

Instead of trying to remember that bit of craziness and typing it in so you can create a new one… instead pretend like you are assigning a new one to the method itself and really confuse VS.NET into being useful..um like this..

Image:returntypeautogeneration2.jpg

All you are left to do now is type the ending () to auto complete it, and swap your stuff around the = sign.

I’m using VS 2008, not sure if older versions do the same thing.

Personal tools