VS2010 Box Selection with Copy and Paste






4.29/5 (6 votes)
A Cooler one for me is the multi-lines simultaneous typingwith which you can accomplish the above task in the following fewer steps1- In the method where you wish to build the list, paste the list of names2- Because compiler will not understand these lines, it will not be correctly...
A Cooler one for me is the multi-lines simultaneous typing
with which you can accomplish the above task in the following fewer steps
1- In the method where you wish to build the list, paste the list of names
2- Because compiler will not understand these lines, it will not be correctly indented, so indent them manually
3- Create a vertical zero-char width box selection before the names
4- Start typing sb.Appen..... (it will be written 20 times :) )
StringBuilder sb = new StringBuilder(): sb.AppendLine("Peter sb.AppendLine("Paul sb.AppendLine("Mary sb.AppendLine("Susan sb.AppendLine("Joe5- Repeat step 3 at the end of the names to close the methods and add semicolons