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 -

How to get the ip address of VM and use it to configure SSH connection dynamically in Ansible -

javascript - Get parameter of GET request -