public void ReceiveAndPrint(Object ob) { TenXunWt tenxun = ob as TenXunWt; if (tenxun != null) { Console.WriteLine("通知:{1}的{0}信息是: {2}", Name, tenxun.Symbol, tenxun.Info); } }
public void ReceiveAndPrint(Object ob) { TenXunWt tenxun = ob as TenXunWt; if (tenxun != null) { Console.WriteLine("Notified {0} of {1}'s" + " Info is: {2}", Name, tenxun.Symbol, tenxun.Info); } }