locked
Error 1 The modifier 'abstract' is not valid for this item

    Question

  • I'm trying to build my C# project, I get the error:
    The modifier 'abstract' is not valid for this item

    In the following Interface:

    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





    • Edited by RaoulCode Wednesday, July 18, 2012 4:12 AM
    Wednesday, July 18, 2012 4:11 AM

Answers

All replies