I made the json parser on one site, now I need to implement the list in richTextBox1 links, from where to parse and display all the data in richTextBox2.

My code is:

string link = richTextBox1; //Ссылки string json = WebClient.DownloadString(".....metadata?q=") + link; RichTextBox1: link //Первая ссылка link1 //Вторая ссылка //И тд... RichTextBox2: //Данные который я должен получить с каждой ссылки link: Value1 link1: Value2 //И тд... 

How to make it take turns from richTextBox1 links and display values ​​in richTextBox2?

    1 answer 1

    Solved the problem by foreach and Split.

     string link = richTextBox1.Text; string[] value = link.Split(); foreach (var pair in value) { //code }