readonly只能在初始化的时候被赋值,在一户的使用过程中值不会被改变。
例如:
private readonly DataBaseTestContext _context;
这个值在以后的使用过程中不会被改变。