c# - enum property inconsistent accessibility -


i new @ csharp, , not understand problem.

public abstract class player { protected behaviour fbehaviour; public behaviour fbehaviour { get; set; } 

the error says error 6 inconsistent accessibility: field type ... less accessible field ...

i've tried changing everything, nothing worked.

it means class behavior not public, player , trying expose public.

change behavior public.


Comments

Popular posts from this blog

authentication - Mongodb revoke acccess to connect test database -

How to merge four videos on one screen with ffmpeg -

c - getting error: cannot take the address of an rvalue of type 'int' -