TODO finish
This commit is contained in:
parent
82fc6b674f
commit
15e2a5bae3
Binary file not shown.
Binary file not shown.
|
@ -24,7 +24,7 @@
|
||||||
"RelativeDocumentMoniker": "ConsoleApp1\\Program.cs",
|
"RelativeDocumentMoniker": "ConsoleApp1\\Program.cs",
|
||||||
"ToolTip": "C:\\Users\\szabomarton\\Desktop\\C#\\ProgaOra\\20240919\\ConsoleApp1\\ConsoleApp1\\Program.cs",
|
"ToolTip": "C:\\Users\\szabomarton\\Desktop\\C#\\ProgaOra\\20240919\\ConsoleApp1\\ConsoleApp1\\Program.cs",
|
||||||
"RelativeToolTip": "ConsoleApp1\\Program.cs",
|
"RelativeToolTip": "ConsoleApp1\\Program.cs",
|
||||||
"ViewState": "AgIAADEAAAAAAAAAAAAcwEEAAAAoAAAAAAAAAA==",
|
"ViewState": "AgIAADEAAAAAAAAAAAAcwEMAAAAAAAAAAAAAAA==",
|
||||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||||
"WhenOpened": "2024-09-19T06:52:49.159Z",
|
"WhenOpened": "2024-09-19T06:52:49.159Z",
|
||||||
"EditorCaption": ""
|
"EditorCaption": ""
|
||||||
|
|
|
@ -24,10 +24,14 @@
|
||||||
"RelativeDocumentMoniker": "ConsoleApp1\\Program.cs",
|
"RelativeDocumentMoniker": "ConsoleApp1\\Program.cs",
|
||||||
"ToolTip": "C:\\Users\\szabomarton\\Desktop\\C#\\ProgaOra\\20240919\\ConsoleApp1\\ConsoleApp1\\Program.cs",
|
"ToolTip": "C:\\Users\\szabomarton\\Desktop\\C#\\ProgaOra\\20240919\\ConsoleApp1\\ConsoleApp1\\Program.cs",
|
||||||
"RelativeToolTip": "ConsoleApp1\\Program.cs",
|
"RelativeToolTip": "ConsoleApp1\\Program.cs",
|
||||||
"ViewState": "AgIAADEAAAAAAAAAAAAcwEMAAAAAAAAAAAAAAA==",
|
"ViewState": "AgIAADEAAAAAAAAAAAAcwFwAAAAyAAAAAAAAAA==",
|
||||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||||
"WhenOpened": "2024-09-19T06:52:49.159Z",
|
"WhenOpened": "2024-09-19T06:52:49.159Z",
|
||||||
"EditorCaption": ""
|
"EditorCaption": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"$type": "Bookmark",
|
||||||
|
"Name": "ST:0:0:{cce594b6-0c39-4442-ba28-10c64ac7e89f}"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
20240920/ConsoleApp1/.vs/ConsoleApp1/v17/.futdcache.v2
Normal file
BIN
20240920/ConsoleApp1/.vs/ConsoleApp1/v17/.futdcache.v2
Normal file
Binary file not shown.
BIN
20240920/ConsoleApp1/.vs/ConsoleApp1/v17/.suo
Normal file
BIN
20240920/ConsoleApp1/.vs/ConsoleApp1/v17/.suo
Normal file
Binary file not shown.
|
@ -0,0 +1,41 @@
|
||||||
|
{
|
||||||
|
"Version": 1,
|
||||||
|
"WorkspaceRootPath": "C:\\Users\\szabomarton\\Desktop\\C#\\ProgaOra\\20240920\\ConsoleApp1\\",
|
||||||
|
"Documents": [
|
||||||
|
{
|
||||||
|
"AbsoluteMoniker": "D:0:0:{712B1E33-47B9-442C-B7A2-A5DD3FCFA1DB}|ConsoleApp1\\ConsoleApp1.csproj|c:\\users\\szabomarton\\desktop\\c#\\progaora\\20240920\\consoleapp1\\consoleapp1\\program.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||||
|
"RelativeMoniker": "D:0:0:{712B1E33-47B9-442C-B7A2-A5DD3FCFA1DB}|ConsoleApp1\\ConsoleApp1.csproj|solutionrelative:consoleapp1\\program.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"DocumentGroupContainers": [
|
||||||
|
{
|
||||||
|
"Orientation": 0,
|
||||||
|
"VerticalTabListWidth": 256,
|
||||||
|
"DocumentGroups": [
|
||||||
|
{
|
||||||
|
"DockedWidth": 200,
|
||||||
|
"SelectedChildIndex": 1,
|
||||||
|
"Children": [
|
||||||
|
{
|
||||||
|
"$type": "Bookmark",
|
||||||
|
"Name": "ST:0:0:{cce594b6-0c39-4442-ba28-10c64ac7e89f}"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"$type": "Document",
|
||||||
|
"DocumentIndex": 0,
|
||||||
|
"Title": "Program.cs",
|
||||||
|
"DocumentMoniker": "C:\\Users\\szabomarton\\Desktop\\C#\\ProgaOra\\20240920\\ConsoleApp1\\ConsoleApp1\\Program.cs",
|
||||||
|
"RelativeDocumentMoniker": "ConsoleApp1\\Program.cs",
|
||||||
|
"ToolTip": "C:\\Users\\szabomarton\\Desktop\\C#\\ProgaOra\\20240920\\ConsoleApp1\\ConsoleApp1\\Program.cs",
|
||||||
|
"RelativeToolTip": "ConsoleApp1\\Program.cs",
|
||||||
|
"ViewState": "AgIAAAAAAAAAAAAAAAAAAAwAAAAIAAAAAAAAAA==",
|
||||||
|
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||||
|
"WhenOpened": "2024-09-20T07:54:27.77Z",
|
||||||
|
"EditorCaption": ""
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
41
20240920/ConsoleApp1/.vs/ConsoleApp1/v17/DocumentLayout.json
Normal file
41
20240920/ConsoleApp1/.vs/ConsoleApp1/v17/DocumentLayout.json
Normal file
|
@ -0,0 +1,41 @@
|
||||||
|
{
|
||||||
|
"Version": 1,
|
||||||
|
"WorkspaceRootPath": "C:\\Users\\szabomarton\\Desktop\\C#\\ProgaOra\\20240920\\ConsoleApp1\\",
|
||||||
|
"Documents": [
|
||||||
|
{
|
||||||
|
"AbsoluteMoniker": "D:0:0:{712B1E33-47B9-442C-B7A2-A5DD3FCFA1DB}|ConsoleApp1\\ConsoleApp1.csproj|c:\\users\\szabomarton\\desktop\\c#\\progaora\\20240920\\consoleapp1\\consoleapp1\\program.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||||
|
"RelativeMoniker": "D:0:0:{712B1E33-47B9-442C-B7A2-A5DD3FCFA1DB}|ConsoleApp1\\ConsoleApp1.csproj|solutionrelative:consoleapp1\\program.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"DocumentGroupContainers": [
|
||||||
|
{
|
||||||
|
"Orientation": 0,
|
||||||
|
"VerticalTabListWidth": 256,
|
||||||
|
"DocumentGroups": [
|
||||||
|
{
|
||||||
|
"DockedWidth": 200,
|
||||||
|
"SelectedChildIndex": 1,
|
||||||
|
"Children": [
|
||||||
|
{
|
||||||
|
"$type": "Bookmark",
|
||||||
|
"Name": "ST:0:0:{cce594b6-0c39-4442-ba28-10c64ac7e89f}"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"$type": "Document",
|
||||||
|
"DocumentIndex": 0,
|
||||||
|
"Title": "Program.cs",
|
||||||
|
"DocumentMoniker": "C:\\Users\\szabomarton\\Desktop\\C#\\ProgaOra\\20240920\\ConsoleApp1\\ConsoleApp1\\Program.cs",
|
||||||
|
"RelativeDocumentMoniker": "ConsoleApp1\\Program.cs",
|
||||||
|
"ToolTip": "C:\\Users\\szabomarton\\Desktop\\C#\\ProgaOra\\20240920\\ConsoleApp1\\ConsoleApp1\\Program.cs",
|
||||||
|
"RelativeToolTip": "ConsoleApp1\\Program.cs",
|
||||||
|
"ViewState": "AgIAACUAAAAAAAAAAAA9wEkAAAAAAAAAAAAAAA==",
|
||||||
|
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||||
|
"WhenOpened": "2024-09-20T07:54:27.77Z",
|
||||||
|
"EditorCaption": ""
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
25
20240920/ConsoleApp1/ConsoleApp1.sln
Normal file
25
20240920/ConsoleApp1/ConsoleApp1.sln
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
|
||||||
|
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||||
|
# Visual Studio Version 17
|
||||||
|
VisualStudioVersion = 17.11.35303.130
|
||||||
|
MinimumVisualStudioVersion = 10.0.40219.1
|
||||||
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ConsoleApp1", "ConsoleApp1\ConsoleApp1.csproj", "{712B1E33-47B9-442C-B7A2-A5DD3FCFA1DB}"
|
||||||
|
EndProject
|
||||||
|
Global
|
||||||
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||||
|
Debug|Any CPU = Debug|Any CPU
|
||||||
|
Release|Any CPU = Release|Any CPU
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||||
|
{712B1E33-47B9-442C-B7A2-A5DD3FCFA1DB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
|
{712B1E33-47B9-442C-B7A2-A5DD3FCFA1DB}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{712B1E33-47B9-442C-B7A2-A5DD3FCFA1DB}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
|
{712B1E33-47B9-442C-B7A2-A5DD3FCFA1DB}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(SolutionProperties) = preSolution
|
||||||
|
HideSolutionNode = FALSE
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||||
|
SolutionGuid = {30A6F478-6ED6-4558-A314-7E1BB7A9E881}
|
||||||
|
EndGlobalSection
|
||||||
|
EndGlobal
|
10
20240920/ConsoleApp1/ConsoleApp1/ConsoleApp1.csproj
Normal file
10
20240920/ConsoleApp1/ConsoleApp1/ConsoleApp1.csproj
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
|
|
||||||
|
<PropertyGroup>
|
||||||
|
<OutputType>Exe</OutputType>
|
||||||
|
<TargetFramework>net8.0</TargetFramework>
|
||||||
|
<ImplicitUsings>enable</ImplicitUsings>
|
||||||
|
<Nullable>enable</Nullable>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
|
</Project>
|
74
20240920/ConsoleApp1/ConsoleApp1/Program.cs
Normal file
74
20240920/ConsoleApp1/ConsoleApp1/Program.cs
Normal file
|
@ -0,0 +1,74 @@
|
||||||
|
using System.IO;
|
||||||
|
|
||||||
|
Main();
|
||||||
|
|
||||||
|
static void Main()
|
||||||
|
{
|
||||||
|
DataRead();
|
||||||
|
Console.WriteLine($"Ötven pontnál többet elérők száma: {OtvenFelettiek(Data.tanulok)}");
|
||||||
|
Console.WriteLine($"A pontok átlaga: {Atlag(Data.tanulok):F2}");
|
||||||
|
List<Tanulo> legjobbak = LegjobbHarom(Data.tanulok);
|
||||||
|
for (int i = 0; i < 3; i++)
|
||||||
|
{
|
||||||
|
Console.WriteLine($"{legjobbak[i].Nev}, {legjobbak[i].Pont}");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
static int OtvenFelettiek(List<Tanulo> list)
|
||||||
|
{
|
||||||
|
var result = list.Where(x => x.Pont > 50).Count();
|
||||||
|
return result;
|
||||||
|
}
|
||||||
|
|
||||||
|
static double Atlag(List<Tanulo> list)
|
||||||
|
{
|
||||||
|
var result = list.Average(x => x.Pont);
|
||||||
|
return result;
|
||||||
|
}
|
||||||
|
|
||||||
|
static List<Tanulo> LegjobbHarom(List<Tanulo> list)
|
||||||
|
{
|
||||||
|
//List<Tanulo> legjobbharom = list.OrderByDescending(list => list.Pont).ToList();
|
||||||
|
List<Tanulo> legjobbharom = (from tanulo in list
|
||||||
|
orderby tanulo.Pont descending
|
||||||
|
select tanulo).ToList();
|
||||||
|
return legjobbharom;
|
||||||
|
}
|
||||||
|
|
||||||
|
static void DataRead()
|
||||||
|
{
|
||||||
|
string path = "C:\\Users\\szabomarton\\Desktop\\C#\\ProgaOra\\20240920\\tanulok.txt";
|
||||||
|
using (StreamReader streamReader = new StreamReader(path))
|
||||||
|
{
|
||||||
|
string line = streamReader.ReadLine();
|
||||||
|
line = streamReader.ReadLine();
|
||||||
|
|
||||||
|
while (line != null)
|
||||||
|
{
|
||||||
|
string[] datas = line.Split(',');
|
||||||
|
Tanulo tanulo = new Tanulo(datas[0], Convert.ToInt32(datas[1]));
|
||||||
|
Data.tanulok.Add(tanulo);
|
||||||
|
line = streamReader.ReadLine();
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
public class Tanulo
|
||||||
|
{
|
||||||
|
public string Nev;
|
||||||
|
public int Pont;
|
||||||
|
|
||||||
|
public Tanulo(string nev, int pont)
|
||||||
|
{
|
||||||
|
Nev = nev;
|
||||||
|
Pont = pont;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public static class Data
|
||||||
|
{
|
||||||
|
public static List<Tanulo> tanulok = new List<Tanulo>();
|
||||||
|
}
|
|
@ -0,0 +1,23 @@
|
||||||
|
{
|
||||||
|
"runtimeTarget": {
|
||||||
|
"name": ".NETCoreApp,Version=v8.0",
|
||||||
|
"signature": ""
|
||||||
|
},
|
||||||
|
"compilationOptions": {},
|
||||||
|
"targets": {
|
||||||
|
".NETCoreApp,Version=v8.0": {
|
||||||
|
"ConsoleApp1/1.0.0": {
|
||||||
|
"runtime": {
|
||||||
|
"ConsoleApp1.dll": {}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"libraries": {
|
||||||
|
"ConsoleApp1/1.0.0": {
|
||||||
|
"type": "project",
|
||||||
|
"serviceable": false,
|
||||||
|
"sha512": ""
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -0,0 +1,12 @@
|
||||||
|
{
|
||||||
|
"runtimeOptions": {
|
||||||
|
"tfm": "net8.0",
|
||||||
|
"framework": {
|
||||||
|
"name": "Microsoft.NETCore.App",
|
||||||
|
"version": "8.0.0"
|
||||||
|
},
|
||||||
|
"configProperties": {
|
||||||
|
"System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization": false
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,68 @@
|
||||||
|
{
|
||||||
|
"format": 1,
|
||||||
|
"restore": {
|
||||||
|
"C:\\Users\\szabomarton\\Desktop\\C#\\ProgaOra\\20240920\\ConsoleApp1\\ConsoleApp1\\ConsoleApp1.csproj": {}
|
||||||
|
},
|
||||||
|
"projects": {
|
||||||
|
"C:\\Users\\szabomarton\\Desktop\\C#\\ProgaOra\\20240920\\ConsoleApp1\\ConsoleApp1\\ConsoleApp1.csproj": {
|
||||||
|
"version": "1.0.0",
|
||||||
|
"restore": {
|
||||||
|
"projectUniqueName": "C:\\Users\\szabomarton\\Desktop\\C#\\ProgaOra\\20240920\\ConsoleApp1\\ConsoleApp1\\ConsoleApp1.csproj",
|
||||||
|
"projectName": "ConsoleApp1",
|
||||||
|
"projectPath": "C:\\Users\\szabomarton\\Desktop\\C#\\ProgaOra\\20240920\\ConsoleApp1\\ConsoleApp1\\ConsoleApp1.csproj",
|
||||||
|
"packagesPath": "C:\\Users\\szabomarton\\.nuget\\packages\\",
|
||||||
|
"outputPath": "C:\\Users\\szabomarton\\Desktop\\C#\\ProgaOra\\20240920\\ConsoleApp1\\ConsoleApp1\\obj\\",
|
||||||
|
"projectStyle": "PackageReference",
|
||||||
|
"configFilePaths": [
|
||||||
|
"C:\\Users\\szabomarton\\AppData\\Roaming\\NuGet\\NuGet.Config",
|
||||||
|
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
|
||||||
|
],
|
||||||
|
"originalTargetFrameworks": [
|
||||||
|
"net8.0"
|
||||||
|
],
|
||||||
|
"sources": {
|
||||||
|
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
|
||||||
|
"https://api.nuget.org/v3/index.json": {}
|
||||||
|
},
|
||||||
|
"frameworks": {
|
||||||
|
"net8.0": {
|
||||||
|
"targetAlias": "net8.0",
|
||||||
|
"projectReferences": {}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"warningProperties": {
|
||||||
|
"warnAsError": [
|
||||||
|
"NU1605"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"restoreAuditProperties": {
|
||||||
|
"enableAudit": "true",
|
||||||
|
"auditLevel": "low",
|
||||||
|
"auditMode": "direct"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"frameworks": {
|
||||||
|
"net8.0": {
|
||||||
|
"targetAlias": "net8.0",
|
||||||
|
"imports": [
|
||||||
|
"net461",
|
||||||
|
"net462",
|
||||||
|
"net47",
|
||||||
|
"net471",
|
||||||
|
"net472",
|
||||||
|
"net48",
|
||||||
|
"net481"
|
||||||
|
],
|
||||||
|
"assetTargetFallback": true,
|
||||||
|
"warn": true,
|
||||||
|
"frameworkReferences": {
|
||||||
|
"Microsoft.NETCore.App": {
|
||||||
|
"privateAssets": "all"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\8.0.400/PortableRuntimeIdentifierGraph.json"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,15 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
||||||
|
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
||||||
|
<RestoreSuccess Condition=" '$(RestoreSuccess)' == '' ">True</RestoreSuccess>
|
||||||
|
<RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool>
|
||||||
|
<ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile>
|
||||||
|
<NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot>
|
||||||
|
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\szabomarton\.nuget\packages\</NuGetPackageFolders>
|
||||||
|
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
|
||||||
|
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.11.0</NuGetToolVersion>
|
||||||
|
</PropertyGroup>
|
||||||
|
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
||||||
|
<SourceRoot Include="C:\Users\szabomarton\.nuget\packages\" />
|
||||||
|
</ItemGroup>
|
||||||
|
</Project>
|
|
@ -0,0 +1,2 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
||||||
|
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" />
|
|
@ -0,0 +1,4 @@
|
||||||
|
// <autogenerated />
|
||||||
|
using System;
|
||||||
|
using System.Reflection;
|
||||||
|
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v8.0", FrameworkDisplayName = ".NET 8.0")]
|
|
@ -0,0 +1,23 @@
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
// <auto-generated>
|
||||||
|
// This code was generated by a tool.
|
||||||
|
// Runtime Version:4.0.30319.42000
|
||||||
|
//
|
||||||
|
// Changes to this file may cause incorrect behavior and will be lost if
|
||||||
|
// the code is regenerated.
|
||||||
|
// </auto-generated>
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
using System;
|
||||||
|
using System.Reflection;
|
||||||
|
|
||||||
|
[assembly: System.Reflection.AssemblyCompanyAttribute("ConsoleApp1")]
|
||||||
|
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
||||||
|
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
||||||
|
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+82fc6b674fd1265407cef9381f915f8fb7df93c7")]
|
||||||
|
[assembly: System.Reflection.AssemblyProductAttribute("ConsoleApp1")]
|
||||||
|
[assembly: System.Reflection.AssemblyTitleAttribute("ConsoleApp1")]
|
||||||
|
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
||||||
|
|
||||||
|
// Generated by the MSBuild WriteCodeFragment class.
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
aa67c41760e97d205100aee5a50d70bd24baabce8f916061a9734dff6619552c
|
|
@ -0,0 +1,13 @@
|
||||||
|
is_global = true
|
||||||
|
build_property.TargetFramework = net8.0
|
||||||
|
build_property.TargetPlatformMinVersion =
|
||||||
|
build_property.UsingMicrosoftNETSdkWeb =
|
||||||
|
build_property.ProjectTypeGuids =
|
||||||
|
build_property.InvariantGlobalization =
|
||||||
|
build_property.PlatformNeutralAssembly =
|
||||||
|
build_property.EnforceExtendedAnalyzerRules =
|
||||||
|
build_property._SupportedPlatformList = Linux,macOS,Windows
|
||||||
|
build_property.RootNamespace = ConsoleApp1
|
||||||
|
build_property.ProjectDir = C:\Users\szabomarton\Desktop\C#\ProgaOra\20240920\ConsoleApp1\ConsoleApp1\
|
||||||
|
build_property.EnableComHosting =
|
||||||
|
build_property.EnableGeneratedComInterfaceComImportInterop =
|
|
@ -0,0 +1,8 @@
|
||||||
|
// <auto-generated/>
|
||||||
|
global using global::System;
|
||||||
|
global using global::System.Collections.Generic;
|
||||||
|
global using global::System.IO;
|
||||||
|
global using global::System.Linq;
|
||||||
|
global using global::System.Net.Http;
|
||||||
|
global using global::System.Threading;
|
||||||
|
global using global::System.Threading.Tasks;
|
Binary file not shown.
|
@ -0,0 +1 @@
|
||||||
|
7f1c35188bf0c59fbea1d24b1d43dc1963ee3d5043bdfb42e9b9890b98c38178
|
|
@ -0,0 +1,14 @@
|
||||||
|
C:\Users\szabomarton\Desktop\C#\ProgaOra\20240920\ConsoleApp1\ConsoleApp1\obj\Debug\net8.0\ConsoleApp1.GeneratedMSBuildEditorConfig.editorconfig
|
||||||
|
C:\Users\szabomarton\Desktop\C#\ProgaOra\20240920\ConsoleApp1\ConsoleApp1\obj\Debug\net8.0\ConsoleApp1.AssemblyInfoInputs.cache
|
||||||
|
C:\Users\szabomarton\Desktop\C#\ProgaOra\20240920\ConsoleApp1\ConsoleApp1\obj\Debug\net8.0\ConsoleApp1.AssemblyInfo.cs
|
||||||
|
C:\Users\szabomarton\Desktop\C#\ProgaOra\20240920\ConsoleApp1\ConsoleApp1\obj\Debug\net8.0\ConsoleApp1.csproj.CoreCompileInputs.cache
|
||||||
|
C:\Users\szabomarton\Desktop\C#\ProgaOra\20240920\ConsoleApp1\ConsoleApp1\bin\Debug\net8.0\ConsoleApp1.exe
|
||||||
|
C:\Users\szabomarton\Desktop\C#\ProgaOra\20240920\ConsoleApp1\ConsoleApp1\bin\Debug\net8.0\ConsoleApp1.deps.json
|
||||||
|
C:\Users\szabomarton\Desktop\C#\ProgaOra\20240920\ConsoleApp1\ConsoleApp1\bin\Debug\net8.0\ConsoleApp1.runtimeconfig.json
|
||||||
|
C:\Users\szabomarton\Desktop\C#\ProgaOra\20240920\ConsoleApp1\ConsoleApp1\bin\Debug\net8.0\ConsoleApp1.dll
|
||||||
|
C:\Users\szabomarton\Desktop\C#\ProgaOra\20240920\ConsoleApp1\ConsoleApp1\bin\Debug\net8.0\ConsoleApp1.pdb
|
||||||
|
C:\Users\szabomarton\Desktop\C#\ProgaOra\20240920\ConsoleApp1\ConsoleApp1\obj\Debug\net8.0\ConsoleApp1.dll
|
||||||
|
C:\Users\szabomarton\Desktop\C#\ProgaOra\20240920\ConsoleApp1\ConsoleApp1\obj\Debug\net8.0\refint\ConsoleApp1.dll
|
||||||
|
C:\Users\szabomarton\Desktop\C#\ProgaOra\20240920\ConsoleApp1\ConsoleApp1\obj\Debug\net8.0\ConsoleApp1.pdb
|
||||||
|
C:\Users\szabomarton\Desktop\C#\ProgaOra\20240920\ConsoleApp1\ConsoleApp1\obj\Debug\net8.0\ConsoleApp1.genruntimeconfig.cache
|
||||||
|
C:\Users\szabomarton\Desktop\C#\ProgaOra\20240920\ConsoleApp1\ConsoleApp1\obj\Debug\net8.0\ref\ConsoleApp1.dll
|
Binary file not shown.
|
@ -0,0 +1 @@
|
||||||
|
9b6d263268ab2281cec2217d9f91c5311410da59c6ca98faa5bac969266aab9e
|
Binary file not shown.
BIN
20240920/ConsoleApp1/ConsoleApp1/obj/Debug/net8.0/apphost.exe
Normal file
BIN
20240920/ConsoleApp1/ConsoleApp1/obj/Debug/net8.0/apphost.exe
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
73
20240920/ConsoleApp1/ConsoleApp1/obj/project.assets.json
Normal file
73
20240920/ConsoleApp1/ConsoleApp1/obj/project.assets.json
Normal file
|
@ -0,0 +1,73 @@
|
||||||
|
{
|
||||||
|
"version": 3,
|
||||||
|
"targets": {
|
||||||
|
"net8.0": {}
|
||||||
|
},
|
||||||
|
"libraries": {},
|
||||||
|
"projectFileDependencyGroups": {
|
||||||
|
"net8.0": []
|
||||||
|
},
|
||||||
|
"packageFolders": {
|
||||||
|
"C:\\Users\\szabomarton\\.nuget\\packages\\": {}
|
||||||
|
},
|
||||||
|
"project": {
|
||||||
|
"version": "1.0.0",
|
||||||
|
"restore": {
|
||||||
|
"projectUniqueName": "C:\\Users\\szabomarton\\Desktop\\C#\\ProgaOra\\20240920\\ConsoleApp1\\ConsoleApp1\\ConsoleApp1.csproj",
|
||||||
|
"projectName": "ConsoleApp1",
|
||||||
|
"projectPath": "C:\\Users\\szabomarton\\Desktop\\C#\\ProgaOra\\20240920\\ConsoleApp1\\ConsoleApp1\\ConsoleApp1.csproj",
|
||||||
|
"packagesPath": "C:\\Users\\szabomarton\\.nuget\\packages\\",
|
||||||
|
"outputPath": "C:\\Users\\szabomarton\\Desktop\\C#\\ProgaOra\\20240920\\ConsoleApp1\\ConsoleApp1\\obj\\",
|
||||||
|
"projectStyle": "PackageReference",
|
||||||
|
"configFilePaths": [
|
||||||
|
"C:\\Users\\szabomarton\\AppData\\Roaming\\NuGet\\NuGet.Config",
|
||||||
|
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
|
||||||
|
],
|
||||||
|
"originalTargetFrameworks": [
|
||||||
|
"net8.0"
|
||||||
|
],
|
||||||
|
"sources": {
|
||||||
|
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
|
||||||
|
"https://api.nuget.org/v3/index.json": {}
|
||||||
|
},
|
||||||
|
"frameworks": {
|
||||||
|
"net8.0": {
|
||||||
|
"targetAlias": "net8.0",
|
||||||
|
"projectReferences": {}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"warningProperties": {
|
||||||
|
"warnAsError": [
|
||||||
|
"NU1605"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"restoreAuditProperties": {
|
||||||
|
"enableAudit": "true",
|
||||||
|
"auditLevel": "low",
|
||||||
|
"auditMode": "direct"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"frameworks": {
|
||||||
|
"net8.0": {
|
||||||
|
"targetAlias": "net8.0",
|
||||||
|
"imports": [
|
||||||
|
"net461",
|
||||||
|
"net462",
|
||||||
|
"net47",
|
||||||
|
"net471",
|
||||||
|
"net472",
|
||||||
|
"net48",
|
||||||
|
"net481"
|
||||||
|
],
|
||||||
|
"assetTargetFallback": true,
|
||||||
|
"warn": true,
|
||||||
|
"frameworkReferences": {
|
||||||
|
"Microsoft.NETCore.App": {
|
||||||
|
"privateAssets": "all"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\8.0.400/PortableRuntimeIdentifierGraph.json"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
8
20240920/ConsoleApp1/ConsoleApp1/obj/project.nuget.cache
Normal file
8
20240920/ConsoleApp1/ConsoleApp1/obj/project.nuget.cache
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
{
|
||||||
|
"version": 2,
|
||||||
|
"dgSpecHash": "N3V9pefyNFs=",
|
||||||
|
"success": true,
|
||||||
|
"projectFilePath": "C:\\Users\\szabomarton\\Desktop\\C#\\ProgaOra\\20240920\\ConsoleApp1\\ConsoleApp1\\ConsoleApp1.csproj",
|
||||||
|
"expectedPackageFiles": [],
|
||||||
|
"logs": []
|
||||||
|
}
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
20240920/ConsoleApp2/.vs/ConsoleApp2/v17/.futdcache.v2
Normal file
BIN
20240920/ConsoleApp2/.vs/ConsoleApp2/v17/.futdcache.v2
Normal file
Binary file not shown.
BIN
20240920/ConsoleApp2/.vs/ConsoleApp2/v17/.suo
Normal file
BIN
20240920/ConsoleApp2/.vs/ConsoleApp2/v17/.suo
Normal file
Binary file not shown.
|
@ -0,0 +1,41 @@
|
||||||
|
{
|
||||||
|
"Version": 1,
|
||||||
|
"WorkspaceRootPath": "C:\\Users\\szabomarton\\Desktop\\C#\\ProgaOra\\20240920\\ConsoleApp2\\",
|
||||||
|
"Documents": [
|
||||||
|
{
|
||||||
|
"AbsoluteMoniker": "D:0:0:{07865C0D-EE88-4AE8-8F14-75DE240A66E7}|ConsoleApp2\\ConsoleApp2.csproj|c:\\users\\szabomarton\\desktop\\c#\\progaora\\20240920\\consoleapp2\\consoleapp2\\program.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||||
|
"RelativeMoniker": "D:0:0:{07865C0D-EE88-4AE8-8F14-75DE240A66E7}|ConsoleApp2\\ConsoleApp2.csproj|solutionrelative:consoleapp2\\program.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"DocumentGroupContainers": [
|
||||||
|
{
|
||||||
|
"Orientation": 0,
|
||||||
|
"VerticalTabListWidth": 256,
|
||||||
|
"DocumentGroups": [
|
||||||
|
{
|
||||||
|
"DockedWidth": 200,
|
||||||
|
"SelectedChildIndex": 0,
|
||||||
|
"Children": [
|
||||||
|
{
|
||||||
|
"$type": "Document",
|
||||||
|
"DocumentIndex": 0,
|
||||||
|
"Title": "Program.cs",
|
||||||
|
"DocumentMoniker": "C:\\Users\\szabomarton\\Desktop\\C#\\ProgaOra\\20240920\\ConsoleApp2\\ConsoleApp2\\Program.cs",
|
||||||
|
"RelativeDocumentMoniker": "ConsoleApp2\\Program.cs",
|
||||||
|
"ToolTip": "C:\\Users\\szabomarton\\Desktop\\C#\\ProgaOra\\20240920\\ConsoleApp2\\ConsoleApp2\\Program.cs",
|
||||||
|
"RelativeToolTip": "ConsoleApp2\\Program.cs",
|
||||||
|
"ViewState": "AgIAAAAAAAAAAAAAAAAAAAQAAABCAAAAAAAAAA==",
|
||||||
|
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||||
|
"WhenOpened": "2024-09-20T09:02:47.555Z",
|
||||||
|
"EditorCaption": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"$type": "Bookmark",
|
||||||
|
"Name": "ST:0:0:{cce594b6-0c39-4442-ba28-10c64ac7e89f}"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
41
20240920/ConsoleApp2/.vs/ConsoleApp2/v17/DocumentLayout.json
Normal file
41
20240920/ConsoleApp2/.vs/ConsoleApp2/v17/DocumentLayout.json
Normal file
|
@ -0,0 +1,41 @@
|
||||||
|
{
|
||||||
|
"Version": 1,
|
||||||
|
"WorkspaceRootPath": "C:\\Users\\szabomarton\\Desktop\\C#\\ProgaOra\\20240920\\ConsoleApp2\\",
|
||||||
|
"Documents": [
|
||||||
|
{
|
||||||
|
"AbsoluteMoniker": "D:0:0:{07865C0D-EE88-4AE8-8F14-75DE240A66E7}|ConsoleApp2\\ConsoleApp2.csproj|c:\\users\\szabomarton\\desktop\\c#\\progaora\\20240920\\consoleapp2\\consoleapp2\\program.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||||
|
"RelativeMoniker": "D:0:0:{07865C0D-EE88-4AE8-8F14-75DE240A66E7}|ConsoleApp2\\ConsoleApp2.csproj|solutionrelative:consoleapp2\\program.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"DocumentGroupContainers": [
|
||||||
|
{
|
||||||
|
"Orientation": 0,
|
||||||
|
"VerticalTabListWidth": 256,
|
||||||
|
"DocumentGroups": [
|
||||||
|
{
|
||||||
|
"DockedWidth": 200,
|
||||||
|
"SelectedChildIndex": 0,
|
||||||
|
"Children": [
|
||||||
|
{
|
||||||
|
"$type": "Document",
|
||||||
|
"DocumentIndex": 0,
|
||||||
|
"Title": "Program.cs",
|
||||||
|
"DocumentMoniker": "C:\\Users\\szabomarton\\Desktop\\C#\\ProgaOra\\20240920\\ConsoleApp2\\ConsoleApp2\\Program.cs",
|
||||||
|
"RelativeDocumentMoniker": "ConsoleApp2\\Program.cs",
|
||||||
|
"ToolTip": "C:\\Users\\szabomarton\\Desktop\\C#\\ProgaOra\\20240920\\ConsoleApp2\\ConsoleApp2\\Program.cs",
|
||||||
|
"RelativeToolTip": "ConsoleApp2\\Program.cs",
|
||||||
|
"ViewState": "AgIAAAAAAAAAAAAAAAAAAAcAAAAlAAAAAAAAAA==",
|
||||||
|
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||||
|
"WhenOpened": "2024-09-20T09:02:47.555Z",
|
||||||
|
"EditorCaption": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"$type": "Bookmark",
|
||||||
|
"Name": "ST:0:0:{cce594b6-0c39-4442-ba28-10c64ac7e89f}"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
25
20240920/ConsoleApp2/ConsoleApp2.sln
Normal file
25
20240920/ConsoleApp2/ConsoleApp2.sln
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
|
||||||
|
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||||
|
# Visual Studio Version 17
|
||||||
|
VisualStudioVersion = 17.11.35303.130
|
||||||
|
MinimumVisualStudioVersion = 10.0.40219.1
|
||||||
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ConsoleApp2", "ConsoleApp2\ConsoleApp2.csproj", "{07865C0D-EE88-4AE8-8F14-75DE240A66E7}"
|
||||||
|
EndProject
|
||||||
|
Global
|
||||||
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||||
|
Debug|Any CPU = Debug|Any CPU
|
||||||
|
Release|Any CPU = Release|Any CPU
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||||
|
{07865C0D-EE88-4AE8-8F14-75DE240A66E7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
|
{07865C0D-EE88-4AE8-8F14-75DE240A66E7}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{07865C0D-EE88-4AE8-8F14-75DE240A66E7}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
|
{07865C0D-EE88-4AE8-8F14-75DE240A66E7}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(SolutionProperties) = preSolution
|
||||||
|
HideSolutionNode = FALSE
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||||
|
SolutionGuid = {C623C855-ECC2-437F-8EBD-DA3838B10898}
|
||||||
|
EndGlobalSection
|
||||||
|
EndGlobal
|
10
20240920/ConsoleApp2/ConsoleApp2/ConsoleApp2.csproj
Normal file
10
20240920/ConsoleApp2/ConsoleApp2/ConsoleApp2.csproj
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
|
|
||||||
|
<PropertyGroup>
|
||||||
|
<OutputType>Exe</OutputType>
|
||||||
|
<TargetFramework>net8.0</TargetFramework>
|
||||||
|
<ImplicitUsings>enable</ImplicitUsings>
|
||||||
|
<Nullable>enable</Nullable>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
|
</Project>
|
63
20240920/ConsoleApp2/ConsoleApp2/Program.cs
Normal file
63
20240920/ConsoleApp2/ConsoleApp2/Program.cs
Normal file
|
@ -0,0 +1,63 @@
|
||||||
|
DataRead();
|
||||||
|
Varos legmelegebb = Legmelegebb();
|
||||||
|
Console.WriteLine($"{legmelegebb.Nev} {legmelegebb.Homerseklet}");
|
||||||
|
Varos leghidegebb = Leghidegebb();
|
||||||
|
Console.WriteLine($"{leghidegebb.Nev} {leghidegebb.Homerseklet}");
|
||||||
|
double atlag = Atlag();
|
||||||
|
Console.WriteLine($"Átlag hőmérséklet: {atlag:F2}");
|
||||||
|
//list városok where homerseklet > 20
|
||||||
|
|
||||||
|
static double Atlag()
|
||||||
|
{
|
||||||
|
return Data.varosok.Average(x => x.Homerseklet);
|
||||||
|
}
|
||||||
|
|
||||||
|
static Varos Leghidegebb()
|
||||||
|
{
|
||||||
|
var legmelegebb = Data.varosok.OrderBy(x => x.Homerseklet).Take(1);
|
||||||
|
return legmelegebb.First();
|
||||||
|
}
|
||||||
|
|
||||||
|
static Varos Legmelegebb()
|
||||||
|
{
|
||||||
|
var legmelegebb = Data.varosok.OrderByDescending(x => x.Homerseklet).Take(1);
|
||||||
|
return legmelegebb.First();
|
||||||
|
}
|
||||||
|
|
||||||
|
static void DataRead()
|
||||||
|
{
|
||||||
|
string path = "C:\\Users\\szabomarton\\Desktop\\C#\\ProgaOra\\20240920\\varosok.txt";
|
||||||
|
using (StreamReader streamReader = new StreamReader(path))
|
||||||
|
{
|
||||||
|
string line = streamReader.ReadLine();
|
||||||
|
line = streamReader.ReadLine();
|
||||||
|
|
||||||
|
while (line != null)
|
||||||
|
{
|
||||||
|
string[] datas = line.Split(',');
|
||||||
|
Varos varos = new Varos(datas[0], Convert.ToInt32(datas[1]));
|
||||||
|
Data.varosok.Add(varos);
|
||||||
|
line = streamReader.ReadLine();
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
public class Varos
|
||||||
|
{
|
||||||
|
public string Nev;
|
||||||
|
public int Homerseklet;
|
||||||
|
|
||||||
|
public Varos(string nev, int homerseklet)
|
||||||
|
{
|
||||||
|
Nev = nev;
|
||||||
|
Homerseklet = homerseklet;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public static class Data
|
||||||
|
{
|
||||||
|
public static List<Varos> varosok = new List<Varos>();
|
||||||
|
}
|
|
@ -0,0 +1,23 @@
|
||||||
|
{
|
||||||
|
"runtimeTarget": {
|
||||||
|
"name": ".NETCoreApp,Version=v8.0",
|
||||||
|
"signature": ""
|
||||||
|
},
|
||||||
|
"compilationOptions": {},
|
||||||
|
"targets": {
|
||||||
|
".NETCoreApp,Version=v8.0": {
|
||||||
|
"ConsoleApp2/1.0.0": {
|
||||||
|
"runtime": {
|
||||||
|
"ConsoleApp2.dll": {}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"libraries": {
|
||||||
|
"ConsoleApp2/1.0.0": {
|
||||||
|
"type": "project",
|
||||||
|
"serviceable": false,
|
||||||
|
"sha512": ""
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -0,0 +1,12 @@
|
||||||
|
{
|
||||||
|
"runtimeOptions": {
|
||||||
|
"tfm": "net8.0",
|
||||||
|
"framework": {
|
||||||
|
"name": "Microsoft.NETCore.App",
|
||||||
|
"version": "8.0.0"
|
||||||
|
},
|
||||||
|
"configProperties": {
|
||||||
|
"System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization": false
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,68 @@
|
||||||
|
{
|
||||||
|
"format": 1,
|
||||||
|
"restore": {
|
||||||
|
"C:\\Users\\szabomarton\\Desktop\\C#\\ProgaOra\\20240920\\ConsoleApp2\\ConsoleApp2\\ConsoleApp2.csproj": {}
|
||||||
|
},
|
||||||
|
"projects": {
|
||||||
|
"C:\\Users\\szabomarton\\Desktop\\C#\\ProgaOra\\20240920\\ConsoleApp2\\ConsoleApp2\\ConsoleApp2.csproj": {
|
||||||
|
"version": "1.0.0",
|
||||||
|
"restore": {
|
||||||
|
"projectUniqueName": "C:\\Users\\szabomarton\\Desktop\\C#\\ProgaOra\\20240920\\ConsoleApp2\\ConsoleApp2\\ConsoleApp2.csproj",
|
||||||
|
"projectName": "ConsoleApp2",
|
||||||
|
"projectPath": "C:\\Users\\szabomarton\\Desktop\\C#\\ProgaOra\\20240920\\ConsoleApp2\\ConsoleApp2\\ConsoleApp2.csproj",
|
||||||
|
"packagesPath": "C:\\Users\\szabomarton\\.nuget\\packages\\",
|
||||||
|
"outputPath": "C:\\Users\\szabomarton\\Desktop\\C#\\ProgaOra\\20240920\\ConsoleApp2\\ConsoleApp2\\obj\\",
|
||||||
|
"projectStyle": "PackageReference",
|
||||||
|
"configFilePaths": [
|
||||||
|
"C:\\Users\\szabomarton\\AppData\\Roaming\\NuGet\\NuGet.Config",
|
||||||
|
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
|
||||||
|
],
|
||||||
|
"originalTargetFrameworks": [
|
||||||
|
"net8.0"
|
||||||
|
],
|
||||||
|
"sources": {
|
||||||
|
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
|
||||||
|
"https://api.nuget.org/v3/index.json": {}
|
||||||
|
},
|
||||||
|
"frameworks": {
|
||||||
|
"net8.0": {
|
||||||
|
"targetAlias": "net8.0",
|
||||||
|
"projectReferences": {}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"warningProperties": {
|
||||||
|
"warnAsError": [
|
||||||
|
"NU1605"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"restoreAuditProperties": {
|
||||||
|
"enableAudit": "true",
|
||||||
|
"auditLevel": "low",
|
||||||
|
"auditMode": "direct"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"frameworks": {
|
||||||
|
"net8.0": {
|
||||||
|
"targetAlias": "net8.0",
|
||||||
|
"imports": [
|
||||||
|
"net461",
|
||||||
|
"net462",
|
||||||
|
"net47",
|
||||||
|
"net471",
|
||||||
|
"net472",
|
||||||
|
"net48",
|
||||||
|
"net481"
|
||||||
|
],
|
||||||
|
"assetTargetFallback": true,
|
||||||
|
"warn": true,
|
||||||
|
"frameworkReferences": {
|
||||||
|
"Microsoft.NETCore.App": {
|
||||||
|
"privateAssets": "all"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\8.0.400/PortableRuntimeIdentifierGraph.json"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,15 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
||||||
|
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
||||||
|
<RestoreSuccess Condition=" '$(RestoreSuccess)' == '' ">True</RestoreSuccess>
|
||||||
|
<RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool>
|
||||||
|
<ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile>
|
||||||
|
<NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot>
|
||||||
|
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\szabomarton\.nuget\packages\</NuGetPackageFolders>
|
||||||
|
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
|
||||||
|
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.11.0</NuGetToolVersion>
|
||||||
|
</PropertyGroup>
|
||||||
|
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
||||||
|
<SourceRoot Include="C:\Users\szabomarton\.nuget\packages\" />
|
||||||
|
</ItemGroup>
|
||||||
|
</Project>
|
|
@ -0,0 +1,2 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
||||||
|
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" />
|
|
@ -0,0 +1,4 @@
|
||||||
|
// <autogenerated />
|
||||||
|
using System;
|
||||||
|
using System.Reflection;
|
||||||
|
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v8.0", FrameworkDisplayName = ".NET 8.0")]
|
|
@ -0,0 +1,23 @@
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
// <auto-generated>
|
||||||
|
// This code was generated by a tool.
|
||||||
|
// Runtime Version:4.0.30319.42000
|
||||||
|
//
|
||||||
|
// Changes to this file may cause incorrect behavior and will be lost if
|
||||||
|
// the code is regenerated.
|
||||||
|
// </auto-generated>
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
using System;
|
||||||
|
using System.Reflection;
|
||||||
|
|
||||||
|
[assembly: System.Reflection.AssemblyCompanyAttribute("ConsoleApp2")]
|
||||||
|
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
||||||
|
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
||||||
|
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+82fc6b674fd1265407cef9381f915f8fb7df93c7")]
|
||||||
|
[assembly: System.Reflection.AssemblyProductAttribute("ConsoleApp2")]
|
||||||
|
[assembly: System.Reflection.AssemblyTitleAttribute("ConsoleApp2")]
|
||||||
|
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
||||||
|
|
||||||
|
// Generated by the MSBuild WriteCodeFragment class.
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
689549fe51d153fc5f381a183ba624cac369dd48a7be85a2b1c61abb3a853dc8
|
|
@ -0,0 +1,13 @@
|
||||||
|
is_global = true
|
||||||
|
build_property.TargetFramework = net8.0
|
||||||
|
build_property.TargetPlatformMinVersion =
|
||||||
|
build_property.UsingMicrosoftNETSdkWeb =
|
||||||
|
build_property.ProjectTypeGuids =
|
||||||
|
build_property.InvariantGlobalization =
|
||||||
|
build_property.PlatformNeutralAssembly =
|
||||||
|
build_property.EnforceExtendedAnalyzerRules =
|
||||||
|
build_property._SupportedPlatformList = Linux,macOS,Windows
|
||||||
|
build_property.RootNamespace = ConsoleApp2
|
||||||
|
build_property.ProjectDir = C:\Users\szabomarton\Desktop\C#\ProgaOra\20240920\ConsoleApp2\ConsoleApp2\
|
||||||
|
build_property.EnableComHosting =
|
||||||
|
build_property.EnableGeneratedComInterfaceComImportInterop =
|
|
@ -0,0 +1,8 @@
|
||||||
|
// <auto-generated/>
|
||||||
|
global using global::System;
|
||||||
|
global using global::System.Collections.Generic;
|
||||||
|
global using global::System.IO;
|
||||||
|
global using global::System.Linq;
|
||||||
|
global using global::System.Net.Http;
|
||||||
|
global using global::System.Threading;
|
||||||
|
global using global::System.Threading.Tasks;
|
Binary file not shown.
|
@ -0,0 +1 @@
|
||||||
|
18ad58a4a862825168fc500f7f1e04509977c1e3da94c2a4ab1f91d365d5f40b
|
|
@ -0,0 +1,14 @@
|
||||||
|
C:\Users\szabomarton\Desktop\C#\ProgaOra\20240920\ConsoleApp2\ConsoleApp2\obj\Debug\net8.0\ConsoleApp2.GeneratedMSBuildEditorConfig.editorconfig
|
||||||
|
C:\Users\szabomarton\Desktop\C#\ProgaOra\20240920\ConsoleApp2\ConsoleApp2\obj\Debug\net8.0\ConsoleApp2.AssemblyInfoInputs.cache
|
||||||
|
C:\Users\szabomarton\Desktop\C#\ProgaOra\20240920\ConsoleApp2\ConsoleApp2\obj\Debug\net8.0\ConsoleApp2.AssemblyInfo.cs
|
||||||
|
C:\Users\szabomarton\Desktop\C#\ProgaOra\20240920\ConsoleApp2\ConsoleApp2\obj\Debug\net8.0\ConsoleApp2.csproj.CoreCompileInputs.cache
|
||||||
|
C:\Users\szabomarton\Desktop\C#\ProgaOra\20240920\ConsoleApp2\ConsoleApp2\bin\Debug\net8.0\ConsoleApp2.exe
|
||||||
|
C:\Users\szabomarton\Desktop\C#\ProgaOra\20240920\ConsoleApp2\ConsoleApp2\bin\Debug\net8.0\ConsoleApp2.deps.json
|
||||||
|
C:\Users\szabomarton\Desktop\C#\ProgaOra\20240920\ConsoleApp2\ConsoleApp2\bin\Debug\net8.0\ConsoleApp2.runtimeconfig.json
|
||||||
|
C:\Users\szabomarton\Desktop\C#\ProgaOra\20240920\ConsoleApp2\ConsoleApp2\bin\Debug\net8.0\ConsoleApp2.dll
|
||||||
|
C:\Users\szabomarton\Desktop\C#\ProgaOra\20240920\ConsoleApp2\ConsoleApp2\bin\Debug\net8.0\ConsoleApp2.pdb
|
||||||
|
C:\Users\szabomarton\Desktop\C#\ProgaOra\20240920\ConsoleApp2\ConsoleApp2\obj\Debug\net8.0\ConsoleApp2.dll
|
||||||
|
C:\Users\szabomarton\Desktop\C#\ProgaOra\20240920\ConsoleApp2\ConsoleApp2\obj\Debug\net8.0\refint\ConsoleApp2.dll
|
||||||
|
C:\Users\szabomarton\Desktop\C#\ProgaOra\20240920\ConsoleApp2\ConsoleApp2\obj\Debug\net8.0\ConsoleApp2.pdb
|
||||||
|
C:\Users\szabomarton\Desktop\C#\ProgaOra\20240920\ConsoleApp2\ConsoleApp2\obj\Debug\net8.0\ConsoleApp2.genruntimeconfig.cache
|
||||||
|
C:\Users\szabomarton\Desktop\C#\ProgaOra\20240920\ConsoleApp2\ConsoleApp2\obj\Debug\net8.0\ref\ConsoleApp2.dll
|
Binary file not shown.
|
@ -0,0 +1 @@
|
||||||
|
2629f07ba15577b1c9eed9ff991ca0c682fb80978d3abeb885542c641f6e96ba
|
Binary file not shown.
BIN
20240920/ConsoleApp2/ConsoleApp2/obj/Debug/net8.0/apphost.exe
Normal file
BIN
20240920/ConsoleApp2/ConsoleApp2/obj/Debug/net8.0/apphost.exe
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
73
20240920/ConsoleApp2/ConsoleApp2/obj/project.assets.json
Normal file
73
20240920/ConsoleApp2/ConsoleApp2/obj/project.assets.json
Normal file
|
@ -0,0 +1,73 @@
|
||||||
|
{
|
||||||
|
"version": 3,
|
||||||
|
"targets": {
|
||||||
|
"net8.0": {}
|
||||||
|
},
|
||||||
|
"libraries": {},
|
||||||
|
"projectFileDependencyGroups": {
|
||||||
|
"net8.0": []
|
||||||
|
},
|
||||||
|
"packageFolders": {
|
||||||
|
"C:\\Users\\szabomarton\\.nuget\\packages\\": {}
|
||||||
|
},
|
||||||
|
"project": {
|
||||||
|
"version": "1.0.0",
|
||||||
|
"restore": {
|
||||||
|
"projectUniqueName": "C:\\Users\\szabomarton\\Desktop\\C#\\ProgaOra\\20240920\\ConsoleApp2\\ConsoleApp2\\ConsoleApp2.csproj",
|
||||||
|
"projectName": "ConsoleApp2",
|
||||||
|
"projectPath": "C:\\Users\\szabomarton\\Desktop\\C#\\ProgaOra\\20240920\\ConsoleApp2\\ConsoleApp2\\ConsoleApp2.csproj",
|
||||||
|
"packagesPath": "C:\\Users\\szabomarton\\.nuget\\packages\\",
|
||||||
|
"outputPath": "C:\\Users\\szabomarton\\Desktop\\C#\\ProgaOra\\20240920\\ConsoleApp2\\ConsoleApp2\\obj\\",
|
||||||
|
"projectStyle": "PackageReference",
|
||||||
|
"configFilePaths": [
|
||||||
|
"C:\\Users\\szabomarton\\AppData\\Roaming\\NuGet\\NuGet.Config",
|
||||||
|
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
|
||||||
|
],
|
||||||
|
"originalTargetFrameworks": [
|
||||||
|
"net8.0"
|
||||||
|
],
|
||||||
|
"sources": {
|
||||||
|
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
|
||||||
|
"https://api.nuget.org/v3/index.json": {}
|
||||||
|
},
|
||||||
|
"frameworks": {
|
||||||
|
"net8.0": {
|
||||||
|
"targetAlias": "net8.0",
|
||||||
|
"projectReferences": {}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"warningProperties": {
|
||||||
|
"warnAsError": [
|
||||||
|
"NU1605"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"restoreAuditProperties": {
|
||||||
|
"enableAudit": "true",
|
||||||
|
"auditLevel": "low",
|
||||||
|
"auditMode": "direct"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"frameworks": {
|
||||||
|
"net8.0": {
|
||||||
|
"targetAlias": "net8.0",
|
||||||
|
"imports": [
|
||||||
|
"net461",
|
||||||
|
"net462",
|
||||||
|
"net47",
|
||||||
|
"net471",
|
||||||
|
"net472",
|
||||||
|
"net48",
|
||||||
|
"net481"
|
||||||
|
],
|
||||||
|
"assetTargetFallback": true,
|
||||||
|
"warn": true,
|
||||||
|
"frameworkReferences": {
|
||||||
|
"Microsoft.NETCore.App": {
|
||||||
|
"privateAssets": "all"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\8.0.400/PortableRuntimeIdentifierGraph.json"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
8
20240920/ConsoleApp2/ConsoleApp2/obj/project.nuget.cache
Normal file
8
20240920/ConsoleApp2/ConsoleApp2/obj/project.nuget.cache
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
{
|
||||||
|
"version": 2,
|
||||||
|
"dgSpecHash": "0sx9Yfcwk0I=",
|
||||||
|
"success": true,
|
||||||
|
"projectFilePath": "C:\\Users\\szabomarton\\Desktop\\C#\\ProgaOra\\20240920\\ConsoleApp2\\ConsoleApp2\\ConsoleApp2.csproj",
|
||||||
|
"expectedPackageFiles": [],
|
||||||
|
"logs": []
|
||||||
|
}
|
18
20240920/tanulok.txt
Normal file
18
20240920/tanulok.txt
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
Név,Eredmény
|
||||||
|
Kovács Péter,85
|
||||||
|
Szabó Réka,45
|
||||||
|
Nagy Ádám,92
|
||||||
|
Varga Anna,76
|
||||||
|
Tóth Levente,54
|
||||||
|
Kiss Gergely,88
|
||||||
|
Farkas Boglárka,62
|
||||||
|
Molnár Dávid,71
|
||||||
|
Horváth Csenge,89
|
||||||
|
Fehér Balázs,58
|
||||||
|
Kovács László,75
|
||||||
|
Varga Tamás,63
|
||||||
|
Boros Ákos,91
|
||||||
|
Veres Kitti,87
|
||||||
|
Szabó Máté,59
|
||||||
|
Nagy Vivien,92
|
||||||
|
Tóth Emese,73
|
18
20240920/varosok.txt
Normal file
18
20240920/varosok.txt
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
Város,Hőmérséklet
|
||||||
|
Budapest,22
|
||||||
|
Debrecen,19
|
||||||
|
Szeged,24
|
||||||
|
Pécs,21
|
||||||
|
Győr,18
|
||||||
|
Székesfehérvár,20
|
||||||
|
Miskolc,17
|
||||||
|
Nyíregyháza,16
|
||||||
|
Kecskemét,23
|
||||||
|
Zalaegerszeg,18
|
||||||
|
Tatabánya,20
|
||||||
|
Sopron,19
|
||||||
|
Szombathely,22
|
||||||
|
Békéscsaba,21
|
||||||
|
Érd,20
|
||||||
|
Siófok,25
|
||||||
|
Kaposvár,17
|
Loading…
Reference in New Issue
Block a user