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 -

r - Update two sets of radiobuttons reactively - shiny -

ios - Realm over CoreData should I use NSFetchedResultController or a Dictionary? -