Const
Constant field không thể sửa đổi. Phải gán giá trị tại khai báo.
const int a = 5;
Static
Static modifier trên class -> không thể instantiate bằng new. Dùng trên method, property, class, constructor...
static int a = 10;
Readonly
Readonly field khởi tạo tại khai báo HOẶC trong constructor.
Ví dụ readonly trong constructor
class Demo {
readonly int a;
public Demo() { a = 5; }
}