private static void SendBuffer(TcpClient server) { foreach (ChatLine line in _toSendChatLines) { NetHelper.SendMessageTo(server, NetHelper.BuildRequestString((int)Headers.DataType.SendChatMessage, LocalClient.Id) + line.Text + Headers.SplitChar.ToString() + (int)line.Color); } }