From 36ad626a41659903ef8369e3890d7132519fc53b Mon Sep 17 00:00:00 2001 From: pp Date: Mon, 30 Jan 2023 14:51:26 +0100 Subject: [PATCH] =?UTF-8?q?MeccsDoga=20projekt=20els=C5=91=20l=C3=A9p?= =?UTF-8?q?=C3=A9sek?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- MeccsDoga/App.config | 6 ++++ MeccsDoga/MeccsDoga.csproj | 53 ++++++++++++++++++++++++++++ MeccsDoga/Program.cs | 24 +++++++++++++ MeccsDoga/Properties/AssemblyInfo.cs | 36 +++++++++++++++++++ Tombok1.sln | 6 ++++ 5 files changed, 125 insertions(+) create mode 100644 MeccsDoga/App.config create mode 100644 MeccsDoga/MeccsDoga.csproj create mode 100644 MeccsDoga/Program.cs create mode 100644 MeccsDoga/Properties/AssemblyInfo.cs diff --git a/MeccsDoga/App.config b/MeccsDoga/App.config new file mode 100644 index 0000000..56efbc7 --- /dev/null +++ b/MeccsDoga/App.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/MeccsDoga/MeccsDoga.csproj b/MeccsDoga/MeccsDoga.csproj new file mode 100644 index 0000000..18e3883 --- /dev/null +++ b/MeccsDoga/MeccsDoga.csproj @@ -0,0 +1,53 @@ + + + + + Debug + AnyCPU + {022E0B9A-7125-4EC5-9A08-115025405518} + Exe + MeccsDoga + MeccsDoga + 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/MeccsDoga/Program.cs b/MeccsDoga/Program.cs new file mode 100644 index 0000000..f93a467 --- /dev/null +++ b/MeccsDoga/Program.cs @@ -0,0 +1,24 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + + +namespace MeccsDoga +{ + class Program + { + static void Main(string[] args) + { + //Beolvasás a merkozesek.tx fájlból 1. mód + StreamReader sr = new StreamReader(@"c:\git\merkozesek.txt"); + //egy sor beolvasása + string elsosor = sr.ReadLine(); + Console.WriteLine($"Az állomány első sora: {elsosor}"); + sr.Close(); + + } + } +} diff --git a/MeccsDoga/Properties/AssemblyInfo.cs b/MeccsDoga/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..709563c --- /dev/null +++ b/MeccsDoga/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("MeccsDoga")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("MeccsDoga")] +[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("022e0b9a-7125-4ec5-9a08-115025405518")] + +// 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/Tombok1.sln b/Tombok1.sln index be28761..77e4c0c 100644 --- a/Tombok1.sln +++ b/Tombok1.sln @@ -5,6 +5,8 @@ VisualStudioVersion = 16.0.33027.164 MinimumVisualStudioVersion = 10.0.40219.1 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Tombok1", "Tombok1\Tombok1.csproj", "{16742F0A-8F9C-4E0E-BDD3-ED4E99052AAD}" EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MeccsDoga", "MeccsDoga\MeccsDoga.csproj", "{022E0B9A-7125-4EC5-9A08-115025405518}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -15,6 +17,10 @@ Global {16742F0A-8F9C-4E0E-BDD3-ED4E99052AAD}.Debug|Any CPU.Build.0 = Debug|Any CPU {16742F0A-8F9C-4E0E-BDD3-ED4E99052AAD}.Release|Any CPU.ActiveCfg = Release|Any CPU {16742F0A-8F9C-4E0E-BDD3-ED4E99052AAD}.Release|Any CPU.Build.0 = Release|Any CPU + {022E0B9A-7125-4EC5-9A08-115025405518}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {022E0B9A-7125-4EC5-9A08-115025405518}.Debug|Any CPU.Build.0 = Debug|Any CPU + {022E0B9A-7125-4EC5-9A08-115025405518}.Release|Any CPU.ActiveCfg = Release|Any CPU + {022E0B9A-7125-4EC5-9A08-115025405518}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE