mirror of
https://github.com/ysoftdevs/Theatrical-Players-Refactoring-Kata.git
synced 2026-04-27 03:09:37 +02:00
add csharp version to the exercice
This commit is contained in:
16
csharp/TheatricalPlayersRefactoringKata/Play.cs
Normal file
16
csharp/TheatricalPlayersRefactoringKata/Play.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
namespace TheatricalPlayersRefactoringKata
|
||||
{
|
||||
public class Play
|
||||
{
|
||||
private string _name;
|
||||
private string _type;
|
||||
|
||||
public string Name { get => _name; set => _name = value; }
|
||||
public string Type { get => _type; set => _type = value; }
|
||||
|
||||
public Play(string name, string type) {
|
||||
this._name = name;
|
||||
this._type = type;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user