I was wondering if there is a way to compress my code using a loop, this is my code : (Cell_1_Containes is a RichTextBox)
Cell_1_Containes.Text = My.Computer.FileSystem.ReadAllText(MyLocation + "\Main\Cells\Cell 1\Containes.txt")
Cell_2_Containes.Text = My.Computer.FileSystem.ReadAllText(MyLocation + "\Main\Cells\Cell 2\Containes.txt")
Cell_3_Containes.Text = My.Computer.FileSystem.ReadAllText(MyLocation + "\Main\Cells\Cell 3\Containes.txt")
Cell_4_Containes.Text = My.Computer.FileSystem.ReadAllText(MyLocation + "\Main\Cells\Cell 4\Containes.txt")
Cell_5_Containes.Text = My.Computer.FileSystem.ReadAllText(MyLocation + "\Main\Cells\Cell 5\Containes.txt")
Cell_6_Containes.Text = My.Computer.FileSystem.ReadAllText(MyLocation + "\Main\Cells\Cell 6\Containes.txt")
Cell_7_Containes.Text = My.Computer.FileSystem.ReadAllText(MyLocation + "\Main\Cells\Cell 7\Containes.txt")
Cell_8_Containes.Text = My.Computer.FileSystem.ReadAllText(MyLocation + "\Main\Cells\Cell 8\Containes.txt")
Cell_9_Containes.Text = My.Computer.FileSystem.ReadAllText(MyLocation + "\Main\Cells\Cell 9\Containes.txt")
Cell_10_Containes.Text = My.Computer.FileSystem.ReadAllText(MyLocation + "\Main\Cells\Cell 10\Containes.txt")
JavaScript questions and answers, JavaScript questions pdf, JavaScript question bank, JavaScript questions and answers pdf, mcq on JavaScript pdf, JavaScript questions and solutions, JavaScript mcq Test , Interview JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)