最近,您創(chuàng)建了一個應(yīng)用程序,包括如下所示的代碼。
public delegate string GetFileContentsDel ();
public string GetFileContents () {
//Process file and return results
}
現(xiàn)在,您需要以異步方式調(diào)用 GetFileContents 方法。
您必須確保您用來調(diào)用 GetFileContents 方法的代碼將繼續(xù)處理其他用戶的說明,并顯示結(jié)果,盡快完成的 GetFileContents 方法的處理。你應(yīng)該做什么?()
A.
B.
C.
D.