The memory consumption of the Const fields depends on its use. Constant field values are embedded in IL code at compile time. Without a single reference to the const field, there is no memory. When there are many references to a constant field, memory usage can multiply depending on the part of the code that is currently in memory.
user151323
source
share