public string all(List<string> list, string user, string pwd, string statue, string phone, string mac, string yp, string strmumr)
{
//这里执行逻辑 这段代码是在WebService上的
}
winfrom 客户端这样调用
List<string> list = new List<string>();
list.Add(txtphone.Text.Trim());
string Sendthe = webs.all(list, null, null, "1", txtphone.Text.Trim(), MMac, Yp, strMNumr);
为什么会出现下面的错误
SRSF.WebSend.WebSend.all(string[], string, string, string, string, string, string, string)”最匹配的重载方法具有一些无效参数
无法从“System.Collections.Generic.List”转换为“string[]”
怎么解决呢