Ctrl + .” Or “ALT + SHIFT+F10” is one of the very useful shortcut key in Visual Studio. You can use that shortcut key to generate the methods stubs. Like, If you want to create method which will add to number, you can write like AddTwoNumber() and press “Ctrl+.” and Enter to generate the Stub for your methods automatically
The most interesting point it will generate the stubs based on the type of argument we are giving. As shown in below picture for first arguments its generated integer and for second its generated string.
also, this will work for return type as well.
Yes, this tip will surely speed up your coding.
You can use the same key for different purpose as well. Here is one of my blog post, which you may found interesting