diff --git a/Tag 3/Aufgaben/Aufgabe_1.cs b/Tag 3/Aufgaben/Aufgabe_1.cs new file mode 100644 index 0000000..749823a --- /dev/null +++ b/Tag 3/Aufgaben/Aufgabe_1.cs @@ -0,0 +1,45 @@ +namespace Tag_3_Aufgaben; + +public class Spellcaster +{ + public virtual void CastSpell() + { + Console.WriteLine("Ich kann zaubern."); + } +} + +public class Sorcerer : Spellcaster +{ + public override void CastSpell() + { + base.CastSpell(); + Console.WriteLine("Meine Zauberkraft ist mir angeboren."); + } +} + +public class Wizard : Spellcaster +{ + public override void CastSpell() + { + base.CastSpell(); + Console.WriteLine("Für meine Zauberkraft musste ich hart arbeiten."); + } +} + +public class WildMagicSorcerer : Sorcerer +{ + public override void CastSpell() + { + base.CastSpell(); + Console.WriteLine("Meine Zauber sind unberechenbar."); + } +} + +public class IllusionWizard : Wizard +{ + public override void CastSpell() + { + base.CastSpell(); + Console.WriteLine("Ich habe mich auf Illusionszauber spezialisiert."); + } +} diff --git a/Tag 3/Aufgaben/Aufgabe_1.txt b/Tag 3/Aufgaben/Aufgabe_1.txt new file mode 100644 index 0000000..8cc7c11 --- /dev/null +++ b/Tag 3/Aufgaben/Aufgabe_1.txt @@ -0,0 +1,19 @@ +/* + Erstellen Sie bitte die Klassen Spellcaster, Sorcerer, Wizard, WildMagicSorcerer und IllusionWizard: + Sorcerer und Wizard sind Spellcaster. + WildMagicSorcerer ist ein Sorcerer und IllusionWizard ist ein Wizard. + Alle Spellcaster verfügen über die Methode "CastSpell()" + In Spellcaster gibt die Methode "Ich kann zaubern." aus. + Sorcerer und Wizard überschreiben diese Methode. + Sorcerer gibt "Ich kann zaubern." und "Meine Zauberkraft ist mir angeboren." aus. + Wizard gibt "Ich kann zaubern." und "Für meine Zauberkraft musste ich hart arbeiten." aus. + WildMagicSorcerer und IllusionWizard überschreiben und versiegeln(finalize) die Methode. + WildMagicSorcerer gibt "Ich kann zaubern.", "Meine Zauberkraft ist mir angeboren." und "Meine Zauber sind unberechenbar." aus. + IllusionWizard gibt "Ich kann zaubern.", "Für meine Zauberkraft musste ich hart arbeiten." und "Ich habe mich auf Illusionszauber spezialisiert." aus. + + Vermeiden Sie beim Überschreiben der Methode doppelten Code! + + In der Main erzeugen Sie einen wildMagicSorcerer und einen illusionWizard und rufen für beide die CastSpell()-Methode auf. + + Erstellen Sie dazu ein Klassendiagramm +*/ diff --git a/Tag 3/Aufgaben/Aufgabe_2.cs b/Tag 3/Aufgaben/Aufgabe_2.cs new file mode 100644 index 0000000..9d2dba5 --- /dev/null +++ b/Tag 3/Aufgaben/Aufgabe_2.cs @@ -0,0 +1,48 @@ +namespace Tag_3_Aufgaben; + +public abstract class Ware +{ + public string Bezeichnung {get; private set;} + public int Preis{get;set;} + + public Ware(string bezeichnung, int preis) + { + Bezeichnung = bezeichnung; + Preis = preis; + } + + public override string ToString() + { + return $"{Bezeichnung} ({Preis/100},{(Preis%100).ToString("D2")} EUR)"; + } +} + +public class Speise : Ware +{ + public List Zutaten {get; private set;} + + public Speise(string bezeichnung, int preis, List zutaten) : base(bezeichnung, preis) + { + Zutaten = zutaten; + } + + public override string ToString() + { + return $"{base.ToString()} - Zutaten: {string.Join(", ", Zutaten)}"; + } +} + +public class Getränk : Ware +{ + public int Füllmenge {get; private set;} + + public Getränk(string bezeichnung, int preis, int füllmenge) : base(bezeichnung, preis) + { + Füllmenge = füllmenge; + } + + public override string ToString() + { + return $"{base.ToString()} - Füllmenge: {Füllmenge} ml"; + } +} diff --git a/Tag 3/Aufgaben/Aufgabe_2.txt b/Tag 3/Aufgaben/Aufgabe_2.txt new file mode 100644 index 0000000..e6ba86e --- /dev/null +++ b/Tag 3/Aufgaben/Aufgabe_2.txt @@ -0,0 +1,9 @@ +/* Sie betreiben einen Imbiss und möchten eine Verwaltungssoftware für die verkauften Waren erstellen. + * Die Verkaufsware unterteilt sich in Speisen und Getränke. Alle Waren werden in der Basisklasse, von der kein Objekt erstellt werden darf, in einer Liste gespeichert. + * Für alle Waren erfassen Sie die Bezeichnung und den Preis. Speisen bestehen zudem aus einer Auflistung der Zutaten, zu Getränken speichern Sie die Füllmenge in Milliliter. + * Alle benötigten Daten werden über Konstruktoren erfasst. + * Um alle Waren bequem ausgeben zu können, überschreiben Sie die ToString-Methode der Klassen. Dabei vermeiden Sie doppelten Code und beachten die Abkapselung und Trennung von Darstellung und Programmlogik. + * Zum Testen erstellen Sie ein Getränk, eine Speise und geben alle Informationen auf dem Bildschirm aus. + * + * Erstellen Sie dazu ein UML Klassendiagramm. + */ diff --git a/Tag 3/Aufgaben/Aufgaben.csproj b/Tag 3/Aufgaben/Aufgaben.csproj new file mode 100644 index 0000000..ed9781c --- /dev/null +++ b/Tag 3/Aufgaben/Aufgaben.csproj @@ -0,0 +1,10 @@ + + + + Exe + net10.0 + enable + enable + + + diff --git a/Tag 3/Aufgaben/Lösung_1/Lösung_1.dia b/Tag 3/Aufgaben/Lösung_1/Lösung_1.dia new file mode 100644 index 0000000..e386646 Binary files /dev/null and b/Tag 3/Aufgaben/Lösung_1/Lösung_1.dia differ diff --git a/Tag 3/Aufgaben/Lösung_1/Lösung_1.txt b/Tag 3/Aufgaben/Lösung_1/Lösung_1.txt new file mode 100644 index 0000000..c8fdfad --- /dev/null +++ b/Tag 3/Aufgaben/Lösung_1/Lösung_1.txt @@ -0,0 +1,35 @@ +/* + Erstellen Sie bitte die Klassen Spellcaster, Sorcerer, Wizard, WildMagicSorcerer und IllusionWizard: + Sorcerer und Wizard sind Spellcaster. + WildMagicSorcerer ist ein Sorcerer und IllusionWizard ist ein Wizard. + Alle Spellcaster verfügen über die Methode "CastSpell()" + In Spellcaster gibt die Methode "Ich kann zaubern." aus. + Sorcerer und Wizard überschreiben diese Methode. + Sorcerer gibt "Ich kann zaubern." und "Meine Zauberkraft ist mir angeboren." aus. + Wizard gibt "Ich kann zaubern." und "Für meine Zauberkraft musste ich hart arbeiten." aus. + WildMagicSorcerer und IllusionWizard überschreiben und versiegeln(finalize) die Methode. + WildMagicSorcerer gibt "Ich kann zaubern.", "Meine Zauberkraft ist mir angeboren." und "Meine Zauber sind unberechenbar." aus. + IllusionWizard gibt "Ich kann zaubern.", "Für meine Zauberkraft musste ich hart arbeiten." und "Ich habe mich auf Illusionszauber spezialisiert." aus. + + Vermeiden Sie beim Überschreiben der Methode doppelten Code! + + In der Main erzeugen Sie einen wildMagicSorcerer und einen illusionWizard und rufen für beide die CastSpell()-Methode auf. + + Erstellen Sie dazu ein Klassendiagramm +*/ + +namespace Lösungen +{ + class Program + { + public static void Main(string[] args) + { + Spellcaster sorcerer = new WildMagicSorcerer(); + sorcerer.CastSpell(); + Spellcaster wizard = new IllusionWizard(); + wizard.CastSpell(); + + } + + } +} \ No newline at end of file diff --git a/Tag 3/Aufgaben/Lösung_1/Sorcerer.txt b/Tag 3/Aufgaben/Lösung_1/Sorcerer.txt new file mode 100644 index 0000000..078f237 --- /dev/null +++ b/Tag 3/Aufgaben/Lösung_1/Sorcerer.txt @@ -0,0 +1,22 @@ +using System; + +namespace Lösungen +{ + internal class Sorcerer : Spellcaster + { + public override void CastSpell() + { + base.CastSpell(); + Console.WriteLine("Meine Zauberkraft ist mir angeboren."); + } + } + + internal class WildMagicSorcerer : Sorcerer + { + public sealed override void CastSpell() + { + base.CastSpell(); + Console.WriteLine("Meine Zauber sind unberechenbar."); + } + } +} diff --git a/Tag 3/Aufgaben/Lösung_1/Spellcaster.txt b/Tag 3/Aufgaben/Lösung_1/Spellcaster.txt new file mode 100644 index 0000000..15c1743 --- /dev/null +++ b/Tag 3/Aufgaben/Lösung_1/Spellcaster.txt @@ -0,0 +1,12 @@ +using System; + +namespace Lösungen +{ + internal class Spellcaster + { + public virtual void CastSpell() + { + Console.WriteLine("Ich kann zaubern."); + } + } +} diff --git a/Tag 3/Aufgaben/Lösung_1/Wizard.txt b/Tag 3/Aufgaben/Lösung_1/Wizard.txt new file mode 100644 index 0000000..746e36f --- /dev/null +++ b/Tag 3/Aufgaben/Lösung_1/Wizard.txt @@ -0,0 +1,22 @@ +using System; + +namespace Lösungen +{ + internal class Wizard : Spellcaster + { + public override void CastSpell() + { + base.CastSpell(); + Console.WriteLine("Für meine Zauberkraft musste ich hart arbeiten."); + } + } + + internal class IllusionWizard : Wizard + { + public sealed override void CastSpell() + { + base.CastSpell(); + Console.WriteLine("Ich habe mich auf Illusionszauber spezialisiert."); + } + } +} diff --git a/Tag 3/Aufgaben/Lösung_2/Getränk.txt b/Tag 3/Aufgaben/Lösung_2/Getränk.txt new file mode 100644 index 0000000..049ef1d --- /dev/null +++ b/Tag 3/Aufgaben/Lösung_2/Getränk.txt @@ -0,0 +1,21 @@ +/// +/// Spezialisierung von Verkaufsware +/// +class Getränk : Verkaufsware +{ + private int füllmenge; + + public Getränk(string bezeichnung, double preis, int füllmenge) : base(bezeichnung, preis) + { + this.füllmenge = füllmenge; + } + + /// + /// Gibt einen String mit den Daten der Basisklasse plus zusätzlich der Füllmenge in Milliliter zurück. + /// + public override string ToString() + { + return base.ToString() + "\n" + + "Füllmenge: " + füllmenge + " ml\n"; + } +} diff --git a/Tag 3/Aufgaben/Lösung_2/Klassendiagramm.dia b/Tag 3/Aufgaben/Lösung_2/Klassendiagramm.dia new file mode 100644 index 0000000..093a24e Binary files /dev/null and b/Tag 3/Aufgaben/Lösung_2/Klassendiagramm.dia differ diff --git a/Tag 3/Aufgaben/Lösung_2/Lösung_2.txt b/Tag 3/Aufgaben/Lösung_2/Lösung_2.txt new file mode 100644 index 0000000..7887bcd --- /dev/null +++ b/Tag 3/Aufgaben/Lösung_2/Lösung_2.txt @@ -0,0 +1,38 @@ +/* Sie betreiben einen imbiss und möchten eine Verwaltungssoftware für die verkauften Waren erstellen. + * Die Verkaufsware unterteilt sich in Speisen und Getränke. Alle Waren werden in der Basisklasse, von der kein Objekt erstellt werden darf, in einer Liste gespeichert. + * Für alle Waren erfassen Sie die Bezeichnung und den Preis. Speisen bestehen zudem aus einer Auflistung der Zutaten, zu Getränken speichern Sie die Füllmenge in Milliliter. + * Alle benötigten Daten werden über Konstruktoren erfasst. + * Um alle Waren bequem ausgeben zu können, überschreiben Sie die toString-Methode der Klassen. Dabei vermeiden Sie doppelten Code und beachten die Abkapselung und Trennung von Darstellung und Programmlogik. + * Zum Testen erstellen Sie ein Getränk, eine Speise und geben alle Informationen auf dem Bildschirm aus. + * + * Erstellen Sie dazu ein UML Klassendiagramm. + */ + + +using System; +using System.Text; + +namespace Lösungen +{ + class Lösung_2 + { + + public static void Main(String[] args) + { + Console.OutputEncoding = Encoding.UTF8; // Wichtig für €-Zeichen. + + // Objekte erzeugen + new Speise("Burger", 4.99, "Brötchen", "Rindfleisch-Patties", "Gurken", "Ketchup"); + new Speise("Pizza Groß", 5.99, "Pizzateig", "Tomatensoße", "Käse", "Salami"); + + new Getränk("Cola", 1.49, 500); + + // Ausgabe + foreach (Verkaufsware ware in Verkaufsware.warenliste) + { + Console.WriteLine(ware); // Die ToString()-Methode wird automatisch von print und println aufgerufen! + } + } + + } +} \ No newline at end of file diff --git a/Tag 3/Aufgaben/Lösung_2/Speise.txt b/Tag 3/Aufgaben/Lösung_2/Speise.txt new file mode 100644 index 0000000..d2c31f3 --- /dev/null +++ b/Tag 3/Aufgaben/Lösung_2/Speise.txt @@ -0,0 +1,39 @@ + +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; + +/// +/// Spezialisierung von Verkaufsware +/// +class Speise : Verkaufsware +{ + /// + /// Liste der Zutaten. + /// + private List zutaten; + + // Konstruktorverkettung in C# mit 'base()' + public Speise(string bezeichnung, double preis, params string[] zutaten) : base(bezeichnung, preis) + { + this.zutaten = zutaten.ToList(); + } + + /// + /// Gibt einen String mit den Daten der Basisklasse plus zusätzlich den Zutaten zurück. + /// + public override string ToString() + { + // Mit dem StringBuilder können bequem Strings zusammengebaut werden: + StringBuilder builder = new StringBuilder(); + builder.AppendLine(base.ToString()); // Die Informationen der Basisklasse. + builder.Append("Zutaten:\n"); + foreach (string s in zutaten) + { + builder.AppendLine(s); // Zutaten der Zutatenliste dem String hinzufügen. + } + + return builder.ToString(); + } +} diff --git a/Tag 3/Aufgaben/Lösung_2/Verkaufsware.txt b/Tag 3/Aufgaben/Lösung_2/Verkaufsware.txt new file mode 100644 index 0000000..f0ecabc --- /dev/null +++ b/Tag 3/Aufgaben/Lösung_2/Verkaufsware.txt @@ -0,0 +1,39 @@ +using System.Collections.Generic; + +/// +/// Basisklasse für die Ware, die zum Verkauf steht. +/// +abstract class Verkaufsware +{ + /// + /// Liste, die alle Waren beinhaltet + /// + public static readonly List warenliste = new List(); + + private string bezeichnung; + private double preis; + + // Konstruktoren in abstrakten Klassen sind in der Regel protected. + + /// Konstruktor + /// Bezeichnung + /// Preis + protected Verkaufsware(string b, double p) + { + bezeichnung = b; + preis = p; + + warenliste.Add(this); // "this" zeigt auf das aktuelle Objekt, welches gerade durch den Konstruktor instanziiert wird. + // heißt: In "this" steht die Speicheradresse des Objektes. + } + + // ToString()-Methode überschreiben: + + /// + /// Gibt einen String mit Bezeichnung und Preis der Ware zurück. + /// + public override string ToString() + { + return $"Bezeichnung: {bezeichnung} - Preis: {preis:C2}"; + } +} diff --git a/Tag 3/Aufgaben/Program.cs b/Tag 3/Aufgaben/Program.cs new file mode 100644 index 0000000..d36c688 --- /dev/null +++ b/Tag 3/Aufgaben/Program.cs @@ -0,0 +1,13 @@ +using Tag_3_Aufgaben; + +var wms = new WildMagicSorcerer(); +wms.CastSpell(); + +var iw = new IllusionWizard(); +iw.CastSpell(); + +var burger = new Speise("Burger", 450, new List{"Bun", "Patty"}); +var kaffee = new Getränk("Kaffee", 120, 220); + +Console.WriteLine(burger); +Console.WriteLine(kaffee); diff --git a/Tag 3/Aufgaben/obj/Aufgaben.csproj.nuget.dgspec.json b/Tag 3/Aufgaben/obj/Aufgaben.csproj.nuget.dgspec.json new file mode 100644 index 0000000..fdad755 --- /dev/null +++ b/Tag 3/Aufgaben/obj/Aufgaben.csproj.nuget.dgspec.json @@ -0,0 +1,342 @@ +{ + "format": 1, + "restore": { + "/home/wbs/Dokumente/Programmierung/wbs-csharp/Tag 3/Aufgaben/Aufgaben.csproj": {} + }, + "projects": { + "/home/wbs/Dokumente/Programmierung/wbs-csharp/Tag 3/Aufgaben/Aufgaben.csproj": { + "version": "1.0.0", + "restore": { + "projectUniqueName": "/home/wbs/Dokumente/Programmierung/wbs-csharp/Tag 3/Aufgaben/Aufgaben.csproj", + "projectName": "Aufgaben", + "projectPath": "/home/wbs/Dokumente/Programmierung/wbs-csharp/Tag 3/Aufgaben/Aufgaben.csproj", + "packagesPath": "/home/wbs/.nuget/packages/", + "outputPath": "/home/wbs/Dokumente/Programmierung/wbs-csharp/Tag 3/Aufgaben/obj/", + "projectStyle": "PackageReference", + "configFilePaths": [ + "/home/wbs/.nuget/NuGet/NuGet.Config" + ], + "originalTargetFrameworks": [ + "net10.0" + ], + "sources": { + "/usr/lib64/dotnet/library-packs": {}, + "https://api.nuget.org/v3/index.json": {} + }, + "frameworks": { + "net10.0": { + "targetAlias": "net10.0", + "projectReferences": {} + } + }, + "warningProperties": { + "warnAsError": [ + "NU1605" + ] + }, + "restoreAuditProperties": { + "enableAudit": "true", + "auditLevel": "low", + "auditMode": "all" + }, + "SdkAnalysisLevel": "10.0.100" + }, + "frameworks": { + "net10.0": { + "targetAlias": "net10.0", + "imports": [ + "net461", + "net462", + "net47", + "net471", + "net472", + "net48", + "net481" + ], + "assetTargetFallback": true, + "warn": true, + "frameworkReferences": { + "Microsoft.NETCore.App": { + "privateAssets": "all" + } + }, + "runtimeIdentifierGraphPath": "/usr/lib64/dotnet/sdk/10.0.110/PortableRuntimeIdentifierGraph.json", + "packagesToPrune": { + "Microsoft.CSharp": "(,4.7.32767]", + "Microsoft.VisualBasic": "(,10.4.32767]", + "Microsoft.Win32.Primitives": "(,4.3.32767]", + "Microsoft.Win32.Registry": "(,5.0.32767]", + "runtime.any.System.Collections": "(,4.3.32767]", + "runtime.any.System.Diagnostics.Tools": "(,4.3.32767]", + "runtime.any.System.Diagnostics.Tracing": "(,4.3.32767]", + "runtime.any.System.Globalization": "(,4.3.32767]", + "runtime.any.System.Globalization.Calendars": "(,4.3.32767]", + "runtime.any.System.IO": "(,4.3.32767]", + "runtime.any.System.Reflection": "(,4.3.32767]", + "runtime.any.System.Reflection.Extensions": "(,4.3.32767]", + "runtime.any.System.Reflection.Primitives": "(,4.3.32767]", + "runtime.any.System.Resources.ResourceManager": "(,4.3.32767]", + "runtime.any.System.Runtime": "(,4.3.32767]", + "runtime.any.System.Runtime.Handles": "(,4.3.32767]", + "runtime.any.System.Runtime.InteropServices": "(,4.3.32767]", + "runtime.any.System.Text.Encoding": "(,4.3.32767]", + "runtime.any.System.Text.Encoding.Extensions": "(,4.3.32767]", + "runtime.any.System.Threading.Tasks": "(,4.3.32767]", + "runtime.any.System.Threading.Timer": "(,4.3.32767]", + "runtime.aot.System.Collections": "(,4.3.32767]", + "runtime.aot.System.Diagnostics.Tools": "(,4.3.32767]", + "runtime.aot.System.Diagnostics.Tracing": "(,4.3.32767]", + "runtime.aot.System.Globalization": "(,4.3.32767]", + "runtime.aot.System.Globalization.Calendars": "(,4.3.32767]", + "runtime.aot.System.IO": "(,4.3.32767]", + "runtime.aot.System.Reflection": "(,4.3.32767]", + "runtime.aot.System.Reflection.Extensions": "(,4.3.32767]", + "runtime.aot.System.Reflection.Primitives": "(,4.3.32767]", + "runtime.aot.System.Resources.ResourceManager": "(,4.3.32767]", + "runtime.aot.System.Runtime": "(,4.3.32767]", + "runtime.aot.System.Runtime.Handles": "(,4.3.32767]", + "runtime.aot.System.Runtime.InteropServices": "(,4.3.32767]", + "runtime.aot.System.Text.Encoding": "(,4.3.32767]", + "runtime.aot.System.Text.Encoding.Extensions": "(,4.3.32767]", + "runtime.aot.System.Threading.Tasks": "(,4.3.32767]", + "runtime.aot.System.Threading.Timer": "(,4.3.32767]", + "runtime.debian.8-x64.runtime.native.System": "(,4.3.32767]", + "runtime.debian.8-x64.runtime.native.System.IO.Compression": "(,4.3.32767]", + "runtime.debian.8-x64.runtime.native.System.Net.Http": "(,4.3.32767]", + "runtime.debian.8-x64.runtime.native.System.Net.Security": "(,4.3.32767]", + "runtime.debian.8-x64.runtime.native.System.Security.Cryptography": "(,4.3.32767]", + "runtime.debian.8-x64.runtime.native.System.Security.Cryptography.OpenSsl": "(,4.3.32767]", + "runtime.debian.9-x64.runtime.native.System": "(,4.3.32767]", + "runtime.debian.9-x64.runtime.native.System.IO.Compression": "(,4.3.32767]", + "runtime.debian.9-x64.runtime.native.System.Net.Http": "(,4.3.32767]", + "runtime.debian.9-x64.runtime.native.System.Net.Security": "(,4.3.32767]", + "runtime.fedora.23-x64.runtime.native.System": "(,4.3.32767]", + "runtime.fedora.23-x64.runtime.native.System.IO.Compression": "(,4.3.32767]", + "runtime.fedora.23-x64.runtime.native.System.Net.Http": "(,4.3.32767]", + "runtime.fedora.23-x64.runtime.native.System.Net.Security": "(,4.3.32767]", + "runtime.fedora.23-x64.runtime.native.System.Security.Cryptography": "(,4.3.32767]", + "runtime.fedora.23-x64.runtime.native.System.Security.Cryptography.OpenSsl": "(,4.3.32767]", + "runtime.fedora.24-x64.runtime.native.System": "(,4.3.32767]", + "runtime.fedora.24-x64.runtime.native.System.IO.Compression": "(,4.3.32767]", + "runtime.fedora.24-x64.runtime.native.System.Net.Http": "(,4.3.32767]", + "runtime.fedora.24-x64.runtime.native.System.Net.Security": "(,4.3.32767]", + "runtime.fedora.24-x64.runtime.native.System.Security.Cryptography": "(,4.3.32767]", + "runtime.fedora.24-x64.runtime.native.System.Security.Cryptography.OpenSsl": "(,4.3.32767]", + "runtime.fedora.27-x64.runtime.native.System": "(,4.3.32767]", + "runtime.fedora.27-x64.runtime.native.System.IO.Compression": "(,4.3.32767]", + "runtime.fedora.27-x64.runtime.native.System.Net.Http": "(,4.3.32767]", + "runtime.fedora.27-x64.runtime.native.System.Net.Security": "(,4.3.32767]", + "runtime.fedora.28-x64.runtime.native.System": "(,4.3.32767]", + "runtime.fedora.28-x64.runtime.native.System.IO.Compression": "(,4.3.32767]", + "runtime.fedora.28-x64.runtime.native.System.Net.Http": "(,4.3.32767]", + "runtime.fedora.28-x64.runtime.native.System.Net.Security": "(,4.3.32767]", + "runtime.opensuse.13.2-x64.runtime.native.System": "(,4.3.32767]", + "runtime.opensuse.13.2-x64.runtime.native.System.IO.Compression": "(,4.3.32767]", + "runtime.opensuse.13.2-x64.runtime.native.System.Net.Http": "(,4.3.32767]", + "runtime.opensuse.13.2-x64.runtime.native.System.Net.Security": "(,4.3.32767]", + "runtime.opensuse.13.2-x64.runtime.native.System.Security.Cryptography": "(,4.3.32767]", + "runtime.opensuse.13.2-x64.runtime.native.System.Security.Cryptography.OpenSsl": "(,4.3.32767]", + "runtime.opensuse.42.1-x64.runtime.native.System": "(,4.3.32767]", + "runtime.opensuse.42.1-x64.runtime.native.System.IO.Compression": "(,4.3.32767]", + "runtime.opensuse.42.1-x64.runtime.native.System.Net.Http": "(,4.3.32767]", + "runtime.opensuse.42.1-x64.runtime.native.System.Net.Security": "(,4.3.32767]", + "runtime.opensuse.42.1-x64.runtime.native.System.Security.Cryptography": "(,4.3.32767]", + "runtime.opensuse.42.1-x64.runtime.native.System.Security.Cryptography.OpenSsl": "(,4.3.32767]", + "runtime.opensuse.42.3-x64.runtime.native.System": "(,4.3.32767]", + "runtime.opensuse.42.3-x64.runtime.native.System.IO.Compression": "(,4.3.32767]", + "runtime.opensuse.42.3-x64.runtime.native.System.Net.Http": "(,4.3.32767]", + "runtime.opensuse.42.3-x64.runtime.native.System.Net.Security": "(,4.3.32767]", + "runtime.osx.10.10-x64.runtime.native.System": "(,4.3.32767]", + "runtime.osx.10.10-x64.runtime.native.System.IO.Compression": "(,4.3.32767]", + "runtime.osx.10.10-x64.runtime.native.System.Net.Http": "(,4.3.32767]", + "runtime.osx.10.10-x64.runtime.native.System.Net.Security": "(,4.3.32767]", + "runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography": "(,4.3.32767]", + "runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.Apple": "(,4.3.32767]", + "runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.OpenSsl": "(,4.3.32767]", + "runtime.rhel.7-x64.runtime.native.System": "(,4.3.32767]", + "runtime.rhel.7-x64.runtime.native.System.IO.Compression": "(,4.3.32767]", + "runtime.rhel.7-x64.runtime.native.System.Net.Http": "(,4.3.32767]", + "runtime.rhel.7-x64.runtime.native.System.Net.Security": "(,4.3.32767]", + "runtime.rhel.7-x64.runtime.native.System.Security.Cryptography": "(,4.3.32767]", + "runtime.rhel.7-x64.runtime.native.System.Security.Cryptography.OpenSsl": "(,4.3.32767]", + "runtime.ubuntu.14.04-x64.runtime.native.System": "(,4.3.32767]", + "runtime.ubuntu.14.04-x64.runtime.native.System.IO.Compression": "(,4.3.32767]", + "runtime.ubuntu.14.04-x64.runtime.native.System.Net.Http": "(,4.3.32767]", + "runtime.ubuntu.14.04-x64.runtime.native.System.Net.Security": "(,4.3.32767]", + "runtime.ubuntu.14.04-x64.runtime.native.System.Security.Cryptography": "(,4.3.32767]", + "runtime.ubuntu.14.04-x64.runtime.native.System.Security.Cryptography.OpenSsl": "(,4.3.32767]", + "runtime.ubuntu.16.04-x64.runtime.native.System": "(,4.3.32767]", + "runtime.ubuntu.16.04-x64.runtime.native.System.IO.Compression": "(,4.3.32767]", + "runtime.ubuntu.16.04-x64.runtime.native.System.Net.Http": "(,4.3.32767]", + "runtime.ubuntu.16.04-x64.runtime.native.System.Net.Security": "(,4.3.32767]", + "runtime.ubuntu.16.04-x64.runtime.native.System.Security.Cryptography": "(,4.3.32767]", + "runtime.ubuntu.16.04-x64.runtime.native.System.Security.Cryptography.OpenSsl": "(,4.3.32767]", + "runtime.ubuntu.16.10-x64.runtime.native.System": "(,4.3.32767]", + "runtime.ubuntu.16.10-x64.runtime.native.System.IO.Compression": "(,4.3.32767]", + "runtime.ubuntu.16.10-x64.runtime.native.System.Net.Http": "(,4.3.32767]", + "runtime.ubuntu.16.10-x64.runtime.native.System.Net.Security": "(,4.3.32767]", + "runtime.ubuntu.16.10-x64.runtime.native.System.Security.Cryptography": "(,4.3.32767]", + "runtime.ubuntu.16.10-x64.runtime.native.System.Security.Cryptography.OpenSsl": "(,4.3.32767]", + "runtime.ubuntu.18.04-x64.runtime.native.System": "(,4.3.32767]", + "runtime.ubuntu.18.04-x64.runtime.native.System.IO.Compression": "(,4.3.32767]", + "runtime.ubuntu.18.04-x64.runtime.native.System.Net.Http": "(,4.3.32767]", + "runtime.ubuntu.18.04-x64.runtime.native.System.Net.Security": "(,4.3.32767]", + "runtime.unix.Microsoft.Win32.Primitives": "(,4.3.32767]", + "runtime.unix.System.Console": "(,4.3.32767]", + "runtime.unix.System.Diagnostics.Debug": "(,4.3.32767]", + "runtime.unix.System.IO.FileSystem": "(,4.3.32767]", + "runtime.unix.System.Net.Primitives": "(,4.3.32767]", + "runtime.unix.System.Net.Sockets": "(,4.3.32767]", + "runtime.unix.System.Private.Uri": "(,4.3.32767]", + "runtime.unix.System.Runtime.Extensions": "(,4.3.32767]", + "runtime.win.Microsoft.Win32.Primitives": "(,4.3.32767]", + "runtime.win.System.Console": "(,4.3.32767]", + "runtime.win.System.Diagnostics.Debug": "(,4.3.32767]", + "runtime.win.System.IO.FileSystem": "(,4.3.32767]", + "runtime.win.System.Net.Primitives": "(,4.3.32767]", + "runtime.win.System.Net.Sockets": "(,4.3.32767]", + "runtime.win.System.Runtime.Extensions": "(,4.3.32767]", + "runtime.win10-arm-aot.runtime.native.System.IO.Compression": "(,4.0.32767]", + "runtime.win10-arm64.runtime.native.System.IO.Compression": "(,4.3.32767]", + "runtime.win10-x64-aot.runtime.native.System.IO.Compression": "(,4.0.32767]", + "runtime.win10-x86-aot.runtime.native.System.IO.Compression": "(,4.0.32767]", + "runtime.win7-x64.runtime.native.System.IO.Compression": "(,4.3.32767]", + "runtime.win7-x86.runtime.native.System.IO.Compression": "(,4.3.32767]", + "runtime.win7.System.Private.Uri": "(,4.3.32767]", + "runtime.win8-arm.runtime.native.System.IO.Compression": "(,4.3.32767]", + "System.AppContext": "(,4.3.32767]", + "System.Buffers": "(,5.0.32767]", + "System.Collections": "(,4.3.32767]", + "System.Collections.Concurrent": "(,4.3.32767]", + "System.Collections.Immutable": "(,10.0.32767]", + "System.Collections.NonGeneric": "(,4.3.32767]", + "System.Collections.Specialized": "(,4.3.32767]", + "System.ComponentModel": "(,4.3.32767]", + "System.ComponentModel.Annotations": "(,4.3.32767]", + "System.ComponentModel.EventBasedAsync": "(,4.3.32767]", + "System.ComponentModel.Primitives": "(,4.3.32767]", + "System.ComponentModel.TypeConverter": "(,4.3.32767]", + "System.Console": "(,4.3.32767]", + "System.Data.Common": "(,4.3.32767]", + "System.Data.DataSetExtensions": "(,4.4.32767]", + "System.Diagnostics.Contracts": "(,4.3.32767]", + "System.Diagnostics.Debug": "(,4.3.32767]", + "System.Diagnostics.DiagnosticSource": "(,10.0.32767]", + "System.Diagnostics.FileVersionInfo": "(,4.3.32767]", + "System.Diagnostics.Process": "(,4.3.32767]", + "System.Diagnostics.StackTrace": "(,4.3.32767]", + "System.Diagnostics.TextWriterTraceListener": "(,4.3.32767]", + "System.Diagnostics.Tools": "(,4.3.32767]", + "System.Diagnostics.TraceSource": "(,4.3.32767]", + "System.Diagnostics.Tracing": "(,4.3.32767]", + "System.Drawing.Primitives": "(,4.3.32767]", + "System.Dynamic.Runtime": "(,4.3.32767]", + "System.Formats.Asn1": "(,10.0.32767]", + "System.Formats.Tar": "(,10.0.32767]", + "System.Globalization": "(,4.3.32767]", + "System.Globalization.Calendars": "(,4.3.32767]", + "System.Globalization.Extensions": "(,4.3.32767]", + "System.IO": "(,4.3.32767]", + "System.IO.Compression": "(,4.3.32767]", + "System.IO.Compression.ZipFile": "(,4.3.32767]", + "System.IO.FileSystem": "(,4.3.32767]", + "System.IO.FileSystem.AccessControl": "(,4.4.32767]", + "System.IO.FileSystem.DriveInfo": "(,4.3.32767]", + "System.IO.FileSystem.Primitives": "(,4.3.32767]", + "System.IO.FileSystem.Watcher": "(,4.3.32767]", + "System.IO.IsolatedStorage": "(,4.3.32767]", + "System.IO.MemoryMappedFiles": "(,4.3.32767]", + "System.IO.Pipelines": "(,10.0.32767]", + "System.IO.Pipes": "(,4.3.32767]", + "System.IO.Pipes.AccessControl": "(,5.0.32767]", + "System.IO.UnmanagedMemoryStream": "(,4.3.32767]", + "System.Linq": "(,4.3.32767]", + "System.Linq.AsyncEnumerable": "(,10.0.32767]", + "System.Linq.Expressions": "(,4.3.32767]", + "System.Linq.Parallel": "(,4.3.32767]", + "System.Linq.Queryable": "(,4.3.32767]", + "System.Memory": "(,5.0.32767]", + "System.Net.Http": "(,4.3.32767]", + "System.Net.Http.Json": "(,10.0.32767]", + "System.Net.NameResolution": "(,4.3.32767]", + "System.Net.NetworkInformation": "(,4.3.32767]", + "System.Net.Ping": "(,4.3.32767]", + "System.Net.Primitives": "(,4.3.32767]", + "System.Net.Requests": "(,4.3.32767]", + "System.Net.Security": "(,4.3.32767]", + "System.Net.ServerSentEvents": "(,10.0.32767]", + "System.Net.Sockets": "(,4.3.32767]", + "System.Net.WebHeaderCollection": "(,4.3.32767]", + "System.Net.WebSockets": "(,4.3.32767]", + "System.Net.WebSockets.Client": "(,4.3.32767]", + "System.Numerics.Vectors": "(,5.0.32767]", + "System.ObjectModel": "(,4.3.32767]", + "System.Private.DataContractSerialization": "(,4.3.32767]", + "System.Private.Uri": "(,4.3.32767]", + "System.Reflection": "(,4.3.32767]", + "System.Reflection.DispatchProxy": "(,6.0.32767]", + "System.Reflection.Emit": "(,4.7.32767]", + "System.Reflection.Emit.ILGeneration": "(,4.7.32767]", + "System.Reflection.Emit.Lightweight": "(,4.7.32767]", + "System.Reflection.Extensions": "(,4.3.32767]", + "System.Reflection.Metadata": "(,10.0.32767]", + "System.Reflection.Primitives": "(,4.3.32767]", + "System.Reflection.TypeExtensions": "(,4.3.32767]", + "System.Resources.Reader": "(,4.3.32767]", + "System.Resources.ResourceManager": "(,4.3.32767]", + "System.Resources.Writer": "(,4.3.32767]", + "System.Runtime": "(,4.3.32767]", + "System.Runtime.CompilerServices.Unsafe": "(,7.0.32767]", + "System.Runtime.CompilerServices.VisualC": "(,4.3.32767]", + "System.Runtime.Extensions": "(,4.3.32767]", + "System.Runtime.Handles": "(,4.3.32767]", + "System.Runtime.InteropServices": "(,4.3.32767]", + "System.Runtime.InteropServices.RuntimeInformation": "(,4.3.32767]", + "System.Runtime.Loader": "(,4.3.32767]", + "System.Runtime.Numerics": "(,4.3.32767]", + "System.Runtime.Serialization.Formatters": "(,4.3.32767]", + "System.Runtime.Serialization.Json": "(,4.3.32767]", + "System.Runtime.Serialization.Primitives": "(,4.3.32767]", + "System.Runtime.Serialization.Xml": "(,4.3.32767]", + "System.Security.AccessControl": "(,6.0.32767]", + "System.Security.Claims": "(,4.3.32767]", + "System.Security.Cryptography.Algorithms": "(,4.3.32767]", + "System.Security.Cryptography.Cng": "(,5.0.32767]", + "System.Security.Cryptography.Csp": "(,4.3.32767]", + "System.Security.Cryptography.Encoding": "(,4.3.32767]", + "System.Security.Cryptography.OpenSsl": "(,5.0.32767]", + "System.Security.Cryptography.Primitives": "(,4.3.32767]", + "System.Security.Cryptography.X509Certificates": "(,4.3.32767]", + "System.Security.Principal": "(,4.3.32767]", + "System.Security.Principal.Windows": "(,5.0.32767]", + "System.Security.SecureString": "(,4.3.32767]", + "System.Text.Encoding": "(,4.3.32767]", + "System.Text.Encoding.CodePages": "(,10.0.32767]", + "System.Text.Encoding.Extensions": "(,4.3.32767]", + "System.Text.Encodings.Web": "(,10.0.32767]", + "System.Text.Json": "(,10.0.32767]", + "System.Text.RegularExpressions": "(,4.3.32767]", + "System.Threading": "(,4.3.32767]", + "System.Threading.AccessControl": "(,10.0.32767]", + "System.Threading.Channels": "(,10.0.32767]", + "System.Threading.Overlapped": "(,4.3.32767]", + "System.Threading.Tasks": "(,4.3.32767]", + "System.Threading.Tasks.Dataflow": "(,10.0.32767]", + "System.Threading.Tasks.Extensions": "(,5.0.32767]", + "System.Threading.Tasks.Parallel": "(,4.3.32767]", + "System.Threading.Thread": "(,4.3.32767]", + "System.Threading.ThreadPool": "(,4.3.32767]", + "System.Threading.Timer": "(,4.3.32767]", + "System.ValueTuple": "(,4.5.32767]", + "System.Xml.ReaderWriter": "(,4.3.32767]", + "System.Xml.XDocument": "(,4.3.32767]", + "System.Xml.XmlDocument": "(,4.3.32767]", + "System.Xml.XmlSerializer": "(,4.3.32767]", + "System.Xml.XPath": "(,4.3.32767]", + "System.Xml.XPath.XDocument": "(,5.0.32767]" + } + } + } + } + } +} \ No newline at end of file diff --git a/Tag 3/Aufgaben/obj/Aufgaben.csproj.nuget.g.props b/Tag 3/Aufgaben/obj/Aufgaben.csproj.nuget.g.props new file mode 100644 index 0000000..58a40d4 --- /dev/null +++ b/Tag 3/Aufgaben/obj/Aufgaben.csproj.nuget.g.props @@ -0,0 +1,15 @@ + + + + True + NuGet + $(MSBuildThisFileDirectory)project.assets.json + /home/wbs/.nuget/packages/ + /home/wbs/.nuget/packages/ + PackageReference + 7.0.0 + + + + + \ No newline at end of file diff --git a/Tag 3/Aufgaben/obj/Aufgaben.csproj.nuget.g.targets b/Tag 3/Aufgaben/obj/Aufgaben.csproj.nuget.g.targets new file mode 100644 index 0000000..3dc06ef --- /dev/null +++ b/Tag 3/Aufgaben/obj/Aufgaben.csproj.nuget.g.targets @@ -0,0 +1,2 @@ + + \ No newline at end of file diff --git a/Tag 3/Aufgaben/obj/Debug/net10.0/.NETCoreApp,Version=v10.0.AssemblyAttributes.cs b/Tag 3/Aufgaben/obj/Debug/net10.0/.NETCoreApp,Version=v10.0.AssemblyAttributes.cs new file mode 100644 index 0000000..925b135 --- /dev/null +++ b/Tag 3/Aufgaben/obj/Debug/net10.0/.NETCoreApp,Version=v10.0.AssemblyAttributes.cs @@ -0,0 +1,4 @@ +// +using System; +using System.Reflection; +[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v10.0", FrameworkDisplayName = ".NET 10.0")] diff --git a/Tag 3/Aufgaben/obj/Debug/net10.0/Aufgaben.AssemblyInfo.cs b/Tag 3/Aufgaben/obj/Debug/net10.0/Aufgaben.AssemblyInfo.cs new file mode 100644 index 0000000..b7840a1 --- /dev/null +++ b/Tag 3/Aufgaben/obj/Debug/net10.0/Aufgaben.AssemblyInfo.cs @@ -0,0 +1,22 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using System; +using System.Reflection; + +[assembly: System.Reflection.AssemblyCompanyAttribute("Aufgaben")] +[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] +[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] +[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+a969e3cdc7e3eb95c2465273a07955d02edd65b3")] +[assembly: System.Reflection.AssemblyProductAttribute("Aufgaben")] +[assembly: System.Reflection.AssemblyTitleAttribute("Aufgaben")] +[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] + +// Von der MSBuild WriteCodeFragment-Klasse generiert. + diff --git a/Tag 3/Aufgaben/obj/Debug/net10.0/Aufgaben.AssemblyInfoInputs.cache b/Tag 3/Aufgaben/obj/Debug/net10.0/Aufgaben.AssemblyInfoInputs.cache new file mode 100644 index 0000000..72a8cfa --- /dev/null +++ b/Tag 3/Aufgaben/obj/Debug/net10.0/Aufgaben.AssemblyInfoInputs.cache @@ -0,0 +1 @@ +08bedc50b00d314aef0a4ca173441e753c93b5b3126aef83e6c14673ceaab40c diff --git a/Tag 3/Aufgaben/obj/Debug/net10.0/Aufgaben.GeneratedMSBuildEditorConfig.editorconfig b/Tag 3/Aufgaben/obj/Debug/net10.0/Aufgaben.GeneratedMSBuildEditorConfig.editorconfig new file mode 100644 index 0000000..7a96b4b --- /dev/null +++ b/Tag 3/Aufgaben/obj/Debug/net10.0/Aufgaben.GeneratedMSBuildEditorConfig.editorconfig @@ -0,0 +1,17 @@ +is_global = true +build_property.TargetFramework = net10.0 +build_property.TargetFrameworkIdentifier = .NETCoreApp +build_property.TargetFrameworkVersion = v10.0 +build_property.TargetPlatformMinVersion = +build_property.UsingMicrosoftNETSdkWeb = +build_property.ProjectTypeGuids = +build_property.InvariantGlobalization = +build_property.PlatformNeutralAssembly = +build_property.EnforceExtendedAnalyzerRules = +build_property._SupportedPlatformList = Linux,macOS,Windows +build_property.RootNamespace = Aufgaben +build_property.ProjectDir = /home/wbs/Dokumente/Programmierung/wbs-csharp/Tag 3/Aufgaben/ +build_property.EnableComHosting = +build_property.EnableGeneratedComInterfaceComImportInterop = +build_property.EffectiveAnalysisLevelStyle = 10.0 +build_property.EnableCodeStyleSeverity = diff --git a/Tag 3/Aufgaben/obj/Debug/net10.0/Aufgaben.GlobalUsings.g.cs b/Tag 3/Aufgaben/obj/Debug/net10.0/Aufgaben.GlobalUsings.g.cs new file mode 100644 index 0000000..d12bcbc --- /dev/null +++ b/Tag 3/Aufgaben/obj/Debug/net10.0/Aufgaben.GlobalUsings.g.cs @@ -0,0 +1,8 @@ +// +global using System; +global using System.Collections.Generic; +global using System.IO; +global using System.Linq; +global using System.Net.Http; +global using System.Threading; +global using System.Threading.Tasks; diff --git a/Tag 3/Aufgaben/obj/Debug/net10.0/Aufgaben.assets.cache b/Tag 3/Aufgaben/obj/Debug/net10.0/Aufgaben.assets.cache new file mode 100644 index 0000000..ef13e29 Binary files /dev/null and b/Tag 3/Aufgaben/obj/Debug/net10.0/Aufgaben.assets.cache differ diff --git a/Tag 3/Aufgaben/obj/Debug/net10.0/Aufgaben.csproj.CoreCompileInputs.cache b/Tag 3/Aufgaben/obj/Debug/net10.0/Aufgaben.csproj.CoreCompileInputs.cache new file mode 100644 index 0000000..9377d23 --- /dev/null +++ b/Tag 3/Aufgaben/obj/Debug/net10.0/Aufgaben.csproj.CoreCompileInputs.cache @@ -0,0 +1 @@ +a1df3d284f260f86ff3abd6786a8bc1b4fef24b32755387ebfe479b2013c71f0 diff --git a/Tag 3/Aufgaben/obj/Debug/net10.0/Aufgaben.csproj.FileListAbsolute.txt b/Tag 3/Aufgaben/obj/Debug/net10.0/Aufgaben.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..e986675 --- /dev/null +++ b/Tag 3/Aufgaben/obj/Debug/net10.0/Aufgaben.csproj.FileListAbsolute.txt @@ -0,0 +1,14 @@ +/home/wbs/Dokumente/Programmierung/wbs-csharp/Tag 3/Aufgaben/obj/Debug/net10.0/Aufgaben.GeneratedMSBuildEditorConfig.editorconfig +/home/wbs/Dokumente/Programmierung/wbs-csharp/Tag 3/Aufgaben/obj/Debug/net10.0/Aufgaben.AssemblyInfoInputs.cache +/home/wbs/Dokumente/Programmierung/wbs-csharp/Tag 3/Aufgaben/obj/Debug/net10.0/Aufgaben.AssemblyInfo.cs +/home/wbs/Dokumente/Programmierung/wbs-csharp/Tag 3/Aufgaben/obj/Debug/net10.0/Aufgaben.csproj.CoreCompileInputs.cache +/home/wbs/Dokumente/Programmierung/wbs-csharp/Tag 3/Aufgaben/bin/Debug/net10.0/Aufgaben +/home/wbs/Dokumente/Programmierung/wbs-csharp/Tag 3/Aufgaben/bin/Debug/net10.0/Aufgaben.deps.json +/home/wbs/Dokumente/Programmierung/wbs-csharp/Tag 3/Aufgaben/bin/Debug/net10.0/Aufgaben.runtimeconfig.json +/home/wbs/Dokumente/Programmierung/wbs-csharp/Tag 3/Aufgaben/bin/Debug/net10.0/Aufgaben.dll +/home/wbs/Dokumente/Programmierung/wbs-csharp/Tag 3/Aufgaben/bin/Debug/net10.0/Aufgaben.pdb +/home/wbs/Dokumente/Programmierung/wbs-csharp/Tag 3/Aufgaben/obj/Debug/net10.0/Aufgaben.dll +/home/wbs/Dokumente/Programmierung/wbs-csharp/Tag 3/Aufgaben/obj/Debug/net10.0/refint/Aufgaben.dll +/home/wbs/Dokumente/Programmierung/wbs-csharp/Tag 3/Aufgaben/obj/Debug/net10.0/Aufgaben.pdb +/home/wbs/Dokumente/Programmierung/wbs-csharp/Tag 3/Aufgaben/obj/Debug/net10.0/Aufgaben.genruntimeconfig.cache +/home/wbs/Dokumente/Programmierung/wbs-csharp/Tag 3/Aufgaben/obj/Debug/net10.0/ref/Aufgaben.dll diff --git a/Tag 3/Aufgaben/obj/Debug/net10.0/Aufgaben.dll b/Tag 3/Aufgaben/obj/Debug/net10.0/Aufgaben.dll new file mode 100644 index 0000000..f0ab9ba Binary files /dev/null and b/Tag 3/Aufgaben/obj/Debug/net10.0/Aufgaben.dll differ diff --git a/Tag 3/Aufgaben/obj/Debug/net10.0/Aufgaben.genruntimeconfig.cache b/Tag 3/Aufgaben/obj/Debug/net10.0/Aufgaben.genruntimeconfig.cache new file mode 100644 index 0000000..76a01dc --- /dev/null +++ b/Tag 3/Aufgaben/obj/Debug/net10.0/Aufgaben.genruntimeconfig.cache @@ -0,0 +1 @@ +63a1466db585ddbf3b1bf6aa7a058b0ce6eae7ad1c10d5fdeed1ebf89a37b0b7 diff --git a/Tag 3/Aufgaben/obj/Debug/net10.0/Aufgaben.pdb b/Tag 3/Aufgaben/obj/Debug/net10.0/Aufgaben.pdb new file mode 100644 index 0000000..4d9e844 Binary files /dev/null and b/Tag 3/Aufgaben/obj/Debug/net10.0/Aufgaben.pdb differ diff --git a/Tag 3/Aufgaben/obj/Debug/net10.0/apphost b/Tag 3/Aufgaben/obj/Debug/net10.0/apphost new file mode 100755 index 0000000..97e38a7 Binary files /dev/null and b/Tag 3/Aufgaben/obj/Debug/net10.0/apphost differ diff --git a/Tag 3/Aufgaben/obj/Debug/net10.0/ref/Aufgaben.dll b/Tag 3/Aufgaben/obj/Debug/net10.0/ref/Aufgaben.dll new file mode 100644 index 0000000..02923c5 Binary files /dev/null and b/Tag 3/Aufgaben/obj/Debug/net10.0/ref/Aufgaben.dll differ diff --git a/Tag 3/Aufgaben/obj/Debug/net10.0/refint/Aufgaben.dll b/Tag 3/Aufgaben/obj/Debug/net10.0/refint/Aufgaben.dll new file mode 100644 index 0000000..02923c5 Binary files /dev/null and b/Tag 3/Aufgaben/obj/Debug/net10.0/refint/Aufgaben.dll differ diff --git a/Tag 3/Aufgaben/obj/project.assets.json b/Tag 3/Aufgaben/obj/project.assets.json new file mode 100644 index 0000000..ffcbaf8 --- /dev/null +++ b/Tag 3/Aufgaben/obj/project.assets.json @@ -0,0 +1,347 @@ +{ + "version": 3, + "targets": { + "net10.0": {} + }, + "libraries": {}, + "projectFileDependencyGroups": { + "net10.0": [] + }, + "packageFolders": { + "/home/wbs/.nuget/packages/": {} + }, + "project": { + "version": "1.0.0", + "restore": { + "projectUniqueName": "/home/wbs/Dokumente/Programmierung/wbs-csharp/Tag 3/Aufgaben/Aufgaben.csproj", + "projectName": "Aufgaben", + "projectPath": "/home/wbs/Dokumente/Programmierung/wbs-csharp/Tag 3/Aufgaben/Aufgaben.csproj", + "packagesPath": "/home/wbs/.nuget/packages/", + "outputPath": "/home/wbs/Dokumente/Programmierung/wbs-csharp/Tag 3/Aufgaben/obj/", + "projectStyle": "PackageReference", + "configFilePaths": [ + "/home/wbs/.nuget/NuGet/NuGet.Config" + ], + "originalTargetFrameworks": [ + "net10.0" + ], + "sources": { + "/usr/lib64/dotnet/library-packs": {}, + "https://api.nuget.org/v3/index.json": {} + }, + "frameworks": { + "net10.0": { + "targetAlias": "net10.0", + "projectReferences": {} + } + }, + "warningProperties": { + "warnAsError": [ + "NU1605" + ] + }, + "restoreAuditProperties": { + "enableAudit": "true", + "auditLevel": "low", + "auditMode": "all" + }, + "SdkAnalysisLevel": "10.0.100" + }, + "frameworks": { + "net10.0": { + "targetAlias": "net10.0", + "imports": [ + "net461", + "net462", + "net47", + "net471", + "net472", + "net48", + "net481" + ], + "assetTargetFallback": true, + "warn": true, + "frameworkReferences": { + "Microsoft.NETCore.App": { + "privateAssets": "all" + } + }, + "runtimeIdentifierGraphPath": "/usr/lib64/dotnet/sdk/10.0.110/PortableRuntimeIdentifierGraph.json", + "packagesToPrune": { + "Microsoft.CSharp": "(,4.7.32767]", + "Microsoft.VisualBasic": "(,10.4.32767]", + "Microsoft.Win32.Primitives": "(,4.3.32767]", + "Microsoft.Win32.Registry": "(,5.0.32767]", + "runtime.any.System.Collections": "(,4.3.32767]", + "runtime.any.System.Diagnostics.Tools": "(,4.3.32767]", + "runtime.any.System.Diagnostics.Tracing": "(,4.3.32767]", + "runtime.any.System.Globalization": "(,4.3.32767]", + "runtime.any.System.Globalization.Calendars": "(,4.3.32767]", + "runtime.any.System.IO": "(,4.3.32767]", + "runtime.any.System.Reflection": "(,4.3.32767]", + "runtime.any.System.Reflection.Extensions": "(,4.3.32767]", + "runtime.any.System.Reflection.Primitives": "(,4.3.32767]", + "runtime.any.System.Resources.ResourceManager": "(,4.3.32767]", + "runtime.any.System.Runtime": "(,4.3.32767]", + "runtime.any.System.Runtime.Handles": "(,4.3.32767]", + "runtime.any.System.Runtime.InteropServices": "(,4.3.32767]", + "runtime.any.System.Text.Encoding": "(,4.3.32767]", + "runtime.any.System.Text.Encoding.Extensions": "(,4.3.32767]", + "runtime.any.System.Threading.Tasks": "(,4.3.32767]", + "runtime.any.System.Threading.Timer": "(,4.3.32767]", + "runtime.aot.System.Collections": "(,4.3.32767]", + "runtime.aot.System.Diagnostics.Tools": "(,4.3.32767]", + "runtime.aot.System.Diagnostics.Tracing": "(,4.3.32767]", + "runtime.aot.System.Globalization": "(,4.3.32767]", + "runtime.aot.System.Globalization.Calendars": "(,4.3.32767]", + "runtime.aot.System.IO": "(,4.3.32767]", + "runtime.aot.System.Reflection": "(,4.3.32767]", + "runtime.aot.System.Reflection.Extensions": "(,4.3.32767]", + "runtime.aot.System.Reflection.Primitives": "(,4.3.32767]", + "runtime.aot.System.Resources.ResourceManager": "(,4.3.32767]", + "runtime.aot.System.Runtime": "(,4.3.32767]", + "runtime.aot.System.Runtime.Handles": "(,4.3.32767]", + "runtime.aot.System.Runtime.InteropServices": "(,4.3.32767]", + "runtime.aot.System.Text.Encoding": "(,4.3.32767]", + "runtime.aot.System.Text.Encoding.Extensions": "(,4.3.32767]", + "runtime.aot.System.Threading.Tasks": "(,4.3.32767]", + "runtime.aot.System.Threading.Timer": "(,4.3.32767]", + "runtime.debian.8-x64.runtime.native.System": "(,4.3.32767]", + "runtime.debian.8-x64.runtime.native.System.IO.Compression": "(,4.3.32767]", + "runtime.debian.8-x64.runtime.native.System.Net.Http": "(,4.3.32767]", + "runtime.debian.8-x64.runtime.native.System.Net.Security": "(,4.3.32767]", + "runtime.debian.8-x64.runtime.native.System.Security.Cryptography": "(,4.3.32767]", + "runtime.debian.8-x64.runtime.native.System.Security.Cryptography.OpenSsl": "(,4.3.32767]", + "runtime.debian.9-x64.runtime.native.System": "(,4.3.32767]", + "runtime.debian.9-x64.runtime.native.System.IO.Compression": "(,4.3.32767]", + "runtime.debian.9-x64.runtime.native.System.Net.Http": "(,4.3.32767]", + "runtime.debian.9-x64.runtime.native.System.Net.Security": "(,4.3.32767]", + "runtime.fedora.23-x64.runtime.native.System": "(,4.3.32767]", + "runtime.fedora.23-x64.runtime.native.System.IO.Compression": "(,4.3.32767]", + "runtime.fedora.23-x64.runtime.native.System.Net.Http": "(,4.3.32767]", + "runtime.fedora.23-x64.runtime.native.System.Net.Security": "(,4.3.32767]", + "runtime.fedora.23-x64.runtime.native.System.Security.Cryptography": "(,4.3.32767]", + "runtime.fedora.23-x64.runtime.native.System.Security.Cryptography.OpenSsl": "(,4.3.32767]", + "runtime.fedora.24-x64.runtime.native.System": "(,4.3.32767]", + "runtime.fedora.24-x64.runtime.native.System.IO.Compression": "(,4.3.32767]", + "runtime.fedora.24-x64.runtime.native.System.Net.Http": "(,4.3.32767]", + "runtime.fedora.24-x64.runtime.native.System.Net.Security": "(,4.3.32767]", + "runtime.fedora.24-x64.runtime.native.System.Security.Cryptography": "(,4.3.32767]", + "runtime.fedora.24-x64.runtime.native.System.Security.Cryptography.OpenSsl": "(,4.3.32767]", + "runtime.fedora.27-x64.runtime.native.System": "(,4.3.32767]", + "runtime.fedora.27-x64.runtime.native.System.IO.Compression": "(,4.3.32767]", + "runtime.fedora.27-x64.runtime.native.System.Net.Http": "(,4.3.32767]", + "runtime.fedora.27-x64.runtime.native.System.Net.Security": "(,4.3.32767]", + "runtime.fedora.28-x64.runtime.native.System": "(,4.3.32767]", + "runtime.fedora.28-x64.runtime.native.System.IO.Compression": "(,4.3.32767]", + "runtime.fedora.28-x64.runtime.native.System.Net.Http": "(,4.3.32767]", + "runtime.fedora.28-x64.runtime.native.System.Net.Security": "(,4.3.32767]", + "runtime.opensuse.13.2-x64.runtime.native.System": "(,4.3.32767]", + "runtime.opensuse.13.2-x64.runtime.native.System.IO.Compression": "(,4.3.32767]", + "runtime.opensuse.13.2-x64.runtime.native.System.Net.Http": "(,4.3.32767]", + "runtime.opensuse.13.2-x64.runtime.native.System.Net.Security": "(,4.3.32767]", + "runtime.opensuse.13.2-x64.runtime.native.System.Security.Cryptography": "(,4.3.32767]", + "runtime.opensuse.13.2-x64.runtime.native.System.Security.Cryptography.OpenSsl": "(,4.3.32767]", + "runtime.opensuse.42.1-x64.runtime.native.System": "(,4.3.32767]", + "runtime.opensuse.42.1-x64.runtime.native.System.IO.Compression": "(,4.3.32767]", + "runtime.opensuse.42.1-x64.runtime.native.System.Net.Http": "(,4.3.32767]", + "runtime.opensuse.42.1-x64.runtime.native.System.Net.Security": "(,4.3.32767]", + "runtime.opensuse.42.1-x64.runtime.native.System.Security.Cryptography": "(,4.3.32767]", + "runtime.opensuse.42.1-x64.runtime.native.System.Security.Cryptography.OpenSsl": "(,4.3.32767]", + "runtime.opensuse.42.3-x64.runtime.native.System": "(,4.3.32767]", + "runtime.opensuse.42.3-x64.runtime.native.System.IO.Compression": "(,4.3.32767]", + "runtime.opensuse.42.3-x64.runtime.native.System.Net.Http": "(,4.3.32767]", + "runtime.opensuse.42.3-x64.runtime.native.System.Net.Security": "(,4.3.32767]", + "runtime.osx.10.10-x64.runtime.native.System": "(,4.3.32767]", + "runtime.osx.10.10-x64.runtime.native.System.IO.Compression": "(,4.3.32767]", + "runtime.osx.10.10-x64.runtime.native.System.Net.Http": "(,4.3.32767]", + "runtime.osx.10.10-x64.runtime.native.System.Net.Security": "(,4.3.32767]", + "runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography": "(,4.3.32767]", + "runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.Apple": "(,4.3.32767]", + "runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.OpenSsl": "(,4.3.32767]", + "runtime.rhel.7-x64.runtime.native.System": "(,4.3.32767]", + "runtime.rhel.7-x64.runtime.native.System.IO.Compression": "(,4.3.32767]", + "runtime.rhel.7-x64.runtime.native.System.Net.Http": "(,4.3.32767]", + "runtime.rhel.7-x64.runtime.native.System.Net.Security": "(,4.3.32767]", + "runtime.rhel.7-x64.runtime.native.System.Security.Cryptography": "(,4.3.32767]", + "runtime.rhel.7-x64.runtime.native.System.Security.Cryptography.OpenSsl": "(,4.3.32767]", + "runtime.ubuntu.14.04-x64.runtime.native.System": "(,4.3.32767]", + "runtime.ubuntu.14.04-x64.runtime.native.System.IO.Compression": "(,4.3.32767]", + "runtime.ubuntu.14.04-x64.runtime.native.System.Net.Http": "(,4.3.32767]", + "runtime.ubuntu.14.04-x64.runtime.native.System.Net.Security": "(,4.3.32767]", + "runtime.ubuntu.14.04-x64.runtime.native.System.Security.Cryptography": "(,4.3.32767]", + "runtime.ubuntu.14.04-x64.runtime.native.System.Security.Cryptography.OpenSsl": "(,4.3.32767]", + "runtime.ubuntu.16.04-x64.runtime.native.System": "(,4.3.32767]", + "runtime.ubuntu.16.04-x64.runtime.native.System.IO.Compression": "(,4.3.32767]", + "runtime.ubuntu.16.04-x64.runtime.native.System.Net.Http": "(,4.3.32767]", + "runtime.ubuntu.16.04-x64.runtime.native.System.Net.Security": "(,4.3.32767]", + "runtime.ubuntu.16.04-x64.runtime.native.System.Security.Cryptography": "(,4.3.32767]", + "runtime.ubuntu.16.04-x64.runtime.native.System.Security.Cryptography.OpenSsl": "(,4.3.32767]", + "runtime.ubuntu.16.10-x64.runtime.native.System": "(,4.3.32767]", + "runtime.ubuntu.16.10-x64.runtime.native.System.IO.Compression": "(,4.3.32767]", + "runtime.ubuntu.16.10-x64.runtime.native.System.Net.Http": "(,4.3.32767]", + "runtime.ubuntu.16.10-x64.runtime.native.System.Net.Security": "(,4.3.32767]", + "runtime.ubuntu.16.10-x64.runtime.native.System.Security.Cryptography": "(,4.3.32767]", + "runtime.ubuntu.16.10-x64.runtime.native.System.Security.Cryptography.OpenSsl": "(,4.3.32767]", + "runtime.ubuntu.18.04-x64.runtime.native.System": "(,4.3.32767]", + "runtime.ubuntu.18.04-x64.runtime.native.System.IO.Compression": "(,4.3.32767]", + "runtime.ubuntu.18.04-x64.runtime.native.System.Net.Http": "(,4.3.32767]", + "runtime.ubuntu.18.04-x64.runtime.native.System.Net.Security": "(,4.3.32767]", + "runtime.unix.Microsoft.Win32.Primitives": "(,4.3.32767]", + "runtime.unix.System.Console": "(,4.3.32767]", + "runtime.unix.System.Diagnostics.Debug": "(,4.3.32767]", + "runtime.unix.System.IO.FileSystem": "(,4.3.32767]", + "runtime.unix.System.Net.Primitives": "(,4.3.32767]", + "runtime.unix.System.Net.Sockets": "(,4.3.32767]", + "runtime.unix.System.Private.Uri": "(,4.3.32767]", + "runtime.unix.System.Runtime.Extensions": "(,4.3.32767]", + "runtime.win.Microsoft.Win32.Primitives": "(,4.3.32767]", + "runtime.win.System.Console": "(,4.3.32767]", + "runtime.win.System.Diagnostics.Debug": "(,4.3.32767]", + "runtime.win.System.IO.FileSystem": "(,4.3.32767]", + "runtime.win.System.Net.Primitives": "(,4.3.32767]", + "runtime.win.System.Net.Sockets": "(,4.3.32767]", + "runtime.win.System.Runtime.Extensions": "(,4.3.32767]", + "runtime.win10-arm-aot.runtime.native.System.IO.Compression": "(,4.0.32767]", + "runtime.win10-arm64.runtime.native.System.IO.Compression": "(,4.3.32767]", + "runtime.win10-x64-aot.runtime.native.System.IO.Compression": "(,4.0.32767]", + "runtime.win10-x86-aot.runtime.native.System.IO.Compression": "(,4.0.32767]", + "runtime.win7-x64.runtime.native.System.IO.Compression": "(,4.3.32767]", + "runtime.win7-x86.runtime.native.System.IO.Compression": "(,4.3.32767]", + "runtime.win7.System.Private.Uri": "(,4.3.32767]", + "runtime.win8-arm.runtime.native.System.IO.Compression": "(,4.3.32767]", + "System.AppContext": "(,4.3.32767]", + "System.Buffers": "(,5.0.32767]", + "System.Collections": "(,4.3.32767]", + "System.Collections.Concurrent": "(,4.3.32767]", + "System.Collections.Immutable": "(,10.0.32767]", + "System.Collections.NonGeneric": "(,4.3.32767]", + "System.Collections.Specialized": "(,4.3.32767]", + "System.ComponentModel": "(,4.3.32767]", + "System.ComponentModel.Annotations": "(,4.3.32767]", + "System.ComponentModel.EventBasedAsync": "(,4.3.32767]", + "System.ComponentModel.Primitives": "(,4.3.32767]", + "System.ComponentModel.TypeConverter": "(,4.3.32767]", + "System.Console": "(,4.3.32767]", + "System.Data.Common": "(,4.3.32767]", + "System.Data.DataSetExtensions": "(,4.4.32767]", + "System.Diagnostics.Contracts": "(,4.3.32767]", + "System.Diagnostics.Debug": "(,4.3.32767]", + "System.Diagnostics.DiagnosticSource": "(,10.0.32767]", + "System.Diagnostics.FileVersionInfo": "(,4.3.32767]", + "System.Diagnostics.Process": "(,4.3.32767]", + "System.Diagnostics.StackTrace": "(,4.3.32767]", + "System.Diagnostics.TextWriterTraceListener": "(,4.3.32767]", + "System.Diagnostics.Tools": "(,4.3.32767]", + "System.Diagnostics.TraceSource": "(,4.3.32767]", + "System.Diagnostics.Tracing": "(,4.3.32767]", + "System.Drawing.Primitives": "(,4.3.32767]", + "System.Dynamic.Runtime": "(,4.3.32767]", + "System.Formats.Asn1": "(,10.0.32767]", + "System.Formats.Tar": "(,10.0.32767]", + "System.Globalization": "(,4.3.32767]", + "System.Globalization.Calendars": "(,4.3.32767]", + "System.Globalization.Extensions": "(,4.3.32767]", + "System.IO": "(,4.3.32767]", + "System.IO.Compression": "(,4.3.32767]", + "System.IO.Compression.ZipFile": "(,4.3.32767]", + "System.IO.FileSystem": "(,4.3.32767]", + "System.IO.FileSystem.AccessControl": "(,4.4.32767]", + "System.IO.FileSystem.DriveInfo": "(,4.3.32767]", + "System.IO.FileSystem.Primitives": "(,4.3.32767]", + "System.IO.FileSystem.Watcher": "(,4.3.32767]", + "System.IO.IsolatedStorage": "(,4.3.32767]", + "System.IO.MemoryMappedFiles": "(,4.3.32767]", + "System.IO.Pipelines": "(,10.0.32767]", + "System.IO.Pipes": "(,4.3.32767]", + "System.IO.Pipes.AccessControl": "(,5.0.32767]", + "System.IO.UnmanagedMemoryStream": "(,4.3.32767]", + "System.Linq": "(,4.3.32767]", + "System.Linq.AsyncEnumerable": "(,10.0.32767]", + "System.Linq.Expressions": "(,4.3.32767]", + "System.Linq.Parallel": "(,4.3.32767]", + "System.Linq.Queryable": "(,4.3.32767]", + "System.Memory": "(,5.0.32767]", + "System.Net.Http": "(,4.3.32767]", + "System.Net.Http.Json": "(,10.0.32767]", + "System.Net.NameResolution": "(,4.3.32767]", + "System.Net.NetworkInformation": "(,4.3.32767]", + "System.Net.Ping": "(,4.3.32767]", + "System.Net.Primitives": "(,4.3.32767]", + "System.Net.Requests": "(,4.3.32767]", + "System.Net.Security": "(,4.3.32767]", + "System.Net.ServerSentEvents": "(,10.0.32767]", + "System.Net.Sockets": "(,4.3.32767]", + "System.Net.WebHeaderCollection": "(,4.3.32767]", + "System.Net.WebSockets": "(,4.3.32767]", + "System.Net.WebSockets.Client": "(,4.3.32767]", + "System.Numerics.Vectors": "(,5.0.32767]", + "System.ObjectModel": "(,4.3.32767]", + "System.Private.DataContractSerialization": "(,4.3.32767]", + "System.Private.Uri": "(,4.3.32767]", + "System.Reflection": "(,4.3.32767]", + "System.Reflection.DispatchProxy": "(,6.0.32767]", + "System.Reflection.Emit": "(,4.7.32767]", + "System.Reflection.Emit.ILGeneration": "(,4.7.32767]", + "System.Reflection.Emit.Lightweight": "(,4.7.32767]", + "System.Reflection.Extensions": "(,4.3.32767]", + "System.Reflection.Metadata": "(,10.0.32767]", + "System.Reflection.Primitives": "(,4.3.32767]", + "System.Reflection.TypeExtensions": "(,4.3.32767]", + "System.Resources.Reader": "(,4.3.32767]", + "System.Resources.ResourceManager": "(,4.3.32767]", + "System.Resources.Writer": "(,4.3.32767]", + "System.Runtime": "(,4.3.32767]", + "System.Runtime.CompilerServices.Unsafe": "(,7.0.32767]", + "System.Runtime.CompilerServices.VisualC": "(,4.3.32767]", + "System.Runtime.Extensions": "(,4.3.32767]", + "System.Runtime.Handles": "(,4.3.32767]", + "System.Runtime.InteropServices": "(,4.3.32767]", + "System.Runtime.InteropServices.RuntimeInformation": "(,4.3.32767]", + "System.Runtime.Loader": "(,4.3.32767]", + "System.Runtime.Numerics": "(,4.3.32767]", + "System.Runtime.Serialization.Formatters": "(,4.3.32767]", + "System.Runtime.Serialization.Json": "(,4.3.32767]", + "System.Runtime.Serialization.Primitives": "(,4.3.32767]", + "System.Runtime.Serialization.Xml": "(,4.3.32767]", + "System.Security.AccessControl": "(,6.0.32767]", + "System.Security.Claims": "(,4.3.32767]", + "System.Security.Cryptography.Algorithms": "(,4.3.32767]", + "System.Security.Cryptography.Cng": "(,5.0.32767]", + "System.Security.Cryptography.Csp": "(,4.3.32767]", + "System.Security.Cryptography.Encoding": "(,4.3.32767]", + "System.Security.Cryptography.OpenSsl": "(,5.0.32767]", + "System.Security.Cryptography.Primitives": "(,4.3.32767]", + "System.Security.Cryptography.X509Certificates": "(,4.3.32767]", + "System.Security.Principal": "(,4.3.32767]", + "System.Security.Principal.Windows": "(,5.0.32767]", + "System.Security.SecureString": "(,4.3.32767]", + "System.Text.Encoding": "(,4.3.32767]", + "System.Text.Encoding.CodePages": "(,10.0.32767]", + "System.Text.Encoding.Extensions": "(,4.3.32767]", + "System.Text.Encodings.Web": "(,10.0.32767]", + "System.Text.Json": "(,10.0.32767]", + "System.Text.RegularExpressions": "(,4.3.32767]", + "System.Threading": "(,4.3.32767]", + "System.Threading.AccessControl": "(,10.0.32767]", + "System.Threading.Channels": "(,10.0.32767]", + "System.Threading.Overlapped": "(,4.3.32767]", + "System.Threading.Tasks": "(,4.3.32767]", + "System.Threading.Tasks.Dataflow": "(,10.0.32767]", + "System.Threading.Tasks.Extensions": "(,5.0.32767]", + "System.Threading.Tasks.Parallel": "(,4.3.32767]", + "System.Threading.Thread": "(,4.3.32767]", + "System.Threading.ThreadPool": "(,4.3.32767]", + "System.Threading.Timer": "(,4.3.32767]", + "System.ValueTuple": "(,4.5.32767]", + "System.Xml.ReaderWriter": "(,4.3.32767]", + "System.Xml.XDocument": "(,4.3.32767]", + "System.Xml.XmlDocument": "(,4.3.32767]", + "System.Xml.XmlSerializer": "(,4.3.32767]", + "System.Xml.XPath": "(,4.3.32767]", + "System.Xml.XPath.XDocument": "(,5.0.32767]" + } + } + } + } +} \ No newline at end of file diff --git a/Tag 3/Aufgaben/obj/project.nuget.cache b/Tag 3/Aufgaben/obj/project.nuget.cache new file mode 100644 index 0000000..ad2eabf --- /dev/null +++ b/Tag 3/Aufgaben/obj/project.nuget.cache @@ -0,0 +1,8 @@ +{ + "version": 2, + "dgSpecHash": "0m0Dti5tPlE=", + "success": true, + "projectFilePath": "/home/wbs/Dokumente/Programmierung/wbs-csharp/Tag 3/Aufgaben/Aufgaben.csproj", + "expectedPackageFiles": [], + "logs": [] +} \ No newline at end of file diff --git a/Tag 3/Handout/Override.md b/Tag 3/Handout/Override.md new file mode 100644 index 0000000..edf9d67 --- /dev/null +++ b/Tag 3/Handout/Override.md @@ -0,0 +1,339 @@ +# Vererbung, Überschreiben und Polymorphie in C# + +## Ziel dieser Einheit + +In dieser Einheit lernst du: + +- was abstrakte Klassen sind +- wie Vererbung in C# funktioniert +- was der Unterschied zwischen `override` und `new` ist +- wie Polymorphie funktioniert +- warum Casting notwendig sein kann + +--- + +## 1. Grundidee: Vererbung + +Definition: + +Klassen können von anderen Klassen erben. +Dabei übernehmen sie Eigenschaften und Methoden. + +Begriffe: +- Basisklasse (Elternklasse) +- Subklasse (Kindklasse) +- Vererbung + +--- + +## 2. Die Basisklasse: Krokodil + + public abstract class Krokodil + +Erläuterung: + +- abstrakte Klasse → kann nicht instanziiert werden +- dient als gemeinsame Grundlage + +--- + +### Property + + public string Farbe { get; private set; } + +- Property mit unsichtbarem Backing-Field +- Setter ist privat + +--- + +### Konstruktoren + + protected Krokodil() : this("Keine Farbe") + +- Konstruktor-Verkettung mit `this` + + protected Krokodil(string farbe) + { + Farbe = farbe; + KrokodilListe.Add(this); + } + +- jedes Objekt wird automatisch in eine Liste eingefügt + +--- + +### Abstrakte Methode + + public abstract void ZeigeInfoZumLebensraum(); + +Erläuterung: + +- muss in allen Unterklassen implementiert werden + +--- + +### Virtuelle Methode + + public virtual void Schwimmen() + { + Console.WriteLine("Ich schwimme im Wasser."); + } + +Erläuterung: + +- kann überschrieben werden +- muss aber nicht + +--- + +## 3. Klasse Leistenkrokodil + + public sealed class Leistenkrokodil : Krokodil + +Erläuterung: + +- `sealed` → keine weitere Vererbung möglich + +--- + +### Überschreiben abstrakter Methoden + + public override void ZeigeInfoZumLebensraum() + +Erläuterung: + +- `override` ist verpflichtend +- Verhalten wird neu definiert + +--- + +### Überschreiben virtueller Methoden + + public override void Schwimmen() + { + base.Schwimmen(); + Console.WriteLine("Ich schwimme im Salzwasser."); + } + +Erläuterung: + +- `base` greift auf Verhalten der Basisklasse zu + +--- + +### Eigene Methode + + public void ImSchlammLiegen() + +- nur in dieser Klasse verfügbar + +--- + +## 4. Klasse Nilkrokodil + + public class Nilkrokodil : Krokodil + +--- + +### Überschreiben mit sealed + + public sealed override void ZeigeInfoZumLebensraum() + +- verhindert weiteres Überschreiben + +--- + +### Methode mit new + + public new void Schwimmen() + +Erläuterung: + +- `new` blendet die Methode aus +- kein echtes Überschreiben + +--- + +### Eigene Methode + + public void ImGrasLiegen() + +--- + +### Property mit new + + public new string Farbe => base.Farbe.ToUpper(); + +Erläuterung: + +- Getter wurde neu definiert +- gibt Wert in Großbuchstaben zurück +- Expression Bodied Member + +--- + +## 5. Anwendung in der Main-Methode + + Leistenkrokodil leistenkrokodil = new Leistenkrokodil("..."); + + Console.WriteLine($"Farbe des Krokodils: {leistenkrokodil.Farbe}"); + +--- + +### Methodenaufrufe + + leistenkrokodil.ZeigeInfoZumLebensraum(); + leistenkrokodil.Schwimmen(); + leistenkrokodil.ImSchlammLiegen(); + +- implementierte Methode +- überschriebene Methode +- eigene Methode + +--- + +### Nilkrokodil + + Nilkrokodil nilkrokodil = new Nilkrokodil("..."); + + Console.WriteLine($"Farbe des Krokodils: {nilkrokodil.Farbe}"); + +--- + +### Verhalten von new + + nilkrokodil.Schwimmen(); + +- kein Unterschied sichtbar bei direkter Verwendung + +--- + +## 6. Polymorphie mit Basisklasse + + foreach (Krokodil k in Krokodil.KrokodilListe) + +--- + +### Reflection + + Console.WriteLine(k.GetType().Name); + +- tatsächlicher Typ zur Laufzeit + +--- + +### Verhalten von override + + k.ZeigeInfoZumLebensraum(); + +- abhängig von der Subklasse + +--- + +### Verhalten von new + + Console.WriteLine(k.Farbe); + +Erläuterung: + +- nur Basisklassen-Version wird verwendet +- `new` greift hier nicht + +--- + +### Unterschied sichtbar machen + + k.Schwimmen(); + +- einmal überschrieben +- einmal nur ausgeblendet + +--- + +## 7. Casting + +### Direktes Casting + + ((Leistenkrokodil)k).ImSchlammLiegen(); + +- kann Exception werfen + +--- + +### Sicheres Casting mit as + + (k as Nilkrokodil)?.ImGrasLiegen(); + +- gibt null zurück +- `?` prüft auf null + +--- + +### Casting mit is + + if (k is Leistenkrokodil l) + l.ImSchlammLiegen(); + +--- + + if (k is Nilkrokodil n) + { + n.ImGrasLiegen(); + n.Schwimmen(); + } + +- kombiniert Typprüfung und Casting + +--- + +## 8. Wichtige Konzepte im Überblick + +### abstract +- MUSS überschrieben werden + +--- + +### virtual +- KANN überschrieben werden + +--- + +### override +- echtes Überschreiben + +--- + +### new +- nur Ausblenden + +--- + +### sealed +- verhindert weiteres Überschreiben + +--- + +### Polymorphie +- Verhalten abhängig vom tatsächlichen Objekttyp + +--- + +## Zusammenfassung + +- Vererbung ermöglicht Wiederverwendung von Code +- abstrakte Methoden müssen implementiert werden +- virtuelle Methoden können überschrieben werden +- `override` und `new` verhalten sich unterschiedlich +- Polymorphie bestimmt das Verhalten zur Laufzeit +- Casting ist notwendig für Zugriff auf Subklassen + +--- + +## Verständnisfragen + +- Was ist der Unterschied zwischen `override` und `new`? +- Wann wird eine Methode überschrieben? +- Warum funktioniert `new` bei Polymorphie anders? +- Wann ist Casting notwendig? +- Was macht `sealed`? +`` \ No newline at end of file diff --git a/Tag 3/Override/Krokodile/Krokodil.cs b/Tag 3/Override/Krokodile/Krokodil.cs new file mode 100644 index 0000000..06b18ff --- /dev/null +++ b/Tag 3/Override/Krokodile/Krokodil.cs @@ -0,0 +1,50 @@ +using System; +using System.Collections.Generic; + +namespace _10_Override.Krokodile; + +public abstract class Krokodil +{ + public static readonly List KrokodilListe = new List(); + + /* + // Full-Property mit sichtbarem Backing-Field: + private string farbe; + + public string Farbe + { + get => farbe; // Expression-Bodied + + private set + { + farbe = value; + } + }*/ + + public string Farbe { get; private set; } // Property mit unsichtbarem Backing-Field. + // Das passende Feld zur Property wird vom Compiler angelegt und wir haben im Code keinen direkten Zugriff darauf. + + // Abstrakte Klassen haben in der Regel 'protected' Konstruktoren. + protected Krokodil() : this("Keine Farbe") // Konstruktor-Verkettung mit 'this'. + { + + } + + protected Krokodil(string farbe) + { + Farbe = farbe; + KrokodilListe.Add(this); + } + + // Abstrakte Methode: + /// + /// Diese Methode gibt Informationen zum Lebensraum des Krokodils aus. + /// + public abstract void ZeigeInfoZumLebensraum(); + + // 'virtual-Methoden KÖNNEN überschrieben werden. 'abstract'-Methoden MÜSSEN überschrieben werden. Methoden, die nicht abstract oder virtual sind, können NICHT überschrieben werden. + public virtual void Schwimmen() + { + Console.WriteLine("Ich schwimme im Wasser."); + } +} \ No newline at end of file diff --git a/Tag 3/Override/Krokodile/Leistenkrokodil.cs b/Tag 3/Override/Krokodile/Leistenkrokodil.cs new file mode 100644 index 0000000..03112b9 --- /dev/null +++ b/Tag 3/Override/Krokodile/Leistenkrokodil.cs @@ -0,0 +1,31 @@ +using System; + +namespace _10_Override.Krokodile; + +// 'sealed': Entspricht in diesem Kontext dem 'final' aus Java. Die Klasse wird versiegelt und es kann nicht weiter von ihr geerbt werden. +public sealed class Leistenkrokodil : Krokodil +{ + public Leistenkrokodil(string farbe) : base(farbe) + { + } + + // Abstrakte Methoden MÜSSEN in nicht-abstrakten Klassen überschrieben werden. + // Unterschied zu Java: 'override' ist ein Schlüsselwort, welches wir zum Überschreiben angeben MÜSSEN. + public override void ZeigeInfoZumLebensraum() + { + Console.WriteLine("Ich lebe in Ostindien, Südostasien und komme sogar bis nach Nordaustralien."); + } + + // Virtuelle Methoden KÖNNEN überschrieben werden: + public override void Schwimmen() + { + base.Schwimmen(); // Mit 'base' können wir hier das Verhalten der überschriebenen Methode wiederverwenden. + Console.WriteLine("Ich schwimme im Salzwasser."); + } + + // Diese Methode wird nicht geerbt oder überschrieben. Sie ist nur in dieser Klasse vorhanden. + public void ImSchlammLiegen() + { + Console.WriteLine("Ich liege im Schlamm. Hier mag ich es."); + } +} \ No newline at end of file diff --git a/Tag 3/Override/Krokodile/Nilkrokodil.cs b/Tag 3/Override/Krokodile/Nilkrokodil.cs new file mode 100644 index 0000000..05e3f53 --- /dev/null +++ b/Tag 3/Override/Krokodile/Nilkrokodil.cs @@ -0,0 +1,31 @@ +using System; + +namespace _10_Override.Krokodile; + +public class Nilkrokodil : Krokodil +{ + public Nilkrokodil(string farbe) : base(farbe) + { + } + + public sealed override void ZeigeInfoZumLebensraum() // 'sealed' kann für Methoden verwendet werden, um weiteres Überschreiben zu verbieten. + { + Console.WriteLine("Anders als mein Name vermuten lässt, lebe ich nicht nur am Nil, sondern in fast ganz Afrika."); + } + + // 'new' kann verwendet werden, um den geerbten Member auszublenden. Dies wird vor allem für Methoden verwendet, die weder virtual noch abstract sind. In C# können nur Methoden überschrieben werden, die die Schlüsselwörter 'virtual', 'abstract' oder 'override' verwenden. 'new' funktioniert auch dort, wo 'override' nicht funktionieren würde. + public new void Schwimmen() + { + base.Schwimmen(); + Console.WriteLine("Ich schwimme im Süßwasser."); + } + + public void ImGrasLiegen() + { + Console.WriteLine("Ich liege im Gras. Hier mag ich es."); + } + + // Wir können in C# nur abstrakte und virtuelle Methoden überschreiben. Um trotzdem das Verhalten einer nicht-abstrakten und nicht-virtuellen Methode verändern zu können, gibt es in C# noch das 'new'-Schlüsselwort. + public new string Farbe => base.Farbe.ToUpper(); // Der Getter der Property wurde neu definiert und gibt nun die Farbe in Großbuchstaben zurück. + // Diese Schreibweise hier wird "Expression Bodied Member" genannt und funktioniert bei allen Methoden und Properties, die nur 1 Befehl ausführen. +} \ No newline at end of file diff --git a/Tag 3/Override/Override.cs b/Tag 3/Override/Override.cs new file mode 100644 index 0000000..8b37086 --- /dev/null +++ b/Tag 3/Override/Override.cs @@ -0,0 +1,51 @@ +using System; +using _10_Override.Krokodile; + +namespace _10_Override; + +public class Override +{ + private static void Main(string[] args) + { + Leistenkrokodil leistenkrokodil = new Leistenkrokodil("Grau bis graubraun oder goldbraun"); + Console.WriteLine($"Farbe des Krokodils: {leistenkrokodil.Farbe}"); // Mit dem '$' vor der Zeichenkette machen wir eine "String-Interpolation". Das heißt, wir können Variablen in { } direkt in die Zeichenkette schreiben. + leistenkrokodil.ZeigeInfoZumLebensraum(); // die abstrakte Methode, die in der Subklasse durch Überschreiben implementiert wurde. + leistenkrokodil.Schwimmen(); // Virtuelle Methode, die überschrieben wurde. + leistenkrokodil.ImSchlammLiegen(); // Eine in der Subklasse erstellte Methode. + + Nilkrokodil nilkrokodil = new Nilkrokodil("Oberseits dunkel-olivfarben, der Bauch ist einheitlich porzellanfarben"); + Console.WriteLine($"Farbe des Krokodils: {nilkrokodil.Farbe}"); // Beispiel zu 'new' -> Wir bekommen alles in Großbuchstaben. + nilkrokodil.ZeigeInfoZumLebensraum(); + nilkrokodil.Schwimmen(); // Beispiel zu 'new' -> Es ist hier noch kein Unterschied zum Override sichtbar. + nilkrokodil.ImGrasLiegen(); + + Console.WriteLine(); + Console.WriteLine("Ausgabe aller Elemente der Krokodil-Liste:"); + foreach (Krokodil k in Krokodil.KrokodilListe) + { + Console.WriteLine(k.GetType().Name); // Mit "Reflection" den Namen des instanziierten Datentyps abfragen. + Console.WriteLine(k.Farbe); // Hier greift 'new' nicht, da der Typ die Basisklasse ist. In diesem Fall würde nur 'override' funktionieren. + + k.ZeigeInfoZumLebensraum(); + // Da diese Methode in der Basisklasse definiert ist, verfügen auch alle Subklassen darüber. + // Die Methode wird aber je nach Subklasse ein anderes Verhalten zeigen, da sie dort überschrieben wurde. + + k.Schwimmen(); // Diese Methode haben wir einmal überschrieben und einmal nur ausgeblendet. Daher werden wir einmal die Ausgabe aus der überschreibenden Variante sehen und einmal die Ausgabe aus der Basisklasse. + + // Möchte ich Member aufrufen, die es nur in den Subklassen gibt, muss konvertiert (gecastet) werden: + //((Leistenkrokodil)k).ImSchlammLiegen(); // Verursacht eine Exception, wenn nicht gecastet werden kann. + //(k as Nilkrokodil)?.ImGrasLiegen(); // 'as' gibt Null zurück, wenn nicht gecastet werden kann. '?' prüft auf Null. + + // Mit 'is' prüfen wir, ob das Krokodil ein Leistenkrokodil ist. Wenn ja, wird gecastet und das Ergebnis 'l' zugewiesen: + if (k is Leistenkrokodil l) + l.ImSchlammLiegen(); + + // Mit 'is' prüfen wir, ob das Krokodil ein Nilkrokodil ist. Wenn ja, wird gecastet und das Ergebnis 'n' zugewiesen: + if (k is Nilkrokodil n) + { + n.ImGrasLiegen(); + n.Schwimmen(); // Nach dem Cast wird der Typ der Subklasse verwendet und wir sehen die Ausgabe aus der 'new'-Methode. + } + } + } +} \ No newline at end of file diff --git a/Tag 3/Unterricht/Krokodile/Krokodil.cs b/Tag 3/Unterricht/Krokodile/Krokodil.cs new file mode 100644 index 0000000..06b18ff --- /dev/null +++ b/Tag 3/Unterricht/Krokodile/Krokodil.cs @@ -0,0 +1,50 @@ +using System; +using System.Collections.Generic; + +namespace _10_Override.Krokodile; + +public abstract class Krokodil +{ + public static readonly List KrokodilListe = new List(); + + /* + // Full-Property mit sichtbarem Backing-Field: + private string farbe; + + public string Farbe + { + get => farbe; // Expression-Bodied + + private set + { + farbe = value; + } + }*/ + + public string Farbe { get; private set; } // Property mit unsichtbarem Backing-Field. + // Das passende Feld zur Property wird vom Compiler angelegt und wir haben im Code keinen direkten Zugriff darauf. + + // Abstrakte Klassen haben in der Regel 'protected' Konstruktoren. + protected Krokodil() : this("Keine Farbe") // Konstruktor-Verkettung mit 'this'. + { + + } + + protected Krokodil(string farbe) + { + Farbe = farbe; + KrokodilListe.Add(this); + } + + // Abstrakte Methode: + /// + /// Diese Methode gibt Informationen zum Lebensraum des Krokodils aus. + /// + public abstract void ZeigeInfoZumLebensraum(); + + // 'virtual-Methoden KÖNNEN überschrieben werden. 'abstract'-Methoden MÜSSEN überschrieben werden. Methoden, die nicht abstract oder virtual sind, können NICHT überschrieben werden. + public virtual void Schwimmen() + { + Console.WriteLine("Ich schwimme im Wasser."); + } +} \ No newline at end of file diff --git a/Tag 3/Unterricht/Krokodile/Leistenkrokodil.cs b/Tag 3/Unterricht/Krokodile/Leistenkrokodil.cs new file mode 100644 index 0000000..03112b9 --- /dev/null +++ b/Tag 3/Unterricht/Krokodile/Leistenkrokodil.cs @@ -0,0 +1,31 @@ +using System; + +namespace _10_Override.Krokodile; + +// 'sealed': Entspricht in diesem Kontext dem 'final' aus Java. Die Klasse wird versiegelt und es kann nicht weiter von ihr geerbt werden. +public sealed class Leistenkrokodil : Krokodil +{ + public Leistenkrokodil(string farbe) : base(farbe) + { + } + + // Abstrakte Methoden MÜSSEN in nicht-abstrakten Klassen überschrieben werden. + // Unterschied zu Java: 'override' ist ein Schlüsselwort, welches wir zum Überschreiben angeben MÜSSEN. + public override void ZeigeInfoZumLebensraum() + { + Console.WriteLine("Ich lebe in Ostindien, Südostasien und komme sogar bis nach Nordaustralien."); + } + + // Virtuelle Methoden KÖNNEN überschrieben werden: + public override void Schwimmen() + { + base.Schwimmen(); // Mit 'base' können wir hier das Verhalten der überschriebenen Methode wiederverwenden. + Console.WriteLine("Ich schwimme im Salzwasser."); + } + + // Diese Methode wird nicht geerbt oder überschrieben. Sie ist nur in dieser Klasse vorhanden. + public void ImSchlammLiegen() + { + Console.WriteLine("Ich liege im Schlamm. Hier mag ich es."); + } +} \ No newline at end of file diff --git a/Tag 3/Unterricht/Krokodile/Nilkrokodil.cs b/Tag 3/Unterricht/Krokodile/Nilkrokodil.cs new file mode 100644 index 0000000..05e3f53 --- /dev/null +++ b/Tag 3/Unterricht/Krokodile/Nilkrokodil.cs @@ -0,0 +1,31 @@ +using System; + +namespace _10_Override.Krokodile; + +public class Nilkrokodil : Krokodil +{ + public Nilkrokodil(string farbe) : base(farbe) + { + } + + public sealed override void ZeigeInfoZumLebensraum() // 'sealed' kann für Methoden verwendet werden, um weiteres Überschreiben zu verbieten. + { + Console.WriteLine("Anders als mein Name vermuten lässt, lebe ich nicht nur am Nil, sondern in fast ganz Afrika."); + } + + // 'new' kann verwendet werden, um den geerbten Member auszublenden. Dies wird vor allem für Methoden verwendet, die weder virtual noch abstract sind. In C# können nur Methoden überschrieben werden, die die Schlüsselwörter 'virtual', 'abstract' oder 'override' verwenden. 'new' funktioniert auch dort, wo 'override' nicht funktionieren würde. + public new void Schwimmen() + { + base.Schwimmen(); + Console.WriteLine("Ich schwimme im Süßwasser."); + } + + public void ImGrasLiegen() + { + Console.WriteLine("Ich liege im Gras. Hier mag ich es."); + } + + // Wir können in C# nur abstrakte und virtuelle Methoden überschreiben. Um trotzdem das Verhalten einer nicht-abstrakten und nicht-virtuellen Methode verändern zu können, gibt es in C# noch das 'new'-Schlüsselwort. + public new string Farbe => base.Farbe.ToUpper(); // Der Getter der Property wurde neu definiert und gibt nun die Farbe in Großbuchstaben zurück. + // Diese Schreibweise hier wird "Expression Bodied Member" genannt und funktioniert bei allen Methoden und Properties, die nur 1 Befehl ausführen. +} \ No newline at end of file diff --git a/Tag 3/Unterricht/New.cs b/Tag 3/Unterricht/New.cs new file mode 100644 index 0000000..10587bc --- /dev/null +++ b/Tag 3/Unterricht/New.cs @@ -0,0 +1,36 @@ +namespace Tag_3_Unterricht; + +public class New +{ + public static void Main() + { + var autoViaOverride = new Override.Auto(); + } + + class ViaOverride + { + public class Produkt + { + protected int preis; + + public virtual void SetPreis(int preis) + { + this.preis = preis; + } + } + + public class Auto : Produkt + { + public override void SetPreis(int preis) + { + if (preis < 100) throw new ArgumentException("Zu günstig"); + this.preis = preis; + } + } + } + + class ViaOvershadow + { + + } +} diff --git a/Tag 3/Unterricht/Override_Abstract.cs b/Tag 3/Unterricht/Override_Abstract.cs new file mode 100644 index 0000000..a06f835 --- /dev/null +++ b/Tag 3/Unterricht/Override_Abstract.cs @@ -0,0 +1,30 @@ +namespace Tag_3_Unterricht; + +public class Override_Abstract +{ + public static void Main() + { + var auto = new Auto(); + } + + abstract class Produkt + { + protected int preis; + + public abstract void SetPreis(int preis); + } + + class Auto : Produkt + { + public override void SetPreis(int preis) + { + if (preis < 100) throw new ArgumentException("Zu günstig"); + this.preis = preis; + } + + public void fahren() + { + + } + } +} diff --git a/Tag 3/Unterricht/Override_Virtual.cs b/Tag 3/Unterricht/Override_Virtual.cs new file mode 100644 index 0000000..7a7b5a0 --- /dev/null +++ b/Tag 3/Unterricht/Override_Virtual.cs @@ -0,0 +1,29 @@ +namespace Tag_3_Unterricht; + +public class Override_Virtual +{ + public static void Main() + { + var auto = new Auto(); + auto.SetPreis(99); + } + + class Produkt + { + protected int preis; + + public virtual void SetPreis(int preis) + { + this.preis = preis; + } + } + + class Auto : Produkt + { + public override void SetPreis(int preis) + { + if (preis < 100) throw new ArgumentException("Zu günstig"); + this.preis = preis; + } + } +} diff --git a/Tag 3/Unterricht/Program.cs b/Tag 3/Unterricht/Program.cs new file mode 100644 index 0000000..cc89bd8 --- /dev/null +++ b/Tag 3/Unterricht/Program.cs @@ -0,0 +1,4 @@ +using Tag_3_Unterricht; + +Vererbung.Main(); +Override_Virtual.Main(); diff --git a/Tag 3/Unterricht/Tafel/Tag_08_Konstruktoren.cs b/Tag 3/Unterricht/Tafel/Tag_08_Konstruktoren.cs new file mode 100644 index 0000000..57d3a35 --- /dev/null +++ b/Tag 3/Unterricht/Tafel/Tag_08_Konstruktoren.cs @@ -0,0 +1,42 @@ +namespace OP6_78_FIAE1; + +public class Tag_08_Konstruktoren +{ + public static void Main() + { + var auto = new Auto(); + var auto2 = new Auto("Orange"); + //auto.einfärben("Rot"); + Console.WriteLine(auto.lackfarbe); + Console.WriteLine(auto.preis); + } +} + +class Produkt +{ + public int preis; + + public Produkt(int preis) + { + this.preis = preis; + } +} + +class Auto : Produkt +{ + public string lackfarbe; + + public Auto() : this("UNBEMALT") + { + } + + public Auto(string lackfarbe) : base(100) + { + einfärben(lackfarbe); + } + + public void einfärben(string lackfarbe) + { + this.lackfarbe = lackfarbe; + } +} \ No newline at end of file diff --git a/Tag 3/Unterricht/Tafel/Tag_08_New.cs b/Tag 3/Unterricht/Tafel/Tag_08_New.cs new file mode 100644 index 0000000..d25e960 --- /dev/null +++ b/Tag 3/Unterricht/Tafel/Tag_08_New.cs @@ -0,0 +1,57 @@ +namespace OP6_78_FIAE1; + +public class Tag_08_New +{ + public static void Main() + { + var autoViaOverride = new ViaOverride.Auto(); + autoViaOverride.SetPreis(100); + var produktViaOverride = (ViaOverride.Produkt)autoViaOverride; + produktViaOverride.SetPreis(100); + + Console.WriteLine("---"); + + var autoViaOvershadow = new ViaOvershadow.Auto(); + autoViaOvershadow.SetPreis(100); + var produktViaOvershadow = (ViaOvershadow.Produkt)autoViaOvershadow; + produktViaOvershadow.SetPreis(100); + } + + class ViaOverride + { + public class Produkt + { + public virtual void SetPreis(int preis) + { + Console.WriteLine(preis); + } + } + + public class Auto : Produkt + { + public override void SetPreis(int preis) + { + Console.WriteLine("Dies ist ein Auto mit Preis " + preis); + } + } + } + + class ViaOvershadow + { + public class Produkt + { + public void SetPreis(int preis) + { + Console.WriteLine(preis); + } + } + + public class Auto : Produkt + { + public new void SetPreis(int preis) + { + Console.WriteLine("Dies ist ein Auto mit Preis " + preis); + } + } + } +} \ No newline at end of file diff --git a/Tag 3/Unterricht/Tafel/Tag_08_Override_Abstract.cs b/Tag 3/Unterricht/Tafel/Tag_08_Override_Abstract.cs new file mode 100644 index 0000000..62f1612 --- /dev/null +++ b/Tag 3/Unterricht/Tafel/Tag_08_Override_Abstract.cs @@ -0,0 +1,33 @@ +namespace OP6_78_FIAE1; + +public class Tag_08_Override_Abstract +{ + public static void Main() + { + var auto = new Auto(); + auto.SetPreis(99); + } + + abstract class Produkt + { + protected int preis; + + public abstract void SetPreis(int preis); // abstract -> MUST be overridden + } + + class Auto: Produkt + { + // ersetzen + public override void SetPreis(int preis) + { + if (preis < 100) throw new ArgumentException("zu günstig"); + this.preis = preis; + } + + // erweitern + public void fahren() + { + Console.WriteLine("Brumm!"); + } + } +} \ No newline at end of file diff --git a/Tag 3/Unterricht/Tafel/Tag_08_Override_Virtual.cs b/Tag 3/Unterricht/Tafel/Tag_08_Override_Virtual.cs new file mode 100644 index 0000000..d2283e9 --- /dev/null +++ b/Tag 3/Unterricht/Tafel/Tag_08_Override_Virtual.cs @@ -0,0 +1,39 @@ +namespace OP6_78_FIAE1; + +public class Tag_08_Override_Virtual +{ + public static void Main() + { + var auto = new Auto(); + auto.SetPreis(99); + } + + class Produkt + { + protected int preis; + + public virtual void SetPreis(int preis) // virtual -> MAY be overridden + { + this.preis = preis; + } + } + + class Auto: Produkt + { + // ersetzen + public override void SetPreis(int preis) + { + if (preis < 100) throw new ArgumentException("zu günstig"); + + this.preis = preis; + //or reuse: + //base.SetPreis(preis); + } + + // erweitern + public void fahren() + { + Console.WriteLine("Brumm!"); + } + } +} \ No newline at end of file diff --git a/Tag 3/Unterricht/Tafel/Tag_08_Properties.cs b/Tag 3/Unterricht/Tafel/Tag_08_Properties.cs new file mode 100644 index 0000000..eae5364 --- /dev/null +++ b/Tag 3/Unterricht/Tafel/Tag_08_Properties.cs @@ -0,0 +1,55 @@ +namespace OP6_78_FIAE1; + +public class Tag_08_Properties +{ + public static void Main() + { + var p = new Person("Alice"); + //p.Name = "Alice"; // not allowed + Console.WriteLine(p.Name); + + p.Age = 18; + Console.WriteLine(p.Age); + Console.WriteLine(p.IstVolljährig); + + //p.Age = 17; + Console.WriteLine(p.IstVolljährig2); + } +} + +class Person +{ + public bool IstVolljährig { get; private set; } + public bool IstVolljährig2 => Age >= 18; + // Exact same as: + // public bool IstVolljährig2 { + // get { return Age >= 18; } + // } + + public Person(string name) + { + Name = name; + } + + private int _age; // Zusatz: Schauen Sie sich das 'field' Keyword von C# an. + public int Age { + get => _age; + set + { + IstVolljährig = value >= 18; + _age = value; + } + } + + public string Name { get; private set; } + // Basically same as: + // private string name; + // public string getName() + // { + // return name; + // } + // private void setName(string value) + // { + // name = value; + // } +} \ No newline at end of file diff --git a/Tag 3/Unterricht/Unterricht.csproj b/Tag 3/Unterricht/Unterricht.csproj new file mode 100644 index 0000000..ed9781c --- /dev/null +++ b/Tag 3/Unterricht/Unterricht.csproj @@ -0,0 +1,10 @@ + + + + Exe + net10.0 + enable + enable + + + diff --git a/Tag 3/Unterricht/Vererbung.cs b/Tag 3/Unterricht/Vererbung.cs new file mode 100644 index 0000000..60c35bc --- /dev/null +++ b/Tag 3/Unterricht/Vererbung.cs @@ -0,0 +1,43 @@ +namespace Tag_3_Unterricht; + +public class Vererbung +{ + public static void Main() + { + var auto = new Auto(); + var auto2 = new Auto("Orange"); + + Console.WriteLine(auto.lackfarbe); + Console.WriteLine(auto.preis); + } +} + +class Produkt +{ + public int preis; + + public Produkt(int preis) + { + this.preis = preis; + } +} + +class Auto : Produkt +{ + public string lackfarbe; + + public Auto() : this("UNBEMALT") + { + Console.WriteLine("Auto ohne Lack erstellt"); + } + + public Auto(string lackfarbe) : base(100) + { + einfärben(lackfarbe); + } + + public void einfärben(string lackfarbe) + { + this.lackfarbe = lackfarbe; + } +} diff --git a/Tag 3/Unterricht/obj/Debug/net10.0/.NETCoreApp,Version=v10.0.AssemblyAttributes.cs b/Tag 3/Unterricht/obj/Debug/net10.0/.NETCoreApp,Version=v10.0.AssemblyAttributes.cs new file mode 100644 index 0000000..925b135 --- /dev/null +++ b/Tag 3/Unterricht/obj/Debug/net10.0/.NETCoreApp,Version=v10.0.AssemblyAttributes.cs @@ -0,0 +1,4 @@ +// +using System; +using System.Reflection; +[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v10.0", FrameworkDisplayName = ".NET 10.0")] diff --git a/Tag 3/Unterricht/obj/Debug/net10.0/Unterricht.AssemblyInfo.cs b/Tag 3/Unterricht/obj/Debug/net10.0/Unterricht.AssemblyInfo.cs new file mode 100644 index 0000000..ab5ee66 --- /dev/null +++ b/Tag 3/Unterricht/obj/Debug/net10.0/Unterricht.AssemblyInfo.cs @@ -0,0 +1,22 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using System; +using System.Reflection; + +[assembly: System.Reflection.AssemblyCompanyAttribute("Unterricht")] +[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] +[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] +[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+a969e3cdc7e3eb95c2465273a07955d02edd65b3")] +[assembly: System.Reflection.AssemblyProductAttribute("Unterricht")] +[assembly: System.Reflection.AssemblyTitleAttribute("Unterricht")] +[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] + +// Von der MSBuild WriteCodeFragment-Klasse generiert. + diff --git a/Tag 3/Unterricht/obj/Debug/net10.0/Unterricht.AssemblyInfoInputs.cache b/Tag 3/Unterricht/obj/Debug/net10.0/Unterricht.AssemblyInfoInputs.cache new file mode 100644 index 0000000..d271857 --- /dev/null +++ b/Tag 3/Unterricht/obj/Debug/net10.0/Unterricht.AssemblyInfoInputs.cache @@ -0,0 +1 @@ +062eacb93ae156a64671a431fbb1ac4da45def492257997a9bc44420bd407939 diff --git a/Tag 3/Unterricht/obj/Debug/net10.0/Unterricht.GeneratedMSBuildEditorConfig.editorconfig b/Tag 3/Unterricht/obj/Debug/net10.0/Unterricht.GeneratedMSBuildEditorConfig.editorconfig new file mode 100644 index 0000000..21dd5e9 --- /dev/null +++ b/Tag 3/Unterricht/obj/Debug/net10.0/Unterricht.GeneratedMSBuildEditorConfig.editorconfig @@ -0,0 +1,17 @@ +is_global = true +build_property.TargetFramework = net10.0 +build_property.TargetFrameworkIdentifier = .NETCoreApp +build_property.TargetFrameworkVersion = v10.0 +build_property.TargetPlatformMinVersion = +build_property.UsingMicrosoftNETSdkWeb = +build_property.ProjectTypeGuids = +build_property.InvariantGlobalization = +build_property.PlatformNeutralAssembly = +build_property.EnforceExtendedAnalyzerRules = +build_property._SupportedPlatformList = Linux,macOS,Windows +build_property.RootNamespace = Unterricht +build_property.ProjectDir = /home/wbs/Dokumente/Programmierung/wbs-csharp/Tag 3/Unterricht/ +build_property.EnableComHosting = +build_property.EnableGeneratedComInterfaceComImportInterop = +build_property.EffectiveAnalysisLevelStyle = 10.0 +build_property.EnableCodeStyleSeverity = diff --git a/Tag 3/Unterricht/obj/Debug/net10.0/Unterricht.GlobalUsings.g.cs b/Tag 3/Unterricht/obj/Debug/net10.0/Unterricht.GlobalUsings.g.cs new file mode 100644 index 0000000..d12bcbc --- /dev/null +++ b/Tag 3/Unterricht/obj/Debug/net10.0/Unterricht.GlobalUsings.g.cs @@ -0,0 +1,8 @@ +// +global using System; +global using System.Collections.Generic; +global using System.IO; +global using System.Linq; +global using System.Net.Http; +global using System.Threading; +global using System.Threading.Tasks; diff --git a/Tag 3/Unterricht/obj/Debug/net10.0/Unterricht.assets.cache b/Tag 3/Unterricht/obj/Debug/net10.0/Unterricht.assets.cache new file mode 100644 index 0000000..639f59d Binary files /dev/null and b/Tag 3/Unterricht/obj/Debug/net10.0/Unterricht.assets.cache differ diff --git a/Tag 3/Unterricht/obj/Debug/net10.0/Unterricht.csproj.CoreCompileInputs.cache b/Tag 3/Unterricht/obj/Debug/net10.0/Unterricht.csproj.CoreCompileInputs.cache new file mode 100644 index 0000000..c545169 --- /dev/null +++ b/Tag 3/Unterricht/obj/Debug/net10.0/Unterricht.csproj.CoreCompileInputs.cache @@ -0,0 +1 @@ +43c29ba4ccd49d339cbb04e894858490d966cdad7e5497f24eedbd254c97925f diff --git a/Tag 3/Unterricht/obj/Debug/net10.0/Unterricht.csproj.FileListAbsolute.txt b/Tag 3/Unterricht/obj/Debug/net10.0/Unterricht.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..8c250df --- /dev/null +++ b/Tag 3/Unterricht/obj/Debug/net10.0/Unterricht.csproj.FileListAbsolute.txt @@ -0,0 +1,14 @@ +/home/wbs/Dokumente/Programmierung/wbs-csharp/Tag 3/Unterricht/obj/Debug/net10.0/Unterricht.GeneratedMSBuildEditorConfig.editorconfig +/home/wbs/Dokumente/Programmierung/wbs-csharp/Tag 3/Unterricht/obj/Debug/net10.0/Unterricht.AssemblyInfoInputs.cache +/home/wbs/Dokumente/Programmierung/wbs-csharp/Tag 3/Unterricht/obj/Debug/net10.0/Unterricht.AssemblyInfo.cs +/home/wbs/Dokumente/Programmierung/wbs-csharp/Tag 3/Unterricht/obj/Debug/net10.0/Unterricht.csproj.CoreCompileInputs.cache +/home/wbs/Dokumente/Programmierung/wbs-csharp/Tag 3/Unterricht/bin/Debug/net10.0/Unterricht +/home/wbs/Dokumente/Programmierung/wbs-csharp/Tag 3/Unterricht/bin/Debug/net10.0/Unterricht.deps.json +/home/wbs/Dokumente/Programmierung/wbs-csharp/Tag 3/Unterricht/bin/Debug/net10.0/Unterricht.runtimeconfig.json +/home/wbs/Dokumente/Programmierung/wbs-csharp/Tag 3/Unterricht/bin/Debug/net10.0/Unterricht.dll +/home/wbs/Dokumente/Programmierung/wbs-csharp/Tag 3/Unterricht/bin/Debug/net10.0/Unterricht.pdb +/home/wbs/Dokumente/Programmierung/wbs-csharp/Tag 3/Unterricht/obj/Debug/net10.0/Unterricht.dll +/home/wbs/Dokumente/Programmierung/wbs-csharp/Tag 3/Unterricht/obj/Debug/net10.0/refint/Unterricht.dll +/home/wbs/Dokumente/Programmierung/wbs-csharp/Tag 3/Unterricht/obj/Debug/net10.0/Unterricht.pdb +/home/wbs/Dokumente/Programmierung/wbs-csharp/Tag 3/Unterricht/obj/Debug/net10.0/Unterricht.genruntimeconfig.cache +/home/wbs/Dokumente/Programmierung/wbs-csharp/Tag 3/Unterricht/obj/Debug/net10.0/ref/Unterricht.dll diff --git a/Tag 3/Unterricht/obj/Debug/net10.0/Unterricht.dll b/Tag 3/Unterricht/obj/Debug/net10.0/Unterricht.dll new file mode 100644 index 0000000..5176232 Binary files /dev/null and b/Tag 3/Unterricht/obj/Debug/net10.0/Unterricht.dll differ diff --git a/Tag 3/Unterricht/obj/Debug/net10.0/Unterricht.genruntimeconfig.cache b/Tag 3/Unterricht/obj/Debug/net10.0/Unterricht.genruntimeconfig.cache new file mode 100644 index 0000000..6a27aba --- /dev/null +++ b/Tag 3/Unterricht/obj/Debug/net10.0/Unterricht.genruntimeconfig.cache @@ -0,0 +1 @@ +ed13d1ce4ad8aa695b9a3fc171b1ca0a1d50dfd6d2e6f2e9fb0253fb93abdb44 diff --git a/Tag 3/Unterricht/obj/Debug/net10.0/Unterricht.pdb b/Tag 3/Unterricht/obj/Debug/net10.0/Unterricht.pdb new file mode 100644 index 0000000..ef2576f Binary files /dev/null and b/Tag 3/Unterricht/obj/Debug/net10.0/Unterricht.pdb differ diff --git a/Tag 3/Unterricht/obj/Debug/net10.0/apphost b/Tag 3/Unterricht/obj/Debug/net10.0/apphost new file mode 100755 index 0000000..2beef4e Binary files /dev/null and b/Tag 3/Unterricht/obj/Debug/net10.0/apphost differ diff --git a/Tag 3/Unterricht/obj/Debug/net10.0/ref/Unterricht.dll b/Tag 3/Unterricht/obj/Debug/net10.0/ref/Unterricht.dll new file mode 100644 index 0000000..162b2e0 Binary files /dev/null and b/Tag 3/Unterricht/obj/Debug/net10.0/ref/Unterricht.dll differ diff --git a/Tag 3/Unterricht/obj/Debug/net10.0/refint/Unterricht.dll b/Tag 3/Unterricht/obj/Debug/net10.0/refint/Unterricht.dll new file mode 100644 index 0000000..162b2e0 Binary files /dev/null and b/Tag 3/Unterricht/obj/Debug/net10.0/refint/Unterricht.dll differ diff --git a/Tag 3/Unterricht/obj/Unterricht.csproj.nuget.dgspec.json b/Tag 3/Unterricht/obj/Unterricht.csproj.nuget.dgspec.json new file mode 100644 index 0000000..686ddd4 --- /dev/null +++ b/Tag 3/Unterricht/obj/Unterricht.csproj.nuget.dgspec.json @@ -0,0 +1,342 @@ +{ + "format": 1, + "restore": { + "/home/wbs/Dokumente/Programmierung/wbs-csharp/Tag 3/Unterricht/Unterricht.csproj": {} + }, + "projects": { + "/home/wbs/Dokumente/Programmierung/wbs-csharp/Tag 3/Unterricht/Unterricht.csproj": { + "version": "1.0.0", + "restore": { + "projectUniqueName": "/home/wbs/Dokumente/Programmierung/wbs-csharp/Tag 3/Unterricht/Unterricht.csproj", + "projectName": "Unterricht", + "projectPath": "/home/wbs/Dokumente/Programmierung/wbs-csharp/Tag 3/Unterricht/Unterricht.csproj", + "packagesPath": "/home/wbs/.nuget/packages/", + "outputPath": "/home/wbs/Dokumente/Programmierung/wbs-csharp/Tag 3/Unterricht/obj/", + "projectStyle": "PackageReference", + "configFilePaths": [ + "/home/wbs/.nuget/NuGet/NuGet.Config" + ], + "originalTargetFrameworks": [ + "net10.0" + ], + "sources": { + "/usr/lib64/dotnet/library-packs": {}, + "https://api.nuget.org/v3/index.json": {} + }, + "frameworks": { + "net10.0": { + "targetAlias": "net10.0", + "projectReferences": {} + } + }, + "warningProperties": { + "warnAsError": [ + "NU1605" + ] + }, + "restoreAuditProperties": { + "enableAudit": "true", + "auditLevel": "low", + "auditMode": "all" + }, + "SdkAnalysisLevel": "10.0.100" + }, + "frameworks": { + "net10.0": { + "targetAlias": "net10.0", + "imports": [ + "net461", + "net462", + "net47", + "net471", + "net472", + "net48", + "net481" + ], + "assetTargetFallback": true, + "warn": true, + "frameworkReferences": { + "Microsoft.NETCore.App": { + "privateAssets": "all" + } + }, + "runtimeIdentifierGraphPath": "/usr/lib64/dotnet/sdk/10.0.110/PortableRuntimeIdentifierGraph.json", + "packagesToPrune": { + "Microsoft.CSharp": "(,4.7.32767]", + "Microsoft.VisualBasic": "(,10.4.32767]", + "Microsoft.Win32.Primitives": "(,4.3.32767]", + "Microsoft.Win32.Registry": "(,5.0.32767]", + "runtime.any.System.Collections": "(,4.3.32767]", + "runtime.any.System.Diagnostics.Tools": "(,4.3.32767]", + "runtime.any.System.Diagnostics.Tracing": "(,4.3.32767]", + "runtime.any.System.Globalization": "(,4.3.32767]", + "runtime.any.System.Globalization.Calendars": "(,4.3.32767]", + "runtime.any.System.IO": "(,4.3.32767]", + "runtime.any.System.Reflection": "(,4.3.32767]", + "runtime.any.System.Reflection.Extensions": "(,4.3.32767]", + "runtime.any.System.Reflection.Primitives": "(,4.3.32767]", + "runtime.any.System.Resources.ResourceManager": "(,4.3.32767]", + "runtime.any.System.Runtime": "(,4.3.32767]", + "runtime.any.System.Runtime.Handles": "(,4.3.32767]", + "runtime.any.System.Runtime.InteropServices": "(,4.3.32767]", + "runtime.any.System.Text.Encoding": "(,4.3.32767]", + "runtime.any.System.Text.Encoding.Extensions": "(,4.3.32767]", + "runtime.any.System.Threading.Tasks": "(,4.3.32767]", + "runtime.any.System.Threading.Timer": "(,4.3.32767]", + "runtime.aot.System.Collections": "(,4.3.32767]", + "runtime.aot.System.Diagnostics.Tools": "(,4.3.32767]", + "runtime.aot.System.Diagnostics.Tracing": "(,4.3.32767]", + "runtime.aot.System.Globalization": "(,4.3.32767]", + "runtime.aot.System.Globalization.Calendars": "(,4.3.32767]", + "runtime.aot.System.IO": "(,4.3.32767]", + "runtime.aot.System.Reflection": "(,4.3.32767]", + "runtime.aot.System.Reflection.Extensions": "(,4.3.32767]", + "runtime.aot.System.Reflection.Primitives": "(,4.3.32767]", + "runtime.aot.System.Resources.ResourceManager": "(,4.3.32767]", + "runtime.aot.System.Runtime": "(,4.3.32767]", + "runtime.aot.System.Runtime.Handles": "(,4.3.32767]", + "runtime.aot.System.Runtime.InteropServices": "(,4.3.32767]", + "runtime.aot.System.Text.Encoding": "(,4.3.32767]", + "runtime.aot.System.Text.Encoding.Extensions": "(,4.3.32767]", + "runtime.aot.System.Threading.Tasks": "(,4.3.32767]", + "runtime.aot.System.Threading.Timer": "(,4.3.32767]", + "runtime.debian.8-x64.runtime.native.System": "(,4.3.32767]", + "runtime.debian.8-x64.runtime.native.System.IO.Compression": "(,4.3.32767]", + "runtime.debian.8-x64.runtime.native.System.Net.Http": "(,4.3.32767]", + "runtime.debian.8-x64.runtime.native.System.Net.Security": "(,4.3.32767]", + "runtime.debian.8-x64.runtime.native.System.Security.Cryptography": "(,4.3.32767]", + "runtime.debian.8-x64.runtime.native.System.Security.Cryptography.OpenSsl": "(,4.3.32767]", + "runtime.debian.9-x64.runtime.native.System": "(,4.3.32767]", + "runtime.debian.9-x64.runtime.native.System.IO.Compression": "(,4.3.32767]", + "runtime.debian.9-x64.runtime.native.System.Net.Http": "(,4.3.32767]", + "runtime.debian.9-x64.runtime.native.System.Net.Security": "(,4.3.32767]", + "runtime.fedora.23-x64.runtime.native.System": "(,4.3.32767]", + "runtime.fedora.23-x64.runtime.native.System.IO.Compression": "(,4.3.32767]", + "runtime.fedora.23-x64.runtime.native.System.Net.Http": "(,4.3.32767]", + "runtime.fedora.23-x64.runtime.native.System.Net.Security": "(,4.3.32767]", + "runtime.fedora.23-x64.runtime.native.System.Security.Cryptography": "(,4.3.32767]", + "runtime.fedora.23-x64.runtime.native.System.Security.Cryptography.OpenSsl": "(,4.3.32767]", + "runtime.fedora.24-x64.runtime.native.System": "(,4.3.32767]", + "runtime.fedora.24-x64.runtime.native.System.IO.Compression": "(,4.3.32767]", + "runtime.fedora.24-x64.runtime.native.System.Net.Http": "(,4.3.32767]", + "runtime.fedora.24-x64.runtime.native.System.Net.Security": "(,4.3.32767]", + "runtime.fedora.24-x64.runtime.native.System.Security.Cryptography": "(,4.3.32767]", + "runtime.fedora.24-x64.runtime.native.System.Security.Cryptography.OpenSsl": "(,4.3.32767]", + "runtime.fedora.27-x64.runtime.native.System": "(,4.3.32767]", + "runtime.fedora.27-x64.runtime.native.System.IO.Compression": "(,4.3.32767]", + "runtime.fedora.27-x64.runtime.native.System.Net.Http": "(,4.3.32767]", + "runtime.fedora.27-x64.runtime.native.System.Net.Security": "(,4.3.32767]", + "runtime.fedora.28-x64.runtime.native.System": "(,4.3.32767]", + "runtime.fedora.28-x64.runtime.native.System.IO.Compression": "(,4.3.32767]", + "runtime.fedora.28-x64.runtime.native.System.Net.Http": "(,4.3.32767]", + "runtime.fedora.28-x64.runtime.native.System.Net.Security": "(,4.3.32767]", + "runtime.opensuse.13.2-x64.runtime.native.System": "(,4.3.32767]", + "runtime.opensuse.13.2-x64.runtime.native.System.IO.Compression": "(,4.3.32767]", + "runtime.opensuse.13.2-x64.runtime.native.System.Net.Http": "(,4.3.32767]", + "runtime.opensuse.13.2-x64.runtime.native.System.Net.Security": "(,4.3.32767]", + "runtime.opensuse.13.2-x64.runtime.native.System.Security.Cryptography": "(,4.3.32767]", + "runtime.opensuse.13.2-x64.runtime.native.System.Security.Cryptography.OpenSsl": "(,4.3.32767]", + "runtime.opensuse.42.1-x64.runtime.native.System": "(,4.3.32767]", + "runtime.opensuse.42.1-x64.runtime.native.System.IO.Compression": "(,4.3.32767]", + "runtime.opensuse.42.1-x64.runtime.native.System.Net.Http": "(,4.3.32767]", + "runtime.opensuse.42.1-x64.runtime.native.System.Net.Security": "(,4.3.32767]", + "runtime.opensuse.42.1-x64.runtime.native.System.Security.Cryptography": "(,4.3.32767]", + "runtime.opensuse.42.1-x64.runtime.native.System.Security.Cryptography.OpenSsl": "(,4.3.32767]", + "runtime.opensuse.42.3-x64.runtime.native.System": "(,4.3.32767]", + "runtime.opensuse.42.3-x64.runtime.native.System.IO.Compression": "(,4.3.32767]", + "runtime.opensuse.42.3-x64.runtime.native.System.Net.Http": "(,4.3.32767]", + "runtime.opensuse.42.3-x64.runtime.native.System.Net.Security": "(,4.3.32767]", + "runtime.osx.10.10-x64.runtime.native.System": "(,4.3.32767]", + "runtime.osx.10.10-x64.runtime.native.System.IO.Compression": "(,4.3.32767]", + "runtime.osx.10.10-x64.runtime.native.System.Net.Http": "(,4.3.32767]", + "runtime.osx.10.10-x64.runtime.native.System.Net.Security": "(,4.3.32767]", + "runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography": "(,4.3.32767]", + "runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.Apple": "(,4.3.32767]", + "runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.OpenSsl": "(,4.3.32767]", + "runtime.rhel.7-x64.runtime.native.System": "(,4.3.32767]", + "runtime.rhel.7-x64.runtime.native.System.IO.Compression": "(,4.3.32767]", + "runtime.rhel.7-x64.runtime.native.System.Net.Http": "(,4.3.32767]", + "runtime.rhel.7-x64.runtime.native.System.Net.Security": "(,4.3.32767]", + "runtime.rhel.7-x64.runtime.native.System.Security.Cryptography": "(,4.3.32767]", + "runtime.rhel.7-x64.runtime.native.System.Security.Cryptography.OpenSsl": "(,4.3.32767]", + "runtime.ubuntu.14.04-x64.runtime.native.System": "(,4.3.32767]", + "runtime.ubuntu.14.04-x64.runtime.native.System.IO.Compression": "(,4.3.32767]", + "runtime.ubuntu.14.04-x64.runtime.native.System.Net.Http": "(,4.3.32767]", + "runtime.ubuntu.14.04-x64.runtime.native.System.Net.Security": "(,4.3.32767]", + "runtime.ubuntu.14.04-x64.runtime.native.System.Security.Cryptography": "(,4.3.32767]", + "runtime.ubuntu.14.04-x64.runtime.native.System.Security.Cryptography.OpenSsl": "(,4.3.32767]", + "runtime.ubuntu.16.04-x64.runtime.native.System": "(,4.3.32767]", + "runtime.ubuntu.16.04-x64.runtime.native.System.IO.Compression": "(,4.3.32767]", + "runtime.ubuntu.16.04-x64.runtime.native.System.Net.Http": "(,4.3.32767]", + "runtime.ubuntu.16.04-x64.runtime.native.System.Net.Security": "(,4.3.32767]", + "runtime.ubuntu.16.04-x64.runtime.native.System.Security.Cryptography": "(,4.3.32767]", + "runtime.ubuntu.16.04-x64.runtime.native.System.Security.Cryptography.OpenSsl": "(,4.3.32767]", + "runtime.ubuntu.16.10-x64.runtime.native.System": "(,4.3.32767]", + "runtime.ubuntu.16.10-x64.runtime.native.System.IO.Compression": "(,4.3.32767]", + "runtime.ubuntu.16.10-x64.runtime.native.System.Net.Http": "(,4.3.32767]", + "runtime.ubuntu.16.10-x64.runtime.native.System.Net.Security": "(,4.3.32767]", + "runtime.ubuntu.16.10-x64.runtime.native.System.Security.Cryptography": "(,4.3.32767]", + "runtime.ubuntu.16.10-x64.runtime.native.System.Security.Cryptography.OpenSsl": "(,4.3.32767]", + "runtime.ubuntu.18.04-x64.runtime.native.System": "(,4.3.32767]", + "runtime.ubuntu.18.04-x64.runtime.native.System.IO.Compression": "(,4.3.32767]", + "runtime.ubuntu.18.04-x64.runtime.native.System.Net.Http": "(,4.3.32767]", + "runtime.ubuntu.18.04-x64.runtime.native.System.Net.Security": "(,4.3.32767]", + "runtime.unix.Microsoft.Win32.Primitives": "(,4.3.32767]", + "runtime.unix.System.Console": "(,4.3.32767]", + "runtime.unix.System.Diagnostics.Debug": "(,4.3.32767]", + "runtime.unix.System.IO.FileSystem": "(,4.3.32767]", + "runtime.unix.System.Net.Primitives": "(,4.3.32767]", + "runtime.unix.System.Net.Sockets": "(,4.3.32767]", + "runtime.unix.System.Private.Uri": "(,4.3.32767]", + "runtime.unix.System.Runtime.Extensions": "(,4.3.32767]", + "runtime.win.Microsoft.Win32.Primitives": "(,4.3.32767]", + "runtime.win.System.Console": "(,4.3.32767]", + "runtime.win.System.Diagnostics.Debug": "(,4.3.32767]", + "runtime.win.System.IO.FileSystem": "(,4.3.32767]", + "runtime.win.System.Net.Primitives": "(,4.3.32767]", + "runtime.win.System.Net.Sockets": "(,4.3.32767]", + "runtime.win.System.Runtime.Extensions": "(,4.3.32767]", + "runtime.win10-arm-aot.runtime.native.System.IO.Compression": "(,4.0.32767]", + "runtime.win10-arm64.runtime.native.System.IO.Compression": "(,4.3.32767]", + "runtime.win10-x64-aot.runtime.native.System.IO.Compression": "(,4.0.32767]", + "runtime.win10-x86-aot.runtime.native.System.IO.Compression": "(,4.0.32767]", + "runtime.win7-x64.runtime.native.System.IO.Compression": "(,4.3.32767]", + "runtime.win7-x86.runtime.native.System.IO.Compression": "(,4.3.32767]", + "runtime.win7.System.Private.Uri": "(,4.3.32767]", + "runtime.win8-arm.runtime.native.System.IO.Compression": "(,4.3.32767]", + "System.AppContext": "(,4.3.32767]", + "System.Buffers": "(,5.0.32767]", + "System.Collections": "(,4.3.32767]", + "System.Collections.Concurrent": "(,4.3.32767]", + "System.Collections.Immutable": "(,10.0.32767]", + "System.Collections.NonGeneric": "(,4.3.32767]", + "System.Collections.Specialized": "(,4.3.32767]", + "System.ComponentModel": "(,4.3.32767]", + "System.ComponentModel.Annotations": "(,4.3.32767]", + "System.ComponentModel.EventBasedAsync": "(,4.3.32767]", + "System.ComponentModel.Primitives": "(,4.3.32767]", + "System.ComponentModel.TypeConverter": "(,4.3.32767]", + "System.Console": "(,4.3.32767]", + "System.Data.Common": "(,4.3.32767]", + "System.Data.DataSetExtensions": "(,4.4.32767]", + "System.Diagnostics.Contracts": "(,4.3.32767]", + "System.Diagnostics.Debug": "(,4.3.32767]", + "System.Diagnostics.DiagnosticSource": "(,10.0.32767]", + "System.Diagnostics.FileVersionInfo": "(,4.3.32767]", + "System.Diagnostics.Process": "(,4.3.32767]", + "System.Diagnostics.StackTrace": "(,4.3.32767]", + "System.Diagnostics.TextWriterTraceListener": "(,4.3.32767]", + "System.Diagnostics.Tools": "(,4.3.32767]", + "System.Diagnostics.TraceSource": "(,4.3.32767]", + "System.Diagnostics.Tracing": "(,4.3.32767]", + "System.Drawing.Primitives": "(,4.3.32767]", + "System.Dynamic.Runtime": "(,4.3.32767]", + "System.Formats.Asn1": "(,10.0.32767]", + "System.Formats.Tar": "(,10.0.32767]", + "System.Globalization": "(,4.3.32767]", + "System.Globalization.Calendars": "(,4.3.32767]", + "System.Globalization.Extensions": "(,4.3.32767]", + "System.IO": "(,4.3.32767]", + "System.IO.Compression": "(,4.3.32767]", + "System.IO.Compression.ZipFile": "(,4.3.32767]", + "System.IO.FileSystem": "(,4.3.32767]", + "System.IO.FileSystem.AccessControl": "(,4.4.32767]", + "System.IO.FileSystem.DriveInfo": "(,4.3.32767]", + "System.IO.FileSystem.Primitives": "(,4.3.32767]", + "System.IO.FileSystem.Watcher": "(,4.3.32767]", + "System.IO.IsolatedStorage": "(,4.3.32767]", + "System.IO.MemoryMappedFiles": "(,4.3.32767]", + "System.IO.Pipelines": "(,10.0.32767]", + "System.IO.Pipes": "(,4.3.32767]", + "System.IO.Pipes.AccessControl": "(,5.0.32767]", + "System.IO.UnmanagedMemoryStream": "(,4.3.32767]", + "System.Linq": "(,4.3.32767]", + "System.Linq.AsyncEnumerable": "(,10.0.32767]", + "System.Linq.Expressions": "(,4.3.32767]", + "System.Linq.Parallel": "(,4.3.32767]", + "System.Linq.Queryable": "(,4.3.32767]", + "System.Memory": "(,5.0.32767]", + "System.Net.Http": "(,4.3.32767]", + "System.Net.Http.Json": "(,10.0.32767]", + "System.Net.NameResolution": "(,4.3.32767]", + "System.Net.NetworkInformation": "(,4.3.32767]", + "System.Net.Ping": "(,4.3.32767]", + "System.Net.Primitives": "(,4.3.32767]", + "System.Net.Requests": "(,4.3.32767]", + "System.Net.Security": "(,4.3.32767]", + "System.Net.ServerSentEvents": "(,10.0.32767]", + "System.Net.Sockets": "(,4.3.32767]", + "System.Net.WebHeaderCollection": "(,4.3.32767]", + "System.Net.WebSockets": "(,4.3.32767]", + "System.Net.WebSockets.Client": "(,4.3.32767]", + "System.Numerics.Vectors": "(,5.0.32767]", + "System.ObjectModel": "(,4.3.32767]", + "System.Private.DataContractSerialization": "(,4.3.32767]", + "System.Private.Uri": "(,4.3.32767]", + "System.Reflection": "(,4.3.32767]", + "System.Reflection.DispatchProxy": "(,6.0.32767]", + "System.Reflection.Emit": "(,4.7.32767]", + "System.Reflection.Emit.ILGeneration": "(,4.7.32767]", + "System.Reflection.Emit.Lightweight": "(,4.7.32767]", + "System.Reflection.Extensions": "(,4.3.32767]", + "System.Reflection.Metadata": "(,10.0.32767]", + "System.Reflection.Primitives": "(,4.3.32767]", + "System.Reflection.TypeExtensions": "(,4.3.32767]", + "System.Resources.Reader": "(,4.3.32767]", + "System.Resources.ResourceManager": "(,4.3.32767]", + "System.Resources.Writer": "(,4.3.32767]", + "System.Runtime": "(,4.3.32767]", + "System.Runtime.CompilerServices.Unsafe": "(,7.0.32767]", + "System.Runtime.CompilerServices.VisualC": "(,4.3.32767]", + "System.Runtime.Extensions": "(,4.3.32767]", + "System.Runtime.Handles": "(,4.3.32767]", + "System.Runtime.InteropServices": "(,4.3.32767]", + "System.Runtime.InteropServices.RuntimeInformation": "(,4.3.32767]", + "System.Runtime.Loader": "(,4.3.32767]", + "System.Runtime.Numerics": "(,4.3.32767]", + "System.Runtime.Serialization.Formatters": "(,4.3.32767]", + "System.Runtime.Serialization.Json": "(,4.3.32767]", + "System.Runtime.Serialization.Primitives": "(,4.3.32767]", + "System.Runtime.Serialization.Xml": "(,4.3.32767]", + "System.Security.AccessControl": "(,6.0.32767]", + "System.Security.Claims": "(,4.3.32767]", + "System.Security.Cryptography.Algorithms": "(,4.3.32767]", + "System.Security.Cryptography.Cng": "(,5.0.32767]", + "System.Security.Cryptography.Csp": "(,4.3.32767]", + "System.Security.Cryptography.Encoding": "(,4.3.32767]", + "System.Security.Cryptography.OpenSsl": "(,5.0.32767]", + "System.Security.Cryptography.Primitives": "(,4.3.32767]", + "System.Security.Cryptography.X509Certificates": "(,4.3.32767]", + "System.Security.Principal": "(,4.3.32767]", + "System.Security.Principal.Windows": "(,5.0.32767]", + "System.Security.SecureString": "(,4.3.32767]", + "System.Text.Encoding": "(,4.3.32767]", + "System.Text.Encoding.CodePages": "(,10.0.32767]", + "System.Text.Encoding.Extensions": "(,4.3.32767]", + "System.Text.Encodings.Web": "(,10.0.32767]", + "System.Text.Json": "(,10.0.32767]", + "System.Text.RegularExpressions": "(,4.3.32767]", + "System.Threading": "(,4.3.32767]", + "System.Threading.AccessControl": "(,10.0.32767]", + "System.Threading.Channels": "(,10.0.32767]", + "System.Threading.Overlapped": "(,4.3.32767]", + "System.Threading.Tasks": "(,4.3.32767]", + "System.Threading.Tasks.Dataflow": "(,10.0.32767]", + "System.Threading.Tasks.Extensions": "(,5.0.32767]", + "System.Threading.Tasks.Parallel": "(,4.3.32767]", + "System.Threading.Thread": "(,4.3.32767]", + "System.Threading.ThreadPool": "(,4.3.32767]", + "System.Threading.Timer": "(,4.3.32767]", + "System.ValueTuple": "(,4.5.32767]", + "System.Xml.ReaderWriter": "(,4.3.32767]", + "System.Xml.XDocument": "(,4.3.32767]", + "System.Xml.XmlDocument": "(,4.3.32767]", + "System.Xml.XmlSerializer": "(,4.3.32767]", + "System.Xml.XPath": "(,4.3.32767]", + "System.Xml.XPath.XDocument": "(,5.0.32767]" + } + } + } + } + } +} \ No newline at end of file diff --git a/Tag 3/Unterricht/obj/Unterricht.csproj.nuget.g.props b/Tag 3/Unterricht/obj/Unterricht.csproj.nuget.g.props new file mode 100644 index 0000000..58a40d4 --- /dev/null +++ b/Tag 3/Unterricht/obj/Unterricht.csproj.nuget.g.props @@ -0,0 +1,15 @@ + + + + True + NuGet + $(MSBuildThisFileDirectory)project.assets.json + /home/wbs/.nuget/packages/ + /home/wbs/.nuget/packages/ + PackageReference + 7.0.0 + + + + + \ No newline at end of file diff --git a/Tag 3/Unterricht/obj/Unterricht.csproj.nuget.g.targets b/Tag 3/Unterricht/obj/Unterricht.csproj.nuget.g.targets new file mode 100644 index 0000000..3dc06ef --- /dev/null +++ b/Tag 3/Unterricht/obj/Unterricht.csproj.nuget.g.targets @@ -0,0 +1,2 @@ + + \ No newline at end of file diff --git a/Tag 3/Unterricht/obj/project.assets.json b/Tag 3/Unterricht/obj/project.assets.json new file mode 100644 index 0000000..032fea2 --- /dev/null +++ b/Tag 3/Unterricht/obj/project.assets.json @@ -0,0 +1,347 @@ +{ + "version": 3, + "targets": { + "net10.0": {} + }, + "libraries": {}, + "projectFileDependencyGroups": { + "net10.0": [] + }, + "packageFolders": { + "/home/wbs/.nuget/packages/": {} + }, + "project": { + "version": "1.0.0", + "restore": { + "projectUniqueName": "/home/wbs/Dokumente/Programmierung/wbs-csharp/Tag 3/Unterricht/Unterricht.csproj", + "projectName": "Unterricht", + "projectPath": "/home/wbs/Dokumente/Programmierung/wbs-csharp/Tag 3/Unterricht/Unterricht.csproj", + "packagesPath": "/home/wbs/.nuget/packages/", + "outputPath": "/home/wbs/Dokumente/Programmierung/wbs-csharp/Tag 3/Unterricht/obj/", + "projectStyle": "PackageReference", + "configFilePaths": [ + "/home/wbs/.nuget/NuGet/NuGet.Config" + ], + "originalTargetFrameworks": [ + "net10.0" + ], + "sources": { + "/usr/lib64/dotnet/library-packs": {}, + "https://api.nuget.org/v3/index.json": {} + }, + "frameworks": { + "net10.0": { + "targetAlias": "net10.0", + "projectReferences": {} + } + }, + "warningProperties": { + "warnAsError": [ + "NU1605" + ] + }, + "restoreAuditProperties": { + "enableAudit": "true", + "auditLevel": "low", + "auditMode": "all" + }, + "SdkAnalysisLevel": "10.0.100" + }, + "frameworks": { + "net10.0": { + "targetAlias": "net10.0", + "imports": [ + "net461", + "net462", + "net47", + "net471", + "net472", + "net48", + "net481" + ], + "assetTargetFallback": true, + "warn": true, + "frameworkReferences": { + "Microsoft.NETCore.App": { + "privateAssets": "all" + } + }, + "runtimeIdentifierGraphPath": "/usr/lib64/dotnet/sdk/10.0.110/PortableRuntimeIdentifierGraph.json", + "packagesToPrune": { + "Microsoft.CSharp": "(,4.7.32767]", + "Microsoft.VisualBasic": "(,10.4.32767]", + "Microsoft.Win32.Primitives": "(,4.3.32767]", + "Microsoft.Win32.Registry": "(,5.0.32767]", + "runtime.any.System.Collections": "(,4.3.32767]", + "runtime.any.System.Diagnostics.Tools": "(,4.3.32767]", + "runtime.any.System.Diagnostics.Tracing": "(,4.3.32767]", + "runtime.any.System.Globalization": "(,4.3.32767]", + "runtime.any.System.Globalization.Calendars": "(,4.3.32767]", + "runtime.any.System.IO": "(,4.3.32767]", + "runtime.any.System.Reflection": "(,4.3.32767]", + "runtime.any.System.Reflection.Extensions": "(,4.3.32767]", + "runtime.any.System.Reflection.Primitives": "(,4.3.32767]", + "runtime.any.System.Resources.ResourceManager": "(,4.3.32767]", + "runtime.any.System.Runtime": "(,4.3.32767]", + "runtime.any.System.Runtime.Handles": "(,4.3.32767]", + "runtime.any.System.Runtime.InteropServices": "(,4.3.32767]", + "runtime.any.System.Text.Encoding": "(,4.3.32767]", + "runtime.any.System.Text.Encoding.Extensions": "(,4.3.32767]", + "runtime.any.System.Threading.Tasks": "(,4.3.32767]", + "runtime.any.System.Threading.Timer": "(,4.3.32767]", + "runtime.aot.System.Collections": "(,4.3.32767]", + "runtime.aot.System.Diagnostics.Tools": "(,4.3.32767]", + "runtime.aot.System.Diagnostics.Tracing": "(,4.3.32767]", + "runtime.aot.System.Globalization": "(,4.3.32767]", + "runtime.aot.System.Globalization.Calendars": "(,4.3.32767]", + "runtime.aot.System.IO": "(,4.3.32767]", + "runtime.aot.System.Reflection": "(,4.3.32767]", + "runtime.aot.System.Reflection.Extensions": "(,4.3.32767]", + "runtime.aot.System.Reflection.Primitives": "(,4.3.32767]", + "runtime.aot.System.Resources.ResourceManager": "(,4.3.32767]", + "runtime.aot.System.Runtime": "(,4.3.32767]", + "runtime.aot.System.Runtime.Handles": "(,4.3.32767]", + "runtime.aot.System.Runtime.InteropServices": "(,4.3.32767]", + "runtime.aot.System.Text.Encoding": "(,4.3.32767]", + "runtime.aot.System.Text.Encoding.Extensions": "(,4.3.32767]", + "runtime.aot.System.Threading.Tasks": "(,4.3.32767]", + "runtime.aot.System.Threading.Timer": "(,4.3.32767]", + "runtime.debian.8-x64.runtime.native.System": "(,4.3.32767]", + "runtime.debian.8-x64.runtime.native.System.IO.Compression": "(,4.3.32767]", + "runtime.debian.8-x64.runtime.native.System.Net.Http": "(,4.3.32767]", + "runtime.debian.8-x64.runtime.native.System.Net.Security": "(,4.3.32767]", + "runtime.debian.8-x64.runtime.native.System.Security.Cryptography": "(,4.3.32767]", + "runtime.debian.8-x64.runtime.native.System.Security.Cryptography.OpenSsl": "(,4.3.32767]", + "runtime.debian.9-x64.runtime.native.System": "(,4.3.32767]", + "runtime.debian.9-x64.runtime.native.System.IO.Compression": "(,4.3.32767]", + "runtime.debian.9-x64.runtime.native.System.Net.Http": "(,4.3.32767]", + "runtime.debian.9-x64.runtime.native.System.Net.Security": "(,4.3.32767]", + "runtime.fedora.23-x64.runtime.native.System": "(,4.3.32767]", + "runtime.fedora.23-x64.runtime.native.System.IO.Compression": "(,4.3.32767]", + "runtime.fedora.23-x64.runtime.native.System.Net.Http": "(,4.3.32767]", + "runtime.fedora.23-x64.runtime.native.System.Net.Security": "(,4.3.32767]", + "runtime.fedora.23-x64.runtime.native.System.Security.Cryptography": "(,4.3.32767]", + "runtime.fedora.23-x64.runtime.native.System.Security.Cryptography.OpenSsl": "(,4.3.32767]", + "runtime.fedora.24-x64.runtime.native.System": "(,4.3.32767]", + "runtime.fedora.24-x64.runtime.native.System.IO.Compression": "(,4.3.32767]", + "runtime.fedora.24-x64.runtime.native.System.Net.Http": "(,4.3.32767]", + "runtime.fedora.24-x64.runtime.native.System.Net.Security": "(,4.3.32767]", + "runtime.fedora.24-x64.runtime.native.System.Security.Cryptography": "(,4.3.32767]", + "runtime.fedora.24-x64.runtime.native.System.Security.Cryptography.OpenSsl": "(,4.3.32767]", + "runtime.fedora.27-x64.runtime.native.System": "(,4.3.32767]", + "runtime.fedora.27-x64.runtime.native.System.IO.Compression": "(,4.3.32767]", + "runtime.fedora.27-x64.runtime.native.System.Net.Http": "(,4.3.32767]", + "runtime.fedora.27-x64.runtime.native.System.Net.Security": "(,4.3.32767]", + "runtime.fedora.28-x64.runtime.native.System": "(,4.3.32767]", + "runtime.fedora.28-x64.runtime.native.System.IO.Compression": "(,4.3.32767]", + "runtime.fedora.28-x64.runtime.native.System.Net.Http": "(,4.3.32767]", + "runtime.fedora.28-x64.runtime.native.System.Net.Security": "(,4.3.32767]", + "runtime.opensuse.13.2-x64.runtime.native.System": "(,4.3.32767]", + "runtime.opensuse.13.2-x64.runtime.native.System.IO.Compression": "(,4.3.32767]", + "runtime.opensuse.13.2-x64.runtime.native.System.Net.Http": "(,4.3.32767]", + "runtime.opensuse.13.2-x64.runtime.native.System.Net.Security": "(,4.3.32767]", + "runtime.opensuse.13.2-x64.runtime.native.System.Security.Cryptography": "(,4.3.32767]", + "runtime.opensuse.13.2-x64.runtime.native.System.Security.Cryptography.OpenSsl": "(,4.3.32767]", + "runtime.opensuse.42.1-x64.runtime.native.System": "(,4.3.32767]", + "runtime.opensuse.42.1-x64.runtime.native.System.IO.Compression": "(,4.3.32767]", + "runtime.opensuse.42.1-x64.runtime.native.System.Net.Http": "(,4.3.32767]", + "runtime.opensuse.42.1-x64.runtime.native.System.Net.Security": "(,4.3.32767]", + "runtime.opensuse.42.1-x64.runtime.native.System.Security.Cryptography": "(,4.3.32767]", + "runtime.opensuse.42.1-x64.runtime.native.System.Security.Cryptography.OpenSsl": "(,4.3.32767]", + "runtime.opensuse.42.3-x64.runtime.native.System": "(,4.3.32767]", + "runtime.opensuse.42.3-x64.runtime.native.System.IO.Compression": "(,4.3.32767]", + "runtime.opensuse.42.3-x64.runtime.native.System.Net.Http": "(,4.3.32767]", + "runtime.opensuse.42.3-x64.runtime.native.System.Net.Security": "(,4.3.32767]", + "runtime.osx.10.10-x64.runtime.native.System": "(,4.3.32767]", + "runtime.osx.10.10-x64.runtime.native.System.IO.Compression": "(,4.3.32767]", + "runtime.osx.10.10-x64.runtime.native.System.Net.Http": "(,4.3.32767]", + "runtime.osx.10.10-x64.runtime.native.System.Net.Security": "(,4.3.32767]", + "runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography": "(,4.3.32767]", + "runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.Apple": "(,4.3.32767]", + "runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.OpenSsl": "(,4.3.32767]", + "runtime.rhel.7-x64.runtime.native.System": "(,4.3.32767]", + "runtime.rhel.7-x64.runtime.native.System.IO.Compression": "(,4.3.32767]", + "runtime.rhel.7-x64.runtime.native.System.Net.Http": "(,4.3.32767]", + "runtime.rhel.7-x64.runtime.native.System.Net.Security": "(,4.3.32767]", + "runtime.rhel.7-x64.runtime.native.System.Security.Cryptography": "(,4.3.32767]", + "runtime.rhel.7-x64.runtime.native.System.Security.Cryptography.OpenSsl": "(,4.3.32767]", + "runtime.ubuntu.14.04-x64.runtime.native.System": "(,4.3.32767]", + "runtime.ubuntu.14.04-x64.runtime.native.System.IO.Compression": "(,4.3.32767]", + "runtime.ubuntu.14.04-x64.runtime.native.System.Net.Http": "(,4.3.32767]", + "runtime.ubuntu.14.04-x64.runtime.native.System.Net.Security": "(,4.3.32767]", + "runtime.ubuntu.14.04-x64.runtime.native.System.Security.Cryptography": "(,4.3.32767]", + "runtime.ubuntu.14.04-x64.runtime.native.System.Security.Cryptography.OpenSsl": "(,4.3.32767]", + "runtime.ubuntu.16.04-x64.runtime.native.System": "(,4.3.32767]", + "runtime.ubuntu.16.04-x64.runtime.native.System.IO.Compression": "(,4.3.32767]", + "runtime.ubuntu.16.04-x64.runtime.native.System.Net.Http": "(,4.3.32767]", + "runtime.ubuntu.16.04-x64.runtime.native.System.Net.Security": "(,4.3.32767]", + "runtime.ubuntu.16.04-x64.runtime.native.System.Security.Cryptography": "(,4.3.32767]", + "runtime.ubuntu.16.04-x64.runtime.native.System.Security.Cryptography.OpenSsl": "(,4.3.32767]", + "runtime.ubuntu.16.10-x64.runtime.native.System": "(,4.3.32767]", + "runtime.ubuntu.16.10-x64.runtime.native.System.IO.Compression": "(,4.3.32767]", + "runtime.ubuntu.16.10-x64.runtime.native.System.Net.Http": "(,4.3.32767]", + "runtime.ubuntu.16.10-x64.runtime.native.System.Net.Security": "(,4.3.32767]", + "runtime.ubuntu.16.10-x64.runtime.native.System.Security.Cryptography": "(,4.3.32767]", + "runtime.ubuntu.16.10-x64.runtime.native.System.Security.Cryptography.OpenSsl": "(,4.3.32767]", + "runtime.ubuntu.18.04-x64.runtime.native.System": "(,4.3.32767]", + "runtime.ubuntu.18.04-x64.runtime.native.System.IO.Compression": "(,4.3.32767]", + "runtime.ubuntu.18.04-x64.runtime.native.System.Net.Http": "(,4.3.32767]", + "runtime.ubuntu.18.04-x64.runtime.native.System.Net.Security": "(,4.3.32767]", + "runtime.unix.Microsoft.Win32.Primitives": "(,4.3.32767]", + "runtime.unix.System.Console": "(,4.3.32767]", + "runtime.unix.System.Diagnostics.Debug": "(,4.3.32767]", + "runtime.unix.System.IO.FileSystem": "(,4.3.32767]", + "runtime.unix.System.Net.Primitives": "(,4.3.32767]", + "runtime.unix.System.Net.Sockets": "(,4.3.32767]", + "runtime.unix.System.Private.Uri": "(,4.3.32767]", + "runtime.unix.System.Runtime.Extensions": "(,4.3.32767]", + "runtime.win.Microsoft.Win32.Primitives": "(,4.3.32767]", + "runtime.win.System.Console": "(,4.3.32767]", + "runtime.win.System.Diagnostics.Debug": "(,4.3.32767]", + "runtime.win.System.IO.FileSystem": "(,4.3.32767]", + "runtime.win.System.Net.Primitives": "(,4.3.32767]", + "runtime.win.System.Net.Sockets": "(,4.3.32767]", + "runtime.win.System.Runtime.Extensions": "(,4.3.32767]", + "runtime.win10-arm-aot.runtime.native.System.IO.Compression": "(,4.0.32767]", + "runtime.win10-arm64.runtime.native.System.IO.Compression": "(,4.3.32767]", + "runtime.win10-x64-aot.runtime.native.System.IO.Compression": "(,4.0.32767]", + "runtime.win10-x86-aot.runtime.native.System.IO.Compression": "(,4.0.32767]", + "runtime.win7-x64.runtime.native.System.IO.Compression": "(,4.3.32767]", + "runtime.win7-x86.runtime.native.System.IO.Compression": "(,4.3.32767]", + "runtime.win7.System.Private.Uri": "(,4.3.32767]", + "runtime.win8-arm.runtime.native.System.IO.Compression": "(,4.3.32767]", + "System.AppContext": "(,4.3.32767]", + "System.Buffers": "(,5.0.32767]", + "System.Collections": "(,4.3.32767]", + "System.Collections.Concurrent": "(,4.3.32767]", + "System.Collections.Immutable": "(,10.0.32767]", + "System.Collections.NonGeneric": "(,4.3.32767]", + "System.Collections.Specialized": "(,4.3.32767]", + "System.ComponentModel": "(,4.3.32767]", + "System.ComponentModel.Annotations": "(,4.3.32767]", + "System.ComponentModel.EventBasedAsync": "(,4.3.32767]", + "System.ComponentModel.Primitives": "(,4.3.32767]", + "System.ComponentModel.TypeConverter": "(,4.3.32767]", + "System.Console": "(,4.3.32767]", + "System.Data.Common": "(,4.3.32767]", + "System.Data.DataSetExtensions": "(,4.4.32767]", + "System.Diagnostics.Contracts": "(,4.3.32767]", + "System.Diagnostics.Debug": "(,4.3.32767]", + "System.Diagnostics.DiagnosticSource": "(,10.0.32767]", + "System.Diagnostics.FileVersionInfo": "(,4.3.32767]", + "System.Diagnostics.Process": "(,4.3.32767]", + "System.Diagnostics.StackTrace": "(,4.3.32767]", + "System.Diagnostics.TextWriterTraceListener": "(,4.3.32767]", + "System.Diagnostics.Tools": "(,4.3.32767]", + "System.Diagnostics.TraceSource": "(,4.3.32767]", + "System.Diagnostics.Tracing": "(,4.3.32767]", + "System.Drawing.Primitives": "(,4.3.32767]", + "System.Dynamic.Runtime": "(,4.3.32767]", + "System.Formats.Asn1": "(,10.0.32767]", + "System.Formats.Tar": "(,10.0.32767]", + "System.Globalization": "(,4.3.32767]", + "System.Globalization.Calendars": "(,4.3.32767]", + "System.Globalization.Extensions": "(,4.3.32767]", + "System.IO": "(,4.3.32767]", + "System.IO.Compression": "(,4.3.32767]", + "System.IO.Compression.ZipFile": "(,4.3.32767]", + "System.IO.FileSystem": "(,4.3.32767]", + "System.IO.FileSystem.AccessControl": "(,4.4.32767]", + "System.IO.FileSystem.DriveInfo": "(,4.3.32767]", + "System.IO.FileSystem.Primitives": "(,4.3.32767]", + "System.IO.FileSystem.Watcher": "(,4.3.32767]", + "System.IO.IsolatedStorage": "(,4.3.32767]", + "System.IO.MemoryMappedFiles": "(,4.3.32767]", + "System.IO.Pipelines": "(,10.0.32767]", + "System.IO.Pipes": "(,4.3.32767]", + "System.IO.Pipes.AccessControl": "(,5.0.32767]", + "System.IO.UnmanagedMemoryStream": "(,4.3.32767]", + "System.Linq": "(,4.3.32767]", + "System.Linq.AsyncEnumerable": "(,10.0.32767]", + "System.Linq.Expressions": "(,4.3.32767]", + "System.Linq.Parallel": "(,4.3.32767]", + "System.Linq.Queryable": "(,4.3.32767]", + "System.Memory": "(,5.0.32767]", + "System.Net.Http": "(,4.3.32767]", + "System.Net.Http.Json": "(,10.0.32767]", + "System.Net.NameResolution": "(,4.3.32767]", + "System.Net.NetworkInformation": "(,4.3.32767]", + "System.Net.Ping": "(,4.3.32767]", + "System.Net.Primitives": "(,4.3.32767]", + "System.Net.Requests": "(,4.3.32767]", + "System.Net.Security": "(,4.3.32767]", + "System.Net.ServerSentEvents": "(,10.0.32767]", + "System.Net.Sockets": "(,4.3.32767]", + "System.Net.WebHeaderCollection": "(,4.3.32767]", + "System.Net.WebSockets": "(,4.3.32767]", + "System.Net.WebSockets.Client": "(,4.3.32767]", + "System.Numerics.Vectors": "(,5.0.32767]", + "System.ObjectModel": "(,4.3.32767]", + "System.Private.DataContractSerialization": "(,4.3.32767]", + "System.Private.Uri": "(,4.3.32767]", + "System.Reflection": "(,4.3.32767]", + "System.Reflection.DispatchProxy": "(,6.0.32767]", + "System.Reflection.Emit": "(,4.7.32767]", + "System.Reflection.Emit.ILGeneration": "(,4.7.32767]", + "System.Reflection.Emit.Lightweight": "(,4.7.32767]", + "System.Reflection.Extensions": "(,4.3.32767]", + "System.Reflection.Metadata": "(,10.0.32767]", + "System.Reflection.Primitives": "(,4.3.32767]", + "System.Reflection.TypeExtensions": "(,4.3.32767]", + "System.Resources.Reader": "(,4.3.32767]", + "System.Resources.ResourceManager": "(,4.3.32767]", + "System.Resources.Writer": "(,4.3.32767]", + "System.Runtime": "(,4.3.32767]", + "System.Runtime.CompilerServices.Unsafe": "(,7.0.32767]", + "System.Runtime.CompilerServices.VisualC": "(,4.3.32767]", + "System.Runtime.Extensions": "(,4.3.32767]", + "System.Runtime.Handles": "(,4.3.32767]", + "System.Runtime.InteropServices": "(,4.3.32767]", + "System.Runtime.InteropServices.RuntimeInformation": "(,4.3.32767]", + "System.Runtime.Loader": "(,4.3.32767]", + "System.Runtime.Numerics": "(,4.3.32767]", + "System.Runtime.Serialization.Formatters": "(,4.3.32767]", + "System.Runtime.Serialization.Json": "(,4.3.32767]", + "System.Runtime.Serialization.Primitives": "(,4.3.32767]", + "System.Runtime.Serialization.Xml": "(,4.3.32767]", + "System.Security.AccessControl": "(,6.0.32767]", + "System.Security.Claims": "(,4.3.32767]", + "System.Security.Cryptography.Algorithms": "(,4.3.32767]", + "System.Security.Cryptography.Cng": "(,5.0.32767]", + "System.Security.Cryptography.Csp": "(,4.3.32767]", + "System.Security.Cryptography.Encoding": "(,4.3.32767]", + "System.Security.Cryptography.OpenSsl": "(,5.0.32767]", + "System.Security.Cryptography.Primitives": "(,4.3.32767]", + "System.Security.Cryptography.X509Certificates": "(,4.3.32767]", + "System.Security.Principal": "(,4.3.32767]", + "System.Security.Principal.Windows": "(,5.0.32767]", + "System.Security.SecureString": "(,4.3.32767]", + "System.Text.Encoding": "(,4.3.32767]", + "System.Text.Encoding.CodePages": "(,10.0.32767]", + "System.Text.Encoding.Extensions": "(,4.3.32767]", + "System.Text.Encodings.Web": "(,10.0.32767]", + "System.Text.Json": "(,10.0.32767]", + "System.Text.RegularExpressions": "(,4.3.32767]", + "System.Threading": "(,4.3.32767]", + "System.Threading.AccessControl": "(,10.0.32767]", + "System.Threading.Channels": "(,10.0.32767]", + "System.Threading.Overlapped": "(,4.3.32767]", + "System.Threading.Tasks": "(,4.3.32767]", + "System.Threading.Tasks.Dataflow": "(,10.0.32767]", + "System.Threading.Tasks.Extensions": "(,5.0.32767]", + "System.Threading.Tasks.Parallel": "(,4.3.32767]", + "System.Threading.Thread": "(,4.3.32767]", + "System.Threading.ThreadPool": "(,4.3.32767]", + "System.Threading.Timer": "(,4.3.32767]", + "System.ValueTuple": "(,4.5.32767]", + "System.Xml.ReaderWriter": "(,4.3.32767]", + "System.Xml.XDocument": "(,4.3.32767]", + "System.Xml.XmlDocument": "(,4.3.32767]", + "System.Xml.XmlSerializer": "(,4.3.32767]", + "System.Xml.XPath": "(,4.3.32767]", + "System.Xml.XPath.XDocument": "(,5.0.32767]" + } + } + } + } +} \ No newline at end of file diff --git a/Tag 3/Unterricht/obj/project.nuget.cache b/Tag 3/Unterricht/obj/project.nuget.cache new file mode 100644 index 0000000..1310156 --- /dev/null +++ b/Tag 3/Unterricht/obj/project.nuget.cache @@ -0,0 +1,8 @@ +{ + "version": 2, + "dgSpecHash": "Iroh8Gmva3E=", + "success": true, + "projectFilePath": "/home/wbs/Dokumente/Programmierung/wbs-csharp/Tag 3/Unterricht/Unterricht.csproj", + "expectedPackageFiles": [], + "logs": [] +} \ No newline at end of file