Sorting
main
Sebastian Schüler 2024-02-05 09:23:53 +01:00
parent e4a107c4ef
commit 8b62da8c23
2 changed files with 29 additions and 5 deletions

View File

@ -2,7 +2,7 @@
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net8.0</TargetFramework>
<TargetFramework>net7.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>

View File

@ -174,7 +174,11 @@ namespace Exercises_C_Sharp
//************************
ExerciseGroup flowchartElements = new()
{
Name = "9. Flowcharts"
Name = "9. Flowcharts",
ElementList = new()
{
new(){Name = "Übung 1", Method = E18_Methods.Exercise_1.Start}
}
};
@ -186,15 +190,15 @@ namespace Exercises_C_Sharp
ExerciseGroup methodsElements = new()
{
Name = "18. Methoden",
ElementList =
[
ElementList = new()
{
new(){Name = "Übung 1", Method = E18_Methods.Exercise_1.Start},
new(){Name = "Übung 2", Method = E18_Methods.Exercise_2.Start},
new(){Name = "Übung 3", Method = E18_Methods.Exercise_3.Start},
new(){Name = "Übung 4", Method = E18_Methods.Exercise_4.Start},
new(){Name = "Übung 5", Method = E18_Methods.Exercise_5.Start},
new(){Name = "Übung 6", Method = E18_Methods.Exercise_6.Start}
]
}
};
//************************
@ -236,6 +240,24 @@ namespace Exercises_C_Sharp
}
};
//************************
//*********Sorting**********
//************************
ExerciseGroup sortingElements = new ExerciseGroup()
{
Name = "21. Sortieren",
ElementList = new List<ExerciseElement>()
{
new(){Name = "Übung 1", Method = E21_Sorting.Exercise_1.Start},
new(){Name = "Übung 2", Method = E21_Sorting.Exercise_2.Start},
new(){Name = "Übung 3", Method = E21_Sorting.Exercise_3.Start},
new(){Name = "Übung 4", Method = E21_Sorting.Exercise_4.Start},
new(){Name = "Übung 5", Method = E21_Sorting.Exercise_5.Start},
new(){Name = "Übung 6", Method = E21_Sorting.Exercise_6.Start},
new(){Name = "Übung 7", Method = E21_Sorting.Exercise_7.Start},
new(){Name = "Übung 8", Method = E21_Sorting.Exercise_8.Start}
}
};
//************************
//*********Enums**********
//************************
ExerciseGroup enumElements = new ExerciseGroup()
@ -258,6 +280,7 @@ namespace Exercises_C_Sharp
new ExerciseElement(){Name = "Übung 13", Method = E24_Enumns.Exercise_13.Start}
}
};
//************************
//*********Tuple**********
//************************
@ -506,6 +529,7 @@ namespace Exercises_C_Sharp
methodsElements,
listElements,
sortingElements,
enumElements,
ueberladungElements,
moredimensionalArrayElements,