Added everything from Kalmar
This commit is contained in:
BIN
20230920/ConsoleApp2/.vs/ConsoleApp2/v16/.suo
Normal file
BIN
20230920/ConsoleApp2/.vs/ConsoleApp2/v16/.suo
Normal file
Binary file not shown.
6
20230920/ConsoleApp2/App.config
Normal file
6
20230920/ConsoleApp2/App.config
Normal file
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<configuration>
|
||||
<startup>
|
||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
|
||||
</startup>
|
||||
</configuration>
|
||||
53
20230920/ConsoleApp2/ConsoleApp2.csproj
Normal file
53
20230920/ConsoleApp2/ConsoleApp2.csproj
Normal file
@@ -0,0 +1,53 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProjectGuid>{657D5BEA-6DAF-4340-BF93-DA334436BA63}</ProjectGuid>
|
||||
<OutputType>Exe</OutputType>
|
||||
<RootNamespace>ConsoleApp2</RootNamespace>
|
||||
<AssemblyName>ConsoleApp2</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
|
||||
<Deterministic>true</Deterministic>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>bin\Debug\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\Release\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Core" />
|
||||
<Reference Include="System.Xml.Linq" />
|
||||
<Reference Include="System.Data.DataSetExtensions" />
|
||||
<Reference Include="Microsoft.CSharp" />
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Net.Http" />
|
||||
<Reference Include="System.Xml" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="Program.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="App.config" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
</Project>
|
||||
25
20230920/ConsoleApp2/ConsoleApp2.sln
Normal file
25
20230920/ConsoleApp2/ConsoleApp2.sln
Normal file
@@ -0,0 +1,25 @@
|
||||
|
||||
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", "{657D5BEA-6DAF-4340-BF93-DA334436BA63}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Release|Any CPU = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{657D5BEA-6DAF-4340-BF93-DA334436BA63}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{657D5BEA-6DAF-4340-BF93-DA334436BA63}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{657D5BEA-6DAF-4340-BF93-DA334436BA63}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{657D5BEA-6DAF-4340-BF93-DA334436BA63}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||
SolutionGuid = {0B023ED5-0D1A-4DD3-B3C7-D4FD182C5F63}
|
||||
EndGlobalSection
|
||||
EndGlobal
|
||||
69
20230920/ConsoleApp2/Program.cs
Normal file
69
20230920/ConsoleApp2/Program.cs
Normal file
@@ -0,0 +1,69 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Collections;
|
||||
using System.IO;
|
||||
|
||||
namespace ConsoleApp2
|
||||
{
|
||||
class Program
|
||||
{
|
||||
public static class MyData
|
||||
{
|
||||
public static ArrayList csaladnev = new ArrayList();
|
||||
public static ArrayList keresztnev = new ArrayList();
|
||||
public static ArrayList magassag = new ArrayList();
|
||||
public static ArrayList tomeg = new ArrayList();
|
||||
public static ArrayList nem = new ArrayList();
|
||||
}
|
||||
|
||||
static void Feladat1()
|
||||
{
|
||||
FileStream fs = new FileStream(@"C:\Users\szabomarton\Desktop\C#\20230920\ConsoleApp2\bin\Debug\tanulók.txt", FileMode.Open, FileAccess.Read);
|
||||
StreamReader sr = new StreamReader(fs);
|
||||
string sor = sr.ReadLine();
|
||||
while (sor != null)
|
||||
{
|
||||
string[] temp = sor.Split(';');
|
||||
MyData.csaladnev.Add(temp[0]);
|
||||
MyData.keresztnev.Add(temp[1]);
|
||||
MyData.magassag.Add(Convert.ToByte(temp[2]));
|
||||
MyData.tomeg.Add(Convert.ToDouble(temp[3]));
|
||||
MyData.nem.Add(temp[4]);
|
||||
sor = sr.ReadLine();
|
||||
}
|
||||
|
||||
sr.Close();
|
||||
fs.Close();
|
||||
|
||||
foreach (string str in MyData.csaladnev)
|
||||
{
|
||||
Console.WriteLine(str);
|
||||
}
|
||||
|
||||
foreach (string str in MyData.keresztnev)
|
||||
{
|
||||
Console.WriteLine(str);
|
||||
}
|
||||
foreach (string str in MyData.magassag)
|
||||
{
|
||||
Console.WriteLine(str);
|
||||
}
|
||||
foreach (string str in MyData.tomeg)
|
||||
{
|
||||
Console.WriteLine(str);
|
||||
}
|
||||
foreach (string str in MyData.nem)
|
||||
{
|
||||
Console.WriteLine(str);
|
||||
}
|
||||
}
|
||||
static void Main(string[] args)
|
||||
{
|
||||
Feladat1();
|
||||
Console.ReadLine();
|
||||
}
|
||||
}
|
||||
}
|
||||
36
20230920/ConsoleApp2/Properties/AssemblyInfo.cs
Normal file
36
20230920/ConsoleApp2/Properties/AssemblyInfo.cs
Normal file
@@ -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("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("657d5bea-6daf-4340-bf93-da334436ba63")]
|
||||
|
||||
// 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")]
|
||||
BIN
20230920/ConsoleApp2/bin/Debug/ConsoleApp2.exe
Normal file
BIN
20230920/ConsoleApp2/bin/Debug/ConsoleApp2.exe
Normal file
Binary file not shown.
6
20230920/ConsoleApp2/bin/Debug/ConsoleApp2.exe.config
Normal file
6
20230920/ConsoleApp2/bin/Debug/ConsoleApp2.exe.config
Normal file
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<configuration>
|
||||
<startup>
|
||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
|
||||
</startup>
|
||||
</configuration>
|
||||
BIN
20230920/ConsoleApp2/bin/Debug/ConsoleApp2.pdb
Normal file
BIN
20230920/ConsoleApp2/bin/Debug/ConsoleApp2.pdb
Normal file
Binary file not shown.
8
20230920/ConsoleApp2/bin/Debug/tanulok2.txt
Normal file
8
20230920/ConsoleApp2/bin/Debug/tanulok2.txt
Normal file
@@ -0,0 +1,8 @@
|
||||
Verebes Fruzsina 149 54,4 lány
|
||||
Verebes Fruzsina 149 54,4 lány
|
||||
Verebes Fruzsina 149 54,4 lány
|
||||
Verebes Fruzsina 149 54,4 lány
|
||||
Verebes Fruzsina 149 54,4 lány
|
||||
Verebes Fruzsina 149 54,4 lány
|
||||
Verebes Fruzsina 149 54,4 lány
|
||||
Verebes Fruzsina 149 54,4 lány
|
||||
100
20230920/ConsoleApp2/bin/Debug/tanulók.txt
Normal file
100
20230920/ConsoleApp2/bin/Debug/tanulók.txt
Normal file
@@ -0,0 +1,100 @@
|
||||
Verebes;Fruzsina;149;54,4;lány
|
||||
Borsodi;Attila;167;51,1;fiú
|
||||
Major;Liza;155;52;lány
|
||||
Varga;Ernő;173;46,5;fiú
|
||||
Lendvai;Vera;165;46,7;lány
|
||||
Kulcsár;Antal;172;55,7;fiú
|
||||
Petróczi;Virág;169;41,3;lány
|
||||
Pais;Károly;155;55,5;fiú
|
||||
Horváth;Adél;157;56,5;lány
|
||||
Kiss;Balázs;163;54,5;fiú
|
||||
Orosz;Ingrid;172;41,9;lány
|
||||
Pelikán;Tamás;172;48,9;fiú
|
||||
Zalai;Elvira;147;57,4;lány
|
||||
Papp;Lilla;169;56;lány
|
||||
Huszár;Dorina;151;48,1;lány
|
||||
Kiss;Krisztián;145;59,3;fiú
|
||||
Sipos;Zsolt;173;57,6;fiú
|
||||
Pongrácz;Karina;175;42,1;lány
|
||||
Vissi;Klaudia;166;59;lány
|
||||
Gellén;Bea;188;47,9;lány
|
||||
Ferencz;Ivett;171;51;lány
|
||||
Ujj;Mihály;188;55,6;fiú
|
||||
Kovács;Gergely;147;42;fiú
|
||||
Felföldi;Judit;145;52,3;lány
|
||||
Bartal;Zsolt;169;49,9;fiú
|
||||
Simon;Erik;171;46,7;fiú
|
||||
Csiszár;Alexandra;170;52,8;lány
|
||||
Pesti;Milán;188;53,3;fiú
|
||||
Simon;Rita;166;46;lány
|
||||
Somogyi;Dezső;177;46,3;fiú
|
||||
Magyar;Magdolna;150;56,8;lány
|
||||
Gombos;Kinga;149;56,7;lány
|
||||
Egerszegi;Kristóf;162;52,2;fiú
|
||||
Somogyi;Tamás;172;59,7;fiú
|
||||
Varga;Anna;188;58,3;lány
|
||||
Csondor;Anikó;159;45,3;lány
|
||||
Vass;Szabolcs;188;54,2;fiú
|
||||
Szabó;Csilla;163;59,6;lány
|
||||
Pass;Flóra;177;45,6;lány
|
||||
Agg;Judit;145;51,1;lány
|
||||
Gyenese;Oszkár;157;43;fiú
|
||||
Hardi;Boglárka;159;60;lány
|
||||
Kuti;Lehel;163;53,8;fiú
|
||||
Domján;Hermina;165;41,3;lány
|
||||
Tompa;Krisztina;172;51,9;lány
|
||||
Radics;Betti;171;42,9;lány
|
||||
Balla;Ibolya;180;43;lány
|
||||
Csontos;Janka;151;56,2;lány
|
||||
Radics;Zsuzsa;159;46,4;lány
|
||||
Vajda;Klára;172;41,9;lány
|
||||
Simon;Marcell;171;46,6;fiú
|
||||
Salamon;Laura;162;48,3;lány
|
||||
Bakony;Ilona;145;46,7;lány
|
||||
Hantos;Bence;147;59;fiú
|
||||
Kovács;Erika;167;59,6;lány
|
||||
Csiszár;Bella;168;48,6;lány
|
||||
Simon;Dorina;169;46,3;lány
|
||||
Bicsák;Hilda;173;44;lány
|
||||
Varga;Rozália;156;44,1;lány
|
||||
Lengyel;Viktor;188;53,3;fiú
|
||||
Molnár;Zsombor;172;48,8;fiú
|
||||
Hajba;Soma;178;48,8;fiú
|
||||
Bocskor;Henrik;154;54,5;fiú
|
||||
Hajdu;Szilvia;157;47,2;lány
|
||||
Csalló;Aliz;159;53;lány
|
||||
Kelemen;Gergő;163;44,9;fiú
|
||||
Kaczor;Jenő;167;44,5;fiú
|
||||
Bujtor;Erzsébet;167;52,1;lány
|
||||
Gombos;Olivér;168;42,5;fiú
|
||||
Varga;Cili;172;49,7;lány
|
||||
Gulyás;Katalin;171;58,2;lány
|
||||
Vass;Vera;155;46;lány
|
||||
Salamon;András;177;55,9;fiú
|
||||
Elekes;Elza;177;48,2;lány
|
||||
Nagy;Melinda;145;46,5;lány
|
||||
Kovács;Vivien;160;58,5;lány
|
||||
Kaszás;Ferenc;149;53;fiú
|
||||
Balogh;Borbála;166;52,9;lány
|
||||
Horváth;Barbara;153;49,1;lány
|
||||
Dobos;Vilma;180;42,9;lány
|
||||
Nagy;Miklós;156;51,7;fiú
|
||||
Kovács;Ambrus;173;54,2;fiú
|
||||
Paksa;Csilla;141;58,4;lány
|
||||
Bende;Natália;145;56,9;lány
|
||||
Czigány;Judit;161;41,4;lány
|
||||
Simon;Edina;167;51,3;lány
|
||||
Monok;Gabriella;168;58,4;lány
|
||||
Jakab;Etelka;169;49,2;lány
|
||||
Vig;Viola;159;53,9;lány
|
||||
Szegleti;Tamás;160;50,5;fiú
|
||||
Pataki;Viktória;149;50,8;lány
|
||||
Vass;Ildikó;171;49,8;lány
|
||||
Farsang;Jakab;168;47,7;fiú
|
||||
Vajda;István;163;48,7;fiú
|
||||
Marosvári;Krisztina;162;46,1;lány
|
||||
Horváth;Kamilla;159;42,1;lány
|
||||
Koller;Tamás;171;45,6;fiú
|
||||
Kocsis;Tamara;170;59,6;lány
|
||||
Molnár;Vera;155;42,2;lány
|
||||
Hegyi;Csaba;152;48,4;fiú
|
||||
@@ -0,0 +1,4 @@
|
||||
// <autogenerated />
|
||||
using System;
|
||||
using System.Reflection;
|
||||
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.7.2", FrameworkDisplayName = ".NET Framework 4.7.2")]
|
||||
Binary file not shown.
@@ -0,0 +1 @@
|
||||
7f4b213b428f4c013f19137338418ee1f5525793
|
||||
@@ -0,0 +1,7 @@
|
||||
C:\Users\szabomarton\Desktop\C#\20230920\ConsoleApp2\bin\Debug\ConsoleApp2.exe.config
|
||||
C:\Users\szabomarton\Desktop\C#\20230920\ConsoleApp2\bin\Debug\ConsoleApp2.exe
|
||||
C:\Users\szabomarton\Desktop\C#\20230920\ConsoleApp2\bin\Debug\ConsoleApp2.pdb
|
||||
C:\Users\szabomarton\Desktop\C#\20230920\ConsoleApp2\obj\Debug\ConsoleApp2.csproj.AssemblyReference.cache
|
||||
C:\Users\szabomarton\Desktop\C#\20230920\ConsoleApp2\obj\Debug\ConsoleApp2.csproj.CoreCompileInputs.cache
|
||||
C:\Users\szabomarton\Desktop\C#\20230920\ConsoleApp2\obj\Debug\ConsoleApp2.exe
|
||||
C:\Users\szabomarton\Desktop\C#\20230920\ConsoleApp2\obj\Debug\ConsoleApp2.pdb
|
||||
BIN
20230920/ConsoleApp2/obj/Debug/ConsoleApp2.exe
Normal file
BIN
20230920/ConsoleApp2/obj/Debug/ConsoleApp2.exe
Normal file
Binary file not shown.
BIN
20230920/ConsoleApp2/obj/Debug/ConsoleApp2.pdb
Normal file
BIN
20230920/ConsoleApp2/obj/Debug/ConsoleApp2.pdb
Normal file
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user