diff --git a/.vs/prog2-ss2020-wienkop/v16/.suo b/.vs/prog2-ss2020-wienkop/v16/.suo index 60fd387eb7d7872db89a2b0de3622ff38741c33c..5cd28ad44c5029ba9710f829e8a3bfb0f0753717 100644 Binary files a/.vs/prog2-ss2020-wienkop/v16/.suo and b/.vs/prog2-ss2020-wienkop/v16/.suo differ diff --git a/07 UebgSaKeyValueList/Program.cs b/07 UebgSaKeyValueList/Program.cs index 279aa2750a3c99c57a7c0a3e2b2beea5afb400ea..7ae5da3e6d4a3afcd868d92dd68e8d8b287bbfdb 100644 --- a/07 UebgSaKeyValueList/Program.cs +++ b/07 UebgSaKeyValueList/Program.cs @@ -98,7 +98,7 @@ namespace _07KeyValueList terminverwaltung["03.06.2020"] = termineMi; terminverwaltung["02.06.2020"].Add(new Termin("11:30 Teams", "BayernMINT")); - // Pfannkuchen, Zutagen(Mehl, Milch, Eier), Zubereitung + // Pfannkuchen, Zutaten(Mehl, Milch, Eier), Zubereitung (Schritt1, Schritt2, ...) KeyValueListe<string, (List<string>, List<string>)> rezepte = new KeyValueListe<string, (List<string>, List<string>)>(); List<string> zutaten = new List<string>(); zutaten.Add("Mehl"); @@ -109,6 +109,8 @@ namespace _07KeyValueList zubereitung.Add("mit Mehl und Milch verrühren"); rezepte["Pfannkuchen"] = (zutaten, zubereitung); + + List<string> zutaten2; List<string> zubereitung2; (zutaten2, zubereitung2) = rezepte["Pfannkuchen"]; diff --git a/07 UebgSaKeyValueList/bin/Debug/netcoreapp3.1/07 UebgSa_KeyValueList.dll b/07 UebgSaKeyValueList/bin/Debug/netcoreapp3.1/07 UebgSa_KeyValueList.dll index 64cfeb491f94cc38c3c5c0aca636613f68d29d56..53d5983c26c124db9380071c01ab5c69f9482b90 100644 Binary files a/07 UebgSaKeyValueList/bin/Debug/netcoreapp3.1/07 UebgSa_KeyValueList.dll and b/07 UebgSaKeyValueList/bin/Debug/netcoreapp3.1/07 UebgSa_KeyValueList.dll differ diff --git a/07 UebgSaKeyValueList/bin/Debug/netcoreapp3.1/07 UebgSa_KeyValueList.pdb b/07 UebgSaKeyValueList/bin/Debug/netcoreapp3.1/07 UebgSa_KeyValueList.pdb index 06be5228ca5c61bcdf90a5950c597cec172743c4..dc9f0b99902bf224d6fff6f4c9894436c0c38b51 100644 Binary files a/07 UebgSaKeyValueList/bin/Debug/netcoreapp3.1/07 UebgSa_KeyValueList.pdb and b/07 UebgSaKeyValueList/bin/Debug/netcoreapp3.1/07 UebgSa_KeyValueList.pdb differ diff --git a/07 UebgSaKeyValueList/obj/Debug/netcoreapp3.1/07 UebgSa_KeyValueList.csproj.CoreCompileInputs.cache b/07 UebgSaKeyValueList/obj/Debug/netcoreapp3.1/07 UebgSa_KeyValueList.csproj.CoreCompileInputs.cache index 8ca897e7558b3074e9ebd9bfaa7682d0c649eb52..c5b0a8a2b02c99bc41b3f665ae4857e7e4516b4e 100644 --- a/07 UebgSaKeyValueList/obj/Debug/netcoreapp3.1/07 UebgSa_KeyValueList.csproj.CoreCompileInputs.cache +++ b/07 UebgSaKeyValueList/obj/Debug/netcoreapp3.1/07 UebgSa_KeyValueList.csproj.CoreCompileInputs.cache @@ -1 +1 @@ -67535fc6ac508312308d32de72fabecf4328bba7 +5ea8345181dba1d1861f3f48b49354be6db0e433 diff --git a/07 UebgSaKeyValueList/obj/Debug/netcoreapp3.1/07 UebgSa_KeyValueList.dll b/07 UebgSaKeyValueList/obj/Debug/netcoreapp3.1/07 UebgSa_KeyValueList.dll index 64cfeb491f94cc38c3c5c0aca636613f68d29d56..53d5983c26c124db9380071c01ab5c69f9482b90 100644 Binary files a/07 UebgSaKeyValueList/obj/Debug/netcoreapp3.1/07 UebgSa_KeyValueList.dll and b/07 UebgSaKeyValueList/obj/Debug/netcoreapp3.1/07 UebgSa_KeyValueList.dll differ diff --git a/07 UebgSaKeyValueList/obj/Debug/netcoreapp3.1/07 UebgSa_KeyValueList.pdb b/07 UebgSaKeyValueList/obj/Debug/netcoreapp3.1/07 UebgSa_KeyValueList.pdb index 06be5228ca5c61bcdf90a5950c597cec172743c4..dc9f0b99902bf224d6fff6f4c9894436c0c38b51 100644 Binary files a/07 UebgSaKeyValueList/obj/Debug/netcoreapp3.1/07 UebgSa_KeyValueList.pdb and b/07 UebgSaKeyValueList/obj/Debug/netcoreapp3.1/07 UebgSa_KeyValueList.pdb differ diff --git a/08 UebgDiDatentypSet/Program.cs b/08 UebgDiDatentypSet/Program.cs index b4bde2da5e4f50b62c8cfafa598ce9de7ce711ae..17970690730ad85336823c58c3bb5fd5bbae42b2 100644 --- a/08 UebgDiDatentypSet/Program.cs +++ b/08 UebgDiDatentypSet/Program.cs @@ -8,7 +8,13 @@ namespace _08_UebgDiDatentypSet { static void Main(string[] args) { - Console.WriteLine("Hello World!"); + ListSet<char> cs1 = new ListSet<char>('A','C','E'); + cs1.Add('D', 'H'); + + ListSet<char> cs2 = new ListSet<char>('A', 'C', 'X', 'Y'); + + ListSet<char> cs3 = cs1.Intersect(cs2); + } } } diff --git a/08 UebgDiDatentypSet/Set.cs b/08 UebgDiDatentypSet/Set.cs index ab86baf66e4296feab6a333ada2f6e376160be7f..c8c4d9e4f1d624ec99eb45aa20d2b236df3bb7a3 100644 --- a/08 UebgDiDatentypSet/Set.cs +++ b/08 UebgDiDatentypSet/Set.cs @@ -10,12 +10,13 @@ namespace _08_UebgDiDatentypSet public ISet<T> Union(ISet<T> set1, ISet<T> set2); public IEnumerable<T> GetEnumerator(); public bool Contains(T item); // true, wenn die Menge das Item bereits enthält + public void Add(params T[] obj); public T[] ToArray(); } // Schreiben Sie eine Listenimplementierung des Datentyps Menge~Set, // welche das obige Interface implementiert - class Set + class ListSet<T> : ISet<T> { } } diff --git a/08DelegateIntro/bin/Debug/netcoreapp3.1/08DelegateIntro.deps.json b/08DelegateIntro/bin/Debug/netcoreapp3.1/08DelegateIntro.deps.json new file mode 100644 index 0000000000000000000000000000000000000000..a60cbda351cd4af9e9e509b49c1b50f64f65ac86 --- /dev/null +++ b/08DelegateIntro/bin/Debug/netcoreapp3.1/08DelegateIntro.deps.json @@ -0,0 +1,23 @@ +{ + "runtimeTarget": { + "name": ".NETCoreApp,Version=v3.1", + "signature": "" + }, + "compilationOptions": {}, + "targets": { + ".NETCoreApp,Version=v3.1": { + "08DelegateIntro/1.0.0": { + "runtime": { + "08DelegateIntro.dll": {} + } + } + } + }, + "libraries": { + "08DelegateIntro/1.0.0": { + "type": "project", + "serviceable": false, + "sha512": "" + } + } +} \ No newline at end of file diff --git a/08DelegateIntro/bin/Debug/netcoreapp3.1/08DelegateIntro.dll b/08DelegateIntro/bin/Debug/netcoreapp3.1/08DelegateIntro.dll new file mode 100644 index 0000000000000000000000000000000000000000..62aa57e5a7889523003eae6bcb0af2439b4fdcf3 Binary files /dev/null and b/08DelegateIntro/bin/Debug/netcoreapp3.1/08DelegateIntro.dll differ diff --git a/08DelegateIntro/bin/Debug/netcoreapp3.1/08DelegateIntro.exe b/08DelegateIntro/bin/Debug/netcoreapp3.1/08DelegateIntro.exe new file mode 100644 index 0000000000000000000000000000000000000000..1629ed743344232990ca39c9048b2e066a040beb Binary files /dev/null and b/08DelegateIntro/bin/Debug/netcoreapp3.1/08DelegateIntro.exe differ diff --git a/08DelegateIntro/bin/Debug/netcoreapp3.1/08DelegateIntro.pdb b/08DelegateIntro/bin/Debug/netcoreapp3.1/08DelegateIntro.pdb new file mode 100644 index 0000000000000000000000000000000000000000..713413e8f56eeda8ea70261f9af91cd43ca3659f Binary files /dev/null and b/08DelegateIntro/bin/Debug/netcoreapp3.1/08DelegateIntro.pdb differ diff --git a/08DelegateIntro/bin/Debug/netcoreapp3.1/08DelegateIntro.runtimeconfig.dev.json b/08DelegateIntro/bin/Debug/netcoreapp3.1/08DelegateIntro.runtimeconfig.dev.json new file mode 100644 index 0000000000000000000000000000000000000000..3becea41545888f98131d88ad51766e8ddde3bce --- /dev/null +++ b/08DelegateIntro/bin/Debug/netcoreapp3.1/08DelegateIntro.runtimeconfig.dev.json @@ -0,0 +1,8 @@ +{ + "runtimeOptions": { + "additionalProbingPaths": [ + "C:\\Users\\wienkop\\.dotnet\\store\\|arch|\\|tfm|", + "C:\\Users\\wienkop\\.nuget\\packages" + ] + } +} \ No newline at end of file diff --git a/08DelegateIntro/bin/Debug/netcoreapp3.1/08DelegateIntro.runtimeconfig.json b/08DelegateIntro/bin/Debug/netcoreapp3.1/08DelegateIntro.runtimeconfig.json new file mode 100644 index 0000000000000000000000000000000000000000..bc456d7868bb54ec1809da30e339cd43f0a8a09c --- /dev/null +++ b/08DelegateIntro/bin/Debug/netcoreapp3.1/08DelegateIntro.runtimeconfig.json @@ -0,0 +1,9 @@ +{ + "runtimeOptions": { + "tfm": "netcoreapp3.1", + "framework": { + "name": "Microsoft.NETCore.App", + "version": "3.1.0" + } + } +} \ No newline at end of file diff --git a/08DelegateIntro/obj/Debug/netcoreapp3.1/08DelegateIntro.csproj.CoreCompileInputs.cache b/08DelegateIntro/obj/Debug/netcoreapp3.1/08DelegateIntro.csproj.CoreCompileInputs.cache new file mode 100644 index 0000000000000000000000000000000000000000..aae7e037fea6b914fcad4077ceca811ffea0a705 --- /dev/null +++ b/08DelegateIntro/obj/Debug/netcoreapp3.1/08DelegateIntro.csproj.CoreCompileInputs.cache @@ -0,0 +1 @@ +5a9582cb264f00f8e746a3ac29528f759308ced2 diff --git a/08DelegateIntro/obj/Debug/netcoreapp3.1/08DelegateIntro.csproj.FileListAbsolute.txt b/08DelegateIntro/obj/Debug/netcoreapp3.1/08DelegateIntro.csproj.FileListAbsolute.txt new file mode 100644 index 0000000000000000000000000000000000000000..85fc3428ab809f4e92900affeca46082292724da --- /dev/null +++ b/08DelegateIntro/obj/Debug/netcoreapp3.1/08DelegateIntro.csproj.FileListAbsolute.txt @@ -0,0 +1,13 @@ +C:\Users\wienkop\source\repos\prog2-ss2020-wienkop\08DelegateIntro\bin\Debug\netcoreapp3.1\08DelegateIntro.exe +C:\Users\wienkop\source\repos\prog2-ss2020-wienkop\08DelegateIntro\bin\Debug\netcoreapp3.1\08DelegateIntro.deps.json +C:\Users\wienkop\source\repos\prog2-ss2020-wienkop\08DelegateIntro\bin\Debug\netcoreapp3.1\08DelegateIntro.runtimeconfig.json +C:\Users\wienkop\source\repos\prog2-ss2020-wienkop\08DelegateIntro\bin\Debug\netcoreapp3.1\08DelegateIntro.runtimeconfig.dev.json +C:\Users\wienkop\source\repos\prog2-ss2020-wienkop\08DelegateIntro\bin\Debug\netcoreapp3.1\08DelegateIntro.dll +C:\Users\wienkop\source\repos\prog2-ss2020-wienkop\08DelegateIntro\bin\Debug\netcoreapp3.1\08DelegateIntro.pdb +C:\Users\wienkop\source\repos\prog2-ss2020-wienkop\08DelegateIntro\obj\Debug\netcoreapp3.1\08DelegateIntro.csprojAssemblyReference.cache +C:\Users\wienkop\source\repos\prog2-ss2020-wienkop\08DelegateIntro\obj\Debug\netcoreapp3.1\08DelegateIntro.AssemblyInfoInputs.cache +C:\Users\wienkop\source\repos\prog2-ss2020-wienkop\08DelegateIntro\obj\Debug\netcoreapp3.1\08DelegateIntro.AssemblyInfo.cs +C:\Users\wienkop\source\repos\prog2-ss2020-wienkop\08DelegateIntro\obj\Debug\netcoreapp3.1\08DelegateIntro.csproj.CoreCompileInputs.cache +C:\Users\wienkop\source\repos\prog2-ss2020-wienkop\08DelegateIntro\obj\Debug\netcoreapp3.1\08DelegateIntro.dll +C:\Users\wienkop\source\repos\prog2-ss2020-wienkop\08DelegateIntro\obj\Debug\netcoreapp3.1\08DelegateIntro.pdb +C:\Users\wienkop\source\repos\prog2-ss2020-wienkop\08DelegateIntro\obj\Debug\netcoreapp3.1\08DelegateIntro.genruntimeconfig.cache diff --git a/08DelegateIntro/obj/Debug/netcoreapp3.1/08DelegateIntro.csprojAssemblyReference.cache b/08DelegateIntro/obj/Debug/netcoreapp3.1/08DelegateIntro.csprojAssemblyReference.cache new file mode 100644 index 0000000000000000000000000000000000000000..8a5ef041ae8402be96bf3fc66b33aedfc9a2f5c5 Binary files /dev/null and b/08DelegateIntro/obj/Debug/netcoreapp3.1/08DelegateIntro.csprojAssemblyReference.cache differ diff --git a/08DelegateIntro/obj/Debug/netcoreapp3.1/08DelegateIntro.dll b/08DelegateIntro/obj/Debug/netcoreapp3.1/08DelegateIntro.dll new file mode 100644 index 0000000000000000000000000000000000000000..62aa57e5a7889523003eae6bcb0af2439b4fdcf3 Binary files /dev/null and b/08DelegateIntro/obj/Debug/netcoreapp3.1/08DelegateIntro.dll differ diff --git a/08DelegateIntro/obj/Debug/netcoreapp3.1/08DelegateIntro.exe b/08DelegateIntro/obj/Debug/netcoreapp3.1/08DelegateIntro.exe new file mode 100644 index 0000000000000000000000000000000000000000..1629ed743344232990ca39c9048b2e066a040beb Binary files /dev/null and b/08DelegateIntro/obj/Debug/netcoreapp3.1/08DelegateIntro.exe differ diff --git a/08DelegateIntro/obj/Debug/netcoreapp3.1/08DelegateIntro.genruntimeconfig.cache b/08DelegateIntro/obj/Debug/netcoreapp3.1/08DelegateIntro.genruntimeconfig.cache new file mode 100644 index 0000000000000000000000000000000000000000..34bedab819ef1631d37d6e87ef9a716c545a105e --- /dev/null +++ b/08DelegateIntro/obj/Debug/netcoreapp3.1/08DelegateIntro.genruntimeconfig.cache @@ -0,0 +1 @@ +86c8e15dd33445635927cfaf398408205fd11473 diff --git a/08DelegateIntro/obj/Debug/netcoreapp3.1/08DelegateIntro.pdb b/08DelegateIntro/obj/Debug/netcoreapp3.1/08DelegateIntro.pdb new file mode 100644 index 0000000000000000000000000000000000000000..713413e8f56eeda8ea70261f9af91cd43ca3659f Binary files /dev/null and b/08DelegateIntro/obj/Debug/netcoreapp3.1/08DelegateIntro.pdb differ