Error Cannot implicitly convert type 'string[]' to 'System.Collections.Generic.List<string>'
List<string> bob = myService.GetAllList();
Webサービスにメソッドを呼び出したときに上記のエラーが発生している:私は、ソリューション全体を再構築し、サービス参照を更新し、まだ持っているGetAllList =
[WebMethod]
public List<string> GetAllList()
{
List<string> list ....
return list;
}
私はキャスト例外を任意のアイデアを得る?