phaseshift
Why is the struct allowed but the class isn't?
you can either let null be a valid state for it (not suggested) by changing the type to
BitBoard?
, or you can init it inline,
BitBoard _bitboard = new();
, or you can do similar in a constructor42 replies