我正在尝试构建我的 C# 项目,但出现错误:
The modifier 'abstract' is not valid for this item
在以下界面中:
namespace program.Drawing.Fields
{
using System;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
public interface IFieldHolder
{
abstract event FieldChangedEventHandler FieldChanged;
void AddField(Field field);
Field GetField(FieldType fieldType);
List<Field> GetFields();
bool HasField(FieldType fieldType);
void RemoveField(Field field);
void SetFieldValue(FieldType fieldType, object value);
}
}
项目:FieldChanged;
The modifier 'abstract' is not valid for this item