LotInfo
is an internal
class, rather than public
, because you've not specified any modifier for it.
But then you construct a type Dictionary<int, LotInfo>
and try to expose it via a public
field (dicLotDatabase
) on a public
type (LotInfoDatabase
). Making LotInfo
public
would be one way to fix this problem, but I'm not sure if it's what you want to do.