mirror of
https://github.com/ysoftdevs/Theatrical-Players-Refactoring-Kata.git
synced 2026-04-23 17:28:57 +02:00
add csharp version to the exercice
This commit is contained in:
18
csharp/TheatricalPlayersRefactoringKata/Performance.cs
Normal file
18
csharp/TheatricalPlayersRefactoringKata/Performance.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
namespace TheatricalPlayersRefactoringKata
|
||||
{
|
||||
public class Performance
|
||||
{
|
||||
private string _playID;
|
||||
private int _audience;
|
||||
|
||||
public string PlayID { get => _playID; set => _playID = value; }
|
||||
public int Audience { get => _audience; set => _audience = value; }
|
||||
|
||||
public Performance(string playID, int audience)
|
||||
{
|
||||
this._playID = playID;
|
||||
this._audience = audience;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user