[chore:] changed Student.Result-Field-Type to array
This commit is contained in:
@@ -166,7 +166,7 @@ public partial class MainWindow : Window
|
||||
{
|
||||
try
|
||||
{
|
||||
for(int i = 0; i<s.Result.Count;i++)
|
||||
for(int i = 0; i<s.Result.Length;i++)
|
||||
{
|
||||
LbResult.Items.Add($"{s.Name} ({s.ID}) - {i+1}. Semester: {s.Result[i]}");
|
||||
}
|
||||
|
||||
@@ -59,7 +59,7 @@ public class Student
|
||||
public string ID { get; set; } = ""; // ID des Schüler (z.B. NolteSeb)
|
||||
public string Name { get; set; } = ""; // Name des Schülers
|
||||
public List<string> SelectedCourseNames { get; set; } = new();
|
||||
public List<string>? Result { get; set; } = null;
|
||||
public string[] Result { get; set; } = new string[4];
|
||||
|
||||
public Student()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user