diff --git a/20230523/ConsoleApp1/.vs/ConsoleApp1/v16/.suo b/20230523/ConsoleApp1/.vs/ConsoleApp1/v16/.suo deleted file mode 100644 index 711d033..0000000 Binary files a/20230523/ConsoleApp1/.vs/ConsoleApp1/v16/.suo and /dev/null differ diff --git a/20230523/ConsoleApp1/ConsoleApp1.csproj b/20230523/ConsoleApp1/ConsoleApp1.csproj deleted file mode 100644 index c6c4a81..0000000 --- a/20230523/ConsoleApp1/ConsoleApp1.csproj +++ /dev/null @@ -1,53 +0,0 @@ - - - - - Debug - AnyCPU - {A2A0DFA4-2C93-45D8-B191-99C1F490AC08} - 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/20230523/ConsoleApp1/ConsoleApp1.sln b/20230523/ConsoleApp1/ConsoleApp1.sln deleted file mode 100644 index 1159890..0000000 --- a/20230523/ConsoleApp1/ConsoleApp1.sln +++ /dev/null @@ -1,25 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 16 -VisualStudioVersion = 16.0.33529.622 -MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ConsoleApp1", "ConsoleApp1.csproj", "{A2A0DFA4-2C93-45D8-B191-99C1F490AC08}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Release|Any CPU = Release|Any CPU - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {A2A0DFA4-2C93-45D8-B191-99C1F490AC08}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {A2A0DFA4-2C93-45D8-B191-99C1F490AC08}.Debug|Any CPU.Build.0 = Debug|Any CPU - {A2A0DFA4-2C93-45D8-B191-99C1F490AC08}.Release|Any CPU.ActiveCfg = Release|Any CPU - {A2A0DFA4-2C93-45D8-B191-99C1F490AC08}.Release|Any CPU.Build.0 = Release|Any CPU - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection - GlobalSection(ExtensibilityGlobals) = postSolution - SolutionGuid = {E7F5E1A0-5DEF-4DFE-B4AB-4C98A061C3D4} - EndGlobalSection -EndGlobal diff --git a/20230523/ConsoleApp1/Program.cs b/20230523/ConsoleApp1/Program.cs deleted file mode 100644 index 7a3973d..0000000 --- a/20230523/ConsoleApp1/Program.cs +++ /dev/null @@ -1,116 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace ConsoleApp1 -{ - class Program - { - static void Feladat1() - { - int szum = 0; - int[] tomb = {1,2,3,4,5,6,7,8,9,0,0}; - int n = tomb.Length; - for (int i = 0; i < n; ++i) - { - szum += tomb[i]; - } - Console.WriteLine($"A tömb összege: {szum}"); - } - - static void Feladat2() - { - int[] tomb = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 0 }; - int n = tomb.Length; - int db = 0; - for (int i = 0; i < n; ++i) - { - if (tomb[i] < 5) - { - ++db; - } - } - Console.WriteLine($"Darabszám: {db}"); - } - - static void Feladat3() - { - int[] tomb = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 0 }; - int n = tomb.Length; - bool van = false; - - for (int i = 0; i < n; ++i) - { - if (tomb[i] == 5) - { - van = true; - break; - } - } - - Console.WriteLine($"Van? : {van}"); - } - - static void Feladat4() - { - int[] tomb = { }; - Random random = new Random(); - for (int i = 0; i < 10; ++i) - { - tomb = tomb.Append(random.Next(1,7)).ToArray(); - } - - bool van = false; - int n = tomb.Length; - - for (int i = 0; i < n; ++i) - { - if (tomb[i] == 6) - { - van = true; - break; - } - } - - Console.WriteLine($"Van? : {van}"); - - for (int i = 0; i < n; ++i) - { - Console.WriteLine(tomb[i]); - } - } - - static void Feladat5() - { - Console.WriteLine("Adj egy szót!"); - string str = Console.ReadLine(); - bool vanmaganhangzo = false; - List maganhangzok = new List(); - - maganhangzok.Add('a'); - maganhangzok.Add('e'); - maganhangzok.Add('i'); - maganhangzok.Add('o'); - maganhangzok.Add('u'); - - foreach (char c in str) - { - if (maganhangzok.Contains(c)) - { - vanmaganhangzo = true; - break; - } - } - - Console.WriteLine($"Van: {vanmaganhangzo}"); - } - static void Main(string[] args) - { - Feladat5(); - Console.ReadLine(); - } - } -} - \ No newline at end of file diff --git a/20230523/ConsoleApp1/bin/Debug/ConsoleApp1.exe b/20230523/ConsoleApp1/bin/Debug/ConsoleApp1.exe deleted file mode 100644 index f1782d4..0000000 Binary files a/20230523/ConsoleApp1/bin/Debug/ConsoleApp1.exe and /dev/null differ diff --git a/20230523/ConsoleApp1/bin/Debug/ConsoleApp1.pdb b/20230523/ConsoleApp1/bin/Debug/ConsoleApp1.pdb deleted file mode 100644 index 9959970..0000000 Binary files a/20230523/ConsoleApp1/bin/Debug/ConsoleApp1.pdb and /dev/null differ diff --git a/20230523/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.AssemblyReference.cache b/20230523/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.AssemblyReference.cache deleted file mode 100644 index 0da8ef2..0000000 Binary files a/20230523/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.AssemblyReference.cache and /dev/null differ diff --git a/20230523/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.FileListAbsolute.txt b/20230523/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.FileListAbsolute.txt deleted file mode 100644 index 22a17ed..0000000 --- a/20230523/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.FileListAbsolute.txt +++ /dev/null @@ -1,7 +0,0 @@ -C:\Users\szabomarton\Desktop\C#\20230523\ConsoleApp1\bin\Debug\ConsoleApp1.exe.config -C:\Users\szabomarton\Desktop\C#\20230523\ConsoleApp1\bin\Debug\ConsoleApp1.exe -C:\Users\szabomarton\Desktop\C#\20230523\ConsoleApp1\bin\Debug\ConsoleApp1.pdb -C:\Users\szabomarton\Desktop\C#\20230523\ConsoleApp1\obj\Debug\ConsoleApp1.csproj.AssemblyReference.cache -C:\Users\szabomarton\Desktop\C#\20230523\ConsoleApp1\obj\Debug\ConsoleApp1.csproj.CoreCompileInputs.cache -C:\Users\szabomarton\Desktop\C#\20230523\ConsoleApp1\obj\Debug\ConsoleApp1.exe -C:\Users\szabomarton\Desktop\C#\20230523\ConsoleApp1\obj\Debug\ConsoleApp1.pdb diff --git a/20230523/ConsoleApp1/obj/Debug/ConsoleApp1.exe b/20230523/ConsoleApp1/obj/Debug/ConsoleApp1.exe deleted file mode 100644 index f1782d4..0000000 Binary files a/20230523/ConsoleApp1/obj/Debug/ConsoleApp1.exe and /dev/null differ diff --git a/20230523/ConsoleApp1/obj/Debug/ConsoleApp1.pdb b/20230523/ConsoleApp1/obj/Debug/ConsoleApp1.pdb deleted file mode 100644 index 9959970..0000000 Binary files a/20230523/ConsoleApp1/obj/Debug/ConsoleApp1.pdb and /dev/null differ diff --git a/20230523/ConsoleApp1/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/20230523/ConsoleApp1/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache deleted file mode 100644 index ca32056..0000000 Binary files a/20230523/ConsoleApp1/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache and /dev/null differ diff --git a/20230606/ConsoleApp1/.vs/ConsoleApp1/v16/.suo b/20230606/ConsoleApp1/.vs/ConsoleApp1/v16/.suo deleted file mode 100644 index 1e49a79..0000000 Binary files a/20230606/ConsoleApp1/.vs/ConsoleApp1/v16/.suo and /dev/null differ diff --git a/20230606/ConsoleApp1/App.config b/20230606/ConsoleApp1/App.config deleted file mode 100644 index 56efbc7..0000000 --- a/20230606/ConsoleApp1/App.config +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/20230606/ConsoleApp1/Program.cs b/20230606/ConsoleApp1/Program.cs deleted file mode 100644 index 0d111ea..0000000 --- a/20230606/ConsoleApp1/Program.cs +++ /dev/null @@ -1,58 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace ConsoleApp1 -{ - class Program - { - static void Feladat1() - { - int[] a = { 9, 7, 3, 5, 4, 2, 6 }; - int n = a.Length; - int[] b = new int[n]; - int j = 0; - for (int i = 0; i < n; ++i) - if (a[i] < 5) - { - b[j] = a[i]; - ++j; - } - Console.WriteLine("Eredeti: "); - for (int i = 0; i < n; ++i) - Console.WriteLine($"{a[i]} "); - Console.WriteLine(""); - Console.WriteLine("Kivlogatott: "); - for (int i = 0; i < j; ++i) - Console.WriteLine($"{b[i]} "); - Console.WriteLine(""); - } - - public static int Lineariskereses(int[] tomb, int elem) - { - int index = -1; - for (int i = 0; i < tomb.Length; ++i) - { - if (tomb[i] == elem) - { - index = i; - break; - } - } - return index; - } - static void Feladat2() - { - int[] a = { 9, 7, 3, 5, 4, 2, 6 }; - int elem = Convert.ToInt32(Console.ReadLine()); - Console.WriteLine(Lineariskereses(a,elem)); - } - static void Main(string[] args) - { - Feladat2(); - Console.ReadKey(); - } - } -} diff --git a/20230606/ConsoleApp1/Properties/AssemblyInfo.cs b/20230606/ConsoleApp1/Properties/AssemblyInfo.cs deleted file mode 100644 index 9eae0b4..0000000 --- a/20230606/ConsoleApp1/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,36 +0,0 @@ -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 © 2023")] -[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("d85f91ea-8305-4c0f-9b28-bf0aafa8ae28")] - -// 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/20230606/ConsoleApp1/bin/Debug/ConsoleApp1.exe b/20230606/ConsoleApp1/bin/Debug/ConsoleApp1.exe deleted file mode 100644 index 3018178..0000000 Binary files a/20230606/ConsoleApp1/bin/Debug/ConsoleApp1.exe and /dev/null differ diff --git a/20230606/ConsoleApp1/bin/Debug/ConsoleApp1.exe.config b/20230606/ConsoleApp1/bin/Debug/ConsoleApp1.exe.config deleted file mode 100644 index 56efbc7..0000000 --- a/20230606/ConsoleApp1/bin/Debug/ConsoleApp1.exe.config +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/20230606/ConsoleApp1/bin/Debug/ConsoleApp1.pdb b/20230606/ConsoleApp1/bin/Debug/ConsoleApp1.pdb deleted file mode 100644 index 36a00ca..0000000 Binary files a/20230606/ConsoleApp1/bin/Debug/ConsoleApp1.pdb and /dev/null differ diff --git a/20230606/ConsoleApp1/obj/Debug/.NETFramework,Version=v4.7.2.AssemblyAttributes.cs b/20230606/ConsoleApp1/obj/Debug/.NETFramework,Version=v4.7.2.AssemblyAttributes.cs deleted file mode 100644 index 3871b18..0000000 --- a/20230606/ConsoleApp1/obj/Debug/.NETFramework,Version=v4.7.2.AssemblyAttributes.cs +++ /dev/null @@ -1,4 +0,0 @@ -// -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/20230606/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.CoreCompileInputs.cache b/20230606/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.CoreCompileInputs.cache deleted file mode 100644 index ee191d7..0000000 --- a/20230606/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.CoreCompileInputs.cache +++ /dev/null @@ -1 +0,0 @@ -7f4b213b428f4c013f19137338418ee1f5525793 diff --git a/20230606/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.FileListAbsolute.txt b/20230606/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.FileListAbsolute.txt deleted file mode 100644 index 22ab89a..0000000 --- a/20230606/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.FileListAbsolute.txt +++ /dev/null @@ -1,7 +0,0 @@ -C:\Users\szabomarton\Desktop\C#\20230606\ConsoleApp1\bin\Debug\ConsoleApp1.exe.config -C:\Users\szabomarton\Desktop\C#\20230606\ConsoleApp1\bin\Debug\ConsoleApp1.exe -C:\Users\szabomarton\Desktop\C#\20230606\ConsoleApp1\bin\Debug\ConsoleApp1.pdb -C:\Users\szabomarton\Desktop\C#\20230606\ConsoleApp1\obj\Debug\ConsoleApp1.csproj.AssemblyReference.cache -C:\Users\szabomarton\Desktop\C#\20230606\ConsoleApp1\obj\Debug\ConsoleApp1.csproj.CoreCompileInputs.cache -C:\Users\szabomarton\Desktop\C#\20230606\ConsoleApp1\obj\Debug\ConsoleApp1.exe -C:\Users\szabomarton\Desktop\C#\20230606\ConsoleApp1\obj\Debug\ConsoleApp1.pdb diff --git a/20230606/ConsoleApp1/obj/Debug/ConsoleApp1.exe b/20230606/ConsoleApp1/obj/Debug/ConsoleApp1.exe deleted file mode 100644 index 3018178..0000000 Binary files a/20230606/ConsoleApp1/obj/Debug/ConsoleApp1.exe and /dev/null differ diff --git a/20230606/ConsoleApp1/obj/Debug/ConsoleApp1.pdb b/20230606/ConsoleApp1/obj/Debug/ConsoleApp1.pdb deleted file mode 100644 index 36a00ca..0000000 Binary files a/20230606/ConsoleApp1/obj/Debug/ConsoleApp1.pdb and /dev/null differ diff --git a/20230606/ConsoleApp1/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/20230606/ConsoleApp1/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache deleted file mode 100644 index 2ad5e4d..0000000 Binary files a/20230606/ConsoleApp1/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache and /dev/null differ diff --git a/20230613/ConsoleApp1/.vs/ConsoleApp1/v16/.suo b/20230613/ConsoleApp1/.vs/ConsoleApp1/v16/.suo deleted file mode 100644 index e7bfb64..0000000 Binary files a/20230613/ConsoleApp1/.vs/ConsoleApp1/v16/.suo and /dev/null differ diff --git a/20230613/ConsoleApp1/App.config b/20230613/ConsoleApp1/App.config deleted file mode 100644 index 56efbc7..0000000 --- a/20230613/ConsoleApp1/App.config +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/20230613/ConsoleApp1/ConsoleApp1.csproj b/20230613/ConsoleApp1/ConsoleApp1.csproj deleted file mode 100644 index 34d7288..0000000 --- a/20230613/ConsoleApp1/ConsoleApp1.csproj +++ /dev/null @@ -1,53 +0,0 @@ - - - - - Debug - AnyCPU - {A4E028EC-AF60-46CD-82B6-A92F5B5E1F47} - 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/20230613/ConsoleApp1/ConsoleApp1.sln b/20230613/ConsoleApp1/ConsoleApp1.sln deleted file mode 100644 index e56ce12..0000000 --- a/20230613/ConsoleApp1/ConsoleApp1.sln +++ /dev/null @@ -1,25 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 16 -VisualStudioVersion = 16.0.33529.622 -MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ConsoleApp1", "ConsoleApp1.csproj", "{A4E028EC-AF60-46CD-82B6-A92F5B5E1F47}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Release|Any CPU = Release|Any CPU - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {A4E028EC-AF60-46CD-82B6-A92F5B5E1F47}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {A4E028EC-AF60-46CD-82B6-A92F5B5E1F47}.Debug|Any CPU.Build.0 = Debug|Any CPU - {A4E028EC-AF60-46CD-82B6-A92F5B5E1F47}.Release|Any CPU.ActiveCfg = Release|Any CPU - {A4E028EC-AF60-46CD-82B6-A92F5B5E1F47}.Release|Any CPU.Build.0 = Release|Any CPU - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection - GlobalSection(ExtensibilityGlobals) = postSolution - SolutionGuid = {81807357-13FD-4F1A-A854-555A39C30C73} - EndGlobalSection -EndGlobal diff --git a/20230613/ConsoleApp1/Program.cs b/20230613/ConsoleApp1/Program.cs deleted file mode 100644 index 58e2f42..0000000 --- a/20230613/ConsoleApp1/Program.cs +++ /dev/null @@ -1,77 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace ConsoleApp1 -{ - class Program - { - static void Feladat1() - { - //egyszerű rendezés - int[] t = {22,-5,4,33,9,-3,7,15,0,20}; - int n = t.Length; - for (int i = 0; i < n; ++i) - Console.WriteLine($"{t[i]}"); - Console.WriteLine(""); - - for (int i = 0; i < n - 1; ++i) - { - for (int j = i + 1; j < n; ++j) - { - if (t[i] > t[j]) - { - int swap = t[j]; - t[j] = t[i]; - t[i] = swap; - } - } - } - - Console.WriteLine("Rendezés után:"); - for (int i = 0; i < n; ++i) - Console.WriteLine($"{t[i]}"); - Console.WriteLine(""); - - - } - - static void Feladat2() - { - //buborékos rendezés - int[] t = { 22, -5, 4, 33, 9, -3, 7, 15, 0, 20 }; - int n = t.Length; - for (int i = 0; i < n; ++i) - Console.WriteLine($"{t[i]}"); - Console.WriteLine(""); - - for (int i = n - 1; i > 0; --i) - { - for (int j = 0; j < i; ++j) - { - if (t[j] > t[j+1]) - { - int swap = t[j+1]; - t[j+1] = t[j]; - t[j] = swap; - } - } - } - - Console.WriteLine("Rendezés után:"); - for (int i = 0; i < n; ++i) - Console.WriteLine($"{t[i]}"); - Console.WriteLine(""); - - - } - static void Main(string[] args) - { - Feladat1(); - Feladat2(); - Console.ReadKey(); - } - } -} diff --git a/20230613/ConsoleApp1/Properties/AssemblyInfo.cs b/20230613/ConsoleApp1/Properties/AssemblyInfo.cs deleted file mode 100644 index 7bc58e8..0000000 --- a/20230613/ConsoleApp1/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,36 +0,0 @@ -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 © 2023")] -[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("a4e028ec-af60-46cd-82b6-a92f5b5e1f47")] - -// 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/20230613/ConsoleApp1/bin/Debug/ConsoleApp1.exe b/20230613/ConsoleApp1/bin/Debug/ConsoleApp1.exe deleted file mode 100644 index b800a1d..0000000 Binary files a/20230613/ConsoleApp1/bin/Debug/ConsoleApp1.exe and /dev/null differ diff --git a/20230613/ConsoleApp1/bin/Debug/ConsoleApp1.exe.config b/20230613/ConsoleApp1/bin/Debug/ConsoleApp1.exe.config deleted file mode 100644 index 56efbc7..0000000 --- a/20230613/ConsoleApp1/bin/Debug/ConsoleApp1.exe.config +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/20230613/ConsoleApp1/bin/Debug/ConsoleApp1.pdb b/20230613/ConsoleApp1/bin/Debug/ConsoleApp1.pdb deleted file mode 100644 index e301233..0000000 Binary files a/20230613/ConsoleApp1/bin/Debug/ConsoleApp1.pdb and /dev/null differ diff --git a/20230613/ConsoleApp1/obj/Debug/.NETFramework,Version=v4.7.2.AssemblyAttributes.cs b/20230613/ConsoleApp1/obj/Debug/.NETFramework,Version=v4.7.2.AssemblyAttributes.cs deleted file mode 100644 index 3871b18..0000000 --- a/20230613/ConsoleApp1/obj/Debug/.NETFramework,Version=v4.7.2.AssemblyAttributes.cs +++ /dev/null @@ -1,4 +0,0 @@ -// -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/20230613/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.AssemblyReference.cache b/20230613/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.AssemblyReference.cache deleted file mode 100644 index 0da8ef2..0000000 Binary files a/20230613/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.AssemblyReference.cache and /dev/null differ diff --git a/20230613/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.CoreCompileInputs.cache b/20230613/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.CoreCompileInputs.cache deleted file mode 100644 index ee191d7..0000000 --- a/20230613/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.CoreCompileInputs.cache +++ /dev/null @@ -1 +0,0 @@ -7f4b213b428f4c013f19137338418ee1f5525793 diff --git a/20230613/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.FileListAbsolute.txt b/20230613/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.FileListAbsolute.txt deleted file mode 100644 index 8096149..0000000 --- a/20230613/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.FileListAbsolute.txt +++ /dev/null @@ -1,7 +0,0 @@ -C:\Users\szabomarton\Desktop\C#\20230613\ConsoleApp1\bin\Debug\ConsoleApp1.exe.config -C:\Users\szabomarton\Desktop\C#\20230613\ConsoleApp1\bin\Debug\ConsoleApp1.exe -C:\Users\szabomarton\Desktop\C#\20230613\ConsoleApp1\bin\Debug\ConsoleApp1.pdb -C:\Users\szabomarton\Desktop\C#\20230613\ConsoleApp1\obj\Debug\ConsoleApp1.csproj.AssemblyReference.cache -C:\Users\szabomarton\Desktop\C#\20230613\ConsoleApp1\obj\Debug\ConsoleApp1.csproj.CoreCompileInputs.cache -C:\Users\szabomarton\Desktop\C#\20230613\ConsoleApp1\obj\Debug\ConsoleApp1.exe -C:\Users\szabomarton\Desktop\C#\20230613\ConsoleApp1\obj\Debug\ConsoleApp1.pdb diff --git a/20230613/ConsoleApp1/obj/Debug/ConsoleApp1.exe b/20230613/ConsoleApp1/obj/Debug/ConsoleApp1.exe deleted file mode 100644 index b800a1d..0000000 Binary files a/20230613/ConsoleApp1/obj/Debug/ConsoleApp1.exe and /dev/null differ diff --git a/20230613/ConsoleApp1/obj/Debug/ConsoleApp1.pdb b/20230613/ConsoleApp1/obj/Debug/ConsoleApp1.pdb deleted file mode 100644 index e301233..0000000 Binary files a/20230613/ConsoleApp1/obj/Debug/ConsoleApp1.pdb and /dev/null differ diff --git a/20230613/ConsoleApp1/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/20230613/ConsoleApp1/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache deleted file mode 100644 index 7982c6f..0000000 Binary files a/20230613/ConsoleApp1/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache and /dev/null differ diff --git a/20230904/ConsoleApp1/.vs/ConsoleApp1/v16/.suo b/20230904/ConsoleApp1/.vs/ConsoleApp1/v16/.suo deleted file mode 100644 index 6f9d42f..0000000 Binary files a/20230904/ConsoleApp1/.vs/ConsoleApp1/v16/.suo and /dev/null differ diff --git a/20230904/ConsoleApp1/App.config b/20230904/ConsoleApp1/App.config deleted file mode 100644 index 56efbc7..0000000 --- a/20230904/ConsoleApp1/App.config +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/20230904/ConsoleApp1/ConsoleApp1.csproj b/20230904/ConsoleApp1/ConsoleApp1.csproj deleted file mode 100644 index 3ece1e0..0000000 --- a/20230904/ConsoleApp1/ConsoleApp1.csproj +++ /dev/null @@ -1,53 +0,0 @@ - - - - - Debug - AnyCPU - {9E098B3C-FD45-4945-9D0E-DE090D6CC874} - 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/20230904/ConsoleApp1/ConsoleApp1.sln b/20230904/ConsoleApp1/ConsoleApp1.sln deleted file mode 100644 index f235bab..0000000 --- a/20230904/ConsoleApp1/ConsoleApp1.sln +++ /dev/null @@ -1,25 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 16 -VisualStudioVersion = 16.0.33529.622 -MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ConsoleApp1", "ConsoleApp1.csproj", "{9E098B3C-FD45-4945-9D0E-DE090D6CC874}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Release|Any CPU = Release|Any CPU - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {9E098B3C-FD45-4945-9D0E-DE090D6CC874}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {9E098B3C-FD45-4945-9D0E-DE090D6CC874}.Debug|Any CPU.Build.0 = Debug|Any CPU - {9E098B3C-FD45-4945-9D0E-DE090D6CC874}.Release|Any CPU.ActiveCfg = Release|Any CPU - {9E098B3C-FD45-4945-9D0E-DE090D6CC874}.Release|Any CPU.Build.0 = Release|Any CPU - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection - GlobalSection(ExtensibilityGlobals) = postSolution - SolutionGuid = {78DC73FE-3418-4504-BA3E-AF528BD3B033} - EndGlobalSection -EndGlobal diff --git a/20230904/ConsoleApp1/Program.cs b/20230904/ConsoleApp1/Program.cs deleted file mode 100644 index e525ff3..0000000 --- a/20230904/ConsoleApp1/Program.cs +++ /dev/null @@ -1,128 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace ConsoleApp1 -{ - class Program - { - static void Feladat1() - { - int paros = 0; - int paratlan = 1; - for(int i = 1; i <= 9; ++i) - { - if (i % 2 == 0) - { - //paros - paros += i; - } else - { - paratlan *= i; - } - } - Console.WriteLine($"A páros számok összege: {paros}"); - Console.WriteLine($"A páratlan számok szorzata: {paratlan}"); - - paros = 0; - paratlan = 1; - - int cntr = 1; - while (cntr < 10) - { - if (cntr % 2 == 0) - { - //paros - paros += cntr; - } - else - { - paratlan *= cntr; - } - ++cntr; - } - Console.WriteLine($"A páros számok összege: {paros}"); - Console.WriteLine($"A páratlan számok szorzata: {paratlan}"); - } - - static void Feladat2() - { - Console.WriteLine("Adj egy számot!"); - string szam = Console.ReadLine(); - - Console.WriteLine($"A szám számjegyeinek száma: {szam.Length}"); - - int szam1 = Convert.ToInt32(szam); - int cntr = 1; - - while (szam1 > 10) - { - szam1 /= 10; - ++cntr; - } - Console.WriteLine($"A szám számjegyeinek száma: {cntr}"); - } - - static void Feladat3() - { - int[] arr = new int[10]; - for (int i = 0; i < arr.Length; ++i) - { - arr[i] = i * 2 + 2; - } - - foreach (int x in arr) - { - Console.WriteLine($"{x}"); - } - } - - static void Feladat4() - { - Console.WriteLine("Add meg a testtömeged kg ban!"); - double kg = Convert.ToInt32(Console.ReadLine()); - Console.WriteLine("Add mega testmagasságod cm ben!"); - double m = Convert.ToDouble(Console.ReadLine()) / 100; - bool fiu = false; - Console.WriteLine("Fiú vagy? i/n"); - string lanye = Console.ReadLine(); - if (lanye == "i") - { - fiu = true; - } - - double bmi = kg / (m * m); - - if (fiu) - { - if (bmi < 19) - { - Console.WriteLine("Sovány"); - } else - { - Console.WriteLine("Nem Sovány"); - } - - } else - { - if (bmi < 19) - { - Console.WriteLine("Sovány"); - } - else - { - Console.WriteLine("Nem Sovány"); - } - } - - - } - static void Main(string[] args) - { - Feladat4(); - Console.ReadKey(); - } - } -} diff --git a/20230904/ConsoleApp1/Properties/AssemblyInfo.cs b/20230904/ConsoleApp1/Properties/AssemblyInfo.cs deleted file mode 100644 index d1f5e5c..0000000 --- a/20230904/ConsoleApp1/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,36 +0,0 @@ -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 © 2023")] -[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("9e098b3c-fd45-4945-9d0e-de090d6cc874")] - -// 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/20230904/ConsoleApp1/bin/Debug/ConsoleApp1.exe b/20230904/ConsoleApp1/bin/Debug/ConsoleApp1.exe deleted file mode 100644 index f9a63e7..0000000 Binary files a/20230904/ConsoleApp1/bin/Debug/ConsoleApp1.exe and /dev/null differ diff --git a/20230904/ConsoleApp1/bin/Debug/ConsoleApp1.exe.config b/20230904/ConsoleApp1/bin/Debug/ConsoleApp1.exe.config deleted file mode 100644 index 56efbc7..0000000 --- a/20230904/ConsoleApp1/bin/Debug/ConsoleApp1.exe.config +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/20230904/ConsoleApp1/bin/Debug/ConsoleApp1.pdb b/20230904/ConsoleApp1/bin/Debug/ConsoleApp1.pdb deleted file mode 100644 index 2a0e3df..0000000 Binary files a/20230904/ConsoleApp1/bin/Debug/ConsoleApp1.pdb and /dev/null differ diff --git a/20230904/ConsoleApp1/obj/Debug/.NETFramework,Version=v4.7.2.AssemblyAttributes.cs b/20230904/ConsoleApp1/obj/Debug/.NETFramework,Version=v4.7.2.AssemblyAttributes.cs deleted file mode 100644 index 3871b18..0000000 --- a/20230904/ConsoleApp1/obj/Debug/.NETFramework,Version=v4.7.2.AssemblyAttributes.cs +++ /dev/null @@ -1,4 +0,0 @@ -// -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/20230904/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.AssemblyReference.cache b/20230904/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.AssemblyReference.cache deleted file mode 100644 index 0da8ef2..0000000 Binary files a/20230904/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.AssemblyReference.cache and /dev/null differ diff --git a/20230904/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.CoreCompileInputs.cache b/20230904/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.CoreCompileInputs.cache deleted file mode 100644 index ee191d7..0000000 --- a/20230904/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.CoreCompileInputs.cache +++ /dev/null @@ -1 +0,0 @@ -7f4b213b428f4c013f19137338418ee1f5525793 diff --git a/20230904/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.FileListAbsolute.txt b/20230904/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.FileListAbsolute.txt deleted file mode 100644 index ec8e6fb..0000000 --- a/20230904/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.FileListAbsolute.txt +++ /dev/null @@ -1,7 +0,0 @@ -C:\Users\szabomarton\Desktop\C#\20230904\ConsoleApp1\bin\Debug\ConsoleApp1.exe.config -C:\Users\szabomarton\Desktop\C#\20230904\ConsoleApp1\bin\Debug\ConsoleApp1.exe -C:\Users\szabomarton\Desktop\C#\20230904\ConsoleApp1\bin\Debug\ConsoleApp1.pdb -C:\Users\szabomarton\Desktop\C#\20230904\ConsoleApp1\obj\Debug\ConsoleApp1.csproj.AssemblyReference.cache -C:\Users\szabomarton\Desktop\C#\20230904\ConsoleApp1\obj\Debug\ConsoleApp1.csproj.CoreCompileInputs.cache -C:\Users\szabomarton\Desktop\C#\20230904\ConsoleApp1\obj\Debug\ConsoleApp1.exe -C:\Users\szabomarton\Desktop\C#\20230904\ConsoleApp1\obj\Debug\ConsoleApp1.pdb diff --git a/20230904/ConsoleApp1/obj/Debug/ConsoleApp1.exe b/20230904/ConsoleApp1/obj/Debug/ConsoleApp1.exe deleted file mode 100644 index f9a63e7..0000000 Binary files a/20230904/ConsoleApp1/obj/Debug/ConsoleApp1.exe and /dev/null differ diff --git a/20230904/ConsoleApp1/obj/Debug/ConsoleApp1.pdb b/20230904/ConsoleApp1/obj/Debug/ConsoleApp1.pdb deleted file mode 100644 index 2a0e3df..0000000 Binary files a/20230904/ConsoleApp1/obj/Debug/ConsoleApp1.pdb and /dev/null differ diff --git a/20230904/ConsoleApp1/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/20230904/ConsoleApp1/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache deleted file mode 100644 index dbf8aeb..0000000 Binary files a/20230904/ConsoleApp1/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache and /dev/null differ diff --git a/20230911/ConsoleApp1/.vs/ConsoleApp1/v16/.suo b/20230911/ConsoleApp1/.vs/ConsoleApp1/v16/.suo deleted file mode 100644 index 358c45e..0000000 Binary files a/20230911/ConsoleApp1/.vs/ConsoleApp1/v16/.suo and /dev/null differ diff --git a/20230911/ConsoleApp1/App.config b/20230911/ConsoleApp1/App.config deleted file mode 100644 index 56efbc7..0000000 --- a/20230911/ConsoleApp1/App.config +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/20230911/ConsoleApp1/ConsoleApp1.csproj b/20230911/ConsoleApp1/ConsoleApp1.csproj deleted file mode 100644 index c63d90c..0000000 --- a/20230911/ConsoleApp1/ConsoleApp1.csproj +++ /dev/null @@ -1,53 +0,0 @@ - - - - - Debug - AnyCPU - {6E6BD18D-A0A2-4811-AB0E-B1A3B06AB8F9} - 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/20230911/ConsoleApp1/ConsoleApp1.sln b/20230911/ConsoleApp1/ConsoleApp1.sln deleted file mode 100644 index 737578b..0000000 --- a/20230911/ConsoleApp1/ConsoleApp1.sln +++ /dev/null @@ -1,25 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 16 -VisualStudioVersion = 16.0.33529.622 -MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ConsoleApp1", "ConsoleApp1.csproj", "{6E6BD18D-A0A2-4811-AB0E-B1A3B06AB8F9}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Release|Any CPU = Release|Any CPU - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {6E6BD18D-A0A2-4811-AB0E-B1A3B06AB8F9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {6E6BD18D-A0A2-4811-AB0E-B1A3B06AB8F9}.Debug|Any CPU.Build.0 = Debug|Any CPU - {6E6BD18D-A0A2-4811-AB0E-B1A3B06AB8F9}.Release|Any CPU.ActiveCfg = Release|Any CPU - {6E6BD18D-A0A2-4811-AB0E-B1A3B06AB8F9}.Release|Any CPU.Build.0 = Release|Any CPU - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection - GlobalSection(ExtensibilityGlobals) = postSolution - SolutionGuid = {4E17AECF-74F5-4EB1-936C-1251E665B7A7} - EndGlobalSection -EndGlobal diff --git a/20230911/ConsoleApp1/Program.cs b/20230911/ConsoleApp1/Program.cs deleted file mode 100644 index afc63b9..0000000 --- a/20230911/ConsoleApp1/Program.cs +++ /dev/null @@ -1,120 +0,0 @@ -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 Feladat1() - { - int n = 6; - int m = 2; - int[,] betuk = new int [n,m]; - string asd = "bzbzbzauzguzbvukzbkjhbvjkhvta"; - for (int i = 0; i < asd.Length; ++i) - { - char x = asd[i]; - for (int z = 0; z < n; ++z) - { - if (x == Convert.ToChar(betuk[z, 0])) - { - betuk[z, 1]++; - break; - } - else - { - betuk[z, 0] = Convert.ToInt32(x); - betuk[z, 1]++; - break; - } - } - } - Console.WriteLine(Convert.ToChar(betuk[0, 0])); - Console.WriteLine(betuk[0, 1]); - Console.WriteLine(betuk[1, 0]); - Console.WriteLine(betuk[1, 1]); - - for (int a = 0; a < n; ++a) - { - for (int b = 0; b < m; ++b) - { - Console.WriteLine(betuk[a, b]); - } - } - - } - - static void Feladat2() - { - FileStream fs = new FileStream("asd.txt", FileMode.Open); - StreamReader sr = new StreamReader(fs); - string str = sr.ReadToEnd(); - - var dict = new Dictionary(); - foreach (char c in str) - { - dict.TryGetValue(c, out int count); - dict[c] = ++count; - } - - foreach (var pair in dict.OrderBy(r => r.Key)) - { - Console.WriteLine(pair.Value + "x " + pair.Key + " (" + (int)pair.Key + ")"); - } - - sr.Close(); - fs.Close(); - } - - static void Feladat3() - { - string egeszSzoveg; - char[] karakterek = { }; - FileStream fs = new FileStream(@"C:\Users\szabomarton\Desktop\C#\allomanyok\asd2.txt", FileMode.Open, FileAccess.Read); - StreamReader sr = new StreamReader(fs, Encoding.Default); - egeszSzoveg = sr.ReadToEnd(); - int karakterIndex = 0; - int ennyivan = 0; - for (int i = 0; i < egeszSzoveg.Length; ++i) - { - if (!karakterek.Contains(egeszSzoveg[i])) - { - karakterek = karakterek.Append(egeszSzoveg[i]).ToArray(); - } - } - - Array.Sort(karakterek); - - while (karakterIndex < karakterek.Length) - { - for (int i = 0; i < egeszSzoveg.Length; ++i) - { - if (egeszSzoveg[i] == karakterek[karakterIndex]) - { - ennyivan++; - } - } - Console.WriteLine($"Ennyi {karakterek[karakterIndex]} van: {ennyivan}"); - karakterIndex++; - ennyivan = 0; - } - - sr.Close(); - fs.Close(); - } - - static void Feladat4() - { - - } - static void Main(string[] args) - { - Feladat4(); - Console.ReadLine(); - } - } -} diff --git a/20230911/ConsoleApp1/Properties/AssemblyInfo.cs b/20230911/ConsoleApp1/Properties/AssemblyInfo.cs deleted file mode 100644 index 491bc91..0000000 --- a/20230911/ConsoleApp1/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,36 +0,0 @@ -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 © 2023")] -[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("6e6bd18d-a0a2-4811-ab0e-b1a3b06ab8f9")] - -// 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/20230911/ConsoleApp1/bin/Debug/ConsoleApp1.exe b/20230911/ConsoleApp1/bin/Debug/ConsoleApp1.exe deleted file mode 100644 index 87371cc..0000000 Binary files a/20230911/ConsoleApp1/bin/Debug/ConsoleApp1.exe and /dev/null differ diff --git a/20230911/ConsoleApp1/bin/Debug/ConsoleApp1.exe.config b/20230911/ConsoleApp1/bin/Debug/ConsoleApp1.exe.config deleted file mode 100644 index 56efbc7..0000000 --- a/20230911/ConsoleApp1/bin/Debug/ConsoleApp1.exe.config +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/20230911/ConsoleApp1/bin/Debug/ConsoleApp1.pdb b/20230911/ConsoleApp1/bin/Debug/ConsoleApp1.pdb deleted file mode 100644 index adb63b7..0000000 Binary files a/20230911/ConsoleApp1/bin/Debug/ConsoleApp1.pdb and /dev/null differ diff --git a/20230911/ConsoleApp1/bin/Debug/asd.txt.txt b/20230911/ConsoleApp1/bin/Debug/asd.txt.txt deleted file mode 100644 index 9554089..0000000 --- a/20230911/ConsoleApp1/bin/Debug/asd.txt.txt +++ /dev/null @@ -1,6 +0,0 @@ -asd -asd -WE -QWN -ewersefsdf -dfq \ No newline at end of file diff --git a/20230911/ConsoleApp1/obj/Debug/.NETFramework,Version=v4.7.2.AssemblyAttributes.cs b/20230911/ConsoleApp1/obj/Debug/.NETFramework,Version=v4.7.2.AssemblyAttributes.cs deleted file mode 100644 index 3871b18..0000000 --- a/20230911/ConsoleApp1/obj/Debug/.NETFramework,Version=v4.7.2.AssemblyAttributes.cs +++ /dev/null @@ -1,4 +0,0 @@ -// -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/20230911/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.AssemblyReference.cache b/20230911/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.AssemblyReference.cache deleted file mode 100644 index f5e894a..0000000 Binary files a/20230911/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.AssemblyReference.cache and /dev/null differ diff --git a/20230911/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.CoreCompileInputs.cache b/20230911/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.CoreCompileInputs.cache deleted file mode 100644 index ee191d7..0000000 --- a/20230911/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.CoreCompileInputs.cache +++ /dev/null @@ -1 +0,0 @@ -7f4b213b428f4c013f19137338418ee1f5525793 diff --git a/20230911/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.FileListAbsolute.txt b/20230911/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.FileListAbsolute.txt deleted file mode 100644 index 68b6555..0000000 --- a/20230911/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.FileListAbsolute.txt +++ /dev/null @@ -1,7 +0,0 @@ -C:\Users\szabomarton\Desktop\C#\20230911\ConsoleApp1\bin\Debug\ConsoleApp1.exe.config -C:\Users\szabomarton\Desktop\C#\20230911\ConsoleApp1\bin\Debug\ConsoleApp1.exe -C:\Users\szabomarton\Desktop\C#\20230911\ConsoleApp1\bin\Debug\ConsoleApp1.pdb -C:\Users\szabomarton\Desktop\C#\20230911\ConsoleApp1\obj\Debug\ConsoleApp1.csproj.AssemblyReference.cache -C:\Users\szabomarton\Desktop\C#\20230911\ConsoleApp1\obj\Debug\ConsoleApp1.csproj.CoreCompileInputs.cache -C:\Users\szabomarton\Desktop\C#\20230911\ConsoleApp1\obj\Debug\ConsoleApp1.exe -C:\Users\szabomarton\Desktop\C#\20230911\ConsoleApp1\obj\Debug\ConsoleApp1.pdb diff --git a/20230911/ConsoleApp1/obj/Debug/ConsoleApp1.exe b/20230911/ConsoleApp1/obj/Debug/ConsoleApp1.exe deleted file mode 100644 index 87371cc..0000000 Binary files a/20230911/ConsoleApp1/obj/Debug/ConsoleApp1.exe and /dev/null differ diff --git a/20230911/ConsoleApp1/obj/Debug/ConsoleApp1.pdb b/20230911/ConsoleApp1/obj/Debug/ConsoleApp1.pdb deleted file mode 100644 index adb63b7..0000000 Binary files a/20230911/ConsoleApp1/obj/Debug/ConsoleApp1.pdb and /dev/null differ diff --git a/20230911/ConsoleApp1/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/20230911/ConsoleApp1/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache deleted file mode 100644 index d993fd8..0000000 Binary files a/20230911/ConsoleApp1/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache and /dev/null differ diff --git a/20230911/ConsoleApp2/.vs/ConsoleApp2/v16/.suo b/20230911/ConsoleApp2/.vs/ConsoleApp2/v16/.suo deleted file mode 100644 index 449be8b..0000000 Binary files a/20230911/ConsoleApp2/.vs/ConsoleApp2/v16/.suo and /dev/null differ diff --git a/20230911/ConsoleApp2/App.config b/20230911/ConsoleApp2/App.config deleted file mode 100644 index 56efbc7..0000000 --- a/20230911/ConsoleApp2/App.config +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/20230911/ConsoleApp2/ConsoleApp2.csproj b/20230911/ConsoleApp2/ConsoleApp2.csproj deleted file mode 100644 index 2ab25aa..0000000 --- a/20230911/ConsoleApp2/ConsoleApp2.csproj +++ /dev/null @@ -1,53 +0,0 @@ - - - - - Debug - AnyCPU - {63FA3D3A-76D7-41A7-8961-6C9788A7BAED} - Exe - ConsoleApp2 - ConsoleApp2 - 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/20230911/ConsoleApp2/ConsoleApp2.sln b/20230911/ConsoleApp2/ConsoleApp2.sln deleted file mode 100644 index 36a6342..0000000 --- a/20230911/ConsoleApp2/ConsoleApp2.sln +++ /dev/null @@ -1,25 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 16 -VisualStudioVersion = 16.0.33529.622 -MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ConsoleApp2", "ConsoleApp2.csproj", "{63FA3D3A-76D7-41A7-8961-6C9788A7BAED}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Release|Any CPU = Release|Any CPU - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {63FA3D3A-76D7-41A7-8961-6C9788A7BAED}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {63FA3D3A-76D7-41A7-8961-6C9788A7BAED}.Debug|Any CPU.Build.0 = Debug|Any CPU - {63FA3D3A-76D7-41A7-8961-6C9788A7BAED}.Release|Any CPU.ActiveCfg = Release|Any CPU - {63FA3D3A-76D7-41A7-8961-6C9788A7BAED}.Release|Any CPU.Build.0 = Release|Any CPU - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection - GlobalSection(ExtensibilityGlobals) = postSolution - SolutionGuid = {5C42103E-C5B0-49F2-9D61-7B580AC7A313} - EndGlobalSection -EndGlobal diff --git a/20230911/ConsoleApp2/Program.cs b/20230911/ConsoleApp2/Program.cs deleted file mode 100644 index 084deb1..0000000 --- a/20230911/ConsoleApp2/Program.cs +++ /dev/null @@ -1,54 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -using System.IO; - -namespace ConsoleApp2 -{ - class Program - { - static void Feladat3() - { - string egeszSzoveg; - char[] karakterek = { }; - FileStream fs = new FileStream(@"asdasd.txt", FileMode.Open, FileAccess.Read); - StreamReader sr = new StreamReader(fs, Encoding.Default); - egeszSzoveg = sr.ReadToEnd(); - int karakterIndex = 0; - int ennyivan = 0; - for (int i = 0; i < egeszSzoveg.Length; ++i) - { - if (!karakterek.Contains(egeszSzoveg[i])) - { - karakterek = karakterek.Append(egeszSzoveg[i]).ToArray(); - } - } - - Array.Sort(karakterek); - - while (karakterIndex < karakterek.Length) - { - for (int i = 0; i < egeszSzoveg.Length; ++i) - { - if (egeszSzoveg[i] == karakterek[karakterIndex]) - { - ennyivan++; - } - } - Console.WriteLine($"Ennyi {karakterek[karakterIndex]} van: {ennyivan}"); - karakterIndex++; - ennyivan = 0; - } - - sr.Close(); - fs.Close(); - } - static void Main(string[] args) - { - Feladat3(); - Console.ReadLine(); - } - } -} diff --git a/20230911/ConsoleApp2/Properties/AssemblyInfo.cs b/20230911/ConsoleApp2/Properties/AssemblyInfo.cs deleted file mode 100644 index 062ada7..0000000 --- a/20230911/ConsoleApp2/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,36 +0,0 @@ -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("ConsoleApp2")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("ConsoleApp2")] -[assembly: AssemblyCopyright("Copyright © 2023")] -[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("63fa3d3a-76d7-41a7-8961-6c9788a7baed")] - -// 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/20230911/ConsoleApp2/bin/Debug/ConsoleApp2.exe b/20230911/ConsoleApp2/bin/Debug/ConsoleApp2.exe deleted file mode 100644 index 5208753..0000000 Binary files a/20230911/ConsoleApp2/bin/Debug/ConsoleApp2.exe and /dev/null differ diff --git a/20230911/ConsoleApp2/bin/Debug/ConsoleApp2.exe.config b/20230911/ConsoleApp2/bin/Debug/ConsoleApp2.exe.config deleted file mode 100644 index 56efbc7..0000000 --- a/20230911/ConsoleApp2/bin/Debug/ConsoleApp2.exe.config +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/20230911/ConsoleApp2/bin/Debug/ConsoleApp2.pdb b/20230911/ConsoleApp2/bin/Debug/ConsoleApp2.pdb deleted file mode 100644 index 34b4bb5..0000000 Binary files a/20230911/ConsoleApp2/bin/Debug/ConsoleApp2.pdb and /dev/null differ diff --git a/20230911/ConsoleApp2/bin/Debug/asdasd.txt.txt b/20230911/ConsoleApp2/bin/Debug/asdasd.txt.txt deleted file mode 100644 index e5b5614..0000000 --- a/20230911/ConsoleApp2/bin/Debug/asdasd.txt.txt +++ /dev/null @@ -1,2 +0,0 @@ -asd -sda \ No newline at end of file diff --git a/20230911/ConsoleApp2/obj/Debug/.NETFramework,Version=v4.7.2.AssemblyAttributes.cs b/20230911/ConsoleApp2/obj/Debug/.NETFramework,Version=v4.7.2.AssemblyAttributes.cs deleted file mode 100644 index 3871b18..0000000 --- a/20230911/ConsoleApp2/obj/Debug/.NETFramework,Version=v4.7.2.AssemblyAttributes.cs +++ /dev/null @@ -1,4 +0,0 @@ -// -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/20230911/ConsoleApp2/obj/Debug/ConsoleApp2.csproj.AssemblyReference.cache b/20230911/ConsoleApp2/obj/Debug/ConsoleApp2.csproj.AssemblyReference.cache deleted file mode 100644 index f5e894a..0000000 Binary files a/20230911/ConsoleApp2/obj/Debug/ConsoleApp2.csproj.AssemblyReference.cache and /dev/null differ diff --git a/20230911/ConsoleApp2/obj/Debug/ConsoleApp2.csproj.CoreCompileInputs.cache b/20230911/ConsoleApp2/obj/Debug/ConsoleApp2.csproj.CoreCompileInputs.cache deleted file mode 100644 index ee191d7..0000000 --- a/20230911/ConsoleApp2/obj/Debug/ConsoleApp2.csproj.CoreCompileInputs.cache +++ /dev/null @@ -1 +0,0 @@ -7f4b213b428f4c013f19137338418ee1f5525793 diff --git a/20230911/ConsoleApp2/obj/Debug/ConsoleApp2.csproj.FileListAbsolute.txt b/20230911/ConsoleApp2/obj/Debug/ConsoleApp2.csproj.FileListAbsolute.txt deleted file mode 100644 index da14014..0000000 --- a/20230911/ConsoleApp2/obj/Debug/ConsoleApp2.csproj.FileListAbsolute.txt +++ /dev/null @@ -1,7 +0,0 @@ -C:\Users\szabomarton\Desktop\C#\20230911\ConsoleApp2\bin\Debug\ConsoleApp2.exe.config -C:\Users\szabomarton\Desktop\C#\20230911\ConsoleApp2\bin\Debug\ConsoleApp2.exe -C:\Users\szabomarton\Desktop\C#\20230911\ConsoleApp2\bin\Debug\ConsoleApp2.pdb -C:\Users\szabomarton\Desktop\C#\20230911\ConsoleApp2\obj\Debug\ConsoleApp2.csproj.AssemblyReference.cache -C:\Users\szabomarton\Desktop\C#\20230911\ConsoleApp2\obj\Debug\ConsoleApp2.csproj.CoreCompileInputs.cache -C:\Users\szabomarton\Desktop\C#\20230911\ConsoleApp2\obj\Debug\ConsoleApp2.exe -C:\Users\szabomarton\Desktop\C#\20230911\ConsoleApp2\obj\Debug\ConsoleApp2.pdb diff --git a/20230911/ConsoleApp2/obj/Debug/ConsoleApp2.exe b/20230911/ConsoleApp2/obj/Debug/ConsoleApp2.exe deleted file mode 100644 index 5208753..0000000 Binary files a/20230911/ConsoleApp2/obj/Debug/ConsoleApp2.exe and /dev/null differ diff --git a/20230911/ConsoleApp2/obj/Debug/ConsoleApp2.pdb b/20230911/ConsoleApp2/obj/Debug/ConsoleApp2.pdb deleted file mode 100644 index 34b4bb5..0000000 Binary files a/20230911/ConsoleApp2/obj/Debug/ConsoleApp2.pdb and /dev/null differ diff --git a/20230911/ConsoleApp2/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/20230911/ConsoleApp2/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache deleted file mode 100644 index 9f69432..0000000 Binary files a/20230911/ConsoleApp2/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache and /dev/null differ diff --git a/20230913_doga/ConsoleApp1/.vs/ConsoleApp1/v16/.suo b/20230913_doga/ConsoleApp1/.vs/ConsoleApp1/v16/.suo deleted file mode 100644 index 619787a..0000000 Binary files a/20230913_doga/ConsoleApp1/.vs/ConsoleApp1/v16/.suo and /dev/null differ diff --git a/20230913_doga/ConsoleApp1/bin/Debug/ConsoleApp1.exe b/20230913_doga/ConsoleApp1/bin/Debug/ConsoleApp1.exe deleted file mode 100644 index e9fbd67..0000000 Binary files a/20230913_doga/ConsoleApp1/bin/Debug/ConsoleApp1.exe and /dev/null differ diff --git a/20230913_doga/ConsoleApp1/bin/Debug/ConsoleApp1.pdb b/20230913_doga/ConsoleApp1/bin/Debug/ConsoleApp1.pdb deleted file mode 100644 index 28a223a..0000000 Binary files a/20230913_doga/ConsoleApp1/bin/Debug/ConsoleApp1.pdb and /dev/null differ diff --git a/20230913_doga/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.AssemblyReference.cache b/20230913_doga/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.AssemblyReference.cache deleted file mode 100644 index f5e894a..0000000 Binary files a/20230913_doga/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.AssemblyReference.cache and /dev/null differ diff --git a/20230913_doga/ConsoleApp1/obj/Debug/ConsoleApp1.exe b/20230913_doga/ConsoleApp1/obj/Debug/ConsoleApp1.exe deleted file mode 100644 index e9fbd67..0000000 Binary files a/20230913_doga/ConsoleApp1/obj/Debug/ConsoleApp1.exe and /dev/null differ diff --git a/20230913_doga/ConsoleApp1/obj/Debug/ConsoleApp1.pdb b/20230913_doga/ConsoleApp1/obj/Debug/ConsoleApp1.pdb deleted file mode 100644 index 28a223a..0000000 Binary files a/20230913_doga/ConsoleApp1/obj/Debug/ConsoleApp1.pdb and /dev/null differ diff --git a/20230913_doga/DolgozatA.pdf b/20230913_doga/DolgozatA.pdf deleted file mode 100644 index 1b7c7cf..0000000 Binary files a/20230913_doga/DolgozatA.pdf and /dev/null differ diff --git a/20230913_doga/DolgozatB.pdf b/20230913_doga/DolgozatB.pdf deleted file mode 100644 index a59e081..0000000 Binary files a/20230913_doga/DolgozatB.pdf and /dev/null differ diff --git a/20230918/ConsoleApp1/.vs/ConsoleApp1/v16/.suo b/20230918/ConsoleApp1/.vs/ConsoleApp1/v16/.suo deleted file mode 100644 index 5a61d26..0000000 Binary files a/20230918/ConsoleApp1/.vs/ConsoleApp1/v16/.suo and /dev/null differ diff --git a/20230918/ConsoleApp1/App.config b/20230918/ConsoleApp1/App.config deleted file mode 100644 index 56efbc7..0000000 --- a/20230918/ConsoleApp1/App.config +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/20230918/ConsoleApp1/ConsoleApp1.csproj b/20230918/ConsoleApp1/ConsoleApp1.csproj deleted file mode 100644 index 8e9759d..0000000 --- a/20230918/ConsoleApp1/ConsoleApp1.csproj +++ /dev/null @@ -1,53 +0,0 @@ - - - - - Debug - AnyCPU - {EC6B1EA9-EFEA-4037-83F4-C4FCD03C3ED0} - 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/20230918/ConsoleApp1/ConsoleApp1.sln b/20230918/ConsoleApp1/ConsoleApp1.sln deleted file mode 100644 index 4af3d03..0000000 --- a/20230918/ConsoleApp1/ConsoleApp1.sln +++ /dev/null @@ -1,25 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 16 -VisualStudioVersion = 16.0.33529.622 -MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ConsoleApp1", "ConsoleApp1.csproj", "{EC6B1EA9-EFEA-4037-83F4-C4FCD03C3ED0}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Release|Any CPU = Release|Any CPU - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {EC6B1EA9-EFEA-4037-83F4-C4FCD03C3ED0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {EC6B1EA9-EFEA-4037-83F4-C4FCD03C3ED0}.Debug|Any CPU.Build.0 = Debug|Any CPU - {EC6B1EA9-EFEA-4037-83F4-C4FCD03C3ED0}.Release|Any CPU.ActiveCfg = Release|Any CPU - {EC6B1EA9-EFEA-4037-83F4-C4FCD03C3ED0}.Release|Any CPU.Build.0 = Release|Any CPU - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection - GlobalSection(ExtensibilityGlobals) = postSolution - SolutionGuid = {0223D6F6-1BC6-435B-A3DA-7FCDED0C50A3} - EndGlobalSection -EndGlobal diff --git a/20230918/ConsoleApp1/Program.cs b/20230918/ConsoleApp1/Program.cs deleted file mode 100644 index e7cb873..0000000 --- a/20230918/ConsoleApp1/Program.cs +++ /dev/null @@ -1,200 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace ConsoleApp1 -{ - class Program - { - public static class GlobalData - { - public static int[] szamok = new int[100]; - public static int[] kisebb250 = { }; - } - - static void Feladat1() - { - Random random = new Random(); - for (int i = 0; i < GlobalData.szamok.Length; i++) - { - GlobalData.szamok[i] = random.Next(100, 500); - } - } - - static void Feladat2() - { - int sum = 0; - foreach (int n in GlobalData.szamok) - { - sum += n; - } - Console.WriteLine(sum); - } - - static void Feladat3() - { - bool van100 = false; - foreach (int n in GlobalData.szamok) - { - if (n == 100) - { - van100 = true; - break; - } - } - if (van100) - { - Console.WriteLine("Van 100 a listában."); - } else - { - Console.WriteLine("Nincs 100 a listában."); - } - } - - static void Feladat4() - { - int max = GlobalData.szamok[0]; - foreach (int n in GlobalData.szamok) - { - if (n > max) - { - max = n; - } - } - Console.WriteLine($"A legnagyobb szám: {max}"); - } - - static void Feladat5() - { - int min = GlobalData.szamok[0]; - foreach (int n in GlobalData.szamok) - { - if (n < min) - { - min = n; - } - } - Console.WriteLine($"A legkisebb szám: {min}"); - } - - static void Feladat6() - { - foreach (int n in GlobalData.szamok) - { - if (n < 250) - { - GlobalData.kisebb250 = GlobalData.kisebb250.Append(n).ToArray(); - } - } - } - - static void Feladat7(int keresendo) - { - int index = 0; - for (int i = 0; i < GlobalData.kisebb250.Length; i++) - { - if(GlobalData.kisebb250[i] == keresendo) - { - index = i; - break; - } - index = -1; - } - - if (index == -1) - { - Console.WriteLine("Nincs ilyen elem."); - } else - { - Console.WriteLine($"Az elem indexe: {index}"); - } - - } - - static void Feladat8() - { - for (int j = 0; j < GlobalData.kisebb250.Length; j++) - { - for (int g = 0; g < GlobalData.kisebb250.Length; g++) - { - if (GlobalData.kisebb250[j] < GlobalData.kisebb250[g]) - { - int seged = GlobalData.kisebb250[j]; - GlobalData.kisebb250[j] = GlobalData.kisebb250[g]; - GlobalData.kisebb250[g] = seged; - } - } - } - - foreach (int n in GlobalData.kisebb250) - { - Console.WriteLine(n); - } - } - - static void Feladat9() - { - int lngt = GlobalData.szamok.Length; - for (int j = 0; j < lngt; j++) - { - for (int g = 0; g < (lngt - 1); g++) - { - if (GlobalData.szamok[g] > GlobalData.szamok[g + 1]) - { - int seged = GlobalData.szamok[g + 1]; - GlobalData.szamok[g + 1] = GlobalData.szamok[g]; - GlobalData.szamok[g] = seged; - } - } - } - - foreach (int n in GlobalData.szamok) - { - Console.WriteLine(n); - } - } - - static void Feladat10(int keresendo) - { - Console.WriteLine(Array.BinarySearch(GlobalData.szamok, keresendo)); - } - - static void Feladat11(int keresendo) - { - Console.WriteLine(Array.BinarySearch(GlobalData.szamok, keresendo)); - - int i = GlobalData.szamok.Length / 2; - int megold = -1; - int ciklus = 2; - while (megold == -1) - { - if (GlobalData.szamok[i] > keresendo) - { - int num = Convert.ToInt32(Math.Pow(2, ciklus)); - i += GlobalData.szamok.Length / (num); - } else - { - int num = Convert.ToInt32(Math.Pow(2, ciklus)); - i -= GlobalData.szamok.Length / (num); - } - } - } - static void Main(string[] args) - { - Feladat1(); - Feladat2(); - Feladat3(); - Feladat4(); - Feladat5(); - Feladat6(); - Feladat7(150); - Feladat8(); - Feladat9(); - Feladat10(150); - Feladat11(150); - Console.ReadLine(); - } - } -} diff --git a/20230918/ConsoleApp1/Properties/AssemblyInfo.cs b/20230918/ConsoleApp1/Properties/AssemblyInfo.cs deleted file mode 100644 index dd82072..0000000 --- a/20230918/ConsoleApp1/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,36 +0,0 @@ -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 © 2023")] -[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("ec6b1ea9-efea-4037-83f4-c4fcd03c3ed0")] - -// 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/20230918/ConsoleApp1/bin/Debug/ConsoleApp1.exe b/20230918/ConsoleApp1/bin/Debug/ConsoleApp1.exe deleted file mode 100644 index cf15e71..0000000 Binary files a/20230918/ConsoleApp1/bin/Debug/ConsoleApp1.exe and /dev/null differ diff --git a/20230918/ConsoleApp1/bin/Debug/ConsoleApp1.exe.config b/20230918/ConsoleApp1/bin/Debug/ConsoleApp1.exe.config deleted file mode 100644 index 56efbc7..0000000 --- a/20230918/ConsoleApp1/bin/Debug/ConsoleApp1.exe.config +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/20230918/ConsoleApp1/bin/Debug/ConsoleApp1.pdb b/20230918/ConsoleApp1/bin/Debug/ConsoleApp1.pdb deleted file mode 100644 index 8a269f0..0000000 Binary files a/20230918/ConsoleApp1/bin/Debug/ConsoleApp1.pdb and /dev/null differ diff --git a/20230918/ConsoleApp1/obj/Debug/.NETFramework,Version=v4.7.2.AssemblyAttributes.cs b/20230918/ConsoleApp1/obj/Debug/.NETFramework,Version=v4.7.2.AssemblyAttributes.cs deleted file mode 100644 index 3871b18..0000000 --- a/20230918/ConsoleApp1/obj/Debug/.NETFramework,Version=v4.7.2.AssemblyAttributes.cs +++ /dev/null @@ -1,4 +0,0 @@ -// -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/20230918/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.AssemblyReference.cache b/20230918/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.AssemblyReference.cache deleted file mode 100644 index f5e894a..0000000 Binary files a/20230918/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.AssemblyReference.cache and /dev/null differ diff --git a/20230918/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.CoreCompileInputs.cache b/20230918/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.CoreCompileInputs.cache deleted file mode 100644 index ee191d7..0000000 --- a/20230918/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.CoreCompileInputs.cache +++ /dev/null @@ -1 +0,0 @@ -7f4b213b428f4c013f19137338418ee1f5525793 diff --git a/20230918/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.FileListAbsolute.txt b/20230918/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.FileListAbsolute.txt deleted file mode 100644 index 6d15f6b..0000000 --- a/20230918/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.FileListAbsolute.txt +++ /dev/null @@ -1,7 +0,0 @@ -C:\Users\szabomarton\Desktop\C#\20230918\ConsoleApp1\bin\Debug\ConsoleApp1.exe.config -C:\Users\szabomarton\Desktop\C#\20230918\ConsoleApp1\bin\Debug\ConsoleApp1.exe -C:\Users\szabomarton\Desktop\C#\20230918\ConsoleApp1\bin\Debug\ConsoleApp1.pdb -C:\Users\szabomarton\Desktop\C#\20230918\ConsoleApp1\obj\Debug\ConsoleApp1.csproj.AssemblyReference.cache -C:\Users\szabomarton\Desktop\C#\20230918\ConsoleApp1\obj\Debug\ConsoleApp1.csproj.CoreCompileInputs.cache -C:\Users\szabomarton\Desktop\C#\20230918\ConsoleApp1\obj\Debug\ConsoleApp1.exe -C:\Users\szabomarton\Desktop\C#\20230918\ConsoleApp1\obj\Debug\ConsoleApp1.pdb diff --git a/20230918/ConsoleApp1/obj/Debug/ConsoleApp1.exe b/20230918/ConsoleApp1/obj/Debug/ConsoleApp1.exe deleted file mode 100644 index cf15e71..0000000 Binary files a/20230918/ConsoleApp1/obj/Debug/ConsoleApp1.exe and /dev/null differ diff --git a/20230918/ConsoleApp1/obj/Debug/ConsoleApp1.pdb b/20230918/ConsoleApp1/obj/Debug/ConsoleApp1.pdb deleted file mode 100644 index 8a269f0..0000000 Binary files a/20230918/ConsoleApp1/obj/Debug/ConsoleApp1.pdb and /dev/null differ diff --git a/20230918/ConsoleApp1/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/20230918/ConsoleApp1/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache deleted file mode 100644 index 283eaac..0000000 Binary files a/20230918/ConsoleApp1/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache and /dev/null differ diff --git a/20230920/ConsoleApp1/.vs/ConsoleApp1/v16/.suo b/20230920/ConsoleApp1/.vs/ConsoleApp1/v16/.suo deleted file mode 100644 index 9122da8..0000000 Binary files a/20230920/ConsoleApp1/.vs/ConsoleApp1/v16/.suo and /dev/null differ diff --git a/20230920/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.AssemblyReference.cache b/20230920/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.AssemblyReference.cache deleted file mode 100644 index 4eb356a..0000000 Binary files a/20230920/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.AssemblyReference.cache and /dev/null differ diff --git a/20230920/ConsoleApp1/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/20230920/ConsoleApp1/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache deleted file mode 100644 index 42fbe6b..0000000 Binary files a/20230920/ConsoleApp1/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache and /dev/null differ diff --git a/20230920/ConsoleApp2/.vs/ConsoleApp2/v16/.suo b/20230920/ConsoleApp2/.vs/ConsoleApp2/v16/.suo deleted file mode 100644 index 9f8407c..0000000 Binary files a/20230920/ConsoleApp2/.vs/ConsoleApp2/v16/.suo and /dev/null differ diff --git a/20230920/ConsoleApp2/bin/Debug/ConsoleApp2.exe b/20230920/ConsoleApp2/bin/Debug/ConsoleApp2.exe deleted file mode 100644 index 6c0c363..0000000 Binary files a/20230920/ConsoleApp2/bin/Debug/ConsoleApp2.exe and /dev/null differ diff --git a/20230920/ConsoleApp2/bin/Debug/ConsoleApp2.pdb b/20230920/ConsoleApp2/bin/Debug/ConsoleApp2.pdb deleted file mode 100644 index 44cf3d7..0000000 Binary files a/20230920/ConsoleApp2/bin/Debug/ConsoleApp2.pdb and /dev/null differ diff --git a/20230920/ConsoleApp2/obj/Debug/ConsoleApp2.csproj.AssemblyReference.cache b/20230920/ConsoleApp2/obj/Debug/ConsoleApp2.csproj.AssemblyReference.cache deleted file mode 100644 index f5e894a..0000000 Binary files a/20230920/ConsoleApp2/obj/Debug/ConsoleApp2.csproj.AssemblyReference.cache and /dev/null differ diff --git a/20230920/ConsoleApp2/obj/Debug/ConsoleApp2.exe b/20230920/ConsoleApp2/obj/Debug/ConsoleApp2.exe deleted file mode 100644 index 6c0c363..0000000 Binary files a/20230920/ConsoleApp2/obj/Debug/ConsoleApp2.exe and /dev/null differ diff --git a/20230920/ConsoleApp2/obj/Debug/ConsoleApp2.pdb b/20230920/ConsoleApp2/obj/Debug/ConsoleApp2.pdb deleted file mode 100644 index 44cf3d7..0000000 Binary files a/20230920/ConsoleApp2/obj/Debug/ConsoleApp2.pdb and /dev/null differ diff --git a/20230920/ConsoleApp2/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/20230920/ConsoleApp2/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache deleted file mode 100644 index e148318..0000000 Binary files a/20230920/ConsoleApp2/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache and /dev/null differ diff --git a/20230925/ConsoleApp1/.vs/ConsoleApp1/v16/.suo b/20230925/ConsoleApp1/.vs/ConsoleApp1/v16/.suo deleted file mode 100644 index d53cb04..0000000 Binary files a/20230925/ConsoleApp1/.vs/ConsoleApp1/v16/.suo and /dev/null differ diff --git a/20230925/ConsoleApp1/App.config b/20230925/ConsoleApp1/App.config deleted file mode 100644 index 56efbc7..0000000 --- a/20230925/ConsoleApp1/App.config +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/20230925/ConsoleApp1/ConsoleApp1.csproj b/20230925/ConsoleApp1/ConsoleApp1.csproj deleted file mode 100644 index d7d1207..0000000 --- a/20230925/ConsoleApp1/ConsoleApp1.csproj +++ /dev/null @@ -1,53 +0,0 @@ - - - - - Debug - AnyCPU - {D9C6D66B-B867-4E06-B0EF-31C531ADA779} - 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/20230925/ConsoleApp1/ConsoleApp1.sln b/20230925/ConsoleApp1/ConsoleApp1.sln deleted file mode 100644 index d3ab044..0000000 --- a/20230925/ConsoleApp1/ConsoleApp1.sln +++ /dev/null @@ -1,25 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 16 -VisualStudioVersion = 16.0.33529.622 -MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ConsoleApp1", "ConsoleApp1.csproj", "{D9C6D66B-B867-4E06-B0EF-31C531ADA779}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Release|Any CPU = Release|Any CPU - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {D9C6D66B-B867-4E06-B0EF-31C531ADA779}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {D9C6D66B-B867-4E06-B0EF-31C531ADA779}.Debug|Any CPU.Build.0 = Debug|Any CPU - {D9C6D66B-B867-4E06-B0EF-31C531ADA779}.Release|Any CPU.ActiveCfg = Release|Any CPU - {D9C6D66B-B867-4E06-B0EF-31C531ADA779}.Release|Any CPU.Build.0 = Release|Any CPU - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection - GlobalSection(ExtensibilityGlobals) = postSolution - SolutionGuid = {B5D67275-86C5-4833-8AF0-2906915C859E} - EndGlobalSection -EndGlobal diff --git a/20230925/ConsoleApp1/Program.cs b/20230925/ConsoleApp1/Program.cs deleted file mode 100644 index e5efc16..0000000 --- a/20230925/ConsoleApp1/Program.cs +++ /dev/null @@ -1,84 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -using System.Collections; - -namespace ConsoleApp1 -{ - class Program - { - static void Feladat1() - { - ArrayList arlist = new ArrayList(); - Random random = new Random(); - for (int i = 0; i < 100; ++i) - { - int x = random.Next(100, 500); - arlist.Add(x); - } - - foreach (int i in arlist) - { - Console.WriteLine(i); - } - - int a = arlist.Count; - int b = arlist.Capacity; - bool c = arlist.Contains(125); - arlist.Sort(); - Console.WriteLine(""); - Console.WriteLine(a); - Console.WriteLine(b); - Console.WriteLine(c); - Console.WriteLine(""); - - foreach (int i in arlist) - { - Console.WriteLine(i); - } - arlist.Clear(); - - foreach (int i in arlist) - { - Console.WriteLine(i); - } - - - } - - static void Feladat2() - { - string maidatum = ""; - ArrayList date_0 = new ArrayList(); - ArrayList date_1 = new ArrayList(); - ArrayList date_2 = new ArrayList(); - ArrayList date_3 = new ArrayList(); - ArrayList date_4 = new ArrayList(); - maidatum = Console.ReadLine(); - do - { - string[] date = maidatum.Split('.'); - date_0.Add(date[0]); - date_1.Add(date[1]); - date_2.Add(date[2]); - date_3.Add(date[3]); - date_4.Add(date[4]); - maidatum = Console.ReadLine(); - } while (maidatum != "0"); - - for (int i = 0; i < date_0.Count; i++) - { - Console.WriteLine($"{date_0[i]}.{date_1[i]}.{date_2[i]} {date_3[i]}:{date_4[i]}"); - } - - - } - static void Main(string[] args) - { - Feladat2(); - Console.ReadLine(); - } - } -} diff --git a/20230925/ConsoleApp1/Properties/AssemblyInfo.cs b/20230925/ConsoleApp1/Properties/AssemblyInfo.cs deleted file mode 100644 index fc7ec56..0000000 --- a/20230925/ConsoleApp1/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,36 +0,0 @@ -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 © 2023")] -[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("d9c6d66b-b867-4e06-b0ef-31c531ada779")] - -// 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/20230925/ConsoleApp1/bin/Debug/ConsoleApp1.exe b/20230925/ConsoleApp1/bin/Debug/ConsoleApp1.exe deleted file mode 100644 index ab2c859..0000000 Binary files a/20230925/ConsoleApp1/bin/Debug/ConsoleApp1.exe and /dev/null differ diff --git a/20230925/ConsoleApp1/bin/Debug/ConsoleApp1.exe.config b/20230925/ConsoleApp1/bin/Debug/ConsoleApp1.exe.config deleted file mode 100644 index 56efbc7..0000000 --- a/20230925/ConsoleApp1/bin/Debug/ConsoleApp1.exe.config +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/20230925/ConsoleApp1/bin/Debug/ConsoleApp1.pdb b/20230925/ConsoleApp1/bin/Debug/ConsoleApp1.pdb deleted file mode 100644 index 4a09701..0000000 Binary files a/20230925/ConsoleApp1/bin/Debug/ConsoleApp1.pdb and /dev/null differ diff --git a/20230925/ConsoleApp1/obj/Debug/.NETFramework,Version=v4.7.2.AssemblyAttributes.cs b/20230925/ConsoleApp1/obj/Debug/.NETFramework,Version=v4.7.2.AssemblyAttributes.cs deleted file mode 100644 index 3871b18..0000000 --- a/20230925/ConsoleApp1/obj/Debug/.NETFramework,Version=v4.7.2.AssemblyAttributes.cs +++ /dev/null @@ -1,4 +0,0 @@ -// -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/20230925/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.AssemblyReference.cache b/20230925/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.AssemblyReference.cache deleted file mode 100644 index f5e894a..0000000 Binary files a/20230925/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.AssemblyReference.cache and /dev/null differ diff --git a/20230925/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.CoreCompileInputs.cache b/20230925/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.CoreCompileInputs.cache deleted file mode 100644 index ee191d7..0000000 --- a/20230925/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.CoreCompileInputs.cache +++ /dev/null @@ -1 +0,0 @@ -7f4b213b428f4c013f19137338418ee1f5525793 diff --git a/20230925/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.FileListAbsolute.txt b/20230925/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.FileListAbsolute.txt deleted file mode 100644 index e39c024..0000000 --- a/20230925/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.FileListAbsolute.txt +++ /dev/null @@ -1,7 +0,0 @@ -C:\Users\szabomarton\Desktop\C#\20230925\ConsoleApp1\bin\Debug\ConsoleApp1.exe.config -C:\Users\szabomarton\Desktop\C#\20230925\ConsoleApp1\bin\Debug\ConsoleApp1.exe -C:\Users\szabomarton\Desktop\C#\20230925\ConsoleApp1\bin\Debug\ConsoleApp1.pdb -C:\Users\szabomarton\Desktop\C#\20230925\ConsoleApp1\obj\Debug\ConsoleApp1.csproj.AssemblyReference.cache -C:\Users\szabomarton\Desktop\C#\20230925\ConsoleApp1\obj\Debug\ConsoleApp1.csproj.CoreCompileInputs.cache -C:\Users\szabomarton\Desktop\C#\20230925\ConsoleApp1\obj\Debug\ConsoleApp1.exe -C:\Users\szabomarton\Desktop\C#\20230925\ConsoleApp1\obj\Debug\ConsoleApp1.pdb diff --git a/20230925/ConsoleApp1/obj/Debug/ConsoleApp1.exe b/20230925/ConsoleApp1/obj/Debug/ConsoleApp1.exe deleted file mode 100644 index ab2c859..0000000 Binary files a/20230925/ConsoleApp1/obj/Debug/ConsoleApp1.exe and /dev/null differ diff --git a/20230925/ConsoleApp1/obj/Debug/ConsoleApp1.pdb b/20230925/ConsoleApp1/obj/Debug/ConsoleApp1.pdb deleted file mode 100644 index 4a09701..0000000 Binary files a/20230925/ConsoleApp1/obj/Debug/ConsoleApp1.pdb and /dev/null differ diff --git a/20230925/ConsoleApp1/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/20230925/ConsoleApp1/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache deleted file mode 100644 index d6c7698..0000000 Binary files a/20230925/ConsoleApp1/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache and /dev/null differ diff --git a/20231002/ConsoleApp1/.vs/ConsoleApp1/v16/.suo b/20231002/ConsoleApp1/.vs/ConsoleApp1/v16/.suo deleted file mode 100644 index 3bd1a9a..0000000 Binary files a/20231002/ConsoleApp1/.vs/ConsoleApp1/v16/.suo and /dev/null differ diff --git a/20231002/ConsoleApp1/App.config b/20231002/ConsoleApp1/App.config deleted file mode 100644 index 56efbc7..0000000 --- a/20231002/ConsoleApp1/App.config +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/20231002/ConsoleApp1/ConsoleApp1.csproj b/20231002/ConsoleApp1/ConsoleApp1.csproj deleted file mode 100644 index e3c01c4..0000000 --- a/20231002/ConsoleApp1/ConsoleApp1.csproj +++ /dev/null @@ -1,53 +0,0 @@ - - - - - Debug - AnyCPU - {3B5A78CD-BF75-48E5-B477-0889846CDDBF} - 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/20231002/ConsoleApp1/ConsoleApp1.sln b/20231002/ConsoleApp1/ConsoleApp1.sln deleted file mode 100644 index 69f54a9..0000000 --- a/20231002/ConsoleApp1/ConsoleApp1.sln +++ /dev/null @@ -1,25 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 16 -VisualStudioVersion = 16.0.33529.622 -MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ConsoleApp1", "ConsoleApp1.csproj", "{3B5A78CD-BF75-48E5-B477-0889846CDDBF}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Release|Any CPU = Release|Any CPU - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {3B5A78CD-BF75-48E5-B477-0889846CDDBF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {3B5A78CD-BF75-48E5-B477-0889846CDDBF}.Debug|Any CPU.Build.0 = Debug|Any CPU - {3B5A78CD-BF75-48E5-B477-0889846CDDBF}.Release|Any CPU.ActiveCfg = Release|Any CPU - {3B5A78CD-BF75-48E5-B477-0889846CDDBF}.Release|Any CPU.Build.0 = Release|Any CPU - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection - GlobalSection(ExtensibilityGlobals) = postSolution - SolutionGuid = {AC6DB7A2-0EBC-4D61-9D1A-B8AB7BA4E8FE} - EndGlobalSection -EndGlobal diff --git a/20231002/ConsoleApp1/Program.cs b/20231002/ConsoleApp1/Program.cs deleted file mode 100644 index c60bfbd..0000000 --- a/20231002/ConsoleApp1/Program.cs +++ /dev/null @@ -1,16 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace ConsoleApp1 -{ - class Program - { - static void Main(string[] args) - { - - } - } -} diff --git a/20231002/ConsoleApp1/Properties/AssemblyInfo.cs b/20231002/ConsoleApp1/Properties/AssemblyInfo.cs deleted file mode 100644 index 69aab95..0000000 --- a/20231002/ConsoleApp1/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,36 +0,0 @@ -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 © 2023")] -[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("3b5a78cd-bf75-48e5-b477-0889846cddbf")] - -// 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/20231002/ConsoleApp1/obj/Debug/.NETFramework,Version=v4.7.2.AssemblyAttributes.cs b/20231002/ConsoleApp1/obj/Debug/.NETFramework,Version=v4.7.2.AssemblyAttributes.cs deleted file mode 100644 index 3871b18..0000000 --- a/20231002/ConsoleApp1/obj/Debug/.NETFramework,Version=v4.7.2.AssemblyAttributes.cs +++ /dev/null @@ -1,4 +0,0 @@ -// -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/20231002/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.AssemblyReference.cache b/20231002/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.AssemblyReference.cache deleted file mode 100644 index 4eb356a..0000000 Binary files a/20231002/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.AssemblyReference.cache and /dev/null differ diff --git a/20231002/ConsoleApp1/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/20231002/ConsoleApp1/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache deleted file mode 100644 index 7034223..0000000 Binary files a/20231002/ConsoleApp1/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache and /dev/null differ diff --git a/20231009/ConsoleApp1/.vs/ConsoleApp1/v16/.suo b/20231009/ConsoleApp1/.vs/ConsoleApp1/v16/.suo deleted file mode 100644 index e29b103..0000000 Binary files a/20231009/ConsoleApp1/.vs/ConsoleApp1/v16/.suo and /dev/null differ diff --git a/20231009/ConsoleApp1/App.config b/20231009/ConsoleApp1/App.config deleted file mode 100644 index 56efbc7..0000000 --- a/20231009/ConsoleApp1/App.config +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/20231009/ConsoleApp1/ConsoleApp1.csproj b/20231009/ConsoleApp1/ConsoleApp1.csproj deleted file mode 100644 index c4c4548..0000000 --- a/20231009/ConsoleApp1/ConsoleApp1.csproj +++ /dev/null @@ -1,53 +0,0 @@ - - - - - Debug - AnyCPU - {88485A13-FA53-4DB9-A9C2-A3A340605858} - 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/20231009/ConsoleApp1/ConsoleApp1.sln b/20231009/ConsoleApp1/ConsoleApp1.sln deleted file mode 100644 index 647a489..0000000 --- a/20231009/ConsoleApp1/ConsoleApp1.sln +++ /dev/null @@ -1,25 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 16 -VisualStudioVersion = 16.0.33529.622 -MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ConsoleApp1", "ConsoleApp1.csproj", "{88485A13-FA53-4DB9-A9C2-A3A340605858}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Release|Any CPU = Release|Any CPU - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {88485A13-FA53-4DB9-A9C2-A3A340605858}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {88485A13-FA53-4DB9-A9C2-A3A340605858}.Debug|Any CPU.Build.0 = Debug|Any CPU - {88485A13-FA53-4DB9-A9C2-A3A340605858}.Release|Any CPU.ActiveCfg = Release|Any CPU - {88485A13-FA53-4DB9-A9C2-A3A340605858}.Release|Any CPU.Build.0 = Release|Any CPU - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection - GlobalSection(ExtensibilityGlobals) = postSolution - SolutionGuid = {E165DBDD-2A2F-4A0B-844E-4C09FE543EF9} - EndGlobalSection -EndGlobal diff --git a/20231009/ConsoleApp1/Program.cs b/20231009/ConsoleApp1/Program.cs deleted file mode 100644 index ea9bacc..0000000 --- a/20231009/ConsoleApp1/Program.cs +++ /dev/null @@ -1,15 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace ConsoleApp1 -{ - class Program - { - static void Main(string[] args) - { - } - } -} diff --git a/20231009/ConsoleApp1/Properties/AssemblyInfo.cs b/20231009/ConsoleApp1/Properties/AssemblyInfo.cs deleted file mode 100644 index b948eab..0000000 --- a/20231009/ConsoleApp1/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,36 +0,0 @@ -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 © 2023")] -[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("88485a13-fa53-4db9-a9c2-a3a340605858")] - -// 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/20231009/ConsoleApp1/bin/Debug/ConsoleApp1.exe b/20231009/ConsoleApp1/bin/Debug/ConsoleApp1.exe deleted file mode 100644 index c512d7d..0000000 Binary files a/20231009/ConsoleApp1/bin/Debug/ConsoleApp1.exe and /dev/null differ diff --git a/20231009/ConsoleApp1/bin/Debug/ConsoleApp1.exe.config b/20231009/ConsoleApp1/bin/Debug/ConsoleApp1.exe.config deleted file mode 100644 index 56efbc7..0000000 --- a/20231009/ConsoleApp1/bin/Debug/ConsoleApp1.exe.config +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/20231009/ConsoleApp1/bin/Debug/ConsoleApp1.pdb b/20231009/ConsoleApp1/bin/Debug/ConsoleApp1.pdb deleted file mode 100644 index 8315025..0000000 Binary files a/20231009/ConsoleApp1/bin/Debug/ConsoleApp1.pdb and /dev/null differ diff --git a/20231009/ConsoleApp1/obj/Debug/.NETFramework,Version=v4.7.2.AssemblyAttributes.cs b/20231009/ConsoleApp1/obj/Debug/.NETFramework,Version=v4.7.2.AssemblyAttributes.cs deleted file mode 100644 index 3871b18..0000000 --- a/20231009/ConsoleApp1/obj/Debug/.NETFramework,Version=v4.7.2.AssemblyAttributes.cs +++ /dev/null @@ -1,4 +0,0 @@ -// -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/20231009/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.AssemblyReference.cache b/20231009/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.AssemblyReference.cache deleted file mode 100644 index 4eb356a..0000000 Binary files a/20231009/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.AssemblyReference.cache and /dev/null differ diff --git a/20231009/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.CoreCompileInputs.cache b/20231009/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.CoreCompileInputs.cache deleted file mode 100644 index ee191d7..0000000 --- a/20231009/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.CoreCompileInputs.cache +++ /dev/null @@ -1 +0,0 @@ -7f4b213b428f4c013f19137338418ee1f5525793 diff --git a/20231009/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.FileListAbsolute.txt b/20231009/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.FileListAbsolute.txt deleted file mode 100644 index 6f2dca4..0000000 --- a/20231009/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.FileListAbsolute.txt +++ /dev/null @@ -1,7 +0,0 @@ -C:\Users\szabomarton\Desktop\C#\20231009\ConsoleApp1\bin\Debug\ConsoleApp1.exe.config -C:\Users\szabomarton\Desktop\C#\20231009\ConsoleApp1\bin\Debug\ConsoleApp1.exe -C:\Users\szabomarton\Desktop\C#\20231009\ConsoleApp1\bin\Debug\ConsoleApp1.pdb -C:\Users\szabomarton\Desktop\C#\20231009\ConsoleApp1\obj\Debug\ConsoleApp1.csproj.AssemblyReference.cache -C:\Users\szabomarton\Desktop\C#\20231009\ConsoleApp1\obj\Debug\ConsoleApp1.csproj.CoreCompileInputs.cache -C:\Users\szabomarton\Desktop\C#\20231009\ConsoleApp1\obj\Debug\ConsoleApp1.exe -C:\Users\szabomarton\Desktop\C#\20231009\ConsoleApp1\obj\Debug\ConsoleApp1.pdb diff --git a/20231009/ConsoleApp1/obj/Debug/ConsoleApp1.exe b/20231009/ConsoleApp1/obj/Debug/ConsoleApp1.exe deleted file mode 100644 index c512d7d..0000000 Binary files a/20231009/ConsoleApp1/obj/Debug/ConsoleApp1.exe and /dev/null differ diff --git a/20231009/ConsoleApp1/obj/Debug/ConsoleApp1.pdb b/20231009/ConsoleApp1/obj/Debug/ConsoleApp1.pdb deleted file mode 100644 index 8315025..0000000 Binary files a/20231009/ConsoleApp1/obj/Debug/ConsoleApp1.pdb and /dev/null differ diff --git a/20231009/ConsoleApp1/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/20231009/ConsoleApp1/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache deleted file mode 100644 index 5e0891b..0000000 Binary files a/20231009/ConsoleApp1/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache and /dev/null differ diff --git a/20231011/ConsoleApp1/.vs/ConsoleApp1/v16/.suo b/20231011/ConsoleApp1/.vs/ConsoleApp1/v16/.suo deleted file mode 100644 index ffc27ba..0000000 Binary files a/20231011/ConsoleApp1/.vs/ConsoleApp1/v16/.suo and /dev/null differ diff --git a/20231011/ConsoleApp1/bin/Debug/ConsoleApp1.exe b/20231011/ConsoleApp1/bin/Debug/ConsoleApp1.exe deleted file mode 100644 index 2c13679..0000000 Binary files a/20231011/ConsoleApp1/bin/Debug/ConsoleApp1.exe and /dev/null differ diff --git a/20231011/ConsoleApp1/bin/Debug/ConsoleApp1.pdb b/20231011/ConsoleApp1/bin/Debug/ConsoleApp1.pdb deleted file mode 100644 index 5e562ba..0000000 Binary files a/20231011/ConsoleApp1/bin/Debug/ConsoleApp1.pdb and /dev/null differ diff --git a/20231011/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.AssemblyReference.cache b/20231011/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.AssemblyReference.cache deleted file mode 100644 index f5e894a..0000000 Binary files a/20231011/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.AssemblyReference.cache and /dev/null differ diff --git a/20231011/ConsoleApp1/obj/Debug/ConsoleApp1.exe b/20231011/ConsoleApp1/obj/Debug/ConsoleApp1.exe deleted file mode 100644 index 2c13679..0000000 Binary files a/20231011/ConsoleApp1/obj/Debug/ConsoleApp1.exe and /dev/null differ diff --git a/20231011/ConsoleApp1/obj/Debug/ConsoleApp1.pdb b/20231011/ConsoleApp1/obj/Debug/ConsoleApp1.pdb deleted file mode 100644 index 5e562ba..0000000 Binary files a/20231011/ConsoleApp1/obj/Debug/ConsoleApp1.pdb and /dev/null differ diff --git a/20231011/ConsoleApp1/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/20231011/ConsoleApp1/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache deleted file mode 100644 index 815c33e..0000000 Binary files a/20231011/ConsoleApp1/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache and /dev/null differ diff --git a/20231016/ConsoleApp1/.vs/ConsoleApp1/v16/.suo b/20231016/ConsoleApp1/.vs/ConsoleApp1/v16/.suo deleted file mode 100644 index 1f3ae80..0000000 Binary files a/20231016/ConsoleApp1/.vs/ConsoleApp1/v16/.suo and /dev/null differ diff --git a/20231016/ConsoleApp1/App.config b/20231016/ConsoleApp1/App.config deleted file mode 100644 index 56efbc7..0000000 --- a/20231016/ConsoleApp1/App.config +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/20231016/ConsoleApp1/ConsoleApp1.csproj b/20231016/ConsoleApp1/ConsoleApp1.csproj deleted file mode 100644 index 21c8798..0000000 --- a/20231016/ConsoleApp1/ConsoleApp1.csproj +++ /dev/null @@ -1,53 +0,0 @@ - - - - - Debug - AnyCPU - {2C9DE68F-6CB8-4038-BE20-F84954D5928D} - 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/20231016/ConsoleApp1/ConsoleApp1.sln b/20231016/ConsoleApp1/ConsoleApp1.sln deleted file mode 100644 index d0dd186..0000000 --- a/20231016/ConsoleApp1/ConsoleApp1.sln +++ /dev/null @@ -1,25 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 16 -VisualStudioVersion = 16.0.33529.622 -MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ConsoleApp1", "ConsoleApp1.csproj", "{2C9DE68F-6CB8-4038-BE20-F84954D5928D}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Release|Any CPU = Release|Any CPU - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {2C9DE68F-6CB8-4038-BE20-F84954D5928D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {2C9DE68F-6CB8-4038-BE20-F84954D5928D}.Debug|Any CPU.Build.0 = Debug|Any CPU - {2C9DE68F-6CB8-4038-BE20-F84954D5928D}.Release|Any CPU.ActiveCfg = Release|Any CPU - {2C9DE68F-6CB8-4038-BE20-F84954D5928D}.Release|Any CPU.Build.0 = Release|Any CPU - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection - GlobalSection(ExtensibilityGlobals) = postSolution - SolutionGuid = {3DF782F8-0FBC-4263-8342-344B114F084A} - EndGlobalSection -EndGlobal diff --git a/20231016/ConsoleApp1/Program.cs b/20231016/ConsoleApp1/Program.cs deleted file mode 100644 index 70c6d5e..0000000 --- a/20231016/ConsoleApp1/Program.cs +++ /dev/null @@ -1,62 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace ConsoleApp1 -{ - class MyClass - { - private string message; - - public MyClass() - { - message = "Üdvüzölek a MyClass osztályban!"; - } - - public MyClass(string Name) - { - message = $"Üdvüzölek {Name} a MyClass osztályban!"; - } - - public MyClass(int x, int y) - { - message = $"Üdvüzölek a MyClass osztályban! \nAz általad adott számok szorzata: {x*y}"; - } - - public MyClass(bool kedves) - { - if (kedves) - { - message = "Üdvüzölek a MyClass osztályban!"; - } else - { - message = "A MyClass osztályban vagy te gyász!"; - } - } - - public void Uzenet() - { - Console.WriteLine(message); - } - } - class Program - { - static void Main(string[] args) - { - MyClass valami = new MyClass(); - valami.Uzenet(); - MyClass Sanyi = new MyClass("Sanyi"); - Sanyi.Uzenet(); - MyClass Szamol = new MyClass(5, 7); - Szamol.Uzenet(); - MyClass kedves = new MyClass(true); - kedves.Uzenet(); - MyClass bunko = new MyClass(false); - bunko.Uzenet(); - - Console.ReadLine(); - } - } -} diff --git a/20231016/ConsoleApp1/Properties/AssemblyInfo.cs b/20231016/ConsoleApp1/Properties/AssemblyInfo.cs deleted file mode 100644 index 3c78f95..0000000 --- a/20231016/ConsoleApp1/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,36 +0,0 @@ -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 © 2023")] -[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("2c9de68f-6cb8-4038-be20-f84954d5928d")] - -// 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/20231016/ConsoleApp1/bin/Debug/ConsoleApp1.exe b/20231016/ConsoleApp1/bin/Debug/ConsoleApp1.exe deleted file mode 100644 index 5236ea4..0000000 Binary files a/20231016/ConsoleApp1/bin/Debug/ConsoleApp1.exe and /dev/null differ diff --git a/20231016/ConsoleApp1/bin/Debug/ConsoleApp1.exe.config b/20231016/ConsoleApp1/bin/Debug/ConsoleApp1.exe.config deleted file mode 100644 index 56efbc7..0000000 --- a/20231016/ConsoleApp1/bin/Debug/ConsoleApp1.exe.config +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/20231016/ConsoleApp1/bin/Debug/ConsoleApp1.pdb b/20231016/ConsoleApp1/bin/Debug/ConsoleApp1.pdb deleted file mode 100644 index 4f0dc12..0000000 Binary files a/20231016/ConsoleApp1/bin/Debug/ConsoleApp1.pdb and /dev/null differ diff --git a/20231016/ConsoleApp1/obj/Debug/.NETFramework,Version=v4.7.2.AssemblyAttributes.cs b/20231016/ConsoleApp1/obj/Debug/.NETFramework,Version=v4.7.2.AssemblyAttributes.cs deleted file mode 100644 index 3871b18..0000000 --- a/20231016/ConsoleApp1/obj/Debug/.NETFramework,Version=v4.7.2.AssemblyAttributes.cs +++ /dev/null @@ -1,4 +0,0 @@ -// -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/20231016/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.AssemblyReference.cache b/20231016/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.AssemblyReference.cache deleted file mode 100644 index 0da8ef2..0000000 Binary files a/20231016/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.AssemblyReference.cache and /dev/null differ diff --git a/20231016/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.CoreCompileInputs.cache b/20231016/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.CoreCompileInputs.cache deleted file mode 100644 index ee191d7..0000000 --- a/20231016/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.CoreCompileInputs.cache +++ /dev/null @@ -1 +0,0 @@ -7f4b213b428f4c013f19137338418ee1f5525793 diff --git a/20231016/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.FileListAbsolute.txt b/20231016/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.FileListAbsolute.txt deleted file mode 100644 index b82890a..0000000 --- a/20231016/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.FileListAbsolute.txt +++ /dev/null @@ -1,7 +0,0 @@ -C:\Users\szabomarton\Desktop\C#\20231016\ConsoleApp1\bin\Debug\ConsoleApp1.exe.config -C:\Users\szabomarton\Desktop\C#\20231016\ConsoleApp1\bin\Debug\ConsoleApp1.exe -C:\Users\szabomarton\Desktop\C#\20231016\ConsoleApp1\bin\Debug\ConsoleApp1.pdb -C:\Users\szabomarton\Desktop\C#\20231016\ConsoleApp1\obj\Debug\ConsoleApp1.csproj.AssemblyReference.cache -C:\Users\szabomarton\Desktop\C#\20231016\ConsoleApp1\obj\Debug\ConsoleApp1.csproj.CoreCompileInputs.cache -C:\Users\szabomarton\Desktop\C#\20231016\ConsoleApp1\obj\Debug\ConsoleApp1.exe -C:\Users\szabomarton\Desktop\C#\20231016\ConsoleApp1\obj\Debug\ConsoleApp1.pdb diff --git a/20231016/ConsoleApp1/obj/Debug/ConsoleApp1.exe b/20231016/ConsoleApp1/obj/Debug/ConsoleApp1.exe deleted file mode 100644 index 5236ea4..0000000 Binary files a/20231016/ConsoleApp1/obj/Debug/ConsoleApp1.exe and /dev/null differ diff --git a/20231016/ConsoleApp1/obj/Debug/ConsoleApp1.pdb b/20231016/ConsoleApp1/obj/Debug/ConsoleApp1.pdb deleted file mode 100644 index 4f0dc12..0000000 Binary files a/20231016/ConsoleApp1/obj/Debug/ConsoleApp1.pdb and /dev/null differ diff --git a/20231016/ConsoleApp1/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/20231016/ConsoleApp1/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache deleted file mode 100644 index d131949..0000000 Binary files a/20231016/ConsoleApp1/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache and /dev/null differ diff --git a/20231018/ConsoleApp1/.vs/ConsoleApp1/v16/.suo b/20231018/ConsoleApp1/.vs/ConsoleApp1/v16/.suo deleted file mode 100644 index ea384c8..0000000 Binary files a/20231018/ConsoleApp1/.vs/ConsoleApp1/v16/.suo and /dev/null differ diff --git a/20231018/ConsoleApp1/bin/Debug/ConsoleApp1.exe b/20231018/ConsoleApp1/bin/Debug/ConsoleApp1.exe deleted file mode 100644 index ed8c479..0000000 Binary files a/20231018/ConsoleApp1/bin/Debug/ConsoleApp1.exe and /dev/null differ diff --git a/20231018/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.AssemblyReference.cache b/20231018/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.AssemblyReference.cache deleted file mode 100644 index f5e894a..0000000 Binary files a/20231018/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.AssemblyReference.cache and /dev/null differ diff --git a/20231018/ConsoleApp1/obj/Debug/ConsoleApp1.exe b/20231018/ConsoleApp1/obj/Debug/ConsoleApp1.exe deleted file mode 100644 index ed8c479..0000000 Binary files a/20231018/ConsoleApp1/obj/Debug/ConsoleApp1.exe and /dev/null differ diff --git a/20231018/ConsoleApp1/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/20231018/ConsoleApp1/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache deleted file mode 100644 index 88c05b2..0000000 Binary files a/20231018/ConsoleApp1/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache and /dev/null differ diff --git a/20231018/ConsoleApp2/.vs/ConsoleApp2/v16/.suo b/20231018/ConsoleApp2/.vs/ConsoleApp2/v16/.suo deleted file mode 100644 index 5cb2ba6..0000000 Binary files a/20231018/ConsoleApp2/.vs/ConsoleApp2/v16/.suo and /dev/null differ diff --git a/20231018/ConsoleApp2/bin/Debug/ConsoleApp2.exe b/20231018/ConsoleApp2/bin/Debug/ConsoleApp2.exe deleted file mode 100644 index e4c4ce5..0000000 Binary files a/20231018/ConsoleApp2/bin/Debug/ConsoleApp2.exe and /dev/null differ diff --git a/20231018/ConsoleApp2/bin/Debug/ConsoleApp2.pdb b/20231018/ConsoleApp2/bin/Debug/ConsoleApp2.pdb deleted file mode 100644 index 66758c3..0000000 Binary files a/20231018/ConsoleApp2/bin/Debug/ConsoleApp2.pdb and /dev/null differ diff --git a/20231018/ConsoleApp2/obj/Debug/ConsoleApp2.csproj.AssemblyReference.cache b/20231018/ConsoleApp2/obj/Debug/ConsoleApp2.csproj.AssemblyReference.cache deleted file mode 100644 index 4eb356a..0000000 Binary files a/20231018/ConsoleApp2/obj/Debug/ConsoleApp2.csproj.AssemblyReference.cache and /dev/null differ diff --git a/20231018/ConsoleApp2/obj/Debug/ConsoleApp2.exe b/20231018/ConsoleApp2/obj/Debug/ConsoleApp2.exe deleted file mode 100644 index e4c4ce5..0000000 Binary files a/20231018/ConsoleApp2/obj/Debug/ConsoleApp2.exe and /dev/null differ diff --git a/20231018/ConsoleApp2/obj/Debug/ConsoleApp2.pdb b/20231018/ConsoleApp2/obj/Debug/ConsoleApp2.pdb deleted file mode 100644 index 66758c3..0000000 Binary files a/20231018/ConsoleApp2/obj/Debug/ConsoleApp2.pdb and /dev/null differ diff --git a/20231018/ConsoleApp2/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/20231018/ConsoleApp2/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache deleted file mode 100644 index 60dd226..0000000 Binary files a/20231018/ConsoleApp2/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache and /dev/null differ diff --git a/20231106/ConsoleApp1/.vs/ConsoleApp1/v16/.suo b/20231106/ConsoleApp1/.vs/ConsoleApp1/v16/.suo deleted file mode 100644 index 6e49a5b..0000000 Binary files a/20231106/ConsoleApp1/.vs/ConsoleApp1/v16/.suo and /dev/null differ diff --git a/20231106/ConsoleApp1/App.config b/20231106/ConsoleApp1/App.config deleted file mode 100644 index 56efbc7..0000000 --- a/20231106/ConsoleApp1/App.config +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/20231106/ConsoleApp1/ConsoleApp1.csproj b/20231106/ConsoleApp1/ConsoleApp1.csproj deleted file mode 100644 index d30a3df..0000000 --- a/20231106/ConsoleApp1/ConsoleApp1.csproj +++ /dev/null @@ -1,53 +0,0 @@ - - - - - Debug - AnyCPU - {E73F6C92-399F-4FD2-9450-56B3AABC59D1} - 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/20231106/ConsoleApp1/ConsoleApp1.sln b/20231106/ConsoleApp1/ConsoleApp1.sln deleted file mode 100644 index 37943c0..0000000 --- a/20231106/ConsoleApp1/ConsoleApp1.sln +++ /dev/null @@ -1,25 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 16 -VisualStudioVersion = 16.0.33529.622 -MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ConsoleApp1", "ConsoleApp1.csproj", "{E73F6C92-399F-4FD2-9450-56B3AABC59D1}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Release|Any CPU = Release|Any CPU - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {E73F6C92-399F-4FD2-9450-56B3AABC59D1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {E73F6C92-399F-4FD2-9450-56B3AABC59D1}.Debug|Any CPU.Build.0 = Debug|Any CPU - {E73F6C92-399F-4FD2-9450-56B3AABC59D1}.Release|Any CPU.ActiveCfg = Release|Any CPU - {E73F6C92-399F-4FD2-9450-56B3AABC59D1}.Release|Any CPU.Build.0 = Release|Any CPU - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection - GlobalSection(ExtensibilityGlobals) = postSolution - SolutionGuid = {7C906475-23F2-4F00-9FC0-8D191EC5488F} - EndGlobalSection -EndGlobal diff --git a/20231106/ConsoleApp1/Program.cs b/20231106/ConsoleApp1/Program.cs deleted file mode 100644 index 0b7bfd3..0000000 --- a/20231106/ConsoleApp1/Program.cs +++ /dev/null @@ -1,81 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace ConsoleApp1 -{ - public class AlkalmazasBeall - { - public string AppNev { get; private set; } - public string Version { get; private set; } - - private AlkalmazasBeall() - { - AppNev = "MyApp"; - Version = "1.0"; - } - - private static AlkalmazasBeall pl; - - public static AlkalmazasBeall GetPL() - { - if (pl == null) - { - pl = new AlkalmazasBeall(); - } - return pl; - } - - } - - class Szemely - { - private string nev; - private int kor; - - public string Nev - { - get { return nev; } - set { nev = value; } - } - - public int Kor - { - get { return kor; } - set { - if (value >= 0) - { - kor = 2023 - value; - } else - { - Console.WriteLine("Az életkor nem lehet igaz!"); - } - } - } - } - - - class Program - { - static void Main(string[] args) - { - AlkalmazasBeall settings = AlkalmazasBeall.GetPL(); - - Console.WriteLine($"Alkalmazás neve: {settings.AppNev}"); - Console.WriteLine($"Alkalmazás verziója: {settings.Version}"); - - Szemely szemely = new Szemely(); - Console.WriteLine("Add meg a neved!"); - szemely.Nev = Console.ReadLine(); - Console.WriteLine("Add meg, hogy mikor születtél!"); - szemely.Kor = Convert.ToInt32(Console.ReadLine()); - - Console.WriteLine(szemely.Nev); - Console.WriteLine(szemely.Kor); - - Console.ReadLine(); - } - } -} diff --git a/20231106/ConsoleApp1/Properties/AssemblyInfo.cs b/20231106/ConsoleApp1/Properties/AssemblyInfo.cs deleted file mode 100644 index 01c1c54..0000000 --- a/20231106/ConsoleApp1/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,36 +0,0 @@ -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 © 2023")] -[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("e73f6c92-399f-4fd2-9450-56b3aabc59d1")] - -// 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/20231106/ConsoleApp1/bin/Debug/ConsoleApp1.exe b/20231106/ConsoleApp1/bin/Debug/ConsoleApp1.exe deleted file mode 100644 index 73dcbc3..0000000 Binary files a/20231106/ConsoleApp1/bin/Debug/ConsoleApp1.exe and /dev/null differ diff --git a/20231106/ConsoleApp1/bin/Debug/ConsoleApp1.exe.config b/20231106/ConsoleApp1/bin/Debug/ConsoleApp1.exe.config deleted file mode 100644 index 56efbc7..0000000 --- a/20231106/ConsoleApp1/bin/Debug/ConsoleApp1.exe.config +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/20231106/ConsoleApp1/bin/Debug/ConsoleApp1.pdb b/20231106/ConsoleApp1/bin/Debug/ConsoleApp1.pdb deleted file mode 100644 index 88b0875..0000000 Binary files a/20231106/ConsoleApp1/bin/Debug/ConsoleApp1.pdb and /dev/null differ diff --git a/20231106/ConsoleApp1/obj/Debug/.NETFramework,Version=v4.7.2.AssemblyAttributes.cs b/20231106/ConsoleApp1/obj/Debug/.NETFramework,Version=v4.7.2.AssemblyAttributes.cs deleted file mode 100644 index 3871b18..0000000 --- a/20231106/ConsoleApp1/obj/Debug/.NETFramework,Version=v4.7.2.AssemblyAttributes.cs +++ /dev/null @@ -1,4 +0,0 @@ -// -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/20231106/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.AssemblyReference.cache b/20231106/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.AssemblyReference.cache deleted file mode 100644 index f5e894a..0000000 Binary files a/20231106/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.AssemblyReference.cache and /dev/null differ diff --git a/20231106/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.CoreCompileInputs.cache b/20231106/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.CoreCompileInputs.cache deleted file mode 100644 index ee191d7..0000000 --- a/20231106/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.CoreCompileInputs.cache +++ /dev/null @@ -1 +0,0 @@ -7f4b213b428f4c013f19137338418ee1f5525793 diff --git a/20231106/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.FileListAbsolute.txt b/20231106/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.FileListAbsolute.txt deleted file mode 100644 index 8cb7067..0000000 --- a/20231106/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.FileListAbsolute.txt +++ /dev/null @@ -1,7 +0,0 @@ -C:\Users\szabomarton\Desktop\C#\20231106\ConsoleApp1\obj\Debug\ConsoleApp1.csproj.AssemblyReference.cache -C:\Users\szabomarton\Desktop\C#\20231106\ConsoleApp1\obj\Debug\ConsoleApp1.csproj.CoreCompileInputs.cache -C:\Users\szabomarton\Desktop\C#\20231106\ConsoleApp1\bin\Debug\ConsoleApp1.exe.config -C:\Users\szabomarton\Desktop\C#\20231106\ConsoleApp1\bin\Debug\ConsoleApp1.exe -C:\Users\szabomarton\Desktop\C#\20231106\ConsoleApp1\bin\Debug\ConsoleApp1.pdb -C:\Users\szabomarton\Desktop\C#\20231106\ConsoleApp1\obj\Debug\ConsoleApp1.exe -C:\Users\szabomarton\Desktop\C#\20231106\ConsoleApp1\obj\Debug\ConsoleApp1.pdb diff --git a/20231106/ConsoleApp1/obj/Debug/ConsoleApp1.exe b/20231106/ConsoleApp1/obj/Debug/ConsoleApp1.exe deleted file mode 100644 index 73dcbc3..0000000 Binary files a/20231106/ConsoleApp1/obj/Debug/ConsoleApp1.exe and /dev/null differ diff --git a/20231106/ConsoleApp1/obj/Debug/ConsoleApp1.pdb b/20231106/ConsoleApp1/obj/Debug/ConsoleApp1.pdb deleted file mode 100644 index 88b0875..0000000 Binary files a/20231106/ConsoleApp1/obj/Debug/ConsoleApp1.pdb and /dev/null differ diff --git a/20231106/ConsoleApp1/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/20231106/ConsoleApp1/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache deleted file mode 100644 index f436de5..0000000 Binary files a/20231106/ConsoleApp1/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache and /dev/null differ diff --git a/20231113/BASH/asd.txt b/20231113/BASH/asd.txt deleted file mode 100644 index 6e3d240..0000000 --- a/20231113/BASH/asd.txt +++ /dev/null @@ -1,4 +0,0 @@ -asd -dsa -asd -dsa diff --git a/20231113/BASH/first.sh b/20231113/BASH/first.sh deleted file mode 100644 index 44bd1b6..0000000 --- a/20231113/BASH/first.sh +++ /dev/null @@ -1,15 +0,0 @@ -#! /bin/bash - -country=Pakistan -same_country=$country - -echo $country -echo $same_country - -echo "Today is " `date` - -echo -e "\nenter the path to directory" -read the_path - -echo -e "\nyour path has the followingfiles and folders: " -ls $the_path diff --git a/20231113/BASH/second.sh b/20231113/BASH/second.sh deleted file mode 100644 index ea9dbae..0000000 --- a/20231113/BASH/second.sh +++ /dev/null @@ -1,6 +0,0 @@ -#! /bin/bash - -while read line -do - echo $line -done < asd.txt diff --git a/20231113/ConsoleApp1/.vs/ConsoleApp1/v16/.suo b/20231113/ConsoleApp1/.vs/ConsoleApp1/v16/.suo deleted file mode 100644 index a5a8847..0000000 Binary files a/20231113/ConsoleApp1/.vs/ConsoleApp1/v16/.suo and /dev/null differ diff --git a/20231113/ConsoleApp1/App.config b/20231113/ConsoleApp1/App.config deleted file mode 100644 index 56efbc7..0000000 --- a/20231113/ConsoleApp1/App.config +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/20231113/ConsoleApp1/ConsoleApp1.csproj b/20231113/ConsoleApp1/ConsoleApp1.csproj deleted file mode 100644 index 0807cf6..0000000 --- a/20231113/ConsoleApp1/ConsoleApp1.csproj +++ /dev/null @@ -1,53 +0,0 @@ - - - - - Debug - AnyCPU - {EADEE017-E614-4BAD-BA66-72E0610EBCD2} - 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/20231113/ConsoleApp1/ConsoleApp1.sln b/20231113/ConsoleApp1/ConsoleApp1.sln deleted file mode 100644 index aef2645..0000000 --- a/20231113/ConsoleApp1/ConsoleApp1.sln +++ /dev/null @@ -1,25 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 16 -VisualStudioVersion = 16.0.33529.622 -MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ConsoleApp1", "ConsoleApp1.csproj", "{EADEE017-E614-4BAD-BA66-72E0610EBCD2}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Release|Any CPU = Release|Any CPU - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {EADEE017-E614-4BAD-BA66-72E0610EBCD2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {EADEE017-E614-4BAD-BA66-72E0610EBCD2}.Debug|Any CPU.Build.0 = Debug|Any CPU - {EADEE017-E614-4BAD-BA66-72E0610EBCD2}.Release|Any CPU.ActiveCfg = Release|Any CPU - {EADEE017-E614-4BAD-BA66-72E0610EBCD2}.Release|Any CPU.Build.0 = Release|Any CPU - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection - GlobalSection(ExtensibilityGlobals) = postSolution - SolutionGuid = {62F27EF8-64B6-4334-AF81-87EB4421BE38} - EndGlobalSection -EndGlobal diff --git a/20231113/ConsoleApp1/Program.cs b/20231113/ConsoleApp1/Program.cs deleted file mode 100644 index 3f3b3fe..0000000 --- a/20231113/ConsoleApp1/Program.cs +++ /dev/null @@ -1,89 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace ConsoleApp1 -{ - class Szemely - { - public string Name { get; set; } - public int Age { get; set; } - - public void Kiiras() - { - Console.WriteLine($"Név: {Name}, Kor: {Age}"); - } - - } - class Adatok - { - private string[] adat; - // Konstruktor az osztály inicializálásához - public Adatok() - { - // Példányváltozó inicializálása - adat = new string[5]; - } - - public string this[int index] - { - get - { - // Ellenőrzés, hogy az index a megfelelő tartományban van-e - if (index >= 0 && index < adat.Length) - { - return adat[index]; - } else - { - return "Érvénytelen index"; - } - } - - set - { - //Ellenőrzés hogy az index a megfelelő tartományban van-e - if (index >= 0 && index < adat.Length) - { - adat[index] = value; - } - else - { - Console.WriteLine("Érvénytelen index"); - } - } - } - - } - class Program - { - static void KiirasEgyen(Szemely person) - { - Console.WriteLine("Személy adatai:"); - person.Kiiras(); - } - static void Main(string[] args) - { - Adatok elem = new Adatok(); - - elem[0] = "Első"; - elem[1] = "Második"; - elem[2] = "Harmadik"; - - Console.WriteLine(elem[0]); - Console.WriteLine(elem[1]); - Console.WriteLine(elem[2]); - Console.WriteLine(elem[5]); - - Szemely egyen = new Szemely { - Name = "Füty Imre", - Age = 12 - }; - - KiirasEgyen(egyen); - - - } - } -} diff --git a/20231113/ConsoleApp1/Properties/AssemblyInfo.cs b/20231113/ConsoleApp1/Properties/AssemblyInfo.cs deleted file mode 100644 index 261a83a..0000000 --- a/20231113/ConsoleApp1/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,36 +0,0 @@ -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 © 2023")] -[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("eadee017-e614-4bad-ba66-72e0610ebcd2")] - -// 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/20231113/ConsoleApp1/bin/Debug/ConsoleApp1.exe b/20231113/ConsoleApp1/bin/Debug/ConsoleApp1.exe deleted file mode 100644 index a7abb73..0000000 Binary files a/20231113/ConsoleApp1/bin/Debug/ConsoleApp1.exe and /dev/null differ diff --git a/20231113/ConsoleApp1/bin/Debug/ConsoleApp1.exe.config b/20231113/ConsoleApp1/bin/Debug/ConsoleApp1.exe.config deleted file mode 100644 index 56efbc7..0000000 --- a/20231113/ConsoleApp1/bin/Debug/ConsoleApp1.exe.config +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/20231113/ConsoleApp1/bin/Debug/ConsoleApp1.pdb b/20231113/ConsoleApp1/bin/Debug/ConsoleApp1.pdb deleted file mode 100644 index 7cddc67..0000000 Binary files a/20231113/ConsoleApp1/bin/Debug/ConsoleApp1.pdb and /dev/null differ diff --git a/20231113/ConsoleApp1/obj/Debug/.NETFramework,Version=v4.7.2.AssemblyAttributes.cs b/20231113/ConsoleApp1/obj/Debug/.NETFramework,Version=v4.7.2.AssemblyAttributes.cs deleted file mode 100644 index 3871b18..0000000 --- a/20231113/ConsoleApp1/obj/Debug/.NETFramework,Version=v4.7.2.AssemblyAttributes.cs +++ /dev/null @@ -1,4 +0,0 @@ -// -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/20231113/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.AssemblyReference.cache b/20231113/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.AssemblyReference.cache deleted file mode 100644 index f5e894a..0000000 Binary files a/20231113/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.AssemblyReference.cache and /dev/null differ diff --git a/20231113/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.CoreCompileInputs.cache b/20231113/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.CoreCompileInputs.cache deleted file mode 100644 index ee191d7..0000000 --- a/20231113/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.CoreCompileInputs.cache +++ /dev/null @@ -1 +0,0 @@ -7f4b213b428f4c013f19137338418ee1f5525793 diff --git a/20231113/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.FileListAbsolute.txt b/20231113/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.FileListAbsolute.txt deleted file mode 100644 index b41dfb1..0000000 --- a/20231113/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.FileListAbsolute.txt +++ /dev/null @@ -1,7 +0,0 @@ -C:\Users\szabomarton\Desktop\C#\20231113\ConsoleApp1\bin\Debug\ConsoleApp1.exe.config -C:\Users\szabomarton\Desktop\C#\20231113\ConsoleApp1\bin\Debug\ConsoleApp1.exe -C:\Users\szabomarton\Desktop\C#\20231113\ConsoleApp1\bin\Debug\ConsoleApp1.pdb -C:\Users\szabomarton\Desktop\C#\20231113\ConsoleApp1\obj\Debug\ConsoleApp1.csproj.AssemblyReference.cache -C:\Users\szabomarton\Desktop\C#\20231113\ConsoleApp1\obj\Debug\ConsoleApp1.csproj.CoreCompileInputs.cache -C:\Users\szabomarton\Desktop\C#\20231113\ConsoleApp1\obj\Debug\ConsoleApp1.exe -C:\Users\szabomarton\Desktop\C#\20231113\ConsoleApp1\obj\Debug\ConsoleApp1.pdb diff --git a/20231113/ConsoleApp1/obj/Debug/ConsoleApp1.exe b/20231113/ConsoleApp1/obj/Debug/ConsoleApp1.exe deleted file mode 100644 index a7abb73..0000000 Binary files a/20231113/ConsoleApp1/obj/Debug/ConsoleApp1.exe and /dev/null differ diff --git a/20231113/ConsoleApp1/obj/Debug/ConsoleApp1.pdb b/20231113/ConsoleApp1/obj/Debug/ConsoleApp1.pdb deleted file mode 100644 index 7cddc67..0000000 Binary files a/20231113/ConsoleApp1/obj/Debug/ConsoleApp1.pdb and /dev/null differ diff --git a/20231113/ConsoleApp1/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/20231113/ConsoleApp1/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache deleted file mode 100644 index 1d15bd9..0000000 Binary files a/20231113/ConsoleApp1/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache and /dev/null differ diff --git a/20231115/ConsoleApp1/.vs/ConsoleApp1/v16/.suo b/20231115/ConsoleApp1/.vs/ConsoleApp1/v16/.suo deleted file mode 100644 index e182733..0000000 Binary files a/20231115/ConsoleApp1/.vs/ConsoleApp1/v16/.suo and /dev/null differ diff --git a/20231115/ConsoleApp1/bin/Debug/ConsoleApp1.exe b/20231115/ConsoleApp1/bin/Debug/ConsoleApp1.exe deleted file mode 100644 index f549fe0..0000000 Binary files a/20231115/ConsoleApp1/bin/Debug/ConsoleApp1.exe and /dev/null differ diff --git a/20231115/ConsoleApp1/bin/Debug/ConsoleApp1.pdb b/20231115/ConsoleApp1/bin/Debug/ConsoleApp1.pdb deleted file mode 100644 index b6d7d58..0000000 Binary files a/20231115/ConsoleApp1/bin/Debug/ConsoleApp1.pdb and /dev/null differ diff --git a/20231115/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.AssemblyReference.cache b/20231115/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.AssemblyReference.cache deleted file mode 100644 index 4eb356a..0000000 Binary files a/20231115/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.AssemblyReference.cache and /dev/null differ diff --git a/20231115/ConsoleApp1/obj/Debug/ConsoleApp1.exe b/20231115/ConsoleApp1/obj/Debug/ConsoleApp1.exe deleted file mode 100644 index f549fe0..0000000 Binary files a/20231115/ConsoleApp1/obj/Debug/ConsoleApp1.exe and /dev/null differ diff --git a/20231115/ConsoleApp1/obj/Debug/ConsoleApp1.pdb b/20231115/ConsoleApp1/obj/Debug/ConsoleApp1.pdb deleted file mode 100644 index b6d7d58..0000000 Binary files a/20231115/ConsoleApp1/obj/Debug/ConsoleApp1.pdb and /dev/null differ diff --git a/20231115/ConsoleApp1/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/20231115/ConsoleApp1/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache deleted file mode 100644 index 76d09e6..0000000 Binary files a/20231115/ConsoleApp1/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache and /dev/null differ diff --git a/20231115/ConsoleApp2/.vs/ConsoleApp2/v16/.suo b/20231115/ConsoleApp2/.vs/ConsoleApp2/v16/.suo deleted file mode 100644 index 559b68c..0000000 Binary files a/20231115/ConsoleApp2/.vs/ConsoleApp2/v16/.suo and /dev/null differ diff --git a/20231115/ConsoleApp2/obj/Debug/ConsoleApp2.csproj.AssemblyReference.cache b/20231115/ConsoleApp2/obj/Debug/ConsoleApp2.csproj.AssemblyReference.cache deleted file mode 100644 index 4eb356a..0000000 Binary files a/20231115/ConsoleApp2/obj/Debug/ConsoleApp2.csproj.AssemblyReference.cache and /dev/null differ diff --git a/20231115/ConsoleApp2/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/20231115/ConsoleApp2/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache deleted file mode 100644 index eea3502..0000000 Binary files a/20231115/ConsoleApp2/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache and /dev/null differ diff --git a/20231127/ConsoleApp1/.vs/ConsoleApp1/v16/.suo b/20231127/ConsoleApp1/.vs/ConsoleApp1/v16/.suo deleted file mode 100644 index 208848b..0000000 Binary files a/20231127/ConsoleApp1/.vs/ConsoleApp1/v16/.suo and /dev/null differ diff --git a/20231127/ConsoleApp1/App.config b/20231127/ConsoleApp1/App.config deleted file mode 100644 index 56efbc7..0000000 --- a/20231127/ConsoleApp1/App.config +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/20231127/ConsoleApp1/ConsoleApp1.csproj b/20231127/ConsoleApp1/ConsoleApp1.csproj deleted file mode 100644 index 0e09232..0000000 --- a/20231127/ConsoleApp1/ConsoleApp1.csproj +++ /dev/null @@ -1,53 +0,0 @@ - - - - - Debug - AnyCPU - {58EF26D9-B347-41A4-9396-D748F488474D} - 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/20231127/ConsoleApp1/ConsoleApp1.sln b/20231127/ConsoleApp1/ConsoleApp1.sln deleted file mode 100644 index 451798f..0000000 --- a/20231127/ConsoleApp1/ConsoleApp1.sln +++ /dev/null @@ -1,25 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 16 -VisualStudioVersion = 16.0.33529.622 -MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ConsoleApp1", "ConsoleApp1.csproj", "{58EF26D9-B347-41A4-9396-D748F488474D}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Release|Any CPU = Release|Any CPU - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {58EF26D9-B347-41A4-9396-D748F488474D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {58EF26D9-B347-41A4-9396-D748F488474D}.Debug|Any CPU.Build.0 = Debug|Any CPU - {58EF26D9-B347-41A4-9396-D748F488474D}.Release|Any CPU.ActiveCfg = Release|Any CPU - {58EF26D9-B347-41A4-9396-D748F488474D}.Release|Any CPU.Build.0 = Release|Any CPU - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection - GlobalSection(ExtensibilityGlobals) = postSolution - SolutionGuid = {2910667C-C20B-4B2C-B421-B0816125639C} - EndGlobalSection -EndGlobal diff --git a/20231127/ConsoleApp1/Program.cs b/20231127/ConsoleApp1/Program.cs deleted file mode 100644 index e1e4c5b..0000000 --- a/20231127/ConsoleApp1/Program.cs +++ /dev/null @@ -1,71 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace ConsoleApp1 -{ - class Allat - { - public class Allatok - { - public void Eszik() - { - Console.WriteLine("Az állat eszik."); - } - - public void Alszik() - { - Console.WriteLine("Az állat szunyókál."); - } - } - - // leszármaztatott osztályokl amelyek öröklik az állat osztályt. - public class Kutya : Allatok - { - public void Eszik() - { - Console.WriteLine("A kutya eszik."); - } - - public void Alszik() - { - Console.WriteLine("A kutya szunyókál."); - } - public void Ugat() - { - Console.WriteLine("A kutya ugat."); - } - } - - public class Macska : Allatok - { - public void Nyavog() - { - Console.WriteLine("A macska nyávog."); - } - } - - } - class Program - { - static void Main(string[] args) - { - Allat.Allatok eger = new Allat.Allatok(); - - eger.Eszik(); - - Allat.Kutya kutya = new Allat.Kutya(); - kutya.Ugat(); - kutya.Alszik(); - - Allat.Macska macska = new Allat.Macska(); - macska.Nyavog(); - macska.Eszik(); - - - Console.ReadKey(); - } - } -} diff --git a/20231127/ConsoleApp1/Properties/AssemblyInfo.cs b/20231127/ConsoleApp1/Properties/AssemblyInfo.cs deleted file mode 100644 index 2976801..0000000 --- a/20231127/ConsoleApp1/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,36 +0,0 @@ -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 © 2023")] -[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("58ef26d9-b347-41a4-9396-d748f488474d")] - -// 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/20231127/ConsoleApp1/bin/Debug/ConsoleApp1.exe b/20231127/ConsoleApp1/bin/Debug/ConsoleApp1.exe deleted file mode 100644 index 4c5cfde..0000000 Binary files a/20231127/ConsoleApp1/bin/Debug/ConsoleApp1.exe and /dev/null differ diff --git a/20231127/ConsoleApp1/bin/Debug/ConsoleApp1.exe.config b/20231127/ConsoleApp1/bin/Debug/ConsoleApp1.exe.config deleted file mode 100644 index 56efbc7..0000000 --- a/20231127/ConsoleApp1/bin/Debug/ConsoleApp1.exe.config +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/20231127/ConsoleApp1/bin/Debug/ConsoleApp1.pdb b/20231127/ConsoleApp1/bin/Debug/ConsoleApp1.pdb deleted file mode 100644 index f359e84..0000000 Binary files a/20231127/ConsoleApp1/bin/Debug/ConsoleApp1.pdb and /dev/null differ diff --git a/20231127/ConsoleApp1/obj/Debug/.NETFramework,Version=v4.7.2.AssemblyAttributes.cs b/20231127/ConsoleApp1/obj/Debug/.NETFramework,Version=v4.7.2.AssemblyAttributes.cs deleted file mode 100644 index 3871b18..0000000 --- a/20231127/ConsoleApp1/obj/Debug/.NETFramework,Version=v4.7.2.AssemblyAttributes.cs +++ /dev/null @@ -1,4 +0,0 @@ -// -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/20231127/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.AssemblyReference.cache b/20231127/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.AssemblyReference.cache deleted file mode 100644 index f5e894a..0000000 Binary files a/20231127/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.AssemblyReference.cache and /dev/null differ diff --git a/20231127/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.CoreCompileInputs.cache b/20231127/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.CoreCompileInputs.cache deleted file mode 100644 index ee191d7..0000000 --- a/20231127/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.CoreCompileInputs.cache +++ /dev/null @@ -1 +0,0 @@ -7f4b213b428f4c013f19137338418ee1f5525793 diff --git a/20231127/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.FileListAbsolute.txt b/20231127/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.FileListAbsolute.txt deleted file mode 100644 index 7e2ff78..0000000 --- a/20231127/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.FileListAbsolute.txt +++ /dev/null @@ -1,7 +0,0 @@ -C:\Users\szabomarton\Desktop\C#\20231127\ConsoleApp1\bin\Debug\ConsoleApp1.exe.config -C:\Users\szabomarton\Desktop\C#\20231127\ConsoleApp1\bin\Debug\ConsoleApp1.exe -C:\Users\szabomarton\Desktop\C#\20231127\ConsoleApp1\bin\Debug\ConsoleApp1.pdb -C:\Users\szabomarton\Desktop\C#\20231127\ConsoleApp1\obj\Debug\ConsoleApp1.csproj.AssemblyReference.cache -C:\Users\szabomarton\Desktop\C#\20231127\ConsoleApp1\obj\Debug\ConsoleApp1.csproj.CoreCompileInputs.cache -C:\Users\szabomarton\Desktop\C#\20231127\ConsoleApp1\obj\Debug\ConsoleApp1.exe -C:\Users\szabomarton\Desktop\C#\20231127\ConsoleApp1\obj\Debug\ConsoleApp1.pdb diff --git a/20231127/ConsoleApp1/obj/Debug/ConsoleApp1.exe b/20231127/ConsoleApp1/obj/Debug/ConsoleApp1.exe deleted file mode 100644 index 4c5cfde..0000000 Binary files a/20231127/ConsoleApp1/obj/Debug/ConsoleApp1.exe and /dev/null differ diff --git a/20231127/ConsoleApp1/obj/Debug/ConsoleApp1.pdb b/20231127/ConsoleApp1/obj/Debug/ConsoleApp1.pdb deleted file mode 100644 index f359e84..0000000 Binary files a/20231127/ConsoleApp1/obj/Debug/ConsoleApp1.pdb and /dev/null differ diff --git a/20231127/ConsoleApp1/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/20231127/ConsoleApp1/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache deleted file mode 100644 index 5041dcd..0000000 Binary files a/20231127/ConsoleApp1/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache and /dev/null differ diff --git a/20231129/ConsoleApp1/.vs/ConsoleApp1/v16/.suo b/20231129/ConsoleApp1/.vs/ConsoleApp1/v16/.suo deleted file mode 100644 index 778f2c5..0000000 Binary files a/20231129/ConsoleApp1/.vs/ConsoleApp1/v16/.suo and /dev/null differ diff --git a/20231129/ConsoleApp1/bin/Debug/ConsoleApp1.exe b/20231129/ConsoleApp1/bin/Debug/ConsoleApp1.exe deleted file mode 100644 index 49447b7..0000000 Binary files a/20231129/ConsoleApp1/bin/Debug/ConsoleApp1.exe and /dev/null differ diff --git a/20231129/ConsoleApp1/bin/Debug/ConsoleApp1.pdb b/20231129/ConsoleApp1/bin/Debug/ConsoleApp1.pdb deleted file mode 100644 index 66660e4..0000000 Binary files a/20231129/ConsoleApp1/bin/Debug/ConsoleApp1.pdb and /dev/null differ diff --git a/20231129/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.AssemblyReference.cache b/20231129/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.AssemblyReference.cache deleted file mode 100644 index f5e894a..0000000 Binary files a/20231129/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.AssemblyReference.cache and /dev/null differ diff --git a/20231129/ConsoleApp1/obj/Debug/ConsoleApp1.exe b/20231129/ConsoleApp1/obj/Debug/ConsoleApp1.exe deleted file mode 100644 index 49447b7..0000000 Binary files a/20231129/ConsoleApp1/obj/Debug/ConsoleApp1.exe and /dev/null differ diff --git a/20231129/ConsoleApp1/obj/Debug/ConsoleApp1.pdb b/20231129/ConsoleApp1/obj/Debug/ConsoleApp1.pdb deleted file mode 100644 index 66660e4..0000000 Binary files a/20231129/ConsoleApp1/obj/Debug/ConsoleApp1.pdb and /dev/null differ diff --git a/20231129/ConsoleApp1/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/20231129/ConsoleApp1/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache deleted file mode 100644 index 3fcd8f0..0000000 Binary files a/20231129/ConsoleApp1/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache and /dev/null differ diff --git a/20231129/ConsoleApp2/.vs/ConsoleApp2/v16/.suo b/20231129/ConsoleApp2/.vs/ConsoleApp2/v16/.suo deleted file mode 100644 index 0b75b12..0000000 Binary files a/20231129/ConsoleApp2/.vs/ConsoleApp2/v16/.suo and /dev/null differ diff --git a/20231129/ConsoleApp2/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/20231129/ConsoleApp2/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache deleted file mode 100644 index 540e140..0000000 Binary files a/20231129/ConsoleApp2/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache and /dev/null differ diff --git a/20231204/ConsoleApp1/.vs/ConsoleApp1/v16/.suo b/20231204/ConsoleApp1/.vs/ConsoleApp1/v16/.suo deleted file mode 100644 index 8dd0954..0000000 Binary files a/20231204/ConsoleApp1/.vs/ConsoleApp1/v16/.suo and /dev/null differ diff --git a/20231204/ConsoleApp1/App.config b/20231204/ConsoleApp1/App.config deleted file mode 100644 index 56efbc7..0000000 --- a/20231204/ConsoleApp1/App.config +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/20231204/ConsoleApp1/ConsoleApp1.csproj b/20231204/ConsoleApp1/ConsoleApp1.csproj deleted file mode 100644 index a4bb44b..0000000 --- a/20231204/ConsoleApp1/ConsoleApp1.csproj +++ /dev/null @@ -1,53 +0,0 @@ - - - - - Debug - AnyCPU - {13CBD21B-6A7A-4A5C-BC61-3B8FC3EC84B5} - 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/20231204/ConsoleApp1/ConsoleApp1.sln b/20231204/ConsoleApp1/ConsoleApp1.sln deleted file mode 100644 index ec737dc..0000000 --- a/20231204/ConsoleApp1/ConsoleApp1.sln +++ /dev/null @@ -1,25 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 16 -VisualStudioVersion = 16.0.33529.622 -MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ConsoleApp1", "ConsoleApp1.csproj", "{13CBD21B-6A7A-4A5C-BC61-3B8FC3EC84B5}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Release|Any CPU = Release|Any CPU - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {13CBD21B-6A7A-4A5C-BC61-3B8FC3EC84B5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {13CBD21B-6A7A-4A5C-BC61-3B8FC3EC84B5}.Debug|Any CPU.Build.0 = Debug|Any CPU - {13CBD21B-6A7A-4A5C-BC61-3B8FC3EC84B5}.Release|Any CPU.ActiveCfg = Release|Any CPU - {13CBD21B-6A7A-4A5C-BC61-3B8FC3EC84B5}.Release|Any CPU.Build.0 = Release|Any CPU - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection - GlobalSection(ExtensibilityGlobals) = postSolution - SolutionGuid = {6FB0DF0D-BC48-48DC-8195-EA8FDB0AB190} - EndGlobalSection -EndGlobal diff --git a/20231204/ConsoleApp1/Program.cs b/20231204/ConsoleApp1/Program.cs deleted file mode 100644 index ea9bacc..0000000 --- a/20231204/ConsoleApp1/Program.cs +++ /dev/null @@ -1,15 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace ConsoleApp1 -{ - class Program - { - static void Main(string[] args) - { - } - } -} diff --git a/20231204/ConsoleApp1/Properties/AssemblyInfo.cs b/20231204/ConsoleApp1/Properties/AssemblyInfo.cs deleted file mode 100644 index 22f922b..0000000 --- a/20231204/ConsoleApp1/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,36 +0,0 @@ -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 © 2023")] -[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("13cbd21b-6a7a-4a5c-bc61-3b8fc3ec84b5")] - -// 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/20231204/ConsoleApp1/obj/Debug/.NETFramework,Version=v4.7.2.AssemblyAttributes.cs b/20231204/ConsoleApp1/obj/Debug/.NETFramework,Version=v4.7.2.AssemblyAttributes.cs deleted file mode 100644 index 3871b18..0000000 --- a/20231204/ConsoleApp1/obj/Debug/.NETFramework,Version=v4.7.2.AssemblyAttributes.cs +++ /dev/null @@ -1,4 +0,0 @@ -// -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/20231204/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.AssemblyReference.cache b/20231204/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.AssemblyReference.cache deleted file mode 100644 index 4eb356a..0000000 Binary files a/20231204/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.AssemblyReference.cache and /dev/null differ diff --git a/20231204/ConsoleApp1/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/20231204/ConsoleApp1/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache deleted file mode 100644 index 102c7ac..0000000 Binary files a/20231204/ConsoleApp1/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache and /dev/null differ diff --git a/20231204/proga_hazi.txt b/20231204/proga_hazi.txt deleted file mode 100644 index 0276802..0000000 --- a/20231204/proga_hazi.txt +++ /dev/null @@ -1,195 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Runtime.InteropServices; -using System.Runtime.Remoting.Metadata.W3cXsd2001; -using System.Text; -using System.Threading.Tasks; - -namespace hazi_generator -{ - internal class Program - { - static void eldontes(char valasz) - { - if (valasz == 'a') - { - alapSIM(); - } - else - { - PUKosSIM(); - } - } - - static void PUKosSIM() - { - PUK[] listaPUK = new PUK[3]; - Random r = new Random(); - - for (int i = 0; i < 3; i++) - { - int Sorszam = r.Next(10000000, 99999999); - PUK PUKosSIM = new PUK(); - PUKosSIM.AlapSim(Sorszam); - listaPUK.SetValue(value: PUKosSIM, index: i); - } - - foreach (SIM item in listaPUK) - { - Console.WriteLine(item.Sorszam); - Console.WriteLine(item.Pinkod); - Console.WriteLine(); - } - - for (int i = 0; i < listaPUK.Length; i++) - { - Console.WriteLine("Kérem adja meg a PIN kódot (3 lehetőség)"); - for (int j = 0; j < 3; j++) - { - listaPUK[i].SimLetiltas(listaPUK[i].Sorszam, listaPUK[i].Pinkod); - if (listaPUK[i].Tudta) - { - break; - } - } - if (listaPUK[i].Tudta) - { - Console.WriteLine("A SIM feloldva"); - } - else - { - Console.WriteLine("A SIM letiltva"); - string puk = Convert.ToString(r.Next(1000, 9999)); - Console.WriteLine($"A PUK-kódja: {puk}"); - listaPUK[i].Puk(puk); - } - } - - Console.ReadKey(); - - } - - static void alapSIM() - { - SIM[] listaSIM = new SIM[3]; - Random r = new Random(); - - for (int i = 0; i < 3; i++) - { - int Sorszam = r.Next(10000000, 99999999); - SIM alapSim = new SIM(); - alapSim.AlapSim(Sorszam); - listaSIM.SetValue(value: alapSim, index: i); - } - - foreach (SIM item in listaSIM) - { - Console.WriteLine(item.Sorszam); - Console.WriteLine(item.Pinkod); - Console.WriteLine(); - } - - for (int i = 0; i < listaSIM.Length; i++) - { - Console.WriteLine("Kérem adja meg a PIN kódot (3 lehetőség)"); - for (int j = 0; j < 3; j++) - { - listaSIM[i].SimLetiltas(listaSIM[i].Sorszam, listaSIM[i].Pinkod); - if (listaSIM[i].Tudta) - { - break; - } - } - if (listaSIM[i].Tudta) - { - Console.WriteLine("A SIM feloldva"); - } - else - { - Console.WriteLine("A SIM letiltva"); - } - } - - Console.ReadKey(); - } - - static void Main() - { - Console.WriteLine("Milyen típusú SIM kártyákat szeretne létrehozni (Alap -> a / PUK-kóddal rendelkezőt -> p): "); - char valasz = Convert.ToChar(Console.ReadLine()); - eldontes(valasz); - } - } -} - -using System; -using System.Collections.Generic; -using System.Linq; -using System.Runtime.InteropServices; -using System.Text; -using System.Threading.Tasks; - -namespace hazi_generator -{ - public class SIM - { - public int Sorszam; - public string Pinkod; - public bool Tudta; - public void AlapSim(int Szam) - { - Sorszam = Szam; - - Console.WriteLine($"A {Sorszam} sorszámú SIM aktiválásához adja meg a pinkódot"); - Pinkod = Console.ReadLine(); - if (Pinkod.Length != 4) - { - throw new Exception("A pinkódnak pontosan 4 jegyűnek kell lennie."); - } - else - { - Console.WriteLine("SIM elmentve."); - } - } - - public void SimLetiltas(int sorszam, string pin) - { - Tudta = false; - Console.WriteLine($"Adja meg a {sorszam} sorszámú SIM pink kódját: "); - string beirtPin = Console.ReadLine(); - if (beirtPin != pin) - { - Console.WriteLine("Helytelen PIN kód"); - } - else - { - Tudta = true; - Console.WriteLine("SIM feloldva"); - } - } - } - - public class PUK : SIM - { - public void Puk(string puk) - { - if (!Tudta) - { - Console.WriteLine("Adja meg a PUK kódot:"); - string beirtpuk = Console.ReadLine(); - if (beirtpuk == puk) - { - Tudta = true; - Console.WriteLine("A SIM feloldva, ismét próbálkozhat a PIN kóddal"); - SimLetiltas(Sorszam,Pinkod); - } - else - { - Console.WriteLine("A SIM kártyát megsemmisítettük"); - } - } - } - } -} - diff --git a/20231211/ConsoleApp1/.vs/ConsoleApp1/v16/.suo b/20231211/ConsoleApp1/.vs/ConsoleApp1/v16/.suo deleted file mode 100644 index 487a511..0000000 Binary files a/20231211/ConsoleApp1/.vs/ConsoleApp1/v16/.suo and /dev/null differ diff --git a/20231211/ConsoleApp1/bin/Debug/ConsoleApp1.exe b/20231211/ConsoleApp1/bin/Debug/ConsoleApp1.exe deleted file mode 100644 index aebd8c9..0000000 Binary files a/20231211/ConsoleApp1/bin/Debug/ConsoleApp1.exe and /dev/null differ diff --git a/20231211/ConsoleApp1/bin/Debug/ConsoleApp1.pdb b/20231211/ConsoleApp1/bin/Debug/ConsoleApp1.pdb deleted file mode 100644 index 4f60ef6..0000000 Binary files a/20231211/ConsoleApp1/bin/Debug/ConsoleApp1.pdb and /dev/null differ diff --git a/20231211/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.AssemblyReference.cache b/20231211/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.AssemblyReference.cache deleted file mode 100644 index f5e894a..0000000 Binary files a/20231211/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.AssemblyReference.cache and /dev/null differ diff --git a/20231211/ConsoleApp1/obj/Debug/ConsoleApp1.exe b/20231211/ConsoleApp1/obj/Debug/ConsoleApp1.exe deleted file mode 100644 index aebd8c9..0000000 Binary files a/20231211/ConsoleApp1/obj/Debug/ConsoleApp1.exe and /dev/null differ diff --git a/20231211/ConsoleApp1/obj/Debug/ConsoleApp1.pdb b/20231211/ConsoleApp1/obj/Debug/ConsoleApp1.pdb deleted file mode 100644 index 4f60ef6..0000000 Binary files a/20231211/ConsoleApp1/obj/Debug/ConsoleApp1.pdb and /dev/null differ diff --git a/20231211/ConsoleApp1/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/20231211/ConsoleApp1/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache deleted file mode 100644 index 07e6b83..0000000 Binary files a/20231211/ConsoleApp1/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache and /dev/null differ diff --git a/20231213/ConsoleApp1/.vs/ConsoleApp1/v16/.suo b/20231213/ConsoleApp1/.vs/ConsoleApp1/v16/.suo deleted file mode 100644 index f55708c..0000000 Binary files a/20231213/ConsoleApp1/.vs/ConsoleApp1/v16/.suo and /dev/null differ diff --git a/20231213/ConsoleApp1/bin/Debug/ConsoleApp1.exe b/20231213/ConsoleApp1/bin/Debug/ConsoleApp1.exe deleted file mode 100644 index 51f3a33..0000000 Binary files a/20231213/ConsoleApp1/bin/Debug/ConsoleApp1.exe and /dev/null differ diff --git a/20231213/ConsoleApp1/bin/Debug/ConsoleApp1.pdb b/20231213/ConsoleApp1/bin/Debug/ConsoleApp1.pdb deleted file mode 100644 index 5cfbb19..0000000 Binary files a/20231213/ConsoleApp1/bin/Debug/ConsoleApp1.pdb and /dev/null differ diff --git a/20231213/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.AssemblyReference.cache b/20231213/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.AssemblyReference.cache deleted file mode 100644 index f5e894a..0000000 Binary files a/20231213/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.AssemblyReference.cache and /dev/null differ diff --git a/20231213/ConsoleApp1/obj/Debug/ConsoleApp1.exe b/20231213/ConsoleApp1/obj/Debug/ConsoleApp1.exe deleted file mode 100644 index 51f3a33..0000000 Binary files a/20231213/ConsoleApp1/obj/Debug/ConsoleApp1.exe and /dev/null differ diff --git a/20231213/ConsoleApp1/obj/Debug/ConsoleApp1.pdb b/20231213/ConsoleApp1/obj/Debug/ConsoleApp1.pdb deleted file mode 100644 index 5cfbb19..0000000 Binary files a/20231213/ConsoleApp1/obj/Debug/ConsoleApp1.pdb and /dev/null differ diff --git a/20231213/ConsoleApp1/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/20231213/ConsoleApp1/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache deleted file mode 100644 index a9535b9..0000000 Binary files a/20231213/ConsoleApp1/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache and /dev/null differ diff --git a/20231215/ConsoleApp1/.vs/ConsoleApp1/v16/.suo b/20231215/ConsoleApp1/.vs/ConsoleApp1/v16/.suo deleted file mode 100644 index 846b2ad..0000000 Binary files a/20231215/ConsoleApp1/.vs/ConsoleApp1/v16/.suo and /dev/null differ diff --git a/20231215/ConsoleApp1/bin/Debug/ConsoleApp1.exe b/20231215/ConsoleApp1/bin/Debug/ConsoleApp1.exe deleted file mode 100644 index e4df233..0000000 Binary files a/20231215/ConsoleApp1/bin/Debug/ConsoleApp1.exe and /dev/null differ diff --git a/20231215/ConsoleApp1/bin/Debug/ConsoleApp1.pdb b/20231215/ConsoleApp1/bin/Debug/ConsoleApp1.pdb deleted file mode 100644 index 2c99879..0000000 Binary files a/20231215/ConsoleApp1/bin/Debug/ConsoleApp1.pdb and /dev/null differ diff --git a/20231215/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.AssemblyReference.cache b/20231215/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.AssemblyReference.cache deleted file mode 100644 index f5e894a..0000000 Binary files a/20231215/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.AssemblyReference.cache and /dev/null differ diff --git a/20231215/ConsoleApp1/obj/Debug/ConsoleApp1.exe b/20231215/ConsoleApp1/obj/Debug/ConsoleApp1.exe deleted file mode 100644 index e4df233..0000000 Binary files a/20231215/ConsoleApp1/obj/Debug/ConsoleApp1.exe and /dev/null differ diff --git a/20231215/ConsoleApp1/obj/Debug/ConsoleApp1.pdb b/20231215/ConsoleApp1/obj/Debug/ConsoleApp1.pdb deleted file mode 100644 index 2c99879..0000000 Binary files a/20231215/ConsoleApp1/obj/Debug/ConsoleApp1.pdb and /dev/null differ diff --git a/20231215/ConsoleApp1/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/20231215/ConsoleApp1/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache deleted file mode 100644 index 17f5910..0000000 Binary files a/20231215/ConsoleApp1/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache and /dev/null differ diff --git a/20231215/Zenelejatszo/.vs/Zenelejatszo/v16/.suo b/20231215/Zenelejatszo/.vs/Zenelejatszo/v16/.suo deleted file mode 100644 index cc61a87..0000000 Binary files a/20231215/Zenelejatszo/.vs/Zenelejatszo/v16/.suo and /dev/null differ diff --git a/20231215/Zenelejatszo/bin/Debug/Zenelejatszo.exe b/20231215/Zenelejatszo/bin/Debug/Zenelejatszo.exe deleted file mode 100644 index b5d64e6..0000000 Binary files a/20231215/Zenelejatszo/bin/Debug/Zenelejatszo.exe and /dev/null differ diff --git a/20231215/Zenelejatszo/bin/Debug/Zenelejatszo.pdb b/20231215/Zenelejatszo/bin/Debug/Zenelejatszo.pdb deleted file mode 100644 index 7360e7b..0000000 Binary files a/20231215/Zenelejatszo/bin/Debug/Zenelejatszo.pdb and /dev/null differ diff --git a/20231215/Zenelejatszo/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/20231215/Zenelejatszo/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache deleted file mode 100644 index d69a595..0000000 Binary files a/20231215/Zenelejatszo/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache and /dev/null differ diff --git a/20231215/Zenelejatszo/obj/Debug/Zenelejatszo.csproj.AssemblyReference.cache b/20231215/Zenelejatszo/obj/Debug/Zenelejatszo.csproj.AssemblyReference.cache deleted file mode 100644 index 4eb356a..0000000 Binary files a/20231215/Zenelejatszo/obj/Debug/Zenelejatszo.csproj.AssemblyReference.cache and /dev/null differ diff --git a/20231215/Zenelejatszo/obj/Debug/Zenelejatszo.exe b/20231215/Zenelejatszo/obj/Debug/Zenelejatszo.exe deleted file mode 100644 index b5d64e6..0000000 Binary files a/20231215/Zenelejatszo/obj/Debug/Zenelejatszo.exe and /dev/null differ diff --git a/20231215/Zenelejatszo/obj/Debug/Zenelejatszo.pdb b/20231215/Zenelejatszo/obj/Debug/Zenelejatszo.pdb deleted file mode 100644 index 7360e7b..0000000 Binary files a/20231215/Zenelejatszo/obj/Debug/Zenelejatszo.pdb and /dev/null differ diff --git a/20240108_doga/ConsoleApp3/.vs/ConsoleApp3/v16/.suo b/20240108_doga/ConsoleApp3/.vs/ConsoleApp3/v16/.suo index ff34cf3..abffccd 100644 Binary files a/20240108_doga/ConsoleApp3/.vs/ConsoleApp3/v16/.suo and b/20240108_doga/ConsoleApp3/.vs/ConsoleApp3/v16/.suo differ diff --git a/20240129_doga/A_Dolgozat/A csoport.pdf b/20240129_doga/A_Dolgozat/A csoport.pdf new file mode 100644 index 0000000..5f3c293 Binary files /dev/null and b/20240129_doga/A_Dolgozat/A csoport.pdf differ diff --git a/20240129_doga/A_Dolgozat/ub2017egyeni.txt b/20240129_doga/A_Dolgozat/ub2017egyeni.txt new file mode 100644 index 0000000..f32e583 --- /dev/null +++ b/20240129_doga/A_Dolgozat/ub2017egyeni.txt @@ -0,0 +1,187 @@ +Versenyzo;Rajtszam;Kategoria;Versenyido;TavSzazalek +Acsadi Lajos;1;Ferfi;30:28:42;100 +Andrzej Wereszczak;2;Ferfi;26:55:19;100 +Aristide Necula;4;Ferfi;21:17:47;69 +Babinyecz Tamas;5;Ferfi;28:35:20;100 +Babinyecz Zoltan;6;Ferfi;28:20:34;100 +Badics Attila;7;Ferfi;28:20:50;100 +Bajcsi Sandor;8;Ferfi;29:08:49;100 +Bako Gabor;9;Ferfi;28:42:36;86 +Bakos Gabor;12;Ferfi;14:56:44;48 +Balint Evi;13;Noi;16:37:35;55 +Barath Anette Lora;14;Noi;18:02:21;58 +Barraud Sebastien;15;Ferfi;22:31:09;77 +Blasko Mihaly;16;Ferfi;29:44:34;100 +Bognar Akos;17;Ferfi;23:04:26;100 +Borsos Jozsef;18;Ferfi;31:28:46;100 +Bosznay Diana;19;Noi;12:32:59;52 +Brigita Burja;20;Noi;27:15:19;100 +Bucsak Gyozo;21;Ferfi;17:37:47;56 +Czaltig Zsolt;29;Ferfi;29:12:54;100 +Czunyi Karoly;30;Ferfi;22:15:26;79 +Csakany Krisztina;22;Noi;30:42:06;100 +Csapo Judit;23;Noi;32:17:53;100 +Csati Timea Viktoria;24;Noi;31:39:53;100 +Csuja Gabor;27;Ferfi;17:44:59;65 +Csurgai Adam;28;Ferfi;24:59:10;77 +Damjan Krejac;25;Ferfi;25:22:12;100 +Dan Lawson;31;Ferfi;18:30:20;100 +Darko Vadlja;32;Ferfi;9:16:09;32 +David Fiala;33;Ferfi;10:23:13;36 +Deak Csaba;34;Ferfi;29:02:48;100 +Derivaz;35;Ferfi;30:39:51;100 +Didzis Brauns;36;Ferfi;17:32:47;68 +Dombay Gabor;37;Ferfi;31:17:30;100 +dr. Bocskay arpad;39;Ferfi;19:37:40;58 +dr. Juhasz Mihaly;40;Ferfi;21:40:48;86 +dr. Korosi Koppany;41;Ferfi;6:04:00;27 +dr. Rudolf Jozsef;42;Ferfi;31:09:17;100 +dr. Szudi Laszlo;38;Ferfi;14:02:58;48 +Drevenka Zsolt;43;Ferfi;10:00:03;36 +Enyedine Dobai Henriett;45;Noi;28:11:47;100 +Erdelyi Laszlo;46;Ferfi;21:31:09;69 +Eugeniu Dedov;47;Ferfi;20:38:12;68 +Evetovics Milan;48;Ferfi;23:23:32;73 +Evetovics-Balla Hajnalka;49;Noi;16:22:40;56 +Fazekas Jani;50;Ferfi;17:57:25;58 +Fejer Zsuzsa;51;Noi;30:55:14;100 +Ferge Istvan;53;Ferfi;8:45:31;27 +File Balazs;54;Ferfi;24:44:19;100 +Florin-Sebastian Ionita;55;Ferfi;6:37:22;36 +Foldesi Jozsef;57;Ferfi;15:32:16;56 +Foszto Zsolt;56;Ferfi;30:50:50;100 +Fredrik Engdahl;58;Ferfi;28:29:14;100 +Galos Viktor;59;Ferfi;18:21:19;65 +Gered Laszlo;60;Ferfi;29:44:23;100 +Geszti Peter;61;Ferfi;22:03:56;73 +Gyorfi Janos;63;Ferfi;22:08:08;79 +Gyorvari Viktor;64;Ferfi;27:47:49;89 +Hajas Attila;65;Ferfi;19:31:49;56 +Horvath Tamas;336;Ferfi;33:35:22;100 +Horvath Zsolt;66;Ferfi;18:20:17;58 +Hosko Roland;67;Ferfi;26:54:54;100 +Huszak Katalin;68;Noi;17:05:14;58 +Huzsvay Edit;69;Noi;25:45:16;100 +Iancu David;70;Ferfi;18:27:21;68 +Ihasz Veronika;71;Noi;28:18:22;100 +Ioan Alexandru Strugariu;72;Ferfi;13:12:45;43 +Ivan Bretan;73;Ferfi;24:10:57;100 +Ivan Zaborskiy;74;Ferfi;30:11:52;100 +Jaana Thorstrom;75;Noi;14:05:34;48 +Janowszky Zoltan;76;Ferfi;29:24:44;100 +Jeszenszky Peter;77;Ferfi;29:01:21;100 +Jon Panter;78;Ferfi;22:05:29;84 +Juhasz Peter;79;Ferfi;27:19:57;100 +Kadar-Csoboth Peter;80;Ferfi;24:35:00;100 +Kaldi Peter;81;Ferfi;29:05:45;100 +Kapitanov Vilmos;82;Ferfi;21:20:09;69 +Karol Flejmer;83;Ferfi;28:40:38;100 +Kas Lisa;84;Noi;15:06:30;48 +Kele Attila;85;Ferfi;30:53:50;100 +Keresztesi Tamas;86;Ferfi;9:47:02;32 +Kincse Szabolcs;87;Ferfi;12:29:12;40 +Kishazi Gabor;88;Ferfi;20:28:11;64 +Kisne Forgony Andrea;89;Noi;15:05:17;43 +Kiss Zsolt;90;Ferfi;31:36:00;100 +Kocsy Barnabas;91;Ferfi;22:30:36;69 +Kollar Zoltan;92;Ferfi;28:31:46;100 +Kolluti Margit;93;Noi;28:39:40;100 +Kolonics Tamas;94;Ferfi;28:54:52;95 +Kormany Laszlo;95;Ferfi;15:57:30;58 +Kota Jozsef;96;Ferfi;16:07:01;52 +Kovacs Adam;97;Ferfi;20:34:45;79 +Kovacs Herman;98;Ferfi;13:41:23;48 +Kovacs Janos;99;Ferfi;17:35:25;56 +Kovecses Roland;101;Ferfi;16:18:08;52 +Kozma Zsolt;100;Ferfi;21:58:17;79 +Kreidl Csaba;103;Ferfi;27:34:23;100 +Kulcsar Lajos;104;Ferfi;27:47:17;86 +Laczko Istvan;105;Ferfi;21:39:49;69 +Laker Szucs Lajos;106;Ferfi;31:00:40;100 +Lang Istvan;107;Ferfi;29:24:56;100 +Lengyel Istvan;108;Ferfi;29:43:58;100 +Lorinczi Reka;109;Noi;20:40:57;65 +Luka Videtic;110;Ferfi;19:43:40;74 +Magosi Zoltan;112;Ferfi;16:47:59;58 +Maraz Zsuzsanna;114;Noi;22:31:31;100 +Marianne Kankaanmaki;115;Noi;21:24:00;73 +Marton-Mlecsenkov Eva;117;Noi;30:57:23;100 +Matej Markovic;118;Ferfi;7:17:48;36 +Mathe Zoltan;119;Ferfi;30:04:49;100 +Mathias Jorgensen;120;Ferfi;20:24:19;100 +Medgyessy Gergely;121;Ferfi;18:26:12;73 +Meszaros Csaba;122;Ferfi;15:02:47;58 +Meszaros Zoltan;123;Ferfi;26:48:31;82 +Michal Cinciala;124;Ferfi;26:29:01;100 +Mihalik Norbert;125;Ferfi;20:27:55;100 +Miorin;126;Ferfi;31:06:19;100 +Mirko Bogomir Miklic;127;Ferfi;21:26:54;100 +Moga Laurentiu Daniel;128;Ferfi;20:27:19;77 +Morosan Mara Alexandra;129;Noi;6:22:11;29 +Muller Peter;130;Ferfi;8:14:18;27 +Nagy Zsolt;131;Ferfi;29:58:11;100 +Napast Francisek;132;Ferfi;19:28:55;82 +Nedeczky Laszlo;133;Ferfi;30:38:18;100 +Nenad Stankovic;134;Ferfi;17:07:56;58 +Nenu Mariana;135;Noi;18:18:50;73 +Palasthy Istvan;136;Ferfi;31:39:54;100 +Palfi Laszlo;137;Ferfi;17:15:32;56 +Pall Attila;138;Ferfi;13:02:28;52 +Pallaruelo Gilles;11;Ferfi;29:37:40;100 +Papp Janos;139;Ferfi;28:26:59;100 +Papp Zoltan;140;Ferfi;24:38:49;100 +Pawel Kusnierz;141;Ferfi;29:49:12;100 +Per Ree;142;Ferfi;21:39:32;79 +Peteris Cabulis;143;Ferfi;29:40:52;100 +Peto Zsolt;144;Ferfi;16:35:59;52 +Petri Perttila;145;Ferfi;30:10:49;100 +Peyer Zoltan;146;Ferfi;16:23:25;73 +Preil Jozsef;147;Ferfi;27:53:31;100 +Racz Robert;148;Ferfi;23:37:13;100 +Radim Zapletal;149;Ferfi;30:35:37;100 +Radvanyi Andras;150;Ferfi;16:50:46;52 +Rakonczay Gabor;151;Ferfi;28:02:45;100 +Rasim Junuzovic;152;Ferfi;30:17:44;100 +Rikard Hallgren;153;Ferfi;11:04:07;36 +Rumanko Tibor;154;Ferfi;12:52:16;43 +Sakari Haka;155;Ferfi;27:56:05;100 +Sasa Markoja Popelar;157;Noi;16:25:49;52 +Schulcz Gabor;158;Ferfi;31:12:14;100 +Schulle Zsolt;159;Ferfi;31:46:14;100 +Seres Tibor;160;Ferfi;17:48:36;58 +Simon Peter;161;Ferfi;16:24:24;58 +Som Andras;163;Ferfi;20:25:52;65 +Soren Boserup;164;Ferfi;15:55:30;58 +Surjan Gergely;165;Ferfi;27:59:04;100 +Szabo Bela;166;Ferfi;21:29:34;77 +Szabo Peter;167;Ferfi;28:14:16;100 +Szaszi Tamas;168;Ferfi;30:22:39;100 +Szell Andrei;169;Ferfi;29:55:48;100 +Szilagyi Laszlo;170;Ferfi;17:06:41;56 +Szucs Lajos;173;Ferfi;22:50:21;79 +Taksonyi Szilard;174;Ferfi;28:38:58;100 +Tal Gabor;175;Ferfi;13:30:38;43 +Teglas Istvan;176;Ferfi;19:00:50;56 +Tilibasa Vasile;177;Ferfi;9:53:11;36 +Toldi Peter;178;Ferfi;25:13:23;100 +Toms Krisztian;179;Ferfi;21:23:02;77 +Torok Benjamin;181;Ferfi;28:14:26;100 +Torok Lajos;182;Ferfi;12:58:59;43 +Toth Attila;10;Ferfi;23:01:38;100 +Toth Istvan;180;Ferfi;22:51:32;77 +Tuske Zsolt;183;Ferfi;31:27:45;100 +Ugroczky Barna;184;Ferfi;15:37:52;58 +Urban Zsolt;185;Ferfi;15:17:55;68 +Utasi Akos;186;Ferfi;17:05:19;69 +Vaczko Zsolt;187;Ferfi;18:20:57;79 +Vamos Beata;188;Noi;4:14:48;14 +Varga Adam;189;Ferfi;21:07:09;69 +Varga Mate;190;Ferfi;14:59:28;48 +Vasas Levente;191;Ferfi;30:40:16;100 +Veres Szilard;192;Ferfi;24:40:28;100 +Ville Niemenmaa;193;Ferfi;30:10:46;100 +Vizer Daniel;194;Ferfi;18:56:50;69 +Weinber Ferenc;195;Ferfi;31:29:54;100 +Zarandy Andras;196;Ferfi;16:45:16;52 +Zentai Andrea;197;Noi;10:29:09;40 +Zoran Markovic;198;Ferfi;24:34:15;100 diff --git a/20240129_doga/ConsoleApp1/.vs/ConsoleApp1/v16/.suo b/20240129_doga/ConsoleApp1/.vs/ConsoleApp1/v16/.suo new file mode 100644 index 0000000..1c3ce41 Binary files /dev/null and b/20240129_doga/ConsoleApp1/.vs/ConsoleApp1/v16/.suo differ diff --git a/20230523/ConsoleApp1/App.config b/20240129_doga/ConsoleApp1/App.config similarity index 100% rename from 20230523/ConsoleApp1/App.config rename to 20240129_doga/ConsoleApp1/App.config diff --git a/20230606/ConsoleApp1/ConsoleApp1.csproj b/20240129_doga/ConsoleApp1/ConsoleApp1.csproj similarity index 96% rename from 20230606/ConsoleApp1/ConsoleApp1.csproj rename to 20240129_doga/ConsoleApp1/ConsoleApp1.csproj index 6652c01..fff3b87 100644 --- a/20230606/ConsoleApp1/ConsoleApp1.csproj +++ b/20240129_doga/ConsoleApp1/ConsoleApp1.csproj @@ -4,7 +4,7 @@ Debug AnyCPU - {D85F91EA-8305-4C0F-9B28-BF0AAFA8AE28} + {DDA63C2F-AF30-40B5-BFA1-548FED1771DE} Exe ConsoleApp1 ConsoleApp1 diff --git a/20230606/ConsoleApp1/ConsoleApp1.sln b/20240129_doga/ConsoleApp1/ConsoleApp1.sln similarity index 65% rename from 20230606/ConsoleApp1/ConsoleApp1.sln rename to 20240129_doga/ConsoleApp1/ConsoleApp1.sln index dd95982..6d0a92d 100644 --- a/20230606/ConsoleApp1/ConsoleApp1.sln +++ b/20240129_doga/ConsoleApp1/ConsoleApp1.sln @@ -3,7 +3,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio Version 16 VisualStudioVersion = 16.0.33529.622 MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ConsoleApp1", "ConsoleApp1.csproj", "{D85F91EA-8305-4C0F-9B28-BF0AAFA8AE28}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ConsoleApp1", "ConsoleApp1.csproj", "{DDA63C2F-AF30-40B5-BFA1-548FED1771DE}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution @@ -11,15 +11,15 @@ Global Release|Any CPU = Release|Any CPU EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution - {D85F91EA-8305-4C0F-9B28-BF0AAFA8AE28}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {D85F91EA-8305-4C0F-9B28-BF0AAFA8AE28}.Debug|Any CPU.Build.0 = Debug|Any CPU - {D85F91EA-8305-4C0F-9B28-BF0AAFA8AE28}.Release|Any CPU.ActiveCfg = Release|Any CPU - {D85F91EA-8305-4C0F-9B28-BF0AAFA8AE28}.Release|Any CPU.Build.0 = Release|Any CPU + {DDA63C2F-AF30-40B5-BFA1-548FED1771DE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {DDA63C2F-AF30-40B5-BFA1-548FED1771DE}.Debug|Any CPU.Build.0 = Debug|Any CPU + {DDA63C2F-AF30-40B5-BFA1-548FED1771DE}.Release|Any CPU.ActiveCfg = Release|Any CPU + {DDA63C2F-AF30-40B5-BFA1-548FED1771DE}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE EndGlobalSection GlobalSection(ExtensibilityGlobals) = postSolution - SolutionGuid = {F94D6298-8CAD-4F79-9D74-A3AFE44BA66C} + SolutionGuid = {DFE12509-15BB-4215-90EB-15305DDC577A} EndGlobalSection EndGlobal diff --git a/20240129_doga/ConsoleApp1/Program.cs b/20240129_doga/ConsoleApp1/Program.cs new file mode 100644 index 0000000..51e0337 --- /dev/null +++ b/20240129_doga/ConsoleApp1/Program.cs @@ -0,0 +1,174 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.IO; + +namespace ConsoleApp1 +{ + public class Egyed + { + public string versenyzo, kategoria, versenyido; + public int rajtszam, tavszazalek; + public double idooraban; + + public Egyed(string Versenyzo, int Rajtszam, string Kategoria, string Versenyido, int Tavszazalek) + { + versenyido = Versenyido; + versenyzo = Versenyzo; + kategoria = Kategoria; + rajtszam = Rajtszam; + tavszazalek = Tavszazalek; + idooraban = IdoOraban(); + } + + public double IdoOraban() + { + string[] ido = versenyido.Split(':'); + int[] idoint = { Convert.ToInt32(ido[0]), Convert.ToInt32(ido[1]), Convert.ToInt32(ido[2]) }; + return idoint[0] + idoint[1] / 60 + idoint[2] / 3600; + } + } + class Program + { + private static int Feladat3(List adatok) + { + int cntr = 0; + foreach (var item in adatok) + { + cntr++; + } + return cntr; + } + + private static int Feladat4(List adatok) + { + int counter = 0; + foreach (var item in adatok) + { + if (item.kategoria != "Ferfi" && item.tavszazalek == 100) + { + counter++; + } + } + return counter; + } + + private static void Feladat5(List adatok, string nev) + { + bool tartalmaz = false; + int ind = -1; + for (int i = 0; i < adatok.Count; i++) + { + if (adatok[i].versenyzo == nev) + { + tartalmaz = true; + ind = i; + break; + } + } + + if (tartalmaz) + { + Console.WriteLine($"\tIndult egyéniben a sportoló? Igen"); + if (adatok[ind].tavszazalek == 100) + { + Console.WriteLine("\tTeljesítette a teljes távot? Igen"); + } + else + { + Console.WriteLine("\tTeljesítette a teljes távot? Nem"); + } + } + else + { + Console.WriteLine($"\tIndult egyéniben a sportoló? Nem"); + } + + } + + private static double Feladat7(List adatok) + { + int cntr = 0; + double osszido = 0; + foreach (var item in adatok) + { + if (item.tavszazalek == 100 && item.kategoria == "Ferfi") + { + cntr++; + osszido += item.idooraban; + } + } + + return osszido / cntr; + } + + private static string Feladat8F(List adatok) + { + int ind = 0; + int cntr = 0; + foreach (var item in adatok) + { + if (adatok[ind].idooraban > item.idooraban && item.tavszazalek == 100 && item.kategoria == "Ferfi") + { + ind = cntr; + } + cntr++; + } + + return $"{adatok[ind].versenyzo} ({adatok[ind].rajtszam}.) - {adatok[ind].versenyido}"; + } + + private static string Feladat8N(List adatok) + { + int ind = 0; + int cntr = 0; + foreach (var item in adatok) + { + if (adatok[ind].idooraban > item.idooraban && item.tavszazalek == 100 && item.kategoria == "Noi") + { + ind = cntr; + } + cntr++; + } + + return $"{adatok[ind].versenyzo} ({adatok[ind].rajtszam}.) - {adatok[ind].versenyido}"; + } + static void Main(string[] args) + { + List adatok = new List(); + + FileStream fileStream = new FileStream("ub2017egyeni.txt", FileMode.Open, FileAccess.Read); + StreamReader streamReader = new StreamReader(fileStream); + string sor = streamReader.ReadLine(); + sor = streamReader.ReadLine(); + while (sor != null) + { + string[] arr = sor.Split(';'); + Egyed egyed = new Egyed(arr[0], Convert.ToInt32(arr[1]), arr[2], arr[3], Convert.ToInt32(arr[4])); + adatok.Add(egyed); + sor = streamReader.ReadLine(); + } + + streamReader.Close(); + fileStream.Close(); + + + Console.ForegroundColor = ConsoleColor.Magenta; + Console.BackgroundColor = ConsoleColor.Blue; + + + Console.WriteLine($"3. feladat: Egyéni indulók: {Feladat3(adatok)} fő"); + Console.WriteLine($"4. feladat: Célba érkező női sportolók: {Feladat4(adatok)} fő"); + Console.WriteLine($"5. feladat: Kérem a sporotló nevét: "); + string sportolo = Console.ReadLine(); + Feladat5(adatok, sportolo); + Console.WriteLine($"7. feladat: Átlagos idő: {Feladat7(adatok)} óra"); + Console.WriteLine($"8. feladat: Verseny győztesei:"); + Console.WriteLine($"\tNők: {Feladat8N(adatok)}"); + Console.WriteLine($"\tFérfiak: {Feladat8F(adatok)}"); + Console.ResetColor(); + } + } +} diff --git a/20230523/ConsoleApp1/Properties/AssemblyInfo.cs b/20240129_doga/ConsoleApp1/Properties/AssemblyInfo.cs similarity index 92% rename from 20230523/ConsoleApp1/Properties/AssemblyInfo.cs rename to 20240129_doga/ConsoleApp1/Properties/AssemblyInfo.cs index 9b60d61..eb23363 100644 --- a/20230523/ConsoleApp1/Properties/AssemblyInfo.cs +++ b/20240129_doga/ConsoleApp1/Properties/AssemblyInfo.cs @@ -10,7 +10,7 @@ using System.Runtime.InteropServices; [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("ConsoleApp1")] -[assembly: AssemblyCopyright("Copyright © 2023")] +[assembly: AssemblyCopyright("Copyright © 2024")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] @@ -20,7 +20,7 @@ using System.Runtime.InteropServices; [assembly: ComVisible(false)] // The following GUID is for the ID of the typelib if this project is exposed to COM -[assembly: Guid("a2a0dfa4-2c93-45d8-b191-99c1f490ac08")] +[assembly: Guid("dda63c2f-af30-40b5-bfa1-548fed1771de")] // Version information for an assembly consists of the following four values: // diff --git a/20240129_doga/ConsoleApp1/bin/Debug/ConsoleApp1.exe b/20240129_doga/ConsoleApp1/bin/Debug/ConsoleApp1.exe new file mode 100644 index 0000000..db458ef Binary files /dev/null and b/20240129_doga/ConsoleApp1/bin/Debug/ConsoleApp1.exe differ diff --git a/20230523/ConsoleApp1/bin/Debug/ConsoleApp1.exe.config b/20240129_doga/ConsoleApp1/bin/Debug/ConsoleApp1.exe.config similarity index 100% rename from 20230523/ConsoleApp1/bin/Debug/ConsoleApp1.exe.config rename to 20240129_doga/ConsoleApp1/bin/Debug/ConsoleApp1.exe.config diff --git a/20231018/ConsoleApp1/bin/Debug/ConsoleApp1.pdb b/20240129_doga/ConsoleApp1/bin/Debug/ConsoleApp1.pdb similarity index 50% rename from 20231018/ConsoleApp1/bin/Debug/ConsoleApp1.pdb rename to 20240129_doga/ConsoleApp1/bin/Debug/ConsoleApp1.pdb index c897558..45939ce 100644 Binary files a/20231018/ConsoleApp1/bin/Debug/ConsoleApp1.pdb and b/20240129_doga/ConsoleApp1/bin/Debug/ConsoleApp1.pdb differ diff --git a/20230523/ConsoleApp1/obj/Debug/.NETFramework,Version=v4.7.2.AssemblyAttributes.cs b/20240129_doga/ConsoleApp1/obj/Debug/.NETFramework,Version=v4.7.2.AssemblyAttributes.cs similarity index 100% rename from 20230523/ConsoleApp1/obj/Debug/.NETFramework,Version=v4.7.2.AssemblyAttributes.cs rename to 20240129_doga/ConsoleApp1/obj/Debug/.NETFramework,Version=v4.7.2.AssemblyAttributes.cs diff --git a/20230606/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.AssemblyReference.cache b/20240129_doga/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.AssemblyReference.cache similarity index 100% rename from 20230606/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.AssemblyReference.cache rename to 20240129_doga/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.AssemblyReference.cache diff --git a/20230523/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.CoreCompileInputs.cache b/20240129_doga/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.CoreCompileInputs.cache similarity index 100% rename from 20230523/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.CoreCompileInputs.cache rename to 20240129_doga/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.CoreCompileInputs.cache diff --git a/20240129_doga/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.FileListAbsolute.txt b/20240129_doga/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..bab4e8c --- /dev/null +++ b/20240129_doga/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.FileListAbsolute.txt @@ -0,0 +1,7 @@ +C:\Users\szabomarton\Desktop\C#\20240129_doga\ConsoleApp1\bin\Debug\ConsoleApp1.exe.config +C:\Users\szabomarton\Desktop\C#\20240129_doga\ConsoleApp1\bin\Debug\ConsoleApp1.exe +C:\Users\szabomarton\Desktop\C#\20240129_doga\ConsoleApp1\bin\Debug\ConsoleApp1.pdb +C:\Users\szabomarton\Desktop\C#\20240129_doga\ConsoleApp1\obj\Debug\ConsoleApp1.csproj.AssemblyReference.cache +C:\Users\szabomarton\Desktop\C#\20240129_doga\ConsoleApp1\obj\Debug\ConsoleApp1.csproj.CoreCompileInputs.cache +C:\Users\szabomarton\Desktop\C#\20240129_doga\ConsoleApp1\obj\Debug\ConsoleApp1.exe +C:\Users\szabomarton\Desktop\C#\20240129_doga\ConsoleApp1\obj\Debug\ConsoleApp1.pdb diff --git a/20240129_doga/ConsoleApp1/obj/Debug/ConsoleApp1.exe b/20240129_doga/ConsoleApp1/obj/Debug/ConsoleApp1.exe new file mode 100644 index 0000000..db458ef Binary files /dev/null and b/20240129_doga/ConsoleApp1/obj/Debug/ConsoleApp1.exe differ diff --git a/20231018/ConsoleApp1/obj/Debug/ConsoleApp1.pdb b/20240129_doga/ConsoleApp1/obj/Debug/ConsoleApp1.pdb similarity index 50% rename from 20231018/ConsoleApp1/obj/Debug/ConsoleApp1.pdb rename to 20240129_doga/ConsoleApp1/obj/Debug/ConsoleApp1.pdb index c897558..45939ce 100644 Binary files a/20231018/ConsoleApp1/obj/Debug/ConsoleApp1.pdb and b/20240129_doga/ConsoleApp1/obj/Debug/ConsoleApp1.pdb differ diff --git a/20230913_doga/ConsoleApp1/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/20240129_doga/ConsoleApp1/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache similarity index 96% rename from 20230913_doga/ConsoleApp1/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache rename to 20240129_doga/ConsoleApp1/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache index acd4c3f..a54151f 100644 Binary files a/20230913_doga/ConsoleApp1/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache and b/20240129_doga/ConsoleApp1/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/20240129_doga/ConsoleApp1/ub2017egyeni.txt b/20240129_doga/ConsoleApp1/ub2017egyeni.txt new file mode 100644 index 0000000..f32e583 --- /dev/null +++ b/20240129_doga/ConsoleApp1/ub2017egyeni.txt @@ -0,0 +1,187 @@ +Versenyzo;Rajtszam;Kategoria;Versenyido;TavSzazalek +Acsadi Lajos;1;Ferfi;30:28:42;100 +Andrzej Wereszczak;2;Ferfi;26:55:19;100 +Aristide Necula;4;Ferfi;21:17:47;69 +Babinyecz Tamas;5;Ferfi;28:35:20;100 +Babinyecz Zoltan;6;Ferfi;28:20:34;100 +Badics Attila;7;Ferfi;28:20:50;100 +Bajcsi Sandor;8;Ferfi;29:08:49;100 +Bako Gabor;9;Ferfi;28:42:36;86 +Bakos Gabor;12;Ferfi;14:56:44;48 +Balint Evi;13;Noi;16:37:35;55 +Barath Anette Lora;14;Noi;18:02:21;58 +Barraud Sebastien;15;Ferfi;22:31:09;77 +Blasko Mihaly;16;Ferfi;29:44:34;100 +Bognar Akos;17;Ferfi;23:04:26;100 +Borsos Jozsef;18;Ferfi;31:28:46;100 +Bosznay Diana;19;Noi;12:32:59;52 +Brigita Burja;20;Noi;27:15:19;100 +Bucsak Gyozo;21;Ferfi;17:37:47;56 +Czaltig Zsolt;29;Ferfi;29:12:54;100 +Czunyi Karoly;30;Ferfi;22:15:26;79 +Csakany Krisztina;22;Noi;30:42:06;100 +Csapo Judit;23;Noi;32:17:53;100 +Csati Timea Viktoria;24;Noi;31:39:53;100 +Csuja Gabor;27;Ferfi;17:44:59;65 +Csurgai Adam;28;Ferfi;24:59:10;77 +Damjan Krejac;25;Ferfi;25:22:12;100 +Dan Lawson;31;Ferfi;18:30:20;100 +Darko Vadlja;32;Ferfi;9:16:09;32 +David Fiala;33;Ferfi;10:23:13;36 +Deak Csaba;34;Ferfi;29:02:48;100 +Derivaz;35;Ferfi;30:39:51;100 +Didzis Brauns;36;Ferfi;17:32:47;68 +Dombay Gabor;37;Ferfi;31:17:30;100 +dr. Bocskay arpad;39;Ferfi;19:37:40;58 +dr. Juhasz Mihaly;40;Ferfi;21:40:48;86 +dr. Korosi Koppany;41;Ferfi;6:04:00;27 +dr. Rudolf Jozsef;42;Ferfi;31:09:17;100 +dr. Szudi Laszlo;38;Ferfi;14:02:58;48 +Drevenka Zsolt;43;Ferfi;10:00:03;36 +Enyedine Dobai Henriett;45;Noi;28:11:47;100 +Erdelyi Laszlo;46;Ferfi;21:31:09;69 +Eugeniu Dedov;47;Ferfi;20:38:12;68 +Evetovics Milan;48;Ferfi;23:23:32;73 +Evetovics-Balla Hajnalka;49;Noi;16:22:40;56 +Fazekas Jani;50;Ferfi;17:57:25;58 +Fejer Zsuzsa;51;Noi;30:55:14;100 +Ferge Istvan;53;Ferfi;8:45:31;27 +File Balazs;54;Ferfi;24:44:19;100 +Florin-Sebastian Ionita;55;Ferfi;6:37:22;36 +Foldesi Jozsef;57;Ferfi;15:32:16;56 +Foszto Zsolt;56;Ferfi;30:50:50;100 +Fredrik Engdahl;58;Ferfi;28:29:14;100 +Galos Viktor;59;Ferfi;18:21:19;65 +Gered Laszlo;60;Ferfi;29:44:23;100 +Geszti Peter;61;Ferfi;22:03:56;73 +Gyorfi Janos;63;Ferfi;22:08:08;79 +Gyorvari Viktor;64;Ferfi;27:47:49;89 +Hajas Attila;65;Ferfi;19:31:49;56 +Horvath Tamas;336;Ferfi;33:35:22;100 +Horvath Zsolt;66;Ferfi;18:20:17;58 +Hosko Roland;67;Ferfi;26:54:54;100 +Huszak Katalin;68;Noi;17:05:14;58 +Huzsvay Edit;69;Noi;25:45:16;100 +Iancu David;70;Ferfi;18:27:21;68 +Ihasz Veronika;71;Noi;28:18:22;100 +Ioan Alexandru Strugariu;72;Ferfi;13:12:45;43 +Ivan Bretan;73;Ferfi;24:10:57;100 +Ivan Zaborskiy;74;Ferfi;30:11:52;100 +Jaana Thorstrom;75;Noi;14:05:34;48 +Janowszky Zoltan;76;Ferfi;29:24:44;100 +Jeszenszky Peter;77;Ferfi;29:01:21;100 +Jon Panter;78;Ferfi;22:05:29;84 +Juhasz Peter;79;Ferfi;27:19:57;100 +Kadar-Csoboth Peter;80;Ferfi;24:35:00;100 +Kaldi Peter;81;Ferfi;29:05:45;100 +Kapitanov Vilmos;82;Ferfi;21:20:09;69 +Karol Flejmer;83;Ferfi;28:40:38;100 +Kas Lisa;84;Noi;15:06:30;48 +Kele Attila;85;Ferfi;30:53:50;100 +Keresztesi Tamas;86;Ferfi;9:47:02;32 +Kincse Szabolcs;87;Ferfi;12:29:12;40 +Kishazi Gabor;88;Ferfi;20:28:11;64 +Kisne Forgony Andrea;89;Noi;15:05:17;43 +Kiss Zsolt;90;Ferfi;31:36:00;100 +Kocsy Barnabas;91;Ferfi;22:30:36;69 +Kollar Zoltan;92;Ferfi;28:31:46;100 +Kolluti Margit;93;Noi;28:39:40;100 +Kolonics Tamas;94;Ferfi;28:54:52;95 +Kormany Laszlo;95;Ferfi;15:57:30;58 +Kota Jozsef;96;Ferfi;16:07:01;52 +Kovacs Adam;97;Ferfi;20:34:45;79 +Kovacs Herman;98;Ferfi;13:41:23;48 +Kovacs Janos;99;Ferfi;17:35:25;56 +Kovecses Roland;101;Ferfi;16:18:08;52 +Kozma Zsolt;100;Ferfi;21:58:17;79 +Kreidl Csaba;103;Ferfi;27:34:23;100 +Kulcsar Lajos;104;Ferfi;27:47:17;86 +Laczko Istvan;105;Ferfi;21:39:49;69 +Laker Szucs Lajos;106;Ferfi;31:00:40;100 +Lang Istvan;107;Ferfi;29:24:56;100 +Lengyel Istvan;108;Ferfi;29:43:58;100 +Lorinczi Reka;109;Noi;20:40:57;65 +Luka Videtic;110;Ferfi;19:43:40;74 +Magosi Zoltan;112;Ferfi;16:47:59;58 +Maraz Zsuzsanna;114;Noi;22:31:31;100 +Marianne Kankaanmaki;115;Noi;21:24:00;73 +Marton-Mlecsenkov Eva;117;Noi;30:57:23;100 +Matej Markovic;118;Ferfi;7:17:48;36 +Mathe Zoltan;119;Ferfi;30:04:49;100 +Mathias Jorgensen;120;Ferfi;20:24:19;100 +Medgyessy Gergely;121;Ferfi;18:26:12;73 +Meszaros Csaba;122;Ferfi;15:02:47;58 +Meszaros Zoltan;123;Ferfi;26:48:31;82 +Michal Cinciala;124;Ferfi;26:29:01;100 +Mihalik Norbert;125;Ferfi;20:27:55;100 +Miorin;126;Ferfi;31:06:19;100 +Mirko Bogomir Miklic;127;Ferfi;21:26:54;100 +Moga Laurentiu Daniel;128;Ferfi;20:27:19;77 +Morosan Mara Alexandra;129;Noi;6:22:11;29 +Muller Peter;130;Ferfi;8:14:18;27 +Nagy Zsolt;131;Ferfi;29:58:11;100 +Napast Francisek;132;Ferfi;19:28:55;82 +Nedeczky Laszlo;133;Ferfi;30:38:18;100 +Nenad Stankovic;134;Ferfi;17:07:56;58 +Nenu Mariana;135;Noi;18:18:50;73 +Palasthy Istvan;136;Ferfi;31:39:54;100 +Palfi Laszlo;137;Ferfi;17:15:32;56 +Pall Attila;138;Ferfi;13:02:28;52 +Pallaruelo Gilles;11;Ferfi;29:37:40;100 +Papp Janos;139;Ferfi;28:26:59;100 +Papp Zoltan;140;Ferfi;24:38:49;100 +Pawel Kusnierz;141;Ferfi;29:49:12;100 +Per Ree;142;Ferfi;21:39:32;79 +Peteris Cabulis;143;Ferfi;29:40:52;100 +Peto Zsolt;144;Ferfi;16:35:59;52 +Petri Perttila;145;Ferfi;30:10:49;100 +Peyer Zoltan;146;Ferfi;16:23:25;73 +Preil Jozsef;147;Ferfi;27:53:31;100 +Racz Robert;148;Ferfi;23:37:13;100 +Radim Zapletal;149;Ferfi;30:35:37;100 +Radvanyi Andras;150;Ferfi;16:50:46;52 +Rakonczay Gabor;151;Ferfi;28:02:45;100 +Rasim Junuzovic;152;Ferfi;30:17:44;100 +Rikard Hallgren;153;Ferfi;11:04:07;36 +Rumanko Tibor;154;Ferfi;12:52:16;43 +Sakari Haka;155;Ferfi;27:56:05;100 +Sasa Markoja Popelar;157;Noi;16:25:49;52 +Schulcz Gabor;158;Ferfi;31:12:14;100 +Schulle Zsolt;159;Ferfi;31:46:14;100 +Seres Tibor;160;Ferfi;17:48:36;58 +Simon Peter;161;Ferfi;16:24:24;58 +Som Andras;163;Ferfi;20:25:52;65 +Soren Boserup;164;Ferfi;15:55:30;58 +Surjan Gergely;165;Ferfi;27:59:04;100 +Szabo Bela;166;Ferfi;21:29:34;77 +Szabo Peter;167;Ferfi;28:14:16;100 +Szaszi Tamas;168;Ferfi;30:22:39;100 +Szell Andrei;169;Ferfi;29:55:48;100 +Szilagyi Laszlo;170;Ferfi;17:06:41;56 +Szucs Lajos;173;Ferfi;22:50:21;79 +Taksonyi Szilard;174;Ferfi;28:38:58;100 +Tal Gabor;175;Ferfi;13:30:38;43 +Teglas Istvan;176;Ferfi;19:00:50;56 +Tilibasa Vasile;177;Ferfi;9:53:11;36 +Toldi Peter;178;Ferfi;25:13:23;100 +Toms Krisztian;179;Ferfi;21:23:02;77 +Torok Benjamin;181;Ferfi;28:14:26;100 +Torok Lajos;182;Ferfi;12:58:59;43 +Toth Attila;10;Ferfi;23:01:38;100 +Toth Istvan;180;Ferfi;22:51:32;77 +Tuske Zsolt;183;Ferfi;31:27:45;100 +Ugroczky Barna;184;Ferfi;15:37:52;58 +Urban Zsolt;185;Ferfi;15:17:55;68 +Utasi Akos;186;Ferfi;17:05:19;69 +Vaczko Zsolt;187;Ferfi;18:20:57;79 +Vamos Beata;188;Noi;4:14:48;14 +Varga Adam;189;Ferfi;21:07:09;69 +Varga Mate;190;Ferfi;14:59:28;48 +Vasas Levente;191;Ferfi;30:40:16;100 +Veres Szilard;192;Ferfi;24:40:28;100 +Ville Niemenmaa;193;Ferfi;30:10:46;100 +Vizer Daniel;194;Ferfi;18:56:50;69 +Weinber Ferenc;195;Ferfi;31:29:54;100 +Zarandy Andras;196;Ferfi;16:45:16;52 +Zentai Andrea;197;Noi;10:29:09;40 +Zoran Markovic;198;Ferfi;24:34:15;100 diff --git a/20240129_doga/SzaboMarton_20240129_dolgozat.txt b/20240129_doga/SzaboMarton_20240129_dolgozat.txt new file mode 100644 index 0000000..fe8584d --- /dev/null +++ b/20240129_doga/SzaboMarton_20240129_dolgozat.txt @@ -0,0 +1,174 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.IO; + +namespace ConsoleApp1 +{ + public class Egyed + { + public string versenyzo, kategoria, versenyido; + public int rajtszam, tavszazalek; + public double idooraban; + + public Egyed(string Versenyzo, int Rajtszam, string Kategoria, string Versenyido, int Tavszazalek) + { + versenyido = Versenyido; + versenyzo = Versenyzo; + kategoria = Kategoria; + rajtszam = Rajtszam; + tavszazalek = Tavszazalek; + idooraban = IdoOraban(); + } + + public double IdoOraban() + { + string[] ido = versenyido.Split(':'); + int[] idoint = { Convert.ToInt32(ido[0]), Convert.ToInt32(ido[1]), Convert.ToInt32(ido[2]) }; + return idoint[0] + idoint[1] / 60 + idoint[2] / 3600; + } + } + class Program + { + private static int Feladat3(List adatok) + { + int cntr = 0; + foreach (var item in adatok) + { + cntr++; + } + return cntr; + } + + private static int Feladat4(List adatok) + { + int counter = 0; + foreach (var item in adatok) + { + if (item.kategoria != "Ferfi" && item.tavszazalek == 100) + { + counter++; + } + } + return counter; + } + + private static void Feladat5(List adatok, string nev) + { + bool tartalmaz = false; + int ind = -1; + for (int i = 0; i < adatok.Count; i++) + { + if (adatok[i].versenyzo == nev) + { + tartalmaz = true; + ind = i; + break; + } + } + + if (tartalmaz) + { + Console.WriteLine($"\tIndult egyéniben a sportoló? Igen"); + if (adatok[ind].tavszazalek == 100) + { + Console.WriteLine("\tTeljesítette a teljes távot? Igen"); + } + else + { + Console.WriteLine("\tTeljesítette a teljes távot? Nem"); + } + } + else + { + Console.WriteLine($"\tIndult egyéniben a sportoló? Nem"); + } + + } + + private static double Feladat7(List adatok) + { + int cntr = 0; + double osszido = 0; + foreach (var item in adatok) + { + if (item.tavszazalek == 100 && item.kategoria == "Ferfi") + { + cntr++; + osszido += item.idooraban; + } + } + + return osszido / cntr; + } + + private static string Feladat8F(List adatok) + { + int ind = 0; + int cntr = 0; + foreach (var item in adatok) + { + if (adatok[ind].idooraban > item.idooraban && item.tavszazalek == 100 && item.kategoria == "Ferfi") + { + ind = cntr; + } + cntr++; + } + + return $"{adatok[ind].versenyzo} ({adatok[ind].rajtszam}.) - {adatok[ind].versenyido}"; + } + + private static string Feladat8N(List adatok) + { + int ind = 0; + int cntr = 0; + foreach (var item in adatok) + { + if (adatok[ind].idooraban > item.idooraban && item.tavszazalek == 100 && item.kategoria == "Noi") + { + ind = cntr; + } + cntr++; + } + + return $"{adatok[ind].versenyzo} ({adatok[ind].rajtszam}.) - {adatok[ind].versenyido}"; + } + static void Main(string[] args) + { + List adatok = new List(); + + FileStream fileStream = new FileStream("ub2017egyeni.txt", FileMode.Open, FileAccess.Read); + StreamReader streamReader = new StreamReader(fileStream); + string sor = streamReader.ReadLine(); + sor = streamReader.ReadLine(); + while (sor != null) + { + string[] arr = sor.Split(';'); + Egyed egyed = new Egyed(arr[0], Convert.ToInt32(arr[1]), arr[2], arr[3], Convert.ToInt32(arr[4])); + adatok.Add(egyed); + sor = streamReader.ReadLine(); + } + + streamReader.Close(); + fileStream.Close(); + + + Console.ForegroundColor = ConsoleColor.Magenta; + Console.BackgroundColor = ConsoleColor.Blue; + + + Console.WriteLine($"3. feladat: Egyéni indulók: {Feladat3(adatok)} fő"); + Console.WriteLine($"4. feladat: Célba érkező női sportolók: {Feladat4(adatok)} fő"); + Console.WriteLine($"5. feladat: Kérem a sporotló nevét: "); + string sportolo = Console.ReadLine(); + Feladat5(adatok, sportolo); + Console.WriteLine($"7. feladat: Átlagos idő: {Feladat7(adatok)} óra"); + Console.WriteLine($"8. feladat: Verseny győztesei:"); + Console.WriteLine($"\tNők: {Feladat8N(adatok)}"); + Console.WriteLine($"\tFérfiak: {Feladat8F(adatok)}"); + Console.ResetColor(); + } + } +} diff --git a/HF/20240107/ConsoleApp1/.vs/ConsoleApp1/FileContentIndex/read.lock b/HF/20240107/ConsoleApp1/.vs/ConsoleApp1/FileContentIndex/read.lock deleted file mode 100644 index e69de29..0000000 diff --git a/HF/20240107/ConsoleApp1/bin/Debug/ConsoleApp1.exe b/HF/20240107/ConsoleApp1/bin/Debug/ConsoleApp1.exe deleted file mode 100644 index 40e9925..0000000 Binary files a/HF/20240107/ConsoleApp1/bin/Debug/ConsoleApp1.exe and /dev/null differ diff --git a/HF/20240107/ConsoleApp1/bin/Debug/ConsoleApp1.pdb b/HF/20240107/ConsoleApp1/bin/Debug/ConsoleApp1.pdb deleted file mode 100644 index fe610b0..0000000 Binary files a/HF/20240107/ConsoleApp1/bin/Debug/ConsoleApp1.pdb and /dev/null differ diff --git a/HF/20240107/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.AssemblyReference.cache b/HF/20240107/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.AssemblyReference.cache deleted file mode 100644 index 6943b8f..0000000 Binary files a/HF/20240107/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.AssemblyReference.cache and /dev/null differ diff --git a/HF/20240107/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.SuggestedBindingRedirects.cache b/HF/20240107/ConsoleApp1/obj/Debug/ConsoleApp1.csproj.SuggestedBindingRedirects.cache deleted file mode 100644 index e69de29..0000000 diff --git a/HF/20240107/ConsoleApp1/obj/Debug/ConsoleApp1.exe b/HF/20240107/ConsoleApp1/obj/Debug/ConsoleApp1.exe deleted file mode 100644 index 40e9925..0000000 Binary files a/HF/20240107/ConsoleApp1/obj/Debug/ConsoleApp1.exe and /dev/null differ diff --git a/HF/20240107/ConsoleApp1/obj/Debug/ConsoleApp1.pdb b/HF/20240107/ConsoleApp1/obj/Debug/ConsoleApp1.pdb deleted file mode 100644 index fe610b0..0000000 Binary files a/HF/20240107/ConsoleApp1/obj/Debug/ConsoleApp1.pdb and /dev/null differ diff --git a/HF/20240107/ConsoleApp1/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/HF/20240107/ConsoleApp1/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache deleted file mode 100644 index 3907e19..0000000 Binary files a/HF/20240107/ConsoleApp1/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache and /dev/null differ diff --git a/allomanyok/Feladatok.pdf b/allomanyok/Feladatok.pdf deleted file mode 100644 index 27cfd06..0000000 Binary files a/allomanyok/Feladatok.pdf and /dev/null differ diff --git a/allomanyok/asd.txt.txt b/allomanyok/asd.txt.txt deleted file mode 100644 index b7c32ff..0000000 --- a/allomanyok/asd.txt.txt +++ /dev/null @@ -1,11 +0,0 @@ -asd -asd -dsa -d wefa -D -ad -ef -eq -wd -wqd -qw \ No newline at end of file diff --git a/allomanyok/asd2.txt.txt b/allomanyok/asd2.txt.txt deleted file mode 100644 index 3708461..0000000 --- a/allomanyok/asd2.txt.txt +++ /dev/null @@ -1,7 +0,0 @@ -asd -sda -asd -sad -dad -sasd -a \ No newline at end of file