public static void Main()
Cuenta c = new Cuenta("jose");
set{this.cantidad = value;}
public Cuenta (string titular)
public Cuenta (string titular , double cantidad)
public void ingresar (double cantidad)
this.cantidad = cantidad;
public void retirar(double cantidad)
if(cantidad >= this.cantidad)
this.cantidad -= cantidad;
Console.WriteLine("el titular de nombre "+(this.titular)+" tiene "+(this.cantidad)+" en su cuenta");