[chore:] changed Student.Result-Field-Type to array

This commit is contained in:
2026-03-19 08:47:38 +01:00
parent 44654dd784
commit a83f97828c
2 changed files with 431 additions and 431 deletions

View File

@@ -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]}");
}

View File

@@ -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()
{