我正在嘗試構建另一個人的C#項目。 在很多的界面我得到的錯誤:C#修飾符'abstract'對此項無效
The modifier 'abstract' is not valid for this item
在以下接口:
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);
}
}
考慮替換另一個人。沒有理由提交不能編譯的代碼。 – SLaks 2011-04-06 13:29:26