diff --git a/20240905/ConsoleApp1/.vs/ConsoleApp1/v16/.suo b/20240905/ConsoleApp1/.vs/ConsoleApp1/v16/.suo
new file mode 100644
index 0000000..9daf1cd
Binary files /dev/null and b/20240905/ConsoleApp1/.vs/ConsoleApp1/v16/.suo differ
diff --git a/20240905/ConsoleApp1/ConsoleApp1.sln b/20240905/ConsoleApp1/ConsoleApp1.sln
new file mode 100644
index 0000000..d3ad13f
--- /dev/null
+++ b/20240905/ConsoleApp1/ConsoleApp1.sln
@@ -0,0 +1,25 @@
+
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Visual Studio Version 16
+VisualStudioVersion = 16.0.34729.46
+MinimumVisualStudioVersion = 10.0.40219.1
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ConsoleApp1", "ConsoleApp1\ConsoleApp1.csproj", "{230ACBCE-F4C9-441E-976C-3BCA4E6595D5}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Any CPU = Debug|Any CPU
+ Release|Any CPU = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {230ACBCE-F4C9-441E-976C-3BCA4E6595D5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {230ACBCE-F4C9-441E-976C-3BCA4E6595D5}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {230ACBCE-F4C9-441E-976C-3BCA4E6595D5}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {230ACBCE-F4C9-441E-976C-3BCA4E6595D5}.Release|Any CPU.Build.0 = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+ GlobalSection(ExtensibilityGlobals) = postSolution
+ SolutionGuid = {F0D1799E-4A3B-4CC3-95D2-BB9DAE843EDD}
+ EndGlobalSection
+EndGlobal
diff --git a/20240905/ConsoleApp1/ConsoleApp1/App.config b/20240905/ConsoleApp1/ConsoleApp1/App.config
new file mode 100644
index 0000000..56efbc7
--- /dev/null
+++ b/20240905/ConsoleApp1/ConsoleApp1/App.config
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/20240905/ConsoleApp1/ConsoleApp1/ConsoleApp1.csproj b/20240905/ConsoleApp1/ConsoleApp1/ConsoleApp1.csproj
new file mode 100644
index 0000000..2d8f226
--- /dev/null
+++ b/20240905/ConsoleApp1/ConsoleApp1/ConsoleApp1.csproj
@@ -0,0 +1,53 @@
+
+
+
+
+ Debug
+ AnyCPU
+ {230ACBCE-F4C9-441E-976C-3BCA4E6595D5}
+ Exe
+ ConsoleApp1
+ ConsoleApp1
+ 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/20240905/ConsoleApp1/ConsoleApp1/Program.cs b/20240905/ConsoleApp1/ConsoleApp1/Program.cs
new file mode 100644
index 0000000..fb60e07
--- /dev/null
+++ b/20240905/ConsoleApp1/ConsoleApp1/Program.cs
@@ -0,0 +1,79 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.IO;
+
+namespace ConsoleApp1
+{
+ class Program
+ {
+ static void Main(string[] args)
+ {
+
+ }
+
+ public static void DataRead()
+ {
+ string path = @"C:\Users\szabomarton\Desktop\C#\ProgaOra\20240905\adatok-utf8.txt";
+ FileStream fileStream = new FileStream(path, FileMode.Open, FileAccess.Read);
+ StreamReader streamReader = new StreamReader(fileStream);
+
+ string line = streamReader.ReadLine();
+ line = streamReader.ReadLine();
+
+ while (line != null)
+ {
+ string[] datas = line.Split(';');
+
+ string orszag = datas[0];
+ int terulet = Convert.ToInt32(datas[1]);
+
+ int i_nepesseg;
+ string nepesseg = datas[2];
+ bool IsNum = Int32.TryParse(nepesseg, out i_nepesseg);
+
+ if (!IsNum)
+ {
+ nepesseg.Replace("g", "0000");
+ i_nepesseg = Convert.ToInt32(nepesseg);
+ }
+
+
+
+ }
+
+ streamReader.Close();
+ fileStream.Close();
+ }
+ }
+
+
+ public static class Data
+ {
+ public static List orszagok = new List();
+ }
+ public class Orszag
+ {
+ public string Orszagnev { get; private set; }
+ public int Terulet { get; private set; }
+ public int Nepesseg { get; private set; }
+ public string Fovaros { get; private set; }
+ public int FovarosNepesseg { get; private set; }
+
+ public bool FovarosiKoncentracio { get; set; }
+
+ public Orszag(string orszagnev, int terulet, int nepesseg, string fovaros, int fovarosNepesseg)
+ {
+ Orszagnev = orszagnev;
+ Terulet = terulet;
+ Nepesseg = nepesseg;
+ Fovaros = fovaros;
+ FovarosNepesseg = fovarosNepesseg * 1000;
+ }
+
+
+ }
+
+}
diff --git a/20240905/ConsoleApp1/ConsoleApp1/Properties/AssemblyInfo.cs b/20240905/ConsoleApp1/ConsoleApp1/Properties/AssemblyInfo.cs
new file mode 100644
index 0000000..d840202
--- /dev/null
+++ b/20240905/ConsoleApp1/ConsoleApp1/Properties/AssemblyInfo.cs
@@ -0,0 +1,36 @@
+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("ConsoleApp1")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("")]
+[assembly: AssemblyProduct("ConsoleApp1")]
+[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("230acbce-f4c9-441e-976c-3bca4e6595d5")]
+
+// Version information for an assembly consists of the following four values:
+//
+// Major Version
+// Minor Version
+// Build Number
+// Revision
+//
+// You can specify all the values or you can default the Build and Revision Numbers
+// by using the '*' as shown below:
+// [assembly: AssemblyVersion("1.0.*")]
+[assembly: AssemblyVersion("1.0.0.0")]
+[assembly: AssemblyFileVersion("1.0.0.0")]
diff --git a/20240905/ConsoleApp1/ConsoleApp1/obj/Debug/.NETFramework,Version=v4.7.2.AssemblyAttributes.cs b/20240905/ConsoleApp1/ConsoleApp1/obj/Debug/.NETFramework,Version=v4.7.2.AssemblyAttributes.cs
new file mode 100644
index 0000000..3871b18
--- /dev/null
+++ b/20240905/ConsoleApp1/ConsoleApp1/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/20240905/ConsoleApp1/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.AssemblyReference.cache b/20240905/ConsoleApp1/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.AssemblyReference.cache
new file mode 100644
index 0000000..4eb356a
Binary files /dev/null and b/20240905/ConsoleApp1/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.AssemblyReference.cache differ
diff --git a/20240905/ConsoleApp1/ConsoleApp1/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/20240905/ConsoleApp1/ConsoleApp1/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache
new file mode 100644
index 0000000..ab6839a
Binary files /dev/null and b/20240905/ConsoleApp1/ConsoleApp1/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ
diff --git a/20240905/Fizetes/.vs/Fizetes/v16/.suo b/20240905/Fizetes/.vs/Fizetes/v16/.suo
new file mode 100644
index 0000000..eb4cab6
Binary files /dev/null and b/20240905/Fizetes/.vs/Fizetes/v16/.suo differ
diff --git a/20240905/Fizetes/Fizetes.sln b/20240905/Fizetes/Fizetes.sln
new file mode 100644
index 0000000..9fdf505
--- /dev/null
+++ b/20240905/Fizetes/Fizetes.sln
@@ -0,0 +1,25 @@
+
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Visual Studio Version 16
+VisualStudioVersion = 16.0.34729.46
+MinimumVisualStudioVersion = 10.0.40219.1
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Fizetes", "Fizetes\Fizetes.csproj", "{2927D585-DD8D-4010-94C3-F73C3F228ACD}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Any CPU = Debug|Any CPU
+ Release|Any CPU = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {2927D585-DD8D-4010-94C3-F73C3F228ACD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {2927D585-DD8D-4010-94C3-F73C3F228ACD}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {2927D585-DD8D-4010-94C3-F73C3F228ACD}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {2927D585-DD8D-4010-94C3-F73C3F228ACD}.Release|Any CPU.Build.0 = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+ GlobalSection(ExtensibilityGlobals) = postSolution
+ SolutionGuid = {2DB21D78-A314-40EB-8FFC-EEFCB70E4C36}
+ EndGlobalSection
+EndGlobal
diff --git a/20240905/Fizetes/Fizetes/App.config b/20240905/Fizetes/Fizetes/App.config
new file mode 100644
index 0000000..56efbc7
--- /dev/null
+++ b/20240905/Fizetes/Fizetes/App.config
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/20240905/Fizetes/Fizetes/Fizetes.csproj b/20240905/Fizetes/Fizetes/Fizetes.csproj
new file mode 100644
index 0000000..078a643
--- /dev/null
+++ b/20240905/Fizetes/Fizetes/Fizetes.csproj
@@ -0,0 +1,53 @@
+
+
+
+
+ Debug
+ AnyCPU
+ {2927D585-DD8D-4010-94C3-F73C3F228ACD}
+ Exe
+ Fizetes
+ Fizetes
+ 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/20240905/Fizetes/Fizetes/Program.cs b/20240905/Fizetes/Fizetes/Program.cs
new file mode 100644
index 0000000..8082aa1
--- /dev/null
+++ b/20240905/Fizetes/Fizetes/Program.cs
@@ -0,0 +1,177 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.IO;
+
+namespace Fizetes
+{
+ class Program
+ {
+ static void Main(string[] args)
+ {
+ DataRead();
+ Feladat3();
+ Feladat4();
+ Feladat5();
+ Feladat6();
+ Feladat7();
+
+ Console.ReadLine();
+ }
+
+ public static void Feladat3()
+ {
+ Console.WriteLine(Data.munkasok.Count);
+ }
+
+ public static void Feladat4()
+ {
+ int atlagber = AtlagBer();
+ Console.WriteLine($"A 2020-as átlagbérek: {atlagber} ezer Forint");
+ }
+
+ public static int AtlagBer()
+ {
+ int dolgozoknum = Data.munkasok.Count;
+ int dolgozokberSZUM = DolgozokBerSZUM();
+
+
+ return (dolgozokberSZUM / dolgozoknum) / 1000;
+ }
+
+ public static int DolgozokBerSZUM()
+ {
+ int szum = 0;
+ foreach (var item in Data.munkasok)
+ {
+ szum += item.Ber;
+ }
+ return szum;
+ }
+
+ public static void Feladat5()
+ {
+ Console.WriteLine("Kérem a részleg nevét: ");
+ }
+
+ public static void Feladat6()
+ {
+ string reszleg = Console.ReadLine();
+ int legjobbankereso_index = LegjobbanKereso_index(reszleg);
+ if (legjobbankereso_index == -1)
+ {
+ Console.WriteLine("A megadott részleg nem létezik a cégnél!");
+ }
+ else
+ {
+ Console.WriteLine($"Név: {Data.munkasok[legjobbankereso_index].Nev}");
+ Console.WriteLine($"Nem: {Data.munkasok[legjobbankereso_index].Nem}");
+ Console.WriteLine($"Belépés: {Data.munkasok[legjobbankereso_index].Belepes}");
+ Console.WriteLine($"Bér: {Data.munkasok[legjobbankereso_index].Ber}");
+ }
+ }
+
+ public static int LegjobbanKereso_index(string reszleg)
+ {
+ int legnagyobbBer = 0;
+ int legnagyobb_index = -1;
+ for (int i = 0; i < Data.munkasok.Count; i++)
+ {
+ if (Data.munkasok[i].Ber > legnagyobbBer && Data.munkasok[i].Reszleg == reszleg)
+ {
+ legnagyobbBer = Data.munkasok[i].Ber;
+ legnagyobb_index = i;
+ }
+ }
+
+ return legnagyobb_index;
+ }
+
+ public static void Feladat7()
+ {
+ List reszlegek = new List();
+
+ foreach (var item in Data.munkasok)
+ {
+ if (!reszlegek.Contains(item.Reszleg))
+ {
+ reszlegek.Add(item.Reszleg);
+ }
+ }
+
+ int[] reszleg_db = new int[reszlegek.Count];
+
+ for (int i = 0; i < reszlegek.Count; i++)
+ {
+ for (int j = 0; j < Data.munkasok.Count; j++)
+ {
+ if (reszlegek[i] == Data.munkasok[j].Reszleg)
+ {
+ reszleg_db[i]++;
+ }
+ }
+ }
+
+ for (int i = 0; i < reszlegek.Count; i++)
+ {
+ Console.WriteLine($"{reszlegek[i]} - {reszleg_db[i]} Fő");
+ }
+ }
+
+ public static void DataRead()
+ {
+ string path = @"C:\Users\szabomarton\Desktop\C#\ProgaOra\20240905\berek2020.txt";
+ FileStream fileStream = new FileStream(path, FileMode.Open, FileAccess.Read);
+ StreamReader streamReader = new StreamReader(fileStream);
+
+ string line = streamReader.ReadLine();
+ line = streamReader.ReadLine();
+
+ while (line != null)
+ {
+ string[] datas = line.Split(';');
+ string nev = datas[0];
+ string nem = datas[1];
+ string reszleg = datas[2];
+ int belepes = Convert.ToInt32(datas[3]);
+ int ber = Convert.ToInt32(datas[4]);
+
+ Munkas munkas = new Munkas(nev, nem, reszleg, belepes, ber);
+ Data.munkasok.Add(munkas);
+
+ line = streamReader.ReadLine();
+ }
+
+ streamReader.Close();
+ fileStream.Close();
+ }
+ }
+
+
+ public static class Data
+ {
+ public static List munkasok = new List();
+ }
+ public class Munkas
+ {
+ public string Nev { get; private set; }
+ public string Nem { get; private set; }
+ public string Reszleg { get; private set; }
+ public int Belepes { get; private set; }
+ public int Ber { get; private set; }
+
+ public Munkas(string nev, string nem, string reszleg, int belepes, int ber)
+ {
+ Nev = nev;
+ Nem = nem;
+ Reszleg = reszleg;
+ Belepes = belepes;
+ Ber = ber;
+ }
+
+
+ }
+
+}
diff --git a/20240905/Fizetes/Fizetes/Properties/AssemblyInfo.cs b/20240905/Fizetes/Fizetes/Properties/AssemblyInfo.cs
new file mode 100644
index 0000000..0fb25b1
--- /dev/null
+++ b/20240905/Fizetes/Fizetes/Properties/AssemblyInfo.cs
@@ -0,0 +1,36 @@
+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("Fizetes")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("")]
+[assembly: AssemblyProduct("Fizetes")]
+[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("2927d585-dd8d-4010-94c3-f73c3f228acd")]
+
+// Version information for an assembly consists of the following four values:
+//
+// Major Version
+// Minor Version
+// Build Number
+// Revision
+//
+// You can specify all the values or you can default the Build and Revision Numbers
+// by using the '*' as shown below:
+// [assembly: AssemblyVersion("1.0.*")]
+[assembly: AssemblyVersion("1.0.0.0")]
+[assembly: AssemblyFileVersion("1.0.0.0")]
diff --git a/20240905/Fizetes/Fizetes/bin/Debug/Fizetes.exe b/20240905/Fizetes/Fizetes/bin/Debug/Fizetes.exe
new file mode 100644
index 0000000..219b8ff
Binary files /dev/null and b/20240905/Fizetes/Fizetes/bin/Debug/Fizetes.exe differ
diff --git a/20240905/Fizetes/Fizetes/bin/Debug/Fizetes.exe.config b/20240905/Fizetes/Fizetes/bin/Debug/Fizetes.exe.config
new file mode 100644
index 0000000..56efbc7
--- /dev/null
+++ b/20240905/Fizetes/Fizetes/bin/Debug/Fizetes.exe.config
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/20240905/Fizetes/Fizetes/bin/Debug/Fizetes.pdb b/20240905/Fizetes/Fizetes/bin/Debug/Fizetes.pdb
new file mode 100644
index 0000000..189c93e
Binary files /dev/null and b/20240905/Fizetes/Fizetes/bin/Debug/Fizetes.pdb differ
diff --git a/20240905/Fizetes/Fizetes/obj/Debug/.NETFramework,Version=v4.7.2.AssemblyAttributes.cs b/20240905/Fizetes/Fizetes/obj/Debug/.NETFramework,Version=v4.7.2.AssemblyAttributes.cs
new file mode 100644
index 0000000..3871b18
--- /dev/null
+++ b/20240905/Fizetes/Fizetes/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/20240905/Fizetes/Fizetes/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/20240905/Fizetes/Fizetes/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache
new file mode 100644
index 0000000..f2ae3b4
Binary files /dev/null and b/20240905/Fizetes/Fizetes/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ
diff --git a/20240905/Fizetes/Fizetes/obj/Debug/Fizetes.csproj.AssemblyReference.cache b/20240905/Fizetes/Fizetes/obj/Debug/Fizetes.csproj.AssemblyReference.cache
new file mode 100644
index 0000000..0da8ef2
Binary files /dev/null and b/20240905/Fizetes/Fizetes/obj/Debug/Fizetes.csproj.AssemblyReference.cache differ
diff --git a/20240905/Fizetes/Fizetes/obj/Debug/Fizetes.csproj.CoreCompileInputs.cache b/20240905/Fizetes/Fizetes/obj/Debug/Fizetes.csproj.CoreCompileInputs.cache
new file mode 100644
index 0000000..ee191d7
--- /dev/null
+++ b/20240905/Fizetes/Fizetes/obj/Debug/Fizetes.csproj.CoreCompileInputs.cache
@@ -0,0 +1 @@
+7f4b213b428f4c013f19137338418ee1f5525793
diff --git a/20240905/Fizetes/Fizetes/obj/Debug/Fizetes.csproj.FileListAbsolute.txt b/20240905/Fizetes/Fizetes/obj/Debug/Fizetes.csproj.FileListAbsolute.txt
new file mode 100644
index 0000000..bae8320
--- /dev/null
+++ b/20240905/Fizetes/Fizetes/obj/Debug/Fizetes.csproj.FileListAbsolute.txt
@@ -0,0 +1,7 @@
+C:\Users\szabomarton\Desktop\C#\ProgaOra\20240905\Fizetes\Fizetes\bin\Debug\Fizetes.exe.config
+C:\Users\szabomarton\Desktop\C#\ProgaOra\20240905\Fizetes\Fizetes\bin\Debug\Fizetes.exe
+C:\Users\szabomarton\Desktop\C#\ProgaOra\20240905\Fizetes\Fizetes\bin\Debug\Fizetes.pdb
+C:\Users\szabomarton\Desktop\C#\ProgaOra\20240905\Fizetes\Fizetes\obj\Debug\Fizetes.csproj.AssemblyReference.cache
+C:\Users\szabomarton\Desktop\C#\ProgaOra\20240905\Fizetes\Fizetes\obj\Debug\Fizetes.csproj.CoreCompileInputs.cache
+C:\Users\szabomarton\Desktop\C#\ProgaOra\20240905\Fizetes\Fizetes\obj\Debug\Fizetes.exe
+C:\Users\szabomarton\Desktop\C#\ProgaOra\20240905\Fizetes\Fizetes\obj\Debug\Fizetes.pdb
diff --git a/20240905/Fizetes/Fizetes/obj/Debug/Fizetes.exe b/20240905/Fizetes/Fizetes/obj/Debug/Fizetes.exe
new file mode 100644
index 0000000..219b8ff
Binary files /dev/null and b/20240905/Fizetes/Fizetes/obj/Debug/Fizetes.exe differ
diff --git a/20240905/Fizetes/Fizetes/obj/Debug/Fizetes.pdb b/20240905/Fizetes/Fizetes/obj/Debug/Fizetes.pdb
new file mode 100644
index 0000000..189c93e
Binary files /dev/null and b/20240905/Fizetes/Fizetes/obj/Debug/Fizetes.pdb differ
diff --git a/20240905/FizetesGUI/.vs/FizetesGUI/v16/.suo b/20240905/FizetesGUI/.vs/FizetesGUI/v16/.suo
new file mode 100644
index 0000000..0735008
Binary files /dev/null and b/20240905/FizetesGUI/.vs/FizetesGUI/v16/.suo differ
diff --git a/20240905/FizetesGUI/FizetesGUI.sln b/20240905/FizetesGUI/FizetesGUI.sln
new file mode 100644
index 0000000..7e635b5
--- /dev/null
+++ b/20240905/FizetesGUI/FizetesGUI.sln
@@ -0,0 +1,25 @@
+
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Visual Studio Version 16
+VisualStudioVersion = 16.0.34729.46
+MinimumVisualStudioVersion = 10.0.40219.1
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FizetesGUI", "FizetesGUI\FizetesGUI.csproj", "{FEF2D568-33E0-4126-859F-8056E88F5A06}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Any CPU = Debug|Any CPU
+ Release|Any CPU = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {FEF2D568-33E0-4126-859F-8056E88F5A06}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {FEF2D568-33E0-4126-859F-8056E88F5A06}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {FEF2D568-33E0-4126-859F-8056E88F5A06}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {FEF2D568-33E0-4126-859F-8056E88F5A06}.Release|Any CPU.Build.0 = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+ GlobalSection(ExtensibilityGlobals) = postSolution
+ SolutionGuid = {22033776-FCFA-4CEB-9A4B-88FA0EDDCC9E}
+ EndGlobalSection
+EndGlobal
diff --git a/20240905/FizetesGUI/FizetesGUI/App.config b/20240905/FizetesGUI/FizetesGUI/App.config
new file mode 100644
index 0000000..56efbc7
--- /dev/null
+++ b/20240905/FizetesGUI/FizetesGUI/App.config
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/20240905/FizetesGUI/FizetesGUI/FizetesGUI.csproj b/20240905/FizetesGUI/FizetesGUI/FizetesGUI.csproj
new file mode 100644
index 0000000..59df128
--- /dev/null
+++ b/20240905/FizetesGUI/FizetesGUI/FizetesGUI.csproj
@@ -0,0 +1,83 @@
+
+
+
+
+ Debug
+ AnyCPU
+ {FEF2D568-33E0-4126-859F-8056E88F5A06}
+ WinExe
+ FizetesGUI
+ FizetesGUI
+ v4.7.2
+ 512
+ true
+ true
+
+
+ AnyCPU
+ true
+ full
+ false
+ bin\Debug\
+ DEBUG;TRACE
+ prompt
+ 4
+
+
+ AnyCPU
+ pdbonly
+ true
+ bin\Release\
+ TRACE
+ prompt
+ 4
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Form
+
+
+ Form1.cs
+
+
+
+
+ Form1.cs
+
+
+ ResXFileCodeGenerator
+ Resources.Designer.cs
+ Designer
+
+
+ True
+ Resources.resx
+
+
+ SettingsSingleFileGenerator
+ Settings.Designer.cs
+
+
+ True
+ Settings.settings
+ True
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/20240905/FizetesGUI/FizetesGUI/Form1.Designer.cs b/20240905/FizetesGUI/FizetesGUI/Form1.Designer.cs
new file mode 100644
index 0000000..ace132a
--- /dev/null
+++ b/20240905/FizetesGUI/FizetesGUI/Form1.Designer.cs
@@ -0,0 +1,170 @@
+
+namespace FizetesGUI
+{
+ partial class Form1
+ {
+ ///
+ /// Required designer variable.
+ ///
+ private System.ComponentModel.IContainer components = null;
+
+ ///
+ /// Clean up any resources being used.
+ ///
+ /// true if managed resources should be disposed; otherwise, false.
+ protected override void Dispose(bool disposing)
+ {
+ if (disposing && (components != null))
+ {
+ components.Dispose();
+ }
+ base.Dispose(disposing);
+ }
+
+ #region Windows Form Designer generated code
+
+ ///
+ /// Required method for Designer support - do not modify
+ /// the contents of this method with the code editor.
+ ///
+ private void InitializeComponent()
+ {
+ this.dolgozo_count = new System.Windows.Forms.Label();
+ this.listBox1 = new System.Windows.Forms.ListBox();
+ this.atlagber = new System.Windows.Forms.Label();
+ this.reszleg_label = new System.Windows.Forms.Label();
+ this.reszleg = new System.Windows.Forms.TextBox();
+ this.legnagyobbBer = new System.Windows.Forms.Button();
+ this.label1 = new System.Windows.Forms.Label();
+ this.label2 = new System.Windows.Forms.Label();
+ this.label3 = new System.Windows.Forms.Label();
+ this.listBox2 = new System.Windows.Forms.ListBox();
+ this.SuspendLayout();
+ //
+ // dolgozo_count
+ //
+ this.dolgozo_count.AutoSize = true;
+ this.dolgozo_count.Location = new System.Drawing.Point(12, 19);
+ this.dolgozo_count.Name = "dolgozo_count";
+ this.dolgozo_count.Size = new System.Drawing.Size(91, 13);
+ this.dolgozo_count.TabIndex = 0;
+ this.dolgozo_count.Text = "Dolgozók száma: ";
+ this.dolgozo_count.Click += new System.EventHandler(this.label1_Click);
+ //
+ // listBox1
+ //
+ this.listBox1.FormattingEnabled = true;
+ this.listBox1.Location = new System.Drawing.Point(154, 19);
+ this.listBox1.Name = "listBox1";
+ this.listBox1.Size = new System.Drawing.Size(385, 134);
+ this.listBox1.TabIndex = 1;
+ //
+ // atlagber
+ //
+ this.atlagber.AutoSize = true;
+ this.atlagber.Location = new System.Drawing.Point(23, 179);
+ this.atlagber.Name = "atlagber";
+ this.atlagber.Size = new System.Drawing.Size(73, 13);
+ this.atlagber.TabIndex = 2;
+ this.atlagber.Text = "Bérek átlaga: ";
+ this.atlagber.Click += new System.EventHandler(this.atlagber_Click);
+ //
+ // reszleg_label
+ //
+ this.reszleg_label.AutoSize = true;
+ this.reszleg_label.Location = new System.Drawing.Point(23, 237);
+ this.reszleg_label.Name = "reszleg_label";
+ this.reszleg_label.Size = new System.Drawing.Size(75, 13);
+ this.reszleg_label.TabIndex = 3;
+ this.reszleg_label.Text = "Részleg neve:";
+ //
+ // reszleg
+ //
+ this.reszleg.Location = new System.Drawing.Point(196, 237);
+ this.reszleg.Name = "reszleg";
+ this.reszleg.Size = new System.Drawing.Size(225, 20);
+ this.reszleg.TabIndex = 4;
+ //
+ // legnagyobbBer
+ //
+ this.legnagyobbBer.Location = new System.Drawing.Point(509, 233);
+ this.legnagyobbBer.Name = "legnagyobbBer";
+ this.legnagyobbBer.Size = new System.Drawing.Size(221, 23);
+ this.legnagyobbBer.TabIndex = 5;
+ this.legnagyobbBer.Text = "legnagyobb bérrel rendelkező dolgozó";
+ this.legnagyobbBer.UseVisualStyleBackColor = true;
+ this.legnagyobbBer.Click += new System.EventHandler(this.legnagyobbBer_Click);
+ //
+ // label1
+ //
+ this.label1.AutoSize = true;
+ this.label1.Location = new System.Drawing.Point(506, 271);
+ this.label1.Name = "label1";
+ this.label1.Size = new System.Drawing.Size(240, 13);
+ this.label1.TabIndex = 6;
+ this.label1.Text = "A legtöbbet kereső dolgozó a megadott részlegen";
+ //
+ // label2
+ //
+ this.label2.AutoSize = true;
+ this.label2.Location = new System.Drawing.Point(506, 296);
+ this.label2.Name = "label2";
+ this.label2.Size = new System.Drawing.Size(0, 13);
+ this.label2.TabIndex = 7;
+ this.label2.Click += new System.EventHandler(this.label2_Click);
+ //
+ // label3
+ //
+ this.label3.AutoSize = true;
+ this.label3.Location = new System.Drawing.Point(23, 282);
+ this.label3.Name = "label3";
+ this.label3.Size = new System.Drawing.Size(55, 13);
+ this.label3.TabIndex = 8;
+ this.label3.Text = "Statisztika";
+ //
+ // listBox2
+ //
+ this.listBox2.FormattingEnabled = true;
+ this.listBox2.Location = new System.Drawing.Point(26, 298);
+ this.listBox2.Name = "listBox2";
+ this.listBox2.Size = new System.Drawing.Size(277, 95);
+ this.listBox2.TabIndex = 9;
+ //
+ // Form1
+ //
+ this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.ClientSize = new System.Drawing.Size(800, 450);
+ this.Controls.Add(this.listBox2);
+ this.Controls.Add(this.label3);
+ this.Controls.Add(this.label2);
+ this.Controls.Add(this.label1);
+ this.Controls.Add(this.legnagyobbBer);
+ this.Controls.Add(this.reszleg);
+ this.Controls.Add(this.reszleg_label);
+ this.Controls.Add(this.atlagber);
+ this.Controls.Add(this.listBox1);
+ this.Controls.Add(this.dolgozo_count);
+ this.Name = "Form1";
+ this.Text = "Form1";
+ this.Load += new System.EventHandler(this.Form1_Load);
+ this.ResumeLayout(false);
+ this.PerformLayout();
+
+ }
+
+ #endregion
+
+ private System.Windows.Forms.Label dolgozo_count;
+ private System.Windows.Forms.ListBox listBox1;
+ private System.Windows.Forms.Label atlagber;
+ private System.Windows.Forms.Label reszleg_label;
+ private System.Windows.Forms.TextBox reszleg;
+ private System.Windows.Forms.Button legnagyobbBer;
+ private System.Windows.Forms.Label label1;
+ private System.Windows.Forms.Label label2;
+ private System.Windows.Forms.Label label3;
+ private System.Windows.Forms.ListBox listBox2;
+ }
+}
+
diff --git a/20240905/FizetesGUI/FizetesGUI/Form1.cs b/20240905/FizetesGUI/FizetesGUI/Form1.cs
new file mode 100644
index 0000000..e6e9cae
--- /dev/null
+++ b/20240905/FizetesGUI/FizetesGUI/Form1.cs
@@ -0,0 +1,237 @@
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Data;
+using System.Drawing;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Windows.Forms;
+using System.IO;
+
+namespace FizetesGUI
+{
+ public partial class Form1 : Form
+ {
+ public Form1()
+ {
+ InitializeComponent();
+ }
+
+ private void Form1_Load(object sender, EventArgs e)
+ {
+ DataRead();
+ Feladat3();
+ Feladat4();
+ Feladat7();
+ }
+
+ private void label1_Click(object sender, EventArgs e)
+ {
+
+ }
+
+ public void Feladat3()
+ {
+ this.dolgozo_count.Text += $"{Data.munkasok.Count}";
+ }
+
+ public void Feladat4()
+ {
+ int atlagber = AtlagBer();
+ string text = $"Bérek átlaga: {atlagber} ezer Forint";
+ this.atlagber.Text = text;
+ }
+
+ public static int AtlagBer()
+ {
+ int dolgozoknum = Data.munkasok.Count;
+ int dolgozokberSZUM = DolgozokBerSZUM();
+
+
+ return (dolgozokberSZUM / dolgozoknum) / 1000;
+ }
+
+ public static int DolgozokBerSZUM()
+ {
+ int szum = 0;
+ foreach (var item in Data.munkasok)
+ {
+ szum += item.Ber;
+ }
+ return szum;
+ }
+
+ public void Feladat6()
+ {
+ string reszleg = this.reszleg.Text;
+ int legjobbankereso_index = LegjobbanKereso_index(reszleg);
+
+ string message;
+ if (legjobbankereso_index == -1)
+ {
+ message = "A megadott részleg nem létezik a cégnél!";
+ }
+ else
+ {
+ message = $"Név: {Data.munkasok[legjobbankereso_index].Nev}\n";
+ message += $"Nem: {Data.munkasok[legjobbankereso_index].Nem}\n";
+ message += $"Belépés: {Data.munkasok[legjobbankereso_index].Belepes}\n";
+ message += $"Bér: {Data.munkasok[legjobbankereso_index].Ber}";
+ }
+
+ label2.Text = message;
+ }
+
+ public int LegjobbanKereso_index(string reszleg)
+ {
+ int legnagyobbBer = 0;
+ int legnagyobb_index = -1;
+ for (int i = 0; i < Data.munkasok.Count; i++)
+ {
+ if (Data.munkasok[i].Ber > legnagyobbBer && Data.munkasok[i].Reszleg == reszleg)
+ {
+ legnagyobbBer = Data.munkasok[i].Ber;
+ legnagyobb_index = i;
+ }
+ }
+
+ return legnagyobb_index;
+ }
+
+ public void Feladat7()
+ {
+ List reszlegek = new List();
+
+ foreach (var item in Data.munkasok)
+ {
+ if (!reszlegek.Contains(item.Reszleg))
+ {
+ reszlegek.Add(item.Reszleg);
+ }
+ }
+
+ int[] reszleg_db = new int[reszlegek.Count];
+
+ for (int i = 0; i < reszlegek.Count; i++)
+ {
+ for (int j = 0; j < Data.munkasok.Count; j++)
+ {
+ if (reszlegek[i] == Data.munkasok[j].Reszleg)
+ {
+ reszleg_db[i]++;
+ }
+ }
+ }
+
+ //TODO
+ for (int i = 0; i < reszlegek.Count; i++)
+ {
+ listBox2.Text = $"{reszlegek[i]} - {reszleg_db[i]} Fő";
+ }
+ }
+
+ public void DataRead()
+ {
+ string path = @"C:\Users\szabomarton\Desktop\C#\ProgaOra\20240905\berek2020.txt";
+ FileStream fileStream = new FileStream(path, FileMode.Open, FileAccess.Read);
+ StreamReader streamReader = new StreamReader(fileStream);
+
+ string line = streamReader.ReadLine();
+ line = streamReader.ReadLine();
+
+ while (line != null)
+ {
+ string[] datas = line.Split(';');
+ string nev = datas[0];
+ string nem = datas[1];
+ string reszleg = datas[2];
+ int belepes = Convert.ToInt32(datas[3]);
+ int ber = Convert.ToInt32(datas[4]);
+
+ Munkas munkas = new Munkas(nev, nem, reszleg, belepes, ber);
+ Data.munkasok.Add(munkas);
+
+ line = streamReader.ReadLine();
+ }
+
+ streamReader.Close();
+ fileStream.Close();
+ }
+
+ //label2 = feladat 6 text
+ private void label2_Click(object sender, EventArgs e)
+ {
+
+ }
+
+ private void atlagber_Click(object sender, EventArgs e)
+ {
+
+ }
+
+ private void legnagyobbBer_Click(object sender, EventArgs e)
+ {
+ Feladat6();
+ }
+ }
+
+ public static class Data
+ {
+ public static List munkasok = new List();
+ }
+ public class Munkas
+ {
+ public string Nev { get; private set; }
+ public string Nem { get; private set; }
+ public string Reszleg { get; private set; }
+ public int Belepes { get; private set; }
+ public int Ber { get; private set; }
+
+ public Munkas(string nev, string nem, string reszleg, int belepes, int ber)
+ {
+ Nev = nev;
+ Nem = nem;
+ Reszleg = reszleg;
+ Belepes = belepes;
+ Ber = ber;
+ }
+
+
+ }
+}
+
+/*
+namespace Fizetes
+{
+ class Program
+ {
+ static void Main(string[] args)
+ {
+
+
+
+ Feladat6();
+ Feladat7();
+
+ Console.ReadLine();
+ }
+
+
+
+
+
+
+
+
+
+
+
+
+ }
+
+
+
+
+}
+*/
\ No newline at end of file
diff --git a/20240905/FizetesGUI/FizetesGUI/Form1.resx b/20240905/FizetesGUI/FizetesGUI/Form1.resx
new file mode 100644
index 0000000..1af7de1
--- /dev/null
+++ b/20240905/FizetesGUI/FizetesGUI/Form1.resx
@@ -0,0 +1,120 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
\ No newline at end of file
diff --git a/20240905/FizetesGUI/FizetesGUI/Program.cs b/20240905/FizetesGUI/FizetesGUI/Program.cs
new file mode 100644
index 0000000..935775a
--- /dev/null
+++ b/20240905/FizetesGUI/FizetesGUI/Program.cs
@@ -0,0 +1,22 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Threading.Tasks;
+using System.Windows.Forms;
+
+namespace FizetesGUI
+{
+ static class Program
+ {
+ ///
+ /// The main entry point for the application.
+ ///
+ [STAThread]
+ static void Main()
+ {
+ Application.EnableVisualStyles();
+ Application.SetCompatibleTextRenderingDefault(false);
+ Application.Run(new Form1());
+ }
+ }
+}
diff --git a/20240905/FizetesGUI/FizetesGUI/Properties/AssemblyInfo.cs b/20240905/FizetesGUI/FizetesGUI/Properties/AssemblyInfo.cs
new file mode 100644
index 0000000..93a9567
--- /dev/null
+++ b/20240905/FizetesGUI/FizetesGUI/Properties/AssemblyInfo.cs
@@ -0,0 +1,36 @@
+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("FizetesGUI")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("")]
+[assembly: AssemblyProduct("FizetesGUI")]
+[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("fef2d568-33e0-4126-859f-8056e88f5a06")]
+
+// Version information for an assembly consists of the following four values:
+//
+// Major Version
+// Minor Version
+// Build Number
+// Revision
+//
+// You can specify all the values or you can default the Build and Revision Numbers
+// by using the '*' as shown below:
+// [assembly: AssemblyVersion("1.0.*")]
+[assembly: AssemblyVersion("1.0.0.0")]
+[assembly: AssemblyFileVersion("1.0.0.0")]
diff --git a/20240905/FizetesGUI/FizetesGUI/Properties/Resources.Designer.cs b/20240905/FizetesGUI/FizetesGUI/Properties/Resources.Designer.cs
new file mode 100644
index 0000000..d0ee31d
--- /dev/null
+++ b/20240905/FizetesGUI/FizetesGUI/Properties/Resources.Designer.cs
@@ -0,0 +1,70 @@
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+// Runtime Version:4.0.30319.42000
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+
+namespace FizetesGUI.Properties
+{
+ ///
+ /// A strongly-typed resource class, for looking up localized strings, etc.
+ ///
+ // This class was auto-generated by the StronglyTypedResourceBuilder
+ // class via a tool like ResGen or Visual Studio.
+ // To add or remove a member, edit your .ResX file then rerun ResGen
+ // with the /str option, or rebuild your VS project.
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
+ internal class Resources
+ {
+
+ private static global::System.Resources.ResourceManager resourceMan;
+
+ private static global::System.Globalization.CultureInfo resourceCulture;
+
+ [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
+ internal Resources()
+ {
+ }
+
+ ///
+ /// Returns the cached ResourceManager instance used by this class.
+ ///
+ [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
+ internal static global::System.Resources.ResourceManager ResourceManager
+ {
+ get
+ {
+ if ((resourceMan == null))
+ {
+ global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("FizetesGUI.Properties.Resources", typeof(Resources).Assembly);
+ resourceMan = temp;
+ }
+ return resourceMan;
+ }
+ }
+
+ ///
+ /// Overrides the current thread's CurrentUICulture property for all
+ /// resource lookups using this strongly typed resource class.
+ ///
+ [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
+ internal static global::System.Globalization.CultureInfo Culture
+ {
+ get
+ {
+ return resourceCulture;
+ }
+ set
+ {
+ resourceCulture = value;
+ }
+ }
+ }
+}
diff --git a/20240905/FizetesGUI/FizetesGUI/Properties/Resources.resx b/20240905/FizetesGUI/FizetesGUI/Properties/Resources.resx
new file mode 100644
index 0000000..af7dbeb
--- /dev/null
+++ b/20240905/FizetesGUI/FizetesGUI/Properties/Resources.resx
@@ -0,0 +1,117 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
\ No newline at end of file
diff --git a/20240905/FizetesGUI/FizetesGUI/Properties/Settings.Designer.cs b/20240905/FizetesGUI/FizetesGUI/Properties/Settings.Designer.cs
new file mode 100644
index 0000000..1d325bf
--- /dev/null
+++ b/20240905/FizetesGUI/FizetesGUI/Properties/Settings.Designer.cs
@@ -0,0 +1,29 @@
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+// Runtime Version:4.0.30319.42000
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+
+namespace FizetesGUI.Properties
+{
+ [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")]
+ internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
+ {
+
+ private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
+
+ public static Settings Default
+ {
+ get
+ {
+ return defaultInstance;
+ }
+ }
+ }
+}
diff --git a/20240905/FizetesGUI/FizetesGUI/Properties/Settings.settings b/20240905/FizetesGUI/FizetesGUI/Properties/Settings.settings
new file mode 100644
index 0000000..3964565
--- /dev/null
+++ b/20240905/FizetesGUI/FizetesGUI/Properties/Settings.settings
@@ -0,0 +1,7 @@
+
+
+
+
+
+
+
diff --git a/20240905/FizetesGUI/FizetesGUI/bin/Debug/FizetesGUI.exe b/20240905/FizetesGUI/FizetesGUI/bin/Debug/FizetesGUI.exe
new file mode 100644
index 0000000..5b9012c
Binary files /dev/null and b/20240905/FizetesGUI/FizetesGUI/bin/Debug/FizetesGUI.exe differ
diff --git a/20240905/FizetesGUI/FizetesGUI/bin/Debug/FizetesGUI.exe.config b/20240905/FizetesGUI/FizetesGUI/bin/Debug/FizetesGUI.exe.config
new file mode 100644
index 0000000..56efbc7
--- /dev/null
+++ b/20240905/FizetesGUI/FizetesGUI/bin/Debug/FizetesGUI.exe.config
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/20240905/FizetesGUI/FizetesGUI/bin/Debug/FizetesGUI.pdb b/20240905/FizetesGUI/FizetesGUI/bin/Debug/FizetesGUI.pdb
new file mode 100644
index 0000000..b05bb03
Binary files /dev/null and b/20240905/FizetesGUI/FizetesGUI/bin/Debug/FizetesGUI.pdb differ
diff --git a/20240905/FizetesGUI/FizetesGUI/obj/Debug/.NETFramework,Version=v4.7.2.AssemblyAttributes.cs b/20240905/FizetesGUI/FizetesGUI/obj/Debug/.NETFramework,Version=v4.7.2.AssemblyAttributes.cs
new file mode 100644
index 0000000..3871b18
--- /dev/null
+++ b/20240905/FizetesGUI/FizetesGUI/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/20240905/FizetesGUI/FizetesGUI/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/20240905/FizetesGUI/FizetesGUI/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache
new file mode 100644
index 0000000..62883f2
Binary files /dev/null and b/20240905/FizetesGUI/FizetesGUI/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ
diff --git a/20240905/FizetesGUI/FizetesGUI/obj/Debug/FizetesGUI.Form1.resources b/20240905/FizetesGUI/FizetesGUI/obj/Debug/FizetesGUI.Form1.resources
new file mode 100644
index 0000000..6c05a97
Binary files /dev/null and b/20240905/FizetesGUI/FizetesGUI/obj/Debug/FizetesGUI.Form1.resources differ
diff --git a/20240905/FizetesGUI/FizetesGUI/obj/Debug/FizetesGUI.Properties.Resources.resources b/20240905/FizetesGUI/FizetesGUI/obj/Debug/FizetesGUI.Properties.Resources.resources
new file mode 100644
index 0000000..6c05a97
Binary files /dev/null and b/20240905/FizetesGUI/FizetesGUI/obj/Debug/FizetesGUI.Properties.Resources.resources differ
diff --git a/20240905/FizetesGUI/FizetesGUI/obj/Debug/FizetesGUI.csproj.AssemblyReference.cache b/20240905/FizetesGUI/FizetesGUI/obj/Debug/FizetesGUI.csproj.AssemblyReference.cache
new file mode 100644
index 0000000..f5e894a
Binary files /dev/null and b/20240905/FizetesGUI/FizetesGUI/obj/Debug/FizetesGUI.csproj.AssemblyReference.cache differ
diff --git a/20240905/FizetesGUI/FizetesGUI/obj/Debug/FizetesGUI.csproj.CoreCompileInputs.cache b/20240905/FizetesGUI/FizetesGUI/obj/Debug/FizetesGUI.csproj.CoreCompileInputs.cache
new file mode 100644
index 0000000..4a5524a
--- /dev/null
+++ b/20240905/FizetesGUI/FizetesGUI/obj/Debug/FizetesGUI.csproj.CoreCompileInputs.cache
@@ -0,0 +1 @@
+8069502011d0681850e57a53d5a1673222f430a6
diff --git a/20240905/FizetesGUI/FizetesGUI/obj/Debug/FizetesGUI.csproj.FileListAbsolute.txt b/20240905/FizetesGUI/FizetesGUI/obj/Debug/FizetesGUI.csproj.FileListAbsolute.txt
new file mode 100644
index 0000000..289c413
--- /dev/null
+++ b/20240905/FizetesGUI/FizetesGUI/obj/Debug/FizetesGUI.csproj.FileListAbsolute.txt
@@ -0,0 +1,10 @@
+C:\Users\szabomarton\Desktop\C#\ProgaOra\20240905\FizetesGUI\FizetesGUI\bin\Debug\FizetesGUI.exe.config
+C:\Users\szabomarton\Desktop\C#\ProgaOra\20240905\FizetesGUI\FizetesGUI\bin\Debug\FizetesGUI.exe
+C:\Users\szabomarton\Desktop\C#\ProgaOra\20240905\FizetesGUI\FizetesGUI\bin\Debug\FizetesGUI.pdb
+C:\Users\szabomarton\Desktop\C#\ProgaOra\20240905\FizetesGUI\FizetesGUI\obj\Debug\FizetesGUI.csproj.AssemblyReference.cache
+C:\Users\szabomarton\Desktop\C#\ProgaOra\20240905\FizetesGUI\FizetesGUI\obj\Debug\FizetesGUI.Form1.resources
+C:\Users\szabomarton\Desktop\C#\ProgaOra\20240905\FizetesGUI\FizetesGUI\obj\Debug\FizetesGUI.Properties.Resources.resources
+C:\Users\szabomarton\Desktop\C#\ProgaOra\20240905\FizetesGUI\FizetesGUI\obj\Debug\FizetesGUI.csproj.GenerateResource.cache
+C:\Users\szabomarton\Desktop\C#\ProgaOra\20240905\FizetesGUI\FizetesGUI\obj\Debug\FizetesGUI.csproj.CoreCompileInputs.cache
+C:\Users\szabomarton\Desktop\C#\ProgaOra\20240905\FizetesGUI\FizetesGUI\obj\Debug\FizetesGUI.exe
+C:\Users\szabomarton\Desktop\C#\ProgaOra\20240905\FizetesGUI\FizetesGUI\obj\Debug\FizetesGUI.pdb
diff --git a/20240905/FizetesGUI/FizetesGUI/obj/Debug/FizetesGUI.csproj.GenerateResource.cache b/20240905/FizetesGUI/FizetesGUI/obj/Debug/FizetesGUI.csproj.GenerateResource.cache
new file mode 100644
index 0000000..8087abc
Binary files /dev/null and b/20240905/FizetesGUI/FizetesGUI/obj/Debug/FizetesGUI.csproj.GenerateResource.cache differ
diff --git a/20240905/FizetesGUI/FizetesGUI/obj/Debug/FizetesGUI.exe b/20240905/FizetesGUI/FizetesGUI/obj/Debug/FizetesGUI.exe
new file mode 100644
index 0000000..5b9012c
Binary files /dev/null and b/20240905/FizetesGUI/FizetesGUI/obj/Debug/FizetesGUI.exe differ
diff --git a/20240905/FizetesGUI/FizetesGUI/obj/Debug/FizetesGUI.pdb b/20240905/FizetesGUI/FizetesGUI/obj/Debug/FizetesGUI.pdb
new file mode 100644
index 0000000..b05bb03
Binary files /dev/null and b/20240905/FizetesGUI/FizetesGUI/obj/Debug/FizetesGUI.pdb differ
diff --git a/20240905/Gyakorlás.pdf b/20240905/Gyakorlás.pdf
new file mode 100644
index 0000000..92d6406
Binary files /dev/null and b/20240905/Gyakorlás.pdf differ
diff --git a/20240905/Programozás feladat GUI.pdf b/20240905/Programozás feladat GUI.pdf
new file mode 100644
index 0000000..c7cb86f
Binary files /dev/null and b/20240905/Programozás feladat GUI.pdf differ
diff --git a/20240905/Programozás feladat.pdf b/20240905/Programozás feladat.pdf
new file mode 100644
index 0000000..6cc713d
Binary files /dev/null and b/20240905/Programozás feladat.pdf differ
diff --git a/20240905/WindowsFormsApp1/.vs/WindowsFormsApp1/v16/.suo b/20240905/WindowsFormsApp1/.vs/WindowsFormsApp1/v16/.suo
new file mode 100644
index 0000000..51b0c61
Binary files /dev/null and b/20240905/WindowsFormsApp1/.vs/WindowsFormsApp1/v16/.suo differ
diff --git a/20240905/WindowsFormsApp1/WindowsFormsApp1.sln b/20240905/WindowsFormsApp1/WindowsFormsApp1.sln
new file mode 100644
index 0000000..7ade00c
--- /dev/null
+++ b/20240905/WindowsFormsApp1/WindowsFormsApp1.sln
@@ -0,0 +1,25 @@
+
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Visual Studio Version 16
+VisualStudioVersion = 16.0.34729.46
+MinimumVisualStudioVersion = 10.0.40219.1
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WindowsFormsApp1", "WindowsFormsApp1\WindowsFormsApp1.csproj", "{83C67540-D422-4D5C-93E0-1C44D4B035E0}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Any CPU = Debug|Any CPU
+ Release|Any CPU = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {83C67540-D422-4D5C-93E0-1C44D4B035E0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {83C67540-D422-4D5C-93E0-1C44D4B035E0}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {83C67540-D422-4D5C-93E0-1C44D4B035E0}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {83C67540-D422-4D5C-93E0-1C44D4B035E0}.Release|Any CPU.Build.0 = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+ GlobalSection(ExtensibilityGlobals) = postSolution
+ SolutionGuid = {E0025684-D17D-421A-BB56-EDAB2E59B59A}
+ EndGlobalSection
+EndGlobal
diff --git a/20240905/WindowsFormsApp1/WindowsFormsApp1/App.config b/20240905/WindowsFormsApp1/WindowsFormsApp1/App.config
new file mode 100644
index 0000000..56efbc7
--- /dev/null
+++ b/20240905/WindowsFormsApp1/WindowsFormsApp1/App.config
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/20240905/WindowsFormsApp1/WindowsFormsApp1/Form1.Designer.cs b/20240905/WindowsFormsApp1/WindowsFormsApp1/Form1.Designer.cs
new file mode 100644
index 0000000..876ad42
--- /dev/null
+++ b/20240905/WindowsFormsApp1/WindowsFormsApp1/Form1.Designer.cs
@@ -0,0 +1,217 @@
+
+namespace WindowsFormsApp1
+{
+ partial class Form1
+ {
+ ///
+ /// Required designer variable.
+ ///
+ private System.ComponentModel.IContainer components = null;
+
+ ///
+ /// Clean up any resources being used.
+ ///
+ /// true if managed resources should be disposed; otherwise, false.
+ protected override void Dispose(bool disposing)
+ {
+ if (disposing && (components != null))
+ {
+ components.Dispose();
+ }
+ base.Dispose(disposing);
+ }
+
+ #region Windows Form Designer generated code
+
+ ///
+ /// Required method for Designer support - do not modify
+ /// the contents of this method with the code editor.
+ ///
+ private void InitializeComponent()
+ {
+ this.label1 = new System.Windows.Forms.Label();
+ this.label2 = new System.Windows.Forms.Label();
+ this.label3 = new System.Windows.Forms.Label();
+ this.label4 = new System.Windows.Forms.Label();
+ this.label5 = new System.Windows.Forms.Label();
+ this.label6 = new System.Windows.Forms.Label();
+ this.label7 = new System.Windows.Forms.Label();
+ this.save = new System.Windows.Forms.Button();
+ this.exit = new System.Windows.Forms.Button();
+ this.orszag = new System.Windows.Forms.TextBox();
+ this.terulet = new System.Windows.Forms.TextBox();
+ this.nepesseg = new System.Windows.Forms.TextBox();
+ this.fovaros = new System.Windows.Forms.TextBox();
+ this.fovaros_lakossaga = new System.Windows.Forms.TextBox();
+ this.SuspendLayout();
+ //
+ // label1
+ //
+ this.label1.AutoSize = true;
+ this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 16F);
+ this.label1.Location = new System.Drawing.Point(304, 44);
+ this.label1.Name = "label1";
+ this.label1.Size = new System.Drawing.Size(191, 26);
+ this.label1.TabIndex = 0;
+ this.label1.Text = "Új ország felvétele";
+ this.label1.Click += new System.EventHandler(this.label1_Click);
+ //
+ // label2
+ //
+ this.label2.AutoSize = true;
+ this.label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F);
+ this.label2.Location = new System.Drawing.Point(155, 118);
+ this.label2.Name = "label2";
+ this.label2.Size = new System.Drawing.Size(64, 20);
+ this.label2.TabIndex = 1;
+ this.label2.Text = "Ország:";
+ //
+ // label3
+ //
+ this.label3.AutoSize = true;
+ this.label3.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F);
+ this.label3.Location = new System.Drawing.Point(157, 176);
+ this.label3.Name = "label3";
+ this.label3.Size = new System.Drawing.Size(62, 20);
+ this.label3.TabIndex = 2;
+ this.label3.Text = "Terület:";
+ //
+ // label4
+ //
+ this.label4.AutoSize = true;
+ this.label4.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F);
+ this.label4.Location = new System.Drawing.Point(134, 231);
+ this.label4.Name = "label4";
+ this.label4.Size = new System.Drawing.Size(85, 20);
+ this.label4.TabIndex = 3;
+ this.label4.Text = "Népesség:";
+ //
+ // label5
+ //
+ this.label5.AutoSize = true;
+ this.label5.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F);
+ this.label5.Location = new System.Drawing.Point(149, 288);
+ this.label5.Name = "label5";
+ this.label5.Size = new System.Drawing.Size(70, 20);
+ this.label5.TabIndex = 4;
+ this.label5.Text = "Főváros:";
+ //
+ // label6
+ //
+ this.label6.AutoSize = true;
+ this.label6.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F);
+ this.label6.Location = new System.Drawing.Point(73, 344);
+ this.label6.Name = "label6";
+ this.label6.Size = new System.Drawing.Size(146, 20);
+ this.label6.TabIndex = 5;
+ this.label6.Text = "Főváros lakossága:";
+ //
+ // label7
+ //
+ this.label7.AutoSize = true;
+ this.label7.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F);
+ this.label7.Location = new System.Drawing.Point(295, 412);
+ this.label7.Name = "label7";
+ this.label7.Size = new System.Drawing.Size(216, 20);
+ this.label7.TabIndex = 6;
+ this.label7.Text = "Kérem adja meg az adatokat!";
+ //
+ // save
+ //
+ this.save.Location = new System.Drawing.Point(690, 115);
+ this.save.Name = "save";
+ this.save.Size = new System.Drawing.Size(75, 70);
+ this.save.TabIndex = 7;
+ this.save.Text = "Mentés";
+ this.save.UseVisualStyleBackColor = true;
+ this.save.Click += new System.EventHandler(this.save_Click);
+ //
+ // exit
+ //
+ this.exit.Location = new System.Drawing.Point(752, 463);
+ this.exit.Name = "exit";
+ this.exit.Size = new System.Drawing.Size(75, 29);
+ this.exit.TabIndex = 8;
+ this.exit.Text = "Kilépés";
+ this.exit.UseVisualStyleBackColor = true;
+ //
+ // orszag
+ //
+ this.orszag.Location = new System.Drawing.Point(256, 120);
+ this.orszag.Name = "orszag";
+ this.orszag.Size = new System.Drawing.Size(239, 20);
+ this.orszag.TabIndex = 9;
+ //
+ // terulet
+ //
+ this.terulet.Location = new System.Drawing.Point(256, 178);
+ this.terulet.Name = "terulet";
+ this.terulet.Size = new System.Drawing.Size(239, 20);
+ this.terulet.TabIndex = 10;
+ //
+ // nepesseg
+ //
+ this.nepesseg.Location = new System.Drawing.Point(256, 231);
+ this.nepesseg.Name = "nepesseg";
+ this.nepesseg.Size = new System.Drawing.Size(239, 20);
+ this.nepesseg.TabIndex = 11;
+ //
+ // fovaros
+ //
+ this.fovaros.Location = new System.Drawing.Point(256, 290);
+ this.fovaros.Name = "fovaros";
+ this.fovaros.Size = new System.Drawing.Size(239, 20);
+ this.fovaros.TabIndex = 12;
+ //
+ // fovaros_lakossaga
+ //
+ this.fovaros_lakossaga.Location = new System.Drawing.Point(256, 346);
+ this.fovaros_lakossaga.Name = "fovaros_lakossaga";
+ this.fovaros_lakossaga.Size = new System.Drawing.Size(239, 20);
+ this.fovaros_lakossaga.TabIndex = 13;
+ //
+ // Form1
+ //
+ this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.ClientSize = new System.Drawing.Size(839, 504);
+ this.Controls.Add(this.fovaros_lakossaga);
+ this.Controls.Add(this.fovaros);
+ this.Controls.Add(this.nepesseg);
+ this.Controls.Add(this.terulet);
+ this.Controls.Add(this.orszag);
+ this.Controls.Add(this.exit);
+ this.Controls.Add(this.save);
+ this.Controls.Add(this.label7);
+ this.Controls.Add(this.label6);
+ this.Controls.Add(this.label5);
+ this.Controls.Add(this.label4);
+ this.Controls.Add(this.label3);
+ this.Controls.Add(this.label2);
+ this.Controls.Add(this.label1);
+ this.Name = "Form1";
+ this.Text = "Form1";
+ this.ResumeLayout(false);
+ this.PerformLayout();
+
+ }
+
+ #endregion
+
+ private System.Windows.Forms.Label label1;
+ private System.Windows.Forms.Label label2;
+ private System.Windows.Forms.Label label3;
+ private System.Windows.Forms.Label label4;
+ private System.Windows.Forms.Label label5;
+ private System.Windows.Forms.Label label6;
+ private System.Windows.Forms.Label label7;
+ private System.Windows.Forms.Button save;
+ private System.Windows.Forms.Button exit;
+ private System.Windows.Forms.TextBox orszag;
+ private System.Windows.Forms.TextBox terulet;
+ private System.Windows.Forms.TextBox nepesseg;
+ private System.Windows.Forms.TextBox fovaros;
+ private System.Windows.Forms.TextBox fovaros_lakossaga;
+ }
+}
+
diff --git a/20240905/WindowsFormsApp1/WindowsFormsApp1/Form1.cs b/20240905/WindowsFormsApp1/WindowsFormsApp1/Form1.cs
new file mode 100644
index 0000000..a5137ae
--- /dev/null
+++ b/20240905/WindowsFormsApp1/WindowsFormsApp1/Form1.cs
@@ -0,0 +1,39 @@
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Data;
+using System.Drawing;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Windows.Forms;
+using System.IO;
+
+namespace WindowsFormsApp1
+{
+ public partial class Form1 : Form
+ {
+ public Form1()
+ {
+ InitializeComponent();
+ }
+
+ private void label1_Click(object sender, EventArgs e)
+ {
+
+ }
+
+ private void save_Click(object sender, EventArgs e)
+ {
+ string path = "ujadat.txt";
+ FileStream fileStream = new FileStream(path, FileMode.Create, FileAccess.Write);
+ StreamWriter streamWriter = new StreamWriter(fileStream);
+
+ streamWriter.WriteLine($"{orszag.Text};{terulet.Text};{nepesseg.Text};{fovaros.Text};{fovaros_lakossaga.Text}");
+
+ streamWriter.Close();
+ fileStream.Close();
+
+ }
+ }
+}
diff --git a/20240905/WindowsFormsApp1/WindowsFormsApp1/Form1.resx b/20240905/WindowsFormsApp1/WindowsFormsApp1/Form1.resx
new file mode 100644
index 0000000..1af7de1
--- /dev/null
+++ b/20240905/WindowsFormsApp1/WindowsFormsApp1/Form1.resx
@@ -0,0 +1,120 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
\ No newline at end of file
diff --git a/20240905/WindowsFormsApp1/WindowsFormsApp1/Program.cs b/20240905/WindowsFormsApp1/WindowsFormsApp1/Program.cs
new file mode 100644
index 0000000..30a0128
--- /dev/null
+++ b/20240905/WindowsFormsApp1/WindowsFormsApp1/Program.cs
@@ -0,0 +1,22 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Threading.Tasks;
+using System.Windows.Forms;
+
+namespace WindowsFormsApp1
+{
+ static class Program
+ {
+ ///
+ /// The main entry point for the application.
+ ///
+ [STAThread]
+ static void Main()
+ {
+ Application.EnableVisualStyles();
+ Application.SetCompatibleTextRenderingDefault(false);
+ Application.Run(new Form1());
+ }
+ }
+}
diff --git a/20240905/WindowsFormsApp1/WindowsFormsApp1/Properties/AssemblyInfo.cs b/20240905/WindowsFormsApp1/WindowsFormsApp1/Properties/AssemblyInfo.cs
new file mode 100644
index 0000000..54ec295
--- /dev/null
+++ b/20240905/WindowsFormsApp1/WindowsFormsApp1/Properties/AssemblyInfo.cs
@@ -0,0 +1,36 @@
+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("WindowsFormsApp1")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("")]
+[assembly: AssemblyProduct("WindowsFormsApp1")]
+[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("83c67540-d422-4d5c-93e0-1c44d4b035e0")]
+
+// Version information for an assembly consists of the following four values:
+//
+// Major Version
+// Minor Version
+// Build Number
+// Revision
+//
+// You can specify all the values or you can default the Build and Revision Numbers
+// by using the '*' as shown below:
+// [assembly: AssemblyVersion("1.0.*")]
+[assembly: AssemblyVersion("1.0.0.0")]
+[assembly: AssemblyFileVersion("1.0.0.0")]
diff --git a/20240905/WindowsFormsApp1/WindowsFormsApp1/Properties/Resources.Designer.cs b/20240905/WindowsFormsApp1/WindowsFormsApp1/Properties/Resources.Designer.cs
new file mode 100644
index 0000000..2b9cd9f
--- /dev/null
+++ b/20240905/WindowsFormsApp1/WindowsFormsApp1/Properties/Resources.Designer.cs
@@ -0,0 +1,70 @@
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+// Runtime Version:4.0.30319.42000
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+
+namespace WindowsFormsApp1.Properties
+{
+ ///
+ /// A strongly-typed resource class, for looking up localized strings, etc.
+ ///
+ // This class was auto-generated by the StronglyTypedResourceBuilder
+ // class via a tool like ResGen or Visual Studio.
+ // To add or remove a member, edit your .ResX file then rerun ResGen
+ // with the /str option, or rebuild your VS project.
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
+ internal class Resources
+ {
+
+ private static global::System.Resources.ResourceManager resourceMan;
+
+ private static global::System.Globalization.CultureInfo resourceCulture;
+
+ [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
+ internal Resources()
+ {
+ }
+
+ ///
+ /// Returns the cached ResourceManager instance used by this class.
+ ///
+ [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
+ internal static global::System.Resources.ResourceManager ResourceManager
+ {
+ get
+ {
+ if ((resourceMan == null))
+ {
+ global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("WindowsFormsApp1.Properties.Resources", typeof(Resources).Assembly);
+ resourceMan = temp;
+ }
+ return resourceMan;
+ }
+ }
+
+ ///
+ /// Overrides the current thread's CurrentUICulture property for all
+ /// resource lookups using this strongly typed resource class.
+ ///
+ [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
+ internal static global::System.Globalization.CultureInfo Culture
+ {
+ get
+ {
+ return resourceCulture;
+ }
+ set
+ {
+ resourceCulture = value;
+ }
+ }
+ }
+}
diff --git a/20240905/WindowsFormsApp1/WindowsFormsApp1/Properties/Resources.resx b/20240905/WindowsFormsApp1/WindowsFormsApp1/Properties/Resources.resx
new file mode 100644
index 0000000..af7dbeb
--- /dev/null
+++ b/20240905/WindowsFormsApp1/WindowsFormsApp1/Properties/Resources.resx
@@ -0,0 +1,117 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
\ No newline at end of file
diff --git a/20240905/WindowsFormsApp1/WindowsFormsApp1/Properties/Settings.Designer.cs b/20240905/WindowsFormsApp1/WindowsFormsApp1/Properties/Settings.Designer.cs
new file mode 100644
index 0000000..3cdaf80
--- /dev/null
+++ b/20240905/WindowsFormsApp1/WindowsFormsApp1/Properties/Settings.Designer.cs
@@ -0,0 +1,29 @@
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+// Runtime Version:4.0.30319.42000
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+
+namespace WindowsFormsApp1.Properties
+{
+ [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")]
+ internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
+ {
+
+ private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
+
+ public static Settings Default
+ {
+ get
+ {
+ return defaultInstance;
+ }
+ }
+ }
+}
diff --git a/20240905/WindowsFormsApp1/WindowsFormsApp1/Properties/Settings.settings b/20240905/WindowsFormsApp1/WindowsFormsApp1/Properties/Settings.settings
new file mode 100644
index 0000000..3964565
--- /dev/null
+++ b/20240905/WindowsFormsApp1/WindowsFormsApp1/Properties/Settings.settings
@@ -0,0 +1,7 @@
+
+
+
+
+
+
+
diff --git a/20240905/WindowsFormsApp1/WindowsFormsApp1/WindowsFormsApp1.csproj b/20240905/WindowsFormsApp1/WindowsFormsApp1/WindowsFormsApp1.csproj
new file mode 100644
index 0000000..313b3e8
--- /dev/null
+++ b/20240905/WindowsFormsApp1/WindowsFormsApp1/WindowsFormsApp1.csproj
@@ -0,0 +1,83 @@
+
+
+
+
+ Debug
+ AnyCPU
+ {83C67540-D422-4D5C-93E0-1C44D4B035E0}
+ WinExe
+ WindowsFormsApp1
+ WindowsFormsApp1
+ v4.7.2
+ 512
+ true
+ true
+
+
+ AnyCPU
+ true
+ full
+ false
+ bin\Debug\
+ DEBUG;TRACE
+ prompt
+ 4
+
+
+ AnyCPU
+ pdbonly
+ true
+ bin\Release\
+ TRACE
+ prompt
+ 4
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Form
+
+
+ Form1.cs
+
+
+
+
+ Form1.cs
+
+
+ ResXFileCodeGenerator
+ Resources.Designer.cs
+ Designer
+
+
+ True
+ Resources.resx
+
+
+ SettingsSingleFileGenerator
+ Settings.Designer.cs
+
+
+ True
+ Settings.settings
+ True
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/20240905/WindowsFormsApp1/WindowsFormsApp1/bin/Debug/WindowsFormsApp1.exe b/20240905/WindowsFormsApp1/WindowsFormsApp1/bin/Debug/WindowsFormsApp1.exe
new file mode 100644
index 0000000..b0dd439
Binary files /dev/null and b/20240905/WindowsFormsApp1/WindowsFormsApp1/bin/Debug/WindowsFormsApp1.exe differ
diff --git a/20240905/WindowsFormsApp1/WindowsFormsApp1/bin/Debug/WindowsFormsApp1.exe.config b/20240905/WindowsFormsApp1/WindowsFormsApp1/bin/Debug/WindowsFormsApp1.exe.config
new file mode 100644
index 0000000..56efbc7
--- /dev/null
+++ b/20240905/WindowsFormsApp1/WindowsFormsApp1/bin/Debug/WindowsFormsApp1.exe.config
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/20240905/WindowsFormsApp1/WindowsFormsApp1/bin/Debug/WindowsFormsApp1.pdb b/20240905/WindowsFormsApp1/WindowsFormsApp1/bin/Debug/WindowsFormsApp1.pdb
new file mode 100644
index 0000000..e2de351
Binary files /dev/null and b/20240905/WindowsFormsApp1/WindowsFormsApp1/bin/Debug/WindowsFormsApp1.pdb differ
diff --git a/20240905/WindowsFormsApp1/WindowsFormsApp1/bin/Debug/ujadat.txt b/20240905/WindowsFormsApp1/WindowsFormsApp1/bin/Debug/ujadat.txt
new file mode 100644
index 0000000..69a2deb
--- /dev/null
+++ b/20240905/WindowsFormsApp1/WindowsFormsApp1/bin/Debug/ujadat.txt
@@ -0,0 +1 @@
+ASD;125;200000;DSAD;2587
diff --git a/20240905/WindowsFormsApp1/WindowsFormsApp1/obj/Debug/.NETFramework,Version=v4.7.2.AssemblyAttributes.cs b/20240905/WindowsFormsApp1/WindowsFormsApp1/obj/Debug/.NETFramework,Version=v4.7.2.AssemblyAttributes.cs
new file mode 100644
index 0000000..3871b18
--- /dev/null
+++ b/20240905/WindowsFormsApp1/WindowsFormsApp1/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/20240905/WindowsFormsApp1/WindowsFormsApp1/obj/Debug/DesignTimeResolveAssemblyReferences.cache b/20240905/WindowsFormsApp1/WindowsFormsApp1/obj/Debug/DesignTimeResolveAssemblyReferences.cache
new file mode 100644
index 0000000..a6920de
Binary files /dev/null and b/20240905/WindowsFormsApp1/WindowsFormsApp1/obj/Debug/DesignTimeResolveAssemblyReferences.cache differ
diff --git a/20240905/WindowsFormsApp1/WindowsFormsApp1/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/20240905/WindowsFormsApp1/WindowsFormsApp1/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache
new file mode 100644
index 0000000..693671b
Binary files /dev/null and b/20240905/WindowsFormsApp1/WindowsFormsApp1/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ
diff --git a/20240905/WindowsFormsApp1/WindowsFormsApp1/obj/Debug/WindowsFormsApp1.Form1.resources b/20240905/WindowsFormsApp1/WindowsFormsApp1/obj/Debug/WindowsFormsApp1.Form1.resources
new file mode 100644
index 0000000..6c05a97
Binary files /dev/null and b/20240905/WindowsFormsApp1/WindowsFormsApp1/obj/Debug/WindowsFormsApp1.Form1.resources differ
diff --git a/20240905/WindowsFormsApp1/WindowsFormsApp1/obj/Debug/WindowsFormsApp1.Properties.Resources.resources b/20240905/WindowsFormsApp1/WindowsFormsApp1/obj/Debug/WindowsFormsApp1.Properties.Resources.resources
new file mode 100644
index 0000000..6c05a97
Binary files /dev/null and b/20240905/WindowsFormsApp1/WindowsFormsApp1/obj/Debug/WindowsFormsApp1.Properties.Resources.resources differ
diff --git a/20240905/WindowsFormsApp1/WindowsFormsApp1/obj/Debug/WindowsFormsApp1.csproj.AssemblyReference.cache b/20240905/WindowsFormsApp1/WindowsFormsApp1/obj/Debug/WindowsFormsApp1.csproj.AssemblyReference.cache
new file mode 100644
index 0000000..84695b8
Binary files /dev/null and b/20240905/WindowsFormsApp1/WindowsFormsApp1/obj/Debug/WindowsFormsApp1.csproj.AssemblyReference.cache differ
diff --git a/20240905/WindowsFormsApp1/WindowsFormsApp1/obj/Debug/WindowsFormsApp1.csproj.CoreCompileInputs.cache b/20240905/WindowsFormsApp1/WindowsFormsApp1/obj/Debug/WindowsFormsApp1.csproj.CoreCompileInputs.cache
new file mode 100644
index 0000000..4a5524a
--- /dev/null
+++ b/20240905/WindowsFormsApp1/WindowsFormsApp1/obj/Debug/WindowsFormsApp1.csproj.CoreCompileInputs.cache
@@ -0,0 +1 @@
+8069502011d0681850e57a53d5a1673222f430a6
diff --git a/20240905/WindowsFormsApp1/WindowsFormsApp1/obj/Debug/WindowsFormsApp1.csproj.FileListAbsolute.txt b/20240905/WindowsFormsApp1/WindowsFormsApp1/obj/Debug/WindowsFormsApp1.csproj.FileListAbsolute.txt
new file mode 100644
index 0000000..13142ef
--- /dev/null
+++ b/20240905/WindowsFormsApp1/WindowsFormsApp1/obj/Debug/WindowsFormsApp1.csproj.FileListAbsolute.txt
@@ -0,0 +1,10 @@
+C:\Users\szabomarton\Desktop\C#\ProgaOra\20240905\WindowsFormsApp1\WindowsFormsApp1\bin\Debug\WindowsFormsApp1.exe.config
+C:\Users\szabomarton\Desktop\C#\ProgaOra\20240905\WindowsFormsApp1\WindowsFormsApp1\bin\Debug\WindowsFormsApp1.exe
+C:\Users\szabomarton\Desktop\C#\ProgaOra\20240905\WindowsFormsApp1\WindowsFormsApp1\bin\Debug\WindowsFormsApp1.pdb
+C:\Users\szabomarton\Desktop\C#\ProgaOra\20240905\WindowsFormsApp1\WindowsFormsApp1\obj\Debug\WindowsFormsApp1.csproj.AssemblyReference.cache
+C:\Users\szabomarton\Desktop\C#\ProgaOra\20240905\WindowsFormsApp1\WindowsFormsApp1\obj\Debug\WindowsFormsApp1.Form1.resources
+C:\Users\szabomarton\Desktop\C#\ProgaOra\20240905\WindowsFormsApp1\WindowsFormsApp1\obj\Debug\WindowsFormsApp1.Properties.Resources.resources
+C:\Users\szabomarton\Desktop\C#\ProgaOra\20240905\WindowsFormsApp1\WindowsFormsApp1\obj\Debug\WindowsFormsApp1.csproj.GenerateResource.cache
+C:\Users\szabomarton\Desktop\C#\ProgaOra\20240905\WindowsFormsApp1\WindowsFormsApp1\obj\Debug\WindowsFormsApp1.csproj.CoreCompileInputs.cache
+C:\Users\szabomarton\Desktop\C#\ProgaOra\20240905\WindowsFormsApp1\WindowsFormsApp1\obj\Debug\WindowsFormsApp1.exe
+C:\Users\szabomarton\Desktop\C#\ProgaOra\20240905\WindowsFormsApp1\WindowsFormsApp1\obj\Debug\WindowsFormsApp1.pdb
diff --git a/20240905/WindowsFormsApp1/WindowsFormsApp1/obj/Debug/WindowsFormsApp1.csproj.GenerateResource.cache b/20240905/WindowsFormsApp1/WindowsFormsApp1/obj/Debug/WindowsFormsApp1.csproj.GenerateResource.cache
new file mode 100644
index 0000000..c98b1cc
Binary files /dev/null and b/20240905/WindowsFormsApp1/WindowsFormsApp1/obj/Debug/WindowsFormsApp1.csproj.GenerateResource.cache differ
diff --git a/20240905/WindowsFormsApp1/WindowsFormsApp1/obj/Debug/WindowsFormsApp1.exe b/20240905/WindowsFormsApp1/WindowsFormsApp1/obj/Debug/WindowsFormsApp1.exe
new file mode 100644
index 0000000..b0dd439
Binary files /dev/null and b/20240905/WindowsFormsApp1/WindowsFormsApp1/obj/Debug/WindowsFormsApp1.exe differ
diff --git a/20240905/WindowsFormsApp1/WindowsFormsApp1/obj/Debug/WindowsFormsApp1.pdb b/20240905/WindowsFormsApp1/WindowsFormsApp1/obj/Debug/WindowsFormsApp1.pdb
new file mode 100644
index 0000000..e2de351
Binary files /dev/null and b/20240905/WindowsFormsApp1/WindowsFormsApp1/obj/Debug/WindowsFormsApp1.pdb differ
diff --git a/20240905/adatok-1250.txt b/20240905/adatok-1250.txt
new file mode 100644
index 0000000..8a43f65
--- /dev/null
+++ b/20240905/adatok-1250.txt
@@ -0,0 +1,50 @@
+Orszg;Terlet;Npessg;Fvros;Fvros npessge
+Grgorszg;132000;1064g;Athn;3154
+Romnia;238400;1912g;Bukarest;1812
+Ausztria;83900;8960000;Bcs;1915
+Lengyelorszg;312700;3775g;Vars;1776
+Belgium;30500;11590000;Brsszel;2065
+Bulgria;110400;6880000;Szfia;1277
+Ciprus;9300;900000;Nicosia;270
+Csehorszg;78900;10510000;Prga;1299
+Dnia;42900;5860000;Koppenhga;1334
+sztorszg;45400;1330000;Tallinn;441
+Finnorszg;336900;5540000;Helsinki;1292
+Franciaorszg;551500;67750000;Prizs;10958
+Hollandia;41500;17530000;Amszterdam;1140
+Horvtorszg;56600;3960000;Zgrb;685
+rorszg;69800;5030000;Dublin;1215
+Lettorszg;64600;1880000;Riga;634
+Litvnia;65300;2800000;Vilnius;538
+Luxemburg;2600;640000;Luxembourg;120
+Magyarorszg;93000;9710000;Budapest;1764
+Mlta;300;520000;Valletta;213
+Nmetorszg;357600;83200000;Berlin;3557
+Olaszorszg;302100;59110000;Rma;4234
+Portuglia;92200;10330000;Lisszabon;2942
+Spanyolorszg;506000;47420000;Madrid;6559
+Svdorszg;438600;10420000;Stockholm;1608
+Szlovkia;49000;5450000;Pozsony;433
+Szlovnia;20300;2110000;Ljubljana;287
+Egyeslt Kirlysg;244400;67330000;London;9177
+Izland;103000;370000;Reykjavk;216
+szak-Macednia;25700;1950000;Szkopje;590
+Montenegr;13900;620000;Podgorica;177
+Norvgia;323800;5410000;Osl;1027
+Oroszorszg;17098200;143450000;Moszkva;12476
+Svjc;41300;8700000;Bern;426
+Szerbia;88400;6830000;Belgrd;1394
+Trkorszg;783600;84150000;Ankara;5018
+India;3287300;1393410000;j-Delhi;29399
+Izrael;22100;9360000;Jeruzslem;919
+Japn;377900;125680000;Toki;37435
+Kna;9600000;1412360000;Peking;20036
+Koreai Kztrsasg;100400;51740000;Szul;9962
+Dl-afrikai Kztrsasg;1221000;60040000;Pretoriap;2473
+Egyiptom;1002000;104260000;Kair;20485
+Brazlia;8510300;213990000;Brasilia;4559
+Egyeslt llamok;9833500;331890000;Washington, D.C.;5265
+Kanada;9984700;38250000;Ottawa;1378
+Mexik;1964400;130260000;Mexikvros;21672
+Ausztrlia;7692000;25740000;Canberra;453
+j-Zland;268100;5120000;Wellington;413
diff --git a/20240905/adatok-utf8.txt b/20240905/adatok-utf8.txt
new file mode 100644
index 0000000..5838ca4
--- /dev/null
+++ b/20240905/adatok-utf8.txt
@@ -0,0 +1,50 @@
+Ország;Terület;Népesség;Főváros;Főváros népessége
+Görögország;132000;1064g;Athén;3154
+Románia;238400;1912g;Bukarest;1812
+Ausztria;83900;8960000;Bécs;1915
+Lengyelország;312700;3775g;Varsó;1776
+Belgium;30500;11590000;Brüsszel;2065
+Bulgária;110400;6880000;Szófia;1277
+Ciprus;9300;900000;Nicosia;270
+Csehország;78900;10510000;Prága;1299
+Dánia;42900;5860000;Koppenhága;1334
+Észtország;45400;1330000;Tallinn;441
+Finnország;336900;5540000;Helsinki;1292
+Franciaország;551500;67750000;Párizs;10958
+Hollandia;41500;17530000;Amszterdam;1140
+Horvátország;56600;3960000;Zágráb;685
+Írország;69800;5030000;Dublin;1215
+Lettország;64600;1880000;Riga;634
+Litvánia;65300;2800000;Vilnius;538
+Luxemburg;2600;640000;Luxembourg;120
+Magyarország;93000;9710000;Budapest;1764
+Málta;300;520000;Valletta;213
+Németország;357600;83200000;Berlin;3557
+Olaszország;302100;59110000;Róma;4234
+Portugália;92200;10330000;Lisszabon;2942
+Spanyolország;506000;47420000;Madrid;6559
+Svédország;438600;10420000;Stockholm;1608
+Szlovákia;49000;5450000;Pozsony;433
+Szlovénia;20300;2110000;Ljubljana;287
+Egyesült Királyság;244400;67330000;London;9177
+Izland;103000;370000;Reykjavík;216
+Észak-Macedónia;25700;1950000;Szkopje;590
+Montenegró;13900;620000;Podgorica;177
+Norvégia;323800;5410000;Osló;1027
+Oroszország;17098200;143450000;Moszkva;12476
+Svájc;41300;8700000;Bern;426
+Szerbia;88400;6830000;Belgrád;1394
+Törökország;783600;84150000;Ankara;5018
+India;3287300;1393410000;Új-Delhi;29399
+Izrael;22100;9360000;Jeruzsálem;919
+Japán;377900;125680000;Tokió;37435
+Kína;9600000;1412360000;Peking;20036
+Koreai Köztársaság;100400;51740000;Szöul;9962
+Dél-afrikai Köztársaság;1221000;60040000;Pretoriap;2473
+Egyiptom;1002000;104260000;Kairó;20485
+Brazília;8510300;213990000;Brasilia;4559
+Egyesült Államok;9833500;331890000;Washington, D.C.;5265
+Kanada;9984700;38250000;Ottawa;1378
+Mexikó;1964400;130260000;Mexikóváros;21672
+Ausztrália;7692000;25740000;Canberra;453
+Új-Zéland;268100;5120000;Wellington;413
diff --git a/20240905/berek2020.txt b/20240905/berek2020.txt
new file mode 100644
index 0000000..4ff001a
--- /dev/null
+++ b/20240905/berek2020.txt
@@ -0,0 +1,171 @@
+Név;Neme;Részleg;Belépés;Bér
+Beri Dániel;férfi;beszerzés;1979;222943
+Csavar Pista;férfi;pénzügy;1995;234074
+Lakatos Pál;férfi;beszerzés;1986;159538
+Devon Mihály;férfi;asztalosműhely;2007;161533
+Él Ilona;nő;beszerzés;1982;299865
+Gábor Gizella;nő;értékesítés;2003;181108
+Kálvin Ödömér;férfi;lakatosműhely;1976;321959
+Kolompár Gáspár;férfi;asztalosműhely;2003;253794
+Sörös Sándor;férfi;lakatosműhely;2012;202216
+Léc Elek;férfi;asztalosműhely;2001;220506
+Vonal Deodát;férfi;beszerzés;1997;187753
+Sipos Gábor;férfi;karbantartás;1982;185714
+Szigeti Sándor;férfi;karbantartás;1971;315764
+Volga Olga;nő;szerelőműhely;2009;197090
+Körte Vilmos;férfi;szerelőműhely;2016;256051
+Nagy Zoltán;nő;személyzeti;1979;167928
+Sunyi Béla;férfi;karbantartás;2010;294523
+Tiszai József;férfi;szerelőműhely;2001;305412
+Fül Elek;férfi;értékesítés;2017;112590
+Puli Sándor;férfi;lakatosműhely;1984;122782
+Seres András;férfi;értékesítés;1985;214497
+Vígh József;férfi;pénzügy;1986;202335
+Alsófalvi Amália;nő;asztalosműhely;2017;130090
+Mayer Tamás;férfi;pénzügy;1998;169054
+Végh József;férfi;karbantartás;1999;187443
+Szokai Kinga;nő;értékesítés;2000;101498
+Kondor Katalin;nő;pénzügy;2013;287247
+Kovács János;férfi;beszerzés;1993;346023
+Fityeházi Ágoston;férfi;személyzeti;2017;306860
+Karap Béla;férfi;pénzügy;1974;191443
+Pán Péter;férfi;beszerzés;2017;189096
+Pintér Sándor;férfi;pénzügy;1977;212158
+Sarkadi Csaba;férfi;személyzeti;1992;275338
+Horváth Dezső;férfi;pénzügy;1991;338631
+Kónya Anett;nő;értékesítés;1992;186852
+Pataki Aladár;férfi;szerelőműhely;2003;241873
+William Clinton;férfi;karbantartás;2004;285206
+Céhes Eszter;nő;pénzügy;2012;296289
+Gaz Julianna;nő;értékesítés;2006;131620
+Tóth Imre;férfi;asztalosműhely;1988;285381
+Higli Jolán;nő;lakatosműhely;1987;170292
+Égerházi Zsanett;nő;asztalosműhely;1993;295283
+Lakodalom Lajos;férfi;szerelőműhely;1970;229541
+Nem Tamás;férfi;karbantartás;2016;220554
+Németh Noémi;nő;karbantartás;1983;282454
+Kiss Csilla;nő;beszerzés;2009;337231
+Lapos Elemér;férfi;lakatosműhely;1972;306860
+Szokai Barbara;nő;pénzügy;2013;184629
+Károly Zoltán;férfi;értékesítés;1984;139730
+Kozlovszky Jenő;férfi;asztalosműhely;2018;248206
+Kuti Kamilla;nő;karbantartás;1977;281336
+Présinger Tamás;férfi;beszerzés;2001;297147
+Szokai Kinga;nő;beszerzés;1979;295981
+Kovács Béla;férfi;szerelőműhely;2005;269895
+Rizi Gizi;nő;szerelőműhely;2016;343616
+Vagyok Ibolya;nő;karbantartás;2000;212096
+Dávid Ilona;nő;értékesítés;1970;115651
+Turpis Imre;férfi;szerelőműhely;1999;455582
+Világi Virág;nő;beszerzés;1999;347147
+Gerecsény Eszter;nő;szerelőműhely;1975;260777
+Győri Tímea;nő;szerelőműhely;2014;140646
+Kiss Ágnes;nő;lakatosműhely;1969;125803
+Kovács Helga;nő;pénzügy;1985;325358
+Morvay Levente;férfi;személyzeti;2011;476449
+Szűcs Gábor;férfi;személyzeti;1975;265928
+Varga Dóra;nő;karbantartás;2009;144949
+Zsák Judit;nő;pénzügy;2006;222083
+Nagy Kálmán;férfi;lakatosműhely;1979;279136
+Szalacsi Sándor;férfi;karbantartás;1977;184545
+Tavi József;férfi;szerelőműhely;1979;372182
+Torgyán Andrea;nő;pénzügy;2015;461167
+Bomberra Krisztina;nő;pénzügy;2018;232925
+Fehér Jakab;férfi;értékesítés;1973;241893
+Szabó Péter;férfi;pénzügy;2010;226231
+Torgyán Attila;férfi;szerelőműhely;1987;342561
+Kárai Kata;nő;pénzügy;1994;122245
+Kötö Irma;nő;lakatosműhely;1990;284049
+Nem János;férfi;pénzügy;1990;143081
+Presser Gábor;férfi;értékesítés;2016;173758
+Szép Kálmán;férfi;szerelőműhely;1986;170663
+Azér Lázár;férfi;lakatosműhely;1995;290729
+Faragó Viktor;férfi;szerelőműhely;1970;292099
+Kicsi Misi;férfi;szerelőműhely;1978;186715
+Németh Sára;nő;karbantartás;1985;253524
+Polgár Jenő;férfi;karbantartás;1987;264165
+Szabó Balázs;férfi;személyzeti;1983;351304
+Fritz Attila;férfi;pénzügy;1969;267901
+Kodály Zoltán;férfi;értékesítés;1975;482961
+Pastinszky Tamás;férfi;személyzeti;2006;325980
+Czeczei Zsolt;férfi;beszerzés;1981;452042
+Habos Helén;nő;szerelőműhely;2004;264754
+Hegedűs Ilona;nő;szerelőműhely;1981;198774
+Kecskés Mária;nő;szerelőműhely;1978;149959
+Kovács Beáta;nő;személyzeti;2013;386887
+Prezma Aurora;nő;pénzügy;1991;137207
+Sörös Leopold;férfi;lakatosműhely;1972;329999
+Bodor Enikő;nő;pénzügy;2012;274781
+Kolompár Frigyes;férfi;lakatosműhely;1978;343403
+Makrai Dezső;férfi;szerelőműhely;2016;218725
+Morvay Jenő;férfi;pénzügy;1972;297254
+Éliás Tóbiás;férfi;pénzügy;1998;303102
+Halász Júlia;nő;szerelőműhely;2003;122520
+Kiss Borbála;nő;lakatosműhely;1971;159775
+Czeczei Zsolt;férfi;pénzügy;2005;386026
+Szabó Attila;férfi;karbantartás;2006;211794
+Budai Antal;férfi;értékesítés;2017;144107
+Dávid Izaura;nő;személyzeti;1989;300039
+Horváth Kinga;nő;karbantartás;1969;184889
+Mekk Elek Tihamér;férfi;szerelőműhely;1988;268099
+Nájt Mihály;férfi;asztalosműhely;2004;344839
+Szabó Dénes;férfi;értékesítés;2004;269537
+Fritz Géza;férfi;beszerzés;2009;288983
+Gomb Sára;nő;pénzügy;1995;313310
+Méh Erika;nő;pénzügy;2011;246126
+Víz Gizella;nő;pénzügy;2012;104223
+Fogarasi Árpád;férfi;karbantartás;1996;307855
+Hűtő Béla;férfi;pénzügy;1988;426139
+Kiss Rozália;nő;szerelőműhely;1982;248843
+Kun Béla;férfi;karbantartás;1969;265384
+Lepési Mária;nő;lakatosműhely;2006;227066
+Mária Terézia;nő;pénzügy;1987;376465
+Balogh Éva;nő;értékesítés;1983;522899
+Kapros Lajos;férfi;szerelőműhely;2006;200943
+Nehéz Teréz;nő;szerelőműhely;1973;228999
+Bán Mihály;férfi;asztalosműhely;1983;191563
+Inger Rozália;nő;pénzügy;1989;344391
+Magyar Erzsébet;nő;személyzeti;1973;287814
+Nagy Gyula;férfi;lakatosműhely;1981;211530
+Szabó Éva;nő;karbantartás;2005;182674
+Takács Lilla;nő;pénzügy;2002;325866
+Czeczei András;férfi;pénzügy;2005;205444
+Gép Béla;férfi;pénzügy;1980;277660
+Gulág Tóbiás;férfi;beszerzés;2013;109873
+Medgyessi Pál;férfi;asztalosműhely;1999;282749
+Wesselényi Brúnó;férfi;beszerzés;1975;130108
+Alsófalvi Amália;nő;asztalosműhely;1998;343647
+Sarkadi Csaba;férfi;pénzügy;1976;230294
+Asztal Sándor;férfi;pénzügy;1970;231754
+Prézli János;férfi;pénzügy;2016;169183
+Brazil Béla;férfi;asztalosműhely;2001;299524
+Határ Hugó;férfi;szerelőműhely;1980;256155
+Varga Tamás;férfi;karbantartás;1988;213615
+Balogh Gábor;férfi;asztalosműhely;1988;193119
+Barna Ágota;nő;értékesítés;1985;252032
+Béna Béla;férfi;szerelőműhely;1972;186064
+Bödön Ödön;férfi;szerelőműhely;1993;166483
+Takács Nándor;férfi;beszerzés;2007;343382
+Vaal Máté;férfi;pénzügy;1969;220726
+Gold Mária;nő;asztalosműhely;1998;286186
+Lakatos Lujza;nő;asztalosműhely;2005;316271
+Ormosi Teréz;nő;asztalosműhely;1971;104671
+Sipos Károly;férfi;karbantartás;2002;278778
+Tóth Gyula;férfi;személyzeti;1981;261433
+Átlagos Ákos;férfi;szerelőműhely;1983;219531
+Fekete Frigyes;férfi;asztalosműhely;1997;130135
+Farkas Károly;férfi;lakatosműhely;1995;209343
+Nagy Antal;férfi;karbantartás;1986;309611
+Oláh Gáspár;férfi;karbantartás;1988;137158
+Öregh Amália;nő;személyzeti;2016;315782
+Somogyi Erika;nő;karbantartás;2016;193363
+Izmos Vilmos;férfi;szerelőműhely;2011;298796
+Kovács János;férfi;asztalosműhely;1986;212865
+Pokol Petúnia;nő;beszerzés;1973;256368
+Bak Dániel;férfi;pénzügy;1983;496106
+Fekete Andrea;nő;értékesítés;1989;124880
+Gáspár Olga;nő;karbantartás;2010;298381
+Ináncsi József;férfi;karbantartás;2001;199721
+Szabó András;férfi;beszerzés;2009;269287
+Erdős Árpád;férfi;szerelőműhely;2009;220353
+Kiss Jenő;férfi;karbantartás;1973;324666
diff --git a/20240905/csharp.txt b/20240905/csharp.txt
new file mode 100644
index 0000000..657e47d
--- /dev/null
+++ b/20240905/csharp.txt
@@ -0,0 +1,28 @@
+class Orszag
+{
+ public string Orszagnev { get; private set; }
+ public int Terulet { get; private set; }
+ public int Nepesseg { get; private set; }
+ public string Fovaros { get; private set; }
+ public int FovarosNepesseg { get; private set; }
+
+ public Orszag(string orszagnev, int terulet, int nepesseg, string fovaros, int fovarosNepesseg)
+ {
+ Orszagnev = orszagnev;
+ Terulet = terulet;
+ Nepesseg = nepesseg;
+ Fovaros = fovaros;
+ FovarosNepesseg = fovarosNepesseg;
+ }
+
+ public Orszag(string sor)
+ {
+ // Ebben a konstruktorban is elvégezheti az adatsor felbontását!
+ // Ha nem ezt választja, akkor törölje ezt a konstruktort!
+ }
+
+ public override string ToString()
+ {
+ return "";
+ }
+}