diff --git a/FizetesiMod.sln b/FizetesiMod.sln
new file mode 100644
index 0000000..6f4d4f5
--- /dev/null
+++ b/FizetesiMod.sln
@@ -0,0 +1,25 @@
+
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Visual Studio Version 17
+VisualStudioVersion = 17.11.35222.181
+MinimumVisualStudioVersion = 10.0.40219.1
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FizetesiMod", "FizetesiMod\FizetesiMod.csproj", "{E71BC998-15A4-4FCC-91C9-BC7CB01E7458}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Any CPU = Debug|Any CPU
+ Release|Any CPU = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {E71BC998-15A4-4FCC-91C9-BC7CB01E7458}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {E71BC998-15A4-4FCC-91C9-BC7CB01E7458}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {E71BC998-15A4-4FCC-91C9-BC7CB01E7458}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {E71BC998-15A4-4FCC-91C9-BC7CB01E7458}.Release|Any CPU.Build.0 = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+ GlobalSection(ExtensibilityGlobals) = postSolution
+ SolutionGuid = {B00ED34A-6A52-49EF-9F7A-7A22314918D7}
+ EndGlobalSection
+EndGlobal
diff --git a/FizetesiMod/App.config b/FizetesiMod/App.config
new file mode 100644
index 0000000..56efbc7
--- /dev/null
+++ b/FizetesiMod/App.config
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/FizetesiMod/Azonosithato.cs b/FizetesiMod/Azonosithato.cs
new file mode 100644
index 0000000..425e224
--- /dev/null
+++ b/FizetesiMod/Azonosithato.cs
@@ -0,0 +1,13 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace FizetesiMod
+{
+ internal interface Azonosithato
+ {
+ bool Azonositas();
+ }
+}
diff --git a/FizetesiMod/BankiUtalas.cs b/FizetesiMod/BankiUtalas.cs
new file mode 100644
index 0000000..02ce35a
--- /dev/null
+++ b/FizetesiMod/BankiUtalas.cs
@@ -0,0 +1,16 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace FizetesiMod
+{
+ internal class BankiUtalas : FizetesMod
+ {
+ public override void Fizetes(int Osszeg)
+ {
+ Console.WriteLine($"Sikeres banki utalás: {Osszeg} Ft.");
+ }
+ }
+}
diff --git a/FizetesiMod/FizetesMod.cs b/FizetesiMod/FizetesMod.cs
new file mode 100644
index 0000000..53422c3
--- /dev/null
+++ b/FizetesiMod/FizetesMod.cs
@@ -0,0 +1,13 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace FizetesiMod
+{
+ abstract class FizetesMod
+ {
+ public abstract void Fizetes(int Osszeg);
+ }
+}
diff --git a/FizetesiMod/FizetesiMod.csproj b/FizetesiMod/FizetesiMod.csproj
new file mode 100644
index 0000000..70b8271
--- /dev/null
+++ b/FizetesiMod/FizetesiMod.csproj
@@ -0,0 +1,58 @@
+
+
+
+
+ Debug
+ AnyCPU
+ {E71BC998-15A4-4FCC-91C9-BC7CB01E7458}
+ Exe
+ FizetesiMod
+ FizetesiMod
+ v4.7.2
+ 512
+ true
+ true
+
+
+ AnyCPU
+ true
+ full
+ false
+ bin\Debug\
+ DEBUG;TRACE
+ prompt
+ 4
+
+
+ AnyCPU
+ pdbonly
+ true
+ bin\Release\
+ TRACE
+ prompt
+ 4
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/FizetesiMod/KartyasFizetes.cs b/FizetesiMod/KartyasFizetes.cs
new file mode 100644
index 0000000..6f83554
--- /dev/null
+++ b/FizetesiMod/KartyasFizetes.cs
@@ -0,0 +1,43 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace FizetesiMod
+{
+ internal class KartyasFizetes : FizetesMod, Azonosithato
+ {
+ private bool azonositva = false;
+
+ public bool Azonositas()
+ {
+ Console.WriteLine("Kártyás azonosítás folyamatban...");
+ Console.Write("Kérem a PIN-kódot: ");
+ int pin = Convert.ToInt32(Console.ReadLine());
+ if (pin == 1234)
+ {
+ Console.WriteLine("Helyes PIN-kód.");
+ azonositva = true;
+ return azonositva;
+ }
+ else
+ {
+ Console.WriteLine("Helytelen PIN-kód.");
+ return azonositva;
+ }
+ }
+
+ public override void Fizetes(int Osszeg)
+ {
+ if (azonositva)
+ {
+ Console.WriteLine($"Sikeres kártyás fizetés: {Osszeg} Ft.");
+ }
+ else
+ {
+ Console.WriteLine("Azonosítás szükséges a kártyás fizetéshez!");
+ }
+ }
+ }
+}
diff --git a/FizetesiMod/PayPalFizetes.cs b/FizetesiMod/PayPalFizetes.cs
new file mode 100644
index 0000000..c3ac3a2
--- /dev/null
+++ b/FizetesiMod/PayPalFizetes.cs
@@ -0,0 +1,43 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace FizetesiMod
+{
+ internal class PayPalFizetes : FizetesMod, Azonosithato
+ {
+ private bool azonositva = false;
+
+ public bool Azonositas()
+ {
+ Console.WriteLine("PayPal azonosítás folyamatban...");
+ Console.Write("Kérem a PIN-kódot: ");
+ int pin = Convert.ToInt32(Console.ReadLine());
+ if (pin == 1234)
+ {
+ Console.WriteLine("Helyes PIN-kód.");
+ azonositva = true;
+ return azonositva;
+ }
+ else
+ {
+ Console.WriteLine("Helytelen PIN-kód.");
+ return azonositva;
+ }
+ }
+
+ public override void Fizetes(int Osszeg)
+ {
+ if (azonositva)
+ {
+ Console.WriteLine($"Sikeres PayPal fizetés: {Osszeg} Ft.");
+ }
+ else
+ {
+ Console.WriteLine("Azonosítás szükséges a PayPal fizetéshez!");
+ }
+ }
+ }
+}
diff --git a/FizetesiMod/Program.cs b/FizetesiMod/Program.cs
new file mode 100644
index 0000000..72d44f0
--- /dev/null
+++ b/FizetesiMod/Program.cs
@@ -0,0 +1,30 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace FizetesiMod
+{
+ internal class Program
+ {
+ static void Main(string[] args)
+ {
+ //Kártya
+ KartyasFizetes kartyasFizetes = new KartyasFizetes();
+ kartyasFizetes.Fizetes(5000);
+ kartyasFizetes.Azonositas();
+ kartyasFizetes.Fizetes(5000);
+
+ //PayPal
+ PayPalFizetes payPalFizetes = new PayPalFizetes();
+ payPalFizetes.Fizetes(10000);
+ payPalFizetes.Azonositas();
+ payPalFizetes.Fizetes(10000);
+
+ //Banki utalás
+ BankiUtalas bankiUtalas = new BankiUtalas();
+ bankiUtalas.Fizetes(30000);
+ }
+ }
+}
diff --git a/FizetesiMod/Properties/AssemblyInfo.cs b/FizetesiMod/Properties/AssemblyInfo.cs
new file mode 100644
index 0000000..4815c6a
--- /dev/null
+++ b/FizetesiMod/Properties/AssemblyInfo.cs
@@ -0,0 +1,33 @@
+using System.Reflection;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+// General Information about an assembly is controlled through the following
+// set of attributes. Change these attribute values to modify the information
+// associated with an assembly.
+[assembly: AssemblyTitle("FizetesiMod")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("")]
+[assembly: AssemblyProduct("FizetesiMod")]
+[assembly: AssemblyCopyright("Copyright © 2024")]
+[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCulture("")]
+
+// Setting ComVisible to false makes the types in this assembly not visible
+// to COM components. If you need to access a type in this assembly from
+// COM, set the ComVisible attribute to true on that type.
+[assembly: ComVisible(false)]
+
+// The following GUID is for the ID of the typelib if this project is exposed to COM
+[assembly: Guid("e71bc998-15a4-4fcc-91c9-bc7cb01e7458")]
+
+// Version information for an assembly consists of the following four values:
+//
+// Major Version
+// Minor Version
+// Build Number
+// Revision
+//
+[assembly: AssemblyVersion("1.0.0.0")]
+[assembly: AssemblyFileVersion("1.0.0.0")]