hi how to I do the below?
int z = 1;
string one = "pc";
string two = z.ToString();
//what goes here
Console.Write("Host One:\tSent-{0}\tSuccess-{1}\tFail-{2}", xxxxx.numepings, pc1.numepings_s, pc1.numepings_f);
Console.WriteLine();
so in my code pc1 is an instance of an object, what can i use in the line //what goes here and then in place of the xxxxx so that I can call the instance from the concanatated string variable pc and int 1 ??
pc1is a reference variable that happens to point to a particular instance.z,oneandtwogot to do with anything?