Esempio n. 1
0
        public static string MakeString(CP_Code code, string text)
        {
            List <string> value = new List <string> {
                text
            };

            return(MakeString(code, value));
        }
Esempio n. 2
0
        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);
        }