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.
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.