📅  最后修改于: 2022-03-11 14:49:13.129000             🧑  作者: Mango
Try this:
public static List retrieveAllIP()
{
var retList = new List();
foreach(strings inaddIP)
{
string returnIP = s;
retList.Add(returnIP);
}
return retList;
}