コード例 #1
0
ファイル: Pluma.cs プロジェクト: MatiasAlmeida/Ejercicios_2A
 private string Mostrar()
 {
     return(this._Marca + ", " + this._Cantidad.ToString() + Tinta.Mostrar(this._Tinta));
 }
コード例 #2
0
 public static string Mostrar(Tinta t)//De clase
 {
     return(t.Mostrar());
 }
コード例 #3
0
 private string Mostrar()
 {
     return("Marca: " + this._cantidad + " Cantidad: " + this._cantidad + Tinta.Mostrar(this._tinta) + "\n");
 }
コード例 #4
0
ファイル: Tinta.cs プロジェクト: tomasfriz/Prog-Labo_2
 /// <summary>
 /// Mostrara informacion segun el objeto que le paso
 /// </summary>
 /// <param name="tipo">Objeto</param>
 /// <returns></returns>
 public static string Mostrar(Tinta tipo)
 {
     return(tipo.Mostrar());
 }