What is the C++ equivalent of C#’s readonly field modifier? [duplicate] December 1, 2023 by Tarik That would be const. Note that this keyword means a couple of different things in different contexts.