Hendrik Bulens All about .NET development

Tagreadonly

Difference between readonly and const in C#

D

Recently I was asked what the difference was between readonly and const in C#, and I couldn’t really tell the exact difference. There are several good articles about this, like this StackOverflow article. In this article, I’ll stick to the very basics.

Hendrik Bulens All about .NET development