I have a list of Students
like below
public List<Students> StudentsClassCollection;
Students
class looks like below:
public class Students
{
public string StudentName;
public bool Passed;
}
I want to access one of students and change the value of Passed
from false
to true
.
How can i do that?