public class Send : Program { readonly string msg; public Send(string msg) { this.msg = msg; writer.WriteLine(msg); writer.Flush(); } }