I wrote this how-to blog post for myself to sort out how to get code coverage for C# in Azure DevOps' build pipelines. There are many blog posts about this but this one guides how to get reports even if there are many unit test projects in Visual Studio solution.
Constant or static readonly?
SonarQube has two rules about constant and static readonly:
- Public constant members should not be used and
- Static readonly constants should be const instead.
I wrote this blog post to learn these rules and their difference. Now I know when to use const and when to use static readonly.
C#: Difference of Properties and Fields
I didn't clearly understand what is field and property in C#. So I decided to write this blog post to finally learn what is field and what is property and how I should use them.
Advent of Code 2017
Advent of Code is an online advent calendar where you will get two programming puzzle each day. Really good for learning new programming language and I recommend it to every developer. I wrote about my experience with it.