hello programmers!
please sommeone can helpe me to fix this issue
this is My source code :
namespace test
{
Class A
{
private String x;
............
}
Class B
{
private A teste;
public A getTest
{
get{return teste;}
}
}
}
I’m not able to run the program due to the error message of inconsistency.
this is the error message
Inconsistent accessibility: property type ‘Test.A’ is less accessible than property ‘Test.B.getTest’