public static string MakeString(CP_Code code, string text) { List <string> value = new List <string> { text }; return(MakeString(code, value)); }
public static string MakeString(CP_Code code, List <string> value) { string newString; newString = startCharToServer.ToString(); newString += (int)code; foreach (string mess in value) { newString += seperatorChar; newString += mess; } newString += endCharToServer; return(newString); }