commit1
This commit is contained in:
21
gyakorlasdogara0920/Program.cs
Normal file
21
gyakorlasdogara0920/Program.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
using gyakorlasdogara0920;
|
||||
using System.Collections.Generic;
|
||||
|
||||
|
||||
Zenek zene1 = new Zenek("Mockingbird", "Eminem", 2004, 250, 192);
|
||||
Zenek zene2 = new Zenek("I'm Still Standing", "Elton John", 1983, 182, 128);
|
||||
Podcastok podcast1 = new Podcastok("CheckPlot Podcast", "Stiki", 2025, 40, 192, new Dictionary<int, string>
|
||||
{
|
||||
{5, "Beköszönés"},
|
||||
{20, "Aktualitások"},
|
||||
{13, "Havi téma"},
|
||||
{2, "Elköszönés"}
|
||||
}, "Videójátékos témák kibeszélése", false);
|
||||
|
||||
Console.WriteLine("A podcast címe: " + podcast1.Cim);
|
||||
Console.WriteLine("A podcast leírása: " + podcast1.Leiras);
|
||||
Console.WriteLine(podcast1.fejezetKezdopontMeghataroz());
|
||||
|
||||
zene1.informacio();
|
||||
zene2.informacio();
|
||||
|
||||
Reference in New Issue
Block a user