CodePudding user response:
Int r=students. GetLength (0);//get a two-dimensional array of rows dInt=c students. GetLength (1);//get a two-dimensional array of levy
String studentsNumber {get; set; }//to get or set the student id
for(int a=0; A<=r - 1; +)//calls for traverse all lines
{
If (string Equals (sudentsNumber, students [r, 1))==true)//if set of student id and student id is used in the consistent
{
.
}
The else
{
MessageBox. Show ();
break;
}
}