You're giving this error:
Can not evaluate expression because the current thread is in stack overflow state
in the qtde
variable by adding it in the desci
list.
class descricaoo : IInstrucao
{
private string descricaobol;
public descricaoo(int ibanco, int codigo, string descricaobol, int qtde)
{
this.descricaobol = descricaobol;
List<IInstrucao> desci = new List<IInstrucao>();
desci.Add(new descricaoo(ibanco, codigo, descricaobol, qtde));
}
public IBanco Banco { get; set; }
public int Codigo { get; set; }
public string Descricao { get; set; }
public int QuantidadeDias { get; set; }
}