C# static readonly 与 const 的区别

static readonly 与 const 的区别:

const 表达式的值是在编译时形成的;

static readonly 表达式的值直到程序运行时才形成;

原文地址:https://www.cnblogs.com/xiangfeideshui/p/2724260.html