diff --git a/App.config b/App.config
new file mode 100644
index 0000000..56efbc7
--- /dev/null
+++ b/App.config
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Program.cs b/Program.cs
new file mode 100644
index 0000000..f5be7fd
--- /dev/null
+++ b/Program.cs
@@ -0,0 +1,69 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace Program
+{
+ internal class Program
+ {
+ static void Main(string[] args)
+ {
+ //---------------------------\\
+ //Egyszerű for ciklus
+ Random rnd = new Random();
+ for (int i = 0; i < 5; i ++)
+ {
+ int lszam = rnd.Next(1,91);
+ Console.WriteLine($"{i+1}. lottószám: {lszam}");
+ }
+ //---------------------------\\
+ //Számlálás visszafele
+ for (int i = 20; i > 0; i--)
+ {
+ Console.Write($"{i} - ");
+ }
+ Console.WriteLine();
+ //---------------------------\\
+ //while ciklusszerkezet - elöltesztelő
+ string beiras = "";
+ while (beiras != "stop")
+ {
+ Console.WriteLine("While belseje. Hány perc van hátra?");
+ beiras = Console.ReadLine();
+ }
+ Console.WriteLine("Kilépés a programból.");
+ //---------------------------\\
+ //do-while ciklusszerkeszet - hátultesztelő
+ do
+ {
+ Console.WriteLine("\t1. Megnyitás\n\t2. Mentés\n\t3. Importálás\n\t4. Kilépés\n\nVáélasszon! (1-4)");
+ beiras = Console.ReadLine();
+ switch (beiras)
+ {
+ case "1":
+ Console.WriteLine("A megnyitás menüpont");
+ break;
+ case "2":
+ Console.WriteLine("A mentés menüpont");
+ break;
+ case "3":
+ Console.WriteLine("A importálás menüpont");
+ break;
+ }
+ }
+ while (beiras != "4");
+ //---------------------------\\
+ //collection adatszerkezetek bejárása
+ //tömb bejárása ciklussal
+ int[] adatok1 = { 3, 23, 44, 49, 81 };
+
+ foreach (var szam in adatok1)
+ {
+ Console.WriteLine(szam);
+ }
+ Console.WriteLine();
+ }
+ }
+}
diff --git a/Program.csproj b/Program.csproj
new file mode 100644
index 0000000..48f26e6
--- /dev/null
+++ b/Program.csproj
@@ -0,0 +1,53 @@
+
+
+
+
+ Debug
+ AnyCPU
+ {A3F11193-AFD6-412A-917F-4C7C9CCC7EFC}
+ Exe
+ Program
+ Program
+ 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/Program.sln b/Program.sln
new file mode 100644
index 0000000..23dab8c
--- /dev/null
+++ b/Program.sln
@@ -0,0 +1,25 @@
+
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Visual Studio Version 17
+VisualStudioVersion = 17.11.35312.102
+MinimumVisualStudioVersion = 10.0.40219.1
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Program", "Program.csproj", "{A3F11193-AFD6-412A-917F-4C7C9CCC7EFC}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Any CPU = Debug|Any CPU
+ Release|Any CPU = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {A3F11193-AFD6-412A-917F-4C7C9CCC7EFC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {A3F11193-AFD6-412A-917F-4C7C9CCC7EFC}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {A3F11193-AFD6-412A-917F-4C7C9CCC7EFC}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {A3F11193-AFD6-412A-917F-4C7C9CCC7EFC}.Release|Any CPU.Build.0 = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+ GlobalSection(ExtensibilityGlobals) = postSolution
+ SolutionGuid = {CDC44F1D-0012-4109-8B2A-B80EDA3FDC71}
+ EndGlobalSection
+EndGlobal
diff --git a/Properties/AssemblyInfo.cs b/Properties/AssemblyInfo.cs
new file mode 100644
index 0000000..ac8e075
--- /dev/null
+++ b/Properties/AssemblyInfo.cs
@@ -0,0 +1,33 @@
+using System.Reflection;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+// General Information about an assembly is controlled through the following
+// set of attributes. Change these attribute values to modify the information
+// associated with an assembly.
+[assembly: AssemblyTitle("Program")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("")]
+[assembly: AssemblyProduct("Program")]
+[assembly: AssemblyCopyright("Copyright © 2024")]
+[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCulture("")]
+
+// Setting ComVisible to false makes the types in this assembly not visible
+// to COM components. If you need to access a type in this assembly from
+// COM, set the ComVisible attribute to true on that type.
+[assembly: ComVisible(false)]
+
+// The following GUID is for the ID of the typelib if this project is exposed to COM
+[assembly: Guid("a3f11193-afd6-412a-917f-4c7c9ccc7efc")]
+
+// Version information for an assembly consists of the following four values:
+//
+// Major Version
+// Minor Version
+// Build Number
+// Revision
+//
+[assembly: AssemblyVersion("1.0.0.0")]
+[assembly: AssemblyFileVersion("1.0.0.0")]