diff --git a/20250122/Gyakorlás.pdf b/20250122/Gyakorlás.pdf
new file mode 100644
index 0000000..267274e
Binary files /dev/null and b/20250122/Gyakorlás.pdf differ
diff --git a/20250122/Kor/.vs/Kor/FileContentIndex/e31f9e0a-0acb-4620-9972-0d967463f03a.vsidx b/20250122/Kor/.vs/Kor/FileContentIndex/e31f9e0a-0acb-4620-9972-0d967463f03a.vsidx
new file mode 100644
index 0000000..fa5a048
Binary files /dev/null and b/20250122/Kor/.vs/Kor/FileContentIndex/e31f9e0a-0acb-4620-9972-0d967463f03a.vsidx differ
diff --git a/20250122/Kor/.vs/Kor/v17/.suo b/20250122/Kor/.vs/Kor/v17/.suo
new file mode 100644
index 0000000..365e147
Binary files /dev/null and b/20250122/Kor/.vs/Kor/v17/.suo differ
diff --git a/20250122/Kor/.vs/Kor/v17/DocumentLayout.backup.json b/20250122/Kor/.vs/Kor/v17/DocumentLayout.backup.json
new file mode 100644
index 0000000..ca09908
--- /dev/null
+++ b/20250122/Kor/.vs/Kor/v17/DocumentLayout.backup.json
@@ -0,0 +1,37 @@
+{
+ "Version": 1,
+ "WorkspaceRootPath": "C:\\Users\\szabomarton\\Desktop\\ProgaOra\\20250122\\Kor\\",
+ "Documents": [
+ {
+ "AbsoluteMoniker": "D:0:0:{08AC5912-8134-4A14-A3EC-C61822BA59AA}|Kor\\Kor.csproj|c:\\users\\szabomarton\\desktop\\progaora\\20250122\\kor\\kor\\program.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
+ "RelativeMoniker": "D:0:0:{08AC5912-8134-4A14-A3EC-C61822BA59AA}|Kor\\Kor.csproj|solutionrelative:kor\\program.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
+ }
+ ],
+ "DocumentGroupContainers": [
+ {
+ "Orientation": 0,
+ "VerticalTabListWidth": 256,
+ "DocumentGroups": [
+ {
+ "DockedWidth": 200,
+ "SelectedChildIndex": 0,
+ "Children": [
+ {
+ "$type": "Document",
+ "DocumentIndex": 0,
+ "Title": "Program.cs",
+ "DocumentMoniker": "C:\\Users\\szabomarton\\Desktop\\ProgaOra\\20250122\\Kor\\Kor\\Program.cs",
+ "RelativeDocumentMoniker": "Kor\\Program.cs",
+ "ToolTip": "C:\\Users\\szabomarton\\Desktop\\ProgaOra\\20250122\\Kor\\Kor\\Program.cs",
+ "RelativeToolTip": "Kor\\Program.cs",
+ "ViewState": "AgIAAGEAAAAAAAAAAAAQwG0AAAA3AAAAAAAAAA==",
+ "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
+ "WhenOpened": "2025-01-22T11:07:50.634Z",
+ "EditorCaption": ""
+ }
+ ]
+ }
+ ]
+ }
+ ]
+}
\ No newline at end of file
diff --git a/20250122/Kor/.vs/Kor/v17/DocumentLayout.json b/20250122/Kor/.vs/Kor/v17/DocumentLayout.json
new file mode 100644
index 0000000..6bbdf18
--- /dev/null
+++ b/20250122/Kor/.vs/Kor/v17/DocumentLayout.json
@@ -0,0 +1,37 @@
+{
+ "Version": 1,
+ "WorkspaceRootPath": "C:\\Users\\szabomarton\\Desktop\\ProgaOra\\20250122\\Kor\\",
+ "Documents": [
+ {
+ "AbsoluteMoniker": "D:0:0:{08AC5912-8134-4A14-A3EC-C61822BA59AA}|Kor\\Kor.csproj|c:\\users\\szabomarton\\desktop\\progaora\\20250122\\kor\\kor\\program.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
+ "RelativeMoniker": "D:0:0:{08AC5912-8134-4A14-A3EC-C61822BA59AA}|Kor\\Kor.csproj|solutionrelative:kor\\program.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
+ }
+ ],
+ "DocumentGroupContainers": [
+ {
+ "Orientation": 0,
+ "VerticalTabListWidth": 256,
+ "DocumentGroups": [
+ {
+ "DockedWidth": 200,
+ "SelectedChildIndex": 0,
+ "Children": [
+ {
+ "$type": "Document",
+ "DocumentIndex": 0,
+ "Title": "Program.cs",
+ "DocumentMoniker": "C:\\Users\\szabomarton\\Desktop\\ProgaOra\\20250122\\Kor\\Kor\\Program.cs",
+ "RelativeDocumentMoniker": "Kor\\Program.cs",
+ "ToolTip": "C:\\Users\\szabomarton\\Desktop\\ProgaOra\\20250122\\Kor\\Kor\\Program.cs",
+ "RelativeToolTip": "Kor\\Program.cs",
+ "ViewState": "AgIAAGEAAAAAAAAAAAAQwG0AAAAzAAAAAAAAAA==",
+ "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
+ "WhenOpened": "2025-01-22T11:07:50.634Z",
+ "EditorCaption": ""
+ }
+ ]
+ }
+ ]
+ }
+ ]
+}
\ No newline at end of file
diff --git a/20250122/Kor/Kor.sln b/20250122/Kor/Kor.sln
new file mode 100644
index 0000000..adc6311
--- /dev/null
+++ b/20250122/Kor/Kor.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}") = "Kor", "Kor\Kor.csproj", "{08AC5912-8134-4A14-A3EC-C61822BA59AA}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Any CPU = Debug|Any CPU
+ Release|Any CPU = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {08AC5912-8134-4A14-A3EC-C61822BA59AA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {08AC5912-8134-4A14-A3EC-C61822BA59AA}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {08AC5912-8134-4A14-A3EC-C61822BA59AA}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {08AC5912-8134-4A14-A3EC-C61822BA59AA}.Release|Any CPU.Build.0 = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+ GlobalSection(ExtensibilityGlobals) = postSolution
+ SolutionGuid = {2395C132-B3DA-4C13-A3F5-51E6A89E79F5}
+ EndGlobalSection
+EndGlobal
diff --git a/20250122/Kor/Kor/App.config b/20250122/Kor/Kor/App.config
new file mode 100644
index 0000000..56efbc7
--- /dev/null
+++ b/20250122/Kor/Kor/App.config
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/20250122/Kor/Kor/Kor.csproj b/20250122/Kor/Kor/Kor.csproj
new file mode 100644
index 0000000..b08a9db
--- /dev/null
+++ b/20250122/Kor/Kor/Kor.csproj
@@ -0,0 +1,53 @@
+
+
+
+
+ Debug
+ AnyCPU
+ {08AC5912-8134-4A14-A3EC-C61822BA59AA}
+ Exe
+ Kor
+ Kor
+ 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/20250122/Kor/Kor/Program.cs b/20250122/Kor/Kor/Program.cs
new file mode 100644
index 0000000..1df8b0a
--- /dev/null
+++ b/20250122/Kor/Kor/Program.cs
@@ -0,0 +1,121 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace Kor
+{
+ public class Kor
+ {
+ public double sugar { get; set; }
+
+ public Kor(double sugar)
+ {
+ this.sugar = sugar;
+ }
+
+ public void Meretvaltoztata(double meret)
+ {
+ this.sugar = meret;
+ }
+
+ public double Kerulet()
+ {
+ return sugar * 2 * Math.PI;
+ }
+
+ public double Terulet()
+ {
+ return sugar * sugar * Math.PI;
+ }
+ }
+
+ public class SzinesKor : Kor
+ {
+ public string szin;
+ public SzinesKor(double sugar, string szin) : base(sugar)
+ {
+ this.sugar = sugar;
+ this.szin = szin;
+ }
+ }
+
+ public class Auto
+ {
+ public string nev;
+ public double fogyasztas;
+ public double benzintank;
+ public double MAX_benzintank;
+
+
+ public Auto(string nev, double fogyasztas, double benzintank, double MAX_benzintank) {
+ this.nev = nev;
+ this.fogyasztas = fogyasztas;
+ this.benzintank = benzintank;
+ this.MAX_benzintank = MAX_benzintank;
+ }
+ }
+
+ public class Benzinkut
+ {
+ public double benzin; //jelenleg tárolt benzin mennyisége
+ public double literAr; // benzin ára literenként
+ public double kassza;
+
+ public Benzinkut(double benzin, double literAr, double kassza)
+ {
+ this.benzin = benzin;
+ this.literAr = literAr;
+ this.kassza = kassza;
+ }
+
+ public void Tankolas(Auto auto, Sofor sofor)
+ {
+ if (benzin - auto.MAX_benzintank > 0 && sofor.penz >= this.literAr * auto.MAX_benzintank)
+ {
+ auto.benzintank = auto.MAX_benzintank;
+ benzin -= auto.MAX_benzintank;
+ int fizetendo = (int)auto.MAX_benzintank * (int)this.literAr;
+ sofor.penz -= fizetendo;
+ this.kassza += fizetendo;
+ }
+ }
+ }
+
+ public class Sofor
+ {
+ public string nev;
+ public int penz;
+
+ public Sofor(string nev, int penz)
+ {
+ this.nev = nev;
+ this.penz = penz;
+ }
+ }
+ internal class Program
+ {
+ static void Main(string[] args)
+ {
+ Kor kor = new Kor(1);
+ Console.WriteLine(kor.Terulet());
+ Console.WriteLine(kor.Kerulet());
+ Console.WriteLine();
+
+ SzinesKor szinesKor = new SzinesKor(2, "piros");
+ Console.WriteLine(szinesKor.Terulet());
+
+ Benzinkut benzinkut = new Benzinkut(1000, 500, 0);
+ Sofor sofor = new Sofor("Sanyi", 100000);
+ Auto auto = new Auto("Fiat", 5.3, 100, 100);
+
+ while (sofor.penz > 0) {
+ auto.benzintank = 0;
+ benzinkut.Tankolas(auto, sofor);
+ Console.WriteLine($"A sofőr aktuális egyenlege: {sofor.penz}");
+ }
+
+ }
+ }
+}
diff --git a/20250122/Kor/Kor/Properties/AssemblyInfo.cs b/20250122/Kor/Kor/Properties/AssemblyInfo.cs
new file mode 100644
index 0000000..c01528d
--- /dev/null
+++ b/20250122/Kor/Kor/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("Kor")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("")]
+[assembly: AssemblyProduct("Kor")]
+[assembly: AssemblyCopyright("Copyright © 2025")]
+[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("08ac5912-8134-4a14-a3ec-c61822ba59aa")]
+
+// 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")]
diff --git a/20250122/Kor/Kor/bin/Debug/Kor.exe b/20250122/Kor/Kor/bin/Debug/Kor.exe
new file mode 100644
index 0000000..1dea8e6
Binary files /dev/null and b/20250122/Kor/Kor/bin/Debug/Kor.exe differ
diff --git a/20250122/Kor/Kor/bin/Debug/Kor.exe.config b/20250122/Kor/Kor/bin/Debug/Kor.exe.config
new file mode 100644
index 0000000..56efbc7
--- /dev/null
+++ b/20250122/Kor/Kor/bin/Debug/Kor.exe.config
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/20250122/Kor/Kor/bin/Debug/Kor.pdb b/20250122/Kor/Kor/bin/Debug/Kor.pdb
new file mode 100644
index 0000000..88646fc
Binary files /dev/null and b/20250122/Kor/Kor/bin/Debug/Kor.pdb differ
diff --git a/20250122/Kor/Kor/obj/Debug/.NETFramework,Version=v4.7.2.AssemblyAttributes.cs b/20250122/Kor/Kor/obj/Debug/.NETFramework,Version=v4.7.2.AssemblyAttributes.cs
new file mode 100644
index 0000000..3871b18
--- /dev/null
+++ b/20250122/Kor/Kor/obj/Debug/.NETFramework,Version=v4.7.2.AssemblyAttributes.cs
@@ -0,0 +1,4 @@
+//
+using System;
+using System.Reflection;
+[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.7.2", FrameworkDisplayName = ".NET Framework 4.7.2")]
diff --git a/20250122/Kor/Kor/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/20250122/Kor/Kor/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache
new file mode 100644
index 0000000..470cf20
Binary files /dev/null and b/20250122/Kor/Kor/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ
diff --git a/20250122/Kor/Kor/obj/Debug/Kor.csproj.AssemblyReference.cache b/20250122/Kor/Kor/obj/Debug/Kor.csproj.AssemblyReference.cache
new file mode 100644
index 0000000..126ed02
Binary files /dev/null and b/20250122/Kor/Kor/obj/Debug/Kor.csproj.AssemblyReference.cache differ
diff --git a/20250122/Kor/Kor/obj/Debug/Kor.csproj.CoreCompileInputs.cache b/20250122/Kor/Kor/obj/Debug/Kor.csproj.CoreCompileInputs.cache
new file mode 100644
index 0000000..0be8d26
--- /dev/null
+++ b/20250122/Kor/Kor/obj/Debug/Kor.csproj.CoreCompileInputs.cache
@@ -0,0 +1 @@
+137ddb1975586287657f37337b64d051167bb6a147915d9fb5b8eb94b1093509
diff --git a/20250122/Kor/Kor/obj/Debug/Kor.csproj.FileListAbsolute.txt b/20250122/Kor/Kor/obj/Debug/Kor.csproj.FileListAbsolute.txt
new file mode 100644
index 0000000..a9162d6
--- /dev/null
+++ b/20250122/Kor/Kor/obj/Debug/Kor.csproj.FileListAbsolute.txt
@@ -0,0 +1,7 @@
+C:\Users\szabomarton\Desktop\ProgaOra\20250122\Kor\Kor\bin\Debug\Kor.exe.config
+C:\Users\szabomarton\Desktop\ProgaOra\20250122\Kor\Kor\bin\Debug\Kor.exe
+C:\Users\szabomarton\Desktop\ProgaOra\20250122\Kor\Kor\bin\Debug\Kor.pdb
+C:\Users\szabomarton\Desktop\ProgaOra\20250122\Kor\Kor\obj\Debug\Kor.csproj.AssemblyReference.cache
+C:\Users\szabomarton\Desktop\ProgaOra\20250122\Kor\Kor\obj\Debug\Kor.csproj.CoreCompileInputs.cache
+C:\Users\szabomarton\Desktop\ProgaOra\20250122\Kor\Kor\obj\Debug\Kor.exe
+C:\Users\szabomarton\Desktop\ProgaOra\20250122\Kor\Kor\obj\Debug\Kor.pdb
diff --git a/20250122/Kor/Kor/obj/Debug/Kor.exe b/20250122/Kor/Kor/obj/Debug/Kor.exe
new file mode 100644
index 0000000..1dea8e6
Binary files /dev/null and b/20250122/Kor/Kor/obj/Debug/Kor.exe differ
diff --git a/20250122/Kor/Kor/obj/Debug/Kor.pdb b/20250122/Kor/Kor/obj/Debug/Kor.pdb
new file mode 100644
index 0000000..88646fc
Binary files /dev/null and b/20250122/Kor/Kor/obj/Debug/Kor.pdb differ