im making a speech alias program. Im trying to make it to add commands. You know basically to make a array of strings you do string mystring = "string1","string2"; How am I able to add it just like ,"string3" to make it string mystring = "string1","string2","string3"; Here is my code:
List<string> myCollection = new List<string>();
myCollection.Add("hello");
myCollection.Add("test");
string final = string.Join(",", myCollection.ToArray());
richTextBox1.AppendText(final);
sp.LoadGrammar(new Grammar(new GrammarBuilder(new Choices(new String[] { "" + final }))));
string[] finals = new [] { "hello", "test" }?