我正在嘗試反序列化一個文件,其他解決方案都不適用于我。這是代碼。我在“customerList”行上收到錯誤消息using (StreamReader customerStreamReader = new StreamReader(@"C:\...\ShoppingApplication\bin\Debug\Customer.xml")){ customerList = (List<Customer>)customerSerializer.Deserialize(customerStreamReader);}
System.InvalidOperationException: 'XML 文檔 (0, 0)
拉風(fēng)的咖菲貓
2021-06-23 17:12:10