I have c# project, in which a data type is unknown to me.
As shown in the picture, the data type is from a class which has no method or property, but when I hover over it, it shows the items.
Also, I get an error when I try the foreach command.
Also, it is not convertible to List or Dictionary or Stringp[]. Please guide me to work on it. Thanks
private void button2_Click(object sender, EventArgs e)
{
var a1 = new OPCServer();
var anOPCDAServers=new OPCServer();
var serverName="FARATARH-PC";
var AllOPCDAServers = new List<string>();
var asw = anOPCDAServers.GetOPCServers("FARATARH-PC");
//Console.WriteLine(typeof(asw).ToString);
foreach (var item in asw)
{
//AllOPCDAServers.Add(item);
}
//var nod = AllOPCDAServers[4];
//a1.Connect(serverName, );
}