Quick actions improvements for code refactoring

You might already know about the quick actions. This is a tiny light bulb or a screwdriver icon that pops up on the left-hand side of the Visual Studio IDE, which allows you to apply quick actions so that you can refactor and optimize your code by displaying some suggestions. With Visual Studio 2019, Microsoft has improved it by adding more suggestions for code refactoring.

When you see a light bulb on the current line, click on the bulb or just press Ctrl + . (dot) to see the list of suggestions. Select the one that you would like to apply to the current code block.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.216.251.37