While working in C#, I got this error that was at first a bit difficult to decipher. I removed some of the actual variable terminology, but the overall error message is below.
Inconsistent accessibility: property type is less accessible than property
All this error message really means is that there is a public method that is illegally exposing a private property. Therefore, an easy fix (but not necessary the right one), is to change private property to public. I say this may not be the right approach because this may leave a security hole in your page and may not be how the page was originally designed.
RSS Feed
Posted in
Tags: 

C# Error Message: “Inconsistent Accessibilityâ€:
public namespace.class var;
Thanks, just what I was looking for
Exactly what I was looking For, Thank you.
What a great concise answer. Thanks a lot, now I may get my assignment handed in on time :D