I have namespace with enums:
namespace Search
{
enum SearchConditionType
{
Like = 0,
EqualNotString = 1,
EqualString = 2
};
}
Then I try to declare enum:
namespace Search
{
public partial class Controls_SelectYesNo : System.Web.UI.UserControl
{
public SearchConditionType Field;
...
And got an error:
The type or namespace name '' could not be found (are you missing a using directive or an assembly reference?)
What is wrong?