using System;
namespace A
{
enum EnumType
{
a,b,c,d,e
}
public class A
{
double A;
EnumType enumType;
public A()
{
}
public EnumType enumTypes // <---- Error occur ( inconsistent )
{ // if remove public keyword
it's work.
set // what's the problem?
{
enumType = value;
}
}
}
}
}