erweiterung
This commit is contained in:
22
BeispielGenerischeTypen/Karte.cs
Normal file
22
BeispielGenerischeTypen/Karte.cs
Normal file
@@ -0,0 +1,22 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace BeispielGenerischeTypen
|
||||
{
|
||||
|
||||
public class Karte : IKarte
|
||||
{
|
||||
public string Farbe { get; }
|
||||
public string Wert { get; }
|
||||
|
||||
public Karte(string farbe, string wert)
|
||||
{
|
||||
Farbe = farbe;
|
||||
Wert = wert;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user