static void Main(string[] args) { UdpReceiver udp = new UdpReceiver(); udp.Start(); while (true) { Thread.Sleep(100); } }