public void SendToServer <T>(T elem) { ClientTcpAction client = new ClientTcpAction(); client.SendData(elem); }