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

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

javascript - Get parameter of GET request -

javascript - Twitter Bootstrap - how to add some more margin between tooltip popup and element -