0
當我使用System.Net
指令時,出現語法錯誤。我正在嘗試獲取網址的內容。下面是代碼:使用'using'指令時出現語法錯誤
using System.Net;
WebClient client = new WebClient();
string reply = client.DownloadString (address);
Console.WriteLine (reply);
錯誤我在網上看到1:Syntax error, '(' expected