Projektdateien hinzufügen.

This commit is contained in:
2023-03-23 12:24:40 +01:00
parent 5fe92f4f47
commit 33e49f846c
51 changed files with 1444 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BeispielAbhängigkeiten
{
internal class Student
{
private string name;
private string wissen;
public Student(string name)
{
this.name = name;
}
public void ReadBook(Book book)
{
string infos = book.GetInfos();
wissen = wissen + "\n" + infos;
Console.WriteLine("Ich habe gerade gelesen: ");
Console.WriteLine(infos);
}
}
}