public void SetIsDefault(bool value) { if (value) flags = (byte)(flags | IsDefaultBit); else flags = (byte)(flags & ~IsDefaultBit); }