5 Replies
You have something like this
This is invalid because
Direction
has a lower accessibility (internal) than Direction
(public)
The order of accessibility is
private
< protected
< internal
< public
You can't have public properties have a greater accessibility than its typeOh so internal makes it less accessible?
yep
internal means 'can only be seen within the current assembly'
where assembly roughly equates to projects
Ohh thanks for teaching me.