K
Kevin Auch
Hi,
I try to declare a property which is an enum type, but i doesn't works, I
get the following message :
"Inconsistent accessibility: property type 'eType' is less accessible than
property 'Type' "
my code :
enum Days {Sat=1, Sun, Mon, Tue, Wed, Thu, Fri};
private Days pJour;
public Days Jour{
get{
return pJour;
}
set{
pJour = value;
}
Have U got an idea ??
Tx
//----------------------------------------------------------
Kevin Auch
CodeWise Community Member
http://www.dotnet-fr.org
----------------------------------------------------------//
I try to declare a property which is an enum type, but i doesn't works, I
get the following message :
"Inconsistent accessibility: property type 'eType' is less accessible than
property 'Type' "
my code :
enum Days {Sat=1, Sun, Mon, Tue, Wed, Thu, Fri};
private Days pJour;
public Days Jour{
get{
return pJour;
}
set{
pJour = value;
}
Have U got an idea ??
Tx
//----------------------------------------------------------
Kevin Auch
CodeWise Community Member
http://www.dotnet-fr.org
----------------------------------------------------------//