First time with this error - Inconsistent accessibility

后端 未结 3 1182
广开言路
广开言路 2021-01-20 15:11

This is my first time working with interfaces and proper namespace structure. When I compile I get the error below, I have no idea what it means. Any searches I do shows up

3条回答
  •  臣服心动
    2021-01-20 15:41

    IOperatorRequest is internal which is less accessible than public.

    Top-level types, which are not nested in other types, can only have internal or public accessibility. The default accessibility for these types is internal.

    from MSDN

提交回复
热议问题