Well, maybe not a totally ‘no’ NullReferenceException, but a whole lot less than now. Well, yeah, I had to catch your attention somehow :P. But anyway, have you heard those rumors about C# 8, how amazing it is going to be and how hard Microsoft is working on the release…? If not, you definitely should read this post! Because the promised changes sound really good and will be a must-to-know quite soon.
So today I wanted to write about one of the “louder” planned features – nullable reference types. Yes, you read it right. And yes, all the reference types we already have in C# are actually… nullable. Yeah, makes no sense, yeah, what a bullsh… No! Wait! Continue Reading
Have you ever wondered why blue screens of death happen so rarely, nowadays? Of course, we can thank Microsoft for this but the way they fixed this problem is not so obvious! According to Marino Posadas (and his book Mastering C# and .Net Framework) back in 2010, Microsoft made an analysis of this topic and they came to the conclusion that the 90% (wow!) of the blue screens were caused by drivers! So, Microsoft made manufacturers to follow the Hardware Compatibility List. That somehow solved most of the problem but what with the rest 10%? Most of them was due to the… Continue Reading
New year, new me… Just kidding, no running or yoga plans, but I decided to have a (temporary) break with ‘C# attributes you should know’ series and start with a brand new one – C# facts that somehow surprised me. For the first article, I will show you how (friendly looking, always helpful, good guy) enum can become an asshole. An asshole who will steal your precious time!
If you have read (hehe, I know you didn’t :P) the very first post on my blog, you would know that I had about one year break in my, let’s say, ‘career’. For my personality it was quite a challenging and surprising time, but for me as a programmer, it was an extremely tough year. I literally had to fight for each hour spent on writing code so I decided to write down some tips that helped my knowledge and skills (somehow) survive.
And if you think that it doesn’t concern you, just think of a situation when you break an arm or lose your job and couldn’t find another one for longer than 5 minutes (haha, hehe, yeah, that joke is stupid, but I had to write it 😉 ) or decide to stay at home with your newborn. I was in the last situation. Continue Reading