none
tryign to split into two seperate arrays RRS feed

  • Question

  • hi, i hhave this code which works but iono how to split the two values into diffenet arrays

    foreach (string question in File.ReadAllLines("textfile.txt"))
                    
                    {
                      
                            string[] test = question.Split('?');
                        foreach (string part in test)
                        {

                            Console.WriteLine("{0}");
                            Console.ReadLine();
                               ;
                            }
               
                    }
    Tuesday, March 20, 2018 6:15 PM

All replies