Професионална програма
Loading...
+ Нов въпрос
Axiomatik avatar Axiomatik 101 Точки

Seems OK at first look, try changing line 18 in your pizza class

from :

if (string.IsNullOrWhiteSpace(value) && value.Length <= 0 && value.Length >= 15)

to :

if (string.IsNullOrWhiteSpace(value) || value.Length <= 0 || value.Length >= 15)

 

and line 26-30

from :

public Dough Dough

private get { return this.dough; }

set { this.dough = value; }

to :

public Dough Dough { get; }

 

Best,

0