我正在使用Visual Studio 2017社區版本。我在製作C#項目時被卡住了,因爲我無法使用System.IO.Stream。未在Visual Studio 2017中找到system.io.stream
using System.Xml.Serialization;
using System.Runtime.Serialization.Formatters.Binary;
using System.IO.Stream;
我正在使用Visual Studio 2017社區版本。我在製作C#項目時被卡住了,因爲我無法使用System.IO.Stream。未在Visual Studio 2017中找到system.io.stream
using System.Xml.Serialization;
using System.Runtime.Serialization.Formatters.Binary;
using System.IO.Stream;
'使用靜態'出現在C#6(2015年7月發佈) - https://gooroo.io/GoorooTHINK/Article/16282/C6-New-Features/18096#.WZIvvlGGPZQ –
非常感謝。 –
'System.IO.Stream',在'Stream'中有一個大寫'S'。 請在將來的實際問題中包含代碼,而不是代碼的屏幕快照。 –
我甚至用了大寫'S',但它也不起作用。無論如何,我添加了一個新的圖片顯示錯誤。另外,感謝您的建議,我添加了有問題的代碼。 –