private void button4_Click(object sender, EventArgs e) { Console.WriteLine("[" + textSelected1 + "]:[" + indexSelected1 + "]:[" + lenghtSelected1 + "] - [" + elementsToParse1.Count + "]"); Console.WriteLine("[" + textSelected2 + "]:[" + indexSelected2 + "]:[" + lenghtSelected2 + "] - [" + elementsToParse2.Count + "]"); Console.WriteLine("======================="); Parseur.Test(); }
public static void Test() { Parseur a = new Parseur(",<var0>:<var1>;;<var2>", "<var1>\n<var0>\n<var2>"); Console.WriteLine(a.DoParsing(",papa:maman;;soeur")); }