440+ posts on Azure, C#, Entity Framework, .NET, Software Engineering and Visual Studio
Move blocks of code in Visual Studio without cut and paste
In Visual Studio often when we are moving code blocks around within the same code file we just cut them and paste them back wherever we want them but FYI we can also move a block by selecting it, holding the ALT key and using the up and down arrows…
Invert if refactor available in Visual Studio When writing code try and form your if conditionals in positive language as developers find it easier to think about … Continue reading Invert if refactor available in Visual Studio...
Use Visual Studio Code keyboard shortcuts in Visual Studio If you use both Visual Studio Code and Visual Studio and don’t want to have to remember two different keyboard … Continue reading Use Visual Studio Code keyboard shortcuts in...
Surround lines of code with code snippets in Visual Studio ‘Surround With…’ snippets can be a useful time saver in Visual Studio. They allow us to surround the highlighted code … Continue reading Surround lines of code with code snippets...