I have a Java code block like following:
public TcpConnection(TcpSocket socket, long alive_time, ITcpConnectionListener listener)
{ init(socket,alive_time,listener);
start();
}
For the conversion in C#, When I try to replace the start()
method with System.Threading.ThreadStart()
, it gives an error. How can I start a thread in C#?