这是我的代码:
List<string> deviceScreenshot=new List<string>();
List<string> fiddlerScreenshot=new List<string>();
if(string.IsNullOrEmpty(summary[3].ToString())==false)
deviceScreenshot=summary[3];
else
deviceScreenshot="Screenshot not found";
if(string.IsNullOrEmpty(summary[4].ToString())==false)
fiddlerScreenshot=summary[4];
else
fiddlerScreenshot="Screenshot not found";
我收到以下错误消息!
无法将类型“字符串”隐式转换为“System.Collections.Generic.List”(CS0029) - D:\automation\OmnitureStatistics\OmnitureStatistics\TeardownUserCode.cs:144,23
请告诉我解决方案!