add csharp version to the exercice

This commit is contained in:
Anis CHAABANI
2019-08-12 18:14:48 +02:00
parent 06fb74cfb3
commit 112854cc8a
10 changed files with 236 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
using System.Collections.Generic;
namespace TheatricalPlayersRefactoringKata
{
public class Invoice
{
private string _customer;
private List<Performance> _performances;
public string Customer { get => _customer; set => _customer = value; }
public List<Performance> Performances { get => _performances; set => _performances = value; }
public Invoice(string customer, List<Performance> performance)
{
this._customer = customer;
this._performances = performance;
}
}
}