MyData [1]=textBox2. Text;
MyData [2]=textBox3. Text;
Array. Sort (MyData);//order
TextBox1. Text=MyData [0];//output
TextBox2. Text=MyData [1].
TextBox3. Text=MyData [2]; ]
TextBox1 to textBox3 appear error, here are the red wavy line how to return a responsibility?
CodePudding user response:
MyData [0]. ToString ();//the outputCodePudding user response:
To switch to a stringCodePudding user response:
Pay attention to your last line semi-colons many characters,CodePudding user response:
Do you move the mouse to the red line he will show, you see how he did suggest you, if English is not good can record the baidu translationCodePudding user response:
error:textBox3. Text=MyData [2]. ]
right
textBox3. Text=MyData [2].