private void Form1_Load(object sender, EventArgs e) { // label1.Text = Program.name; this.MaximumSize = this.MinimumSize = this.Size; string[] arr = File.ReadAllLines("ques.txt"); string[] arr2 = File.ReadAllLines("ans.txt"); b = new bst(); for (int i = 0; i < arr.Length; i++) { QA ab = new QA(arr[i], arr2[i]); b.add(ab); } }
private void Form1_Load(object sender, EventArgs e) { // label1.Text = Program.name; this.MaximumSize = this.MinimumSize = this.Size; string[] arr = File.ReadAllLines("ques.txt"); string[] arr2 = File.ReadAllLines("ans.txt"); b = new bst(); for (int i = 0; i < arr.Length; i++) { QA ab = new QA(arr[i],arr2[i]); b.add(ab); } }