E28 E1
This commit is contained in:
parent
979dcfc808
commit
1ff031cc69
@ -8,9 +8,9 @@ namespace Exercises_C_Sharp.E28_Classes
|
|||||||
{
|
{
|
||||||
public static void Start()
|
public static void Start()
|
||||||
{
|
{
|
||||||
//Erstellen Sie die Klasse Funny, sodass "Hallo, das ist super!" auf der Konsole ausgegeben wird.
|
//Erstellen Sie eine neue Instanz der Klasse Funny, sodass "Hallo, das ist super!" auf der Konsole ausgegeben wird.
|
||||||
//Code START
|
//Code START
|
||||||
dynamic funnyClass = -1;
|
Funny funnyClass = new();
|
||||||
//Code ENDE
|
//Code ENDE
|
||||||
|
|
||||||
Console.WriteLine(funnyClass.Value1 + funnyClass.Value2 + funnyClass.Value3 + funnyClass.Value4);
|
Console.WriteLine(funnyClass.Value1 + funnyClass.Value2 + funnyClass.Value3 + funnyClass.Value4);
|
||||||
|
Loading…
Reference in New Issue
Block a user