Tech

Ctrl + E, E – the best Visual Studio shortcut I’ve seen so far!

I can’t be the only person who hates waiting for the code to compile and run… Especially when I want to test only a small part of it! That’s a total waste of time! But good news everyone, I found a way to run a part of my C# code without building the whole project!

Ctrl + E, E – the magical shortcut!

Ok, so if we want to run just the fragment of our code – this is what we do:
1.    Select the fragment of code we want to run. Continue Reading

DSP2017, Tech

Let’s make ‘yield return’ our best friend!

How many programmers you know use ‘yield‘? Seriously, if you have an occasion, ask them – I’m afraid you will notice a strange thing – everybody heard about it but (almost) nobody (including me) uses it. Time to change it! Why? Because ‘yield‘ was introduced in C# 2.0 (yeeeah, it’s that old!) and can help you get rid of some of the ‘temp’ collections in your code and, what’s more important, it may prevent you from System.OutOfMemory exception. Continue Reading

DSP2017, Tech

New MS Windows this November! Some ealy leaks!

Great news everyone! Microsoft announced yesterday that a new Windows will appear in November! Its’ name is gonna be Windows 9.2 (MS like always keeps its products names in check ) and you will be able to install it even on iPhone – that’s a huge surprise, isn’t it? Anyway, I can not wait to check it! And you, are you curious?

BTW this message is not official yet, but I managed to find some early leaks. My source states that you could even access new Windows’s source code – only you will have to pay a 2000$ more that a normal licence. And you will be able to compile it in Visual Studio Code so… I guess ‘compiling the kernel’ will relate no more only to linux systems!

Anyway, Microsoft, you are doing it right!

 

Feature image by Viktor.
DSP2017, Tech

ReSharper – all you need is… some shortcuts! – part 1

ReSharper is a great Visual Studio extension but without the knowledge about its keyboard shortcuts and other tricks, it’s completely useless. That’s why (and because of the fact, every ‘Get Noticed!’ participant has a free version of this software – more info here), I decided to write about the most popular features. Of course, it’s not a full list, but you may find some of the below helpful.

Continue Reading