using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Remoting.Metadata.W3cXsd2001; using System.Text; using System.Threading.Tasks; namespace elektronikaieszkozok { internal class Nyomtato : Eszkoz { public string fajta { get; set; } public int memoria { get; set; } public string maxMeret { get; set; } public Nyomtato(string fajta, int memoria, string maxmeret, string name, string marka, string allapot) : base(name, marka, allapot) { this.fajta = fajta; this.memoria = memoria; this.maxMeret = maxmeret; } public void nyomtatas(string szoveg) { Console.WriteLine($"{szoveg} kinyomtatva"); } public void tesztOldal() { Console.WriteLine("tesztoldal kinyomtatva"); } public override double energiafogyasztas(double uzemora) { throw new NotImplementedException(); } } }