C#修饰符'abstract'对此项无效

Hed*_*dge 3 .net c# interface abstract

我正在尝试构建另一个人的C#项目.在很多接口中我得到错误:

The modifier 'abstract' is not valid for this item
Run Code Online (Sandbox Code Playgroud)

在以下界面中:

namespace Services.Email
{
    using System;
    using System.Collections;
    using.System.Collections.Generic;
    using System.Runtime.CompilerServices;

    public interface IEmailService
    {
        abstract event EventHandler<SendCompletedEventArgs> SendSummaryCompleted;

        void SendNewsItem(DocumentNewsItem newsItem, string email);
        void SendSummaryAsync(Session session, Advisor advisor);
    }
}
Run Code Online (Sandbox Code Playgroud)

Jam*_*rgy 16

只需删除abstract,它就不适用于接口.界面中的所有东西本质上都是"抽象的".抽象类实际上在很多方面与具有未实现的必需接口的类相同.