Skip to content

Dmitrii's Blog

Programmer in Canada

Month: August 2019

Posted on August 19, 2019

C#: Even implicit conversions of types are not safe

Recently, I ran into an issue involving implicit type conversion. Before this case, I expected that compiler took care of any implicit conversions it allowed. Apparently, it is not true.

Continue reading “C#: Even implicit conversions of types are not safe”
Posted on August 16, 2019

C#: What ‘null’ looks like in computer memory?

When you set a reference type to ‘null’ like this:

string str = null;

it means that it’s undefined. It’s not a zero or empty. It’s nothing. I wonder what nothing looks like inside of computer memory.

Continue reading “C#: What ‘null’ looks like in computer memory?”
Posted on August 15, 2019

Blockly: commenting blocks

I f you need to comment your blocks try this:

Conclusion:

It would be nice to have a special Comment block but this way it works for me too.

Recent Posts

  • Apache Arrow is blazingly fast
  • Let’s make code SOLID: Conway’s Game of Life
  • LeetCode: Divide Two Integers (Solution)
  • LeetCode: Video Stitching (Solution)
  • LeetCode: Longest Substring Without Repeating Characters (Solution)

Recent Comments

No comments to show.

Archives

  • May 2024
  • January 2021
  • October 2020
  • September 2020
  • August 2020
  • February 2020
  • August 2019
  • May 2019
  • December 2018
  • November 2018

Categories

  • Software Development
  • Uncategorized
Proudly powered by WordPress