C#, Tech

Enumerable.Empty<T>() vs new IEnumerable<T>() – what’s better?

Reading Microsoft documentation when we have all that stackoverflow questions with answers usually seems a waste of time. And as a typical, lazy programmer I admit that (much too often) I agree with that sentence 😉. But today I decided to check how Enumerable.Empty<T>() works and wasn’t satisfied with the knowledge I got. I started digging a little bit deeper and wasted some of the precious beauty-sleep time  so if you want to know what’s happening when you add an element to an empty collection, let me tell you a story of today’s night.
No, not that story, you sick head! Continue Reading

Tech

How to change language in Visual Studio 2019 (after installation)

I installed Visual Studio 2019 RC recently and accidantely forgot to select English as default language. Of course, I realized that mistake after installation and I had to spend way too much time on finding the solution for this problem (yeah, that’s weird, I know). So, I decided to write a short tutorial how to do it. I’m 100% sure, the future me will thank myself for this :D.

Continue Reading