added helsinki
This commit is contained in:
parent
6afeb7c999
commit
8da3850875
|
@ -1,6 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<configuration>
|
||||
<startup>
|
||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
|
||||
</startup>
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<configuration>
|
||||
<startup>
|
||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
|
||||
</startup>
|
||||
</configuration>
|
|
@ -1,53 +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>{BEFF2F03-9252-429D-A6C2-E7FD64D23145}</ProjectGuid>
|
||||
<OutputType>Exe</OutputType>
|
||||
<RootNamespace>ConsoleApp1</RootNamespace>
|
||||
<AssemblyName>ConsoleApp1</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" />
|
||||
<?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>{BEFF2F03-9252-429D-A6C2-E7FD64D23145}</ProjectGuid>
|
||||
<OutputType>Exe</OutputType>
|
||||
<RootNamespace>ConsoleApp1</RootNamespace>
|
||||
<AssemblyName>ConsoleApp1</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>
|
|
@ -1,25 +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}") = "ConsoleApp1", "ConsoleApp1.csproj", "{BEFF2F03-9252-429D-A6C2-E7FD64D23145}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Release|Any CPU = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{BEFF2F03-9252-429D-A6C2-E7FD64D23145}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{BEFF2F03-9252-429D-A6C2-E7FD64D23145}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{BEFF2F03-9252-429D-A6C2-E7FD64D23145}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{BEFF2F03-9252-429D-A6C2-E7FD64D23145}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||
SolutionGuid = {94843553-FEE7-425F-A04C-37B898764952}
|
||||
EndGlobalSection
|
||||
EndGlobal
|
||||
|
||||
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", "{BEFF2F03-9252-429D-A6C2-E7FD64D23145}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Release|Any CPU = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{BEFF2F03-9252-429D-A6C2-E7FD64D23145}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{BEFF2F03-9252-429D-A6C2-E7FD64D23145}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{BEFF2F03-9252-429D-A6C2-E7FD64D23145}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{BEFF2F03-9252-429D-A6C2-E7FD64D23145}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||
SolutionGuid = {94843553-FEE7-425F-A04C-37B898764952}
|
||||
EndGlobalSection
|
||||
EndGlobal
|
||||
|
|
|
@ -1,155 +1,155 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.IO;
|
||||
|
||||
namespace ConsoleApp1
|
||||
{
|
||||
class Program
|
||||
{
|
||||
//B csoport lottó
|
||||
|
||||
static void Feladat1()
|
||||
{
|
||||
//1. feladat
|
||||
int[] szamok = { };
|
||||
|
||||
Console.WriteLine("Add meg az 52.hét lottó számait!");
|
||||
for (int i = 0; i < 5; ++i)
|
||||
{
|
||||
Console.WriteLine($"Add meg az {i+1}. számot!");
|
||||
int het52 = Convert.ToInt32(Console.ReadLine());
|
||||
szamok = szamok.Append(het52).ToArray();
|
||||
}
|
||||
Console.WriteLine();
|
||||
|
||||
//2. feladat
|
||||
Array.Sort(szamok);
|
||||
foreach (int n in szamok)
|
||||
{
|
||||
Console.WriteLine(n);
|
||||
}
|
||||
Console.WriteLine();
|
||||
|
||||
//3. feladat
|
||||
Console.WriteLine("Addj meg egy számot 1-51 között!");
|
||||
int felhszam = Convert.ToInt32(Console.ReadLine());
|
||||
|
||||
//4. feladat
|
||||
int paratlandb = 0;
|
||||
int[,] lottoszamok = new int[51,5];
|
||||
FileStream fs = new FileStream(@"C:\Users\szabomarton\Desktop\C#\20230913_doga\lottosz.txt", FileMode.Open);
|
||||
StreamReader sr = new StreamReader(fs);
|
||||
|
||||
FileStream fs_2 = new FileStream(@"C:\Users\szabomarton\Desktop\C#\20230913_doga\lotto52ki.txt", FileMode.CreateNew);
|
||||
StreamWriter sw = new StreamWriter(fs_2);
|
||||
|
||||
for (int i = 0; i < 51; ++i)
|
||||
{
|
||||
string str = sr.ReadLine();
|
||||
string[] hetiszamok = str.Split(' ');
|
||||
|
||||
for (int j = 0; j < hetiszamok.Length; ++j)
|
||||
{
|
||||
int szam = Convert.ToInt32(hetiszamok[j]);
|
||||
lottoszamok[i,j] = szam;
|
||||
if (szam % 2 != 0)
|
||||
{
|
||||
paratlandb++;
|
||||
}
|
||||
sw.Write($"{szam} ");
|
||||
|
||||
}
|
||||
sw.WriteLine();
|
||||
|
||||
}
|
||||
|
||||
Console.WriteLine("A megadott heti lottószámok:");
|
||||
for (int g = 0; g < lottoszamok.GetLength(1); ++g)
|
||||
{
|
||||
Console.WriteLine(lottoszamok[felhszam - 1, g]);
|
||||
}
|
||||
|
||||
|
||||
sr.Close();
|
||||
fs.Close();
|
||||
|
||||
|
||||
//5. feladat
|
||||
bool van = false;
|
||||
int[] kihuzottak = { };
|
||||
|
||||
for (int i = 0; i < lottoszamok.GetLength(0); ++i)
|
||||
{
|
||||
for (int j = 0; j < lottoszamok.GetLength(1); ++j)
|
||||
{
|
||||
int szam_1 = lottoszamok[i, j];
|
||||
bool nincsbenne = !kihuzottak.Contains(szam_1);
|
||||
if (nincsbenne)
|
||||
{
|
||||
kihuzottak = kihuzottak.Append(szam_1).ToArray();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
for (int g = 1; g < 91; ++g)
|
||||
{
|
||||
if (!kihuzottak.Contains(g))
|
||||
{
|
||||
van = true;
|
||||
}
|
||||
}
|
||||
|
||||
if (van)
|
||||
{
|
||||
Console.WriteLine("Van");
|
||||
}
|
||||
else
|
||||
{
|
||||
Console.WriteLine("Nincs");
|
||||
}
|
||||
|
||||
//6.feladat
|
||||
Console.WriteLine($"A páratlanok száma: {paratlandb}");
|
||||
|
||||
|
||||
//7. feladat
|
||||
|
||||
|
||||
sw.WriteLine(szamok.ToString());
|
||||
sw.Close();
|
||||
fs_2.Close();
|
||||
|
||||
//8. feladat
|
||||
|
||||
//9.feladat
|
||||
int[] primek = { };
|
||||
for (int i = 2; i <91; ++i)
|
||||
{
|
||||
if (!primek.Contains(i))
|
||||
{
|
||||
primek = primek.Append(i).ToArray();
|
||||
}
|
||||
}
|
||||
|
||||
Console.WriteLine("A prímszámok amiket nem tartalmaz: ");
|
||||
for (int g = 1; g < 91; ++g)
|
||||
{
|
||||
if (!primek.Contains(g))
|
||||
{
|
||||
Console.WriteLine(g);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
static void Main(string[] args)
|
||||
{
|
||||
Feladat1();
|
||||
Console.ReadLine();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.IO;
|
||||
|
||||
namespace ConsoleApp1
|
||||
{
|
||||
class Program
|
||||
{
|
||||
//B csoport lottó
|
||||
|
||||
static void Feladat1()
|
||||
{
|
||||
//1. feladat
|
||||
int[] szamok = { };
|
||||
|
||||
Console.WriteLine("Add meg az 52.hét lottó számait!");
|
||||
for (int i = 0; i < 5; ++i)
|
||||
{
|
||||
Console.WriteLine($"Add meg az {i+1}. számot!");
|
||||
int het52 = Convert.ToInt32(Console.ReadLine());
|
||||
szamok = szamok.Append(het52).ToArray();
|
||||
}
|
||||
Console.WriteLine();
|
||||
|
||||
//2. feladat
|
||||
Array.Sort(szamok);
|
||||
foreach (int n in szamok)
|
||||
{
|
||||
Console.WriteLine(n);
|
||||
}
|
||||
Console.WriteLine();
|
||||
|
||||
//3. feladat
|
||||
Console.WriteLine("Addj meg egy számot 1-51 között!");
|
||||
int felhszam = Convert.ToInt32(Console.ReadLine());
|
||||
|
||||
//4. feladat
|
||||
int paratlandb = 0;
|
||||
int[,] lottoszamok = new int[51,5];
|
||||
FileStream fs = new FileStream(@"C:\Users\szabomarton\Desktop\C#\20230913_doga\lottosz.txt", FileMode.Open);
|
||||
StreamReader sr = new StreamReader(fs);
|
||||
|
||||
FileStream fs_2 = new FileStream(@"C:\Users\szabomarton\Desktop\C#\20230913_doga\lotto52ki.txt", FileMode.CreateNew);
|
||||
StreamWriter sw = new StreamWriter(fs_2);
|
||||
|
||||
for (int i = 0; i < 51; ++i)
|
||||
{
|
||||
string str = sr.ReadLine();
|
||||
string[] hetiszamok = str.Split(' ');
|
||||
|
||||
for (int j = 0; j < hetiszamok.Length; ++j)
|
||||
{
|
||||
int szam = Convert.ToInt32(hetiszamok[j]);
|
||||
lottoszamok[i,j] = szam;
|
||||
if (szam % 2 != 0)
|
||||
{
|
||||
paratlandb++;
|
||||
}
|
||||
sw.Write($"{szam} ");
|
||||
|
||||
}
|
||||
sw.WriteLine();
|
||||
|
||||
}
|
||||
|
||||
Console.WriteLine("A megadott heti lottószámok:");
|
||||
for (int g = 0; g < lottoszamok.GetLength(1); ++g)
|
||||
{
|
||||
Console.WriteLine(lottoszamok[felhszam - 1, g]);
|
||||
}
|
||||
|
||||
|
||||
sr.Close();
|
||||
fs.Close();
|
||||
|
||||
|
||||
//5. feladat
|
||||
bool van = false;
|
||||
int[] kihuzottak = { };
|
||||
|
||||
for (int i = 0; i < lottoszamok.GetLength(0); ++i)
|
||||
{
|
||||
for (int j = 0; j < lottoszamok.GetLength(1); ++j)
|
||||
{
|
||||
int szam_1 = lottoszamok[i, j];
|
||||
bool nincsbenne = !kihuzottak.Contains(szam_1);
|
||||
if (nincsbenne)
|
||||
{
|
||||
kihuzottak = kihuzottak.Append(szam_1).ToArray();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
for (int g = 1; g < 91; ++g)
|
||||
{
|
||||
if (!kihuzottak.Contains(g))
|
||||
{
|
||||
van = true;
|
||||
}
|
||||
}
|
||||
|
||||
if (van)
|
||||
{
|
||||
Console.WriteLine("Van");
|
||||
}
|
||||
else
|
||||
{
|
||||
Console.WriteLine("Nincs");
|
||||
}
|
||||
|
||||
//6.feladat
|
||||
Console.WriteLine($"A páratlanok száma: {paratlandb}");
|
||||
|
||||
|
||||
//7. feladat
|
||||
|
||||
|
||||
sw.WriteLine(szamok.ToString());
|
||||
sw.Close();
|
||||
fs_2.Close();
|
||||
|
||||
//8. feladat
|
||||
|
||||
//9.feladat
|
||||
int[] primek = { };
|
||||
for (int i = 2; i <91; ++i)
|
||||
{
|
||||
if (!primek.Contains(i))
|
||||
{
|
||||
primek = primek.Append(i).ToArray();
|
||||
}
|
||||
}
|
||||
|
||||
Console.WriteLine("A prímszámok amiket nem tartalmaz: ");
|
||||
for (int g = 1; g < 91; ++g)
|
||||
{
|
||||
if (!primek.Contains(g))
|
||||
{
|
||||
Console.WriteLine(g);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
static void Main(string[] args)
|
||||
{
|
||||
Feladat1();
|
||||
Console.ReadLine();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -1,36 +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("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("beff2f03-9252-429d-a6c2-e7fd64d23145")]
|
||||
|
||||
// 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")]
|
||||
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("beff2f03-9252-429d-a6c2-e7fd64d23145")]
|
||||
|
||||
// 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")]
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<configuration>
|
||||
<startup>
|
||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
|
||||
</startup>
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<configuration>
|
||||
<startup>
|
||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
|
||||
</startup>
|
||||
</configuration>
|
|
@ -1,4 +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")]
|
||||
// <autogenerated />
|
||||
using System;
|
||||
using System.Reflection;
|
||||
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.7.2", FrameworkDisplayName = ".NET Framework 4.7.2")]
|
||||
|
|
|
@ -1 +1 @@
|
|||
7f4b213b428f4c013f19137338418ee1f5525793
|
||||
7f4b213b428f4c013f19137338418ee1f5525793
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
C:\Users\szabomarton\Desktop\C#\20230913_doga\ConsoleApp1\bin\Debug\ConsoleApp1.exe.config
|
||||
C:\Users\szabomarton\Desktop\C#\20230913_doga\ConsoleApp1\bin\Debug\ConsoleApp1.exe
|
||||
C:\Users\szabomarton\Desktop\C#\20230913_doga\ConsoleApp1\bin\Debug\ConsoleApp1.pdb
|
||||
C:\Users\szabomarton\Desktop\C#\20230913_doga\ConsoleApp1\obj\Debug\ConsoleApp1.csproj.AssemblyReference.cache
|
||||
C:\Users\szabomarton\Desktop\C#\20230913_doga\ConsoleApp1\obj\Debug\ConsoleApp1.csproj.CoreCompileInputs.cache
|
||||
C:\Users\szabomarton\Desktop\C#\20230913_doga\ConsoleApp1\obj\Debug\ConsoleApp1.exe
|
||||
C:\Users\szabomarton\Desktop\C#\20230913_doga\ConsoleApp1\obj\Debug\ConsoleApp1.pdb
|
||||
C:\Users\szabomarton\Desktop\C#\20230913_doga\ConsoleApp1\bin\Debug\ConsoleApp1.exe.config
|
||||
C:\Users\szabomarton\Desktop\C#\20230913_doga\ConsoleApp1\bin\Debug\ConsoleApp1.exe
|
||||
C:\Users\szabomarton\Desktop\C#\20230913_doga\ConsoleApp1\bin\Debug\ConsoleApp1.pdb
|
||||
C:\Users\szabomarton\Desktop\C#\20230913_doga\ConsoleApp1\obj\Debug\ConsoleApp1.csproj.AssemblyReference.cache
|
||||
C:\Users\szabomarton\Desktop\C#\20230913_doga\ConsoleApp1\obj\Debug\ConsoleApp1.csproj.CoreCompileInputs.cache
|
||||
C:\Users\szabomarton\Desktop\C#\20230913_doga\ConsoleApp1\obj\Debug\ConsoleApp1.exe
|
||||
C:\Users\szabomarton\Desktop\C#\20230913_doga\ConsoleApp1\obj\Debug\ConsoleApp1.pdb
|
||||
|
|
|
@ -1,52 +1,52 @@
|
|||
37 42 44 61 62
|
||||
18 42 54 83 89
|
||||
5 12 31 53 60
|
||||
1 28 47 56 70
|
||||
54 56 57 59 71
|
||||
7 21 33 39 86
|
||||
21 29 37 48 68
|
||||
10 21 29 40 87
|
||||
13 33 73 77 78
|
||||
2 23 65 71 84
|
||||
3 21 28 30 33
|
||||
23 31 42 73 85
|
||||
4 23 42 61 64
|
||||
17 60 66 71 85
|
||||
12 60 66 67 72
|
||||
46 50 58 62 76
|
||||
20 32 43 65 73
|
||||
55 56 58 61 71
|
||||
18 38 41 67 89
|
||||
32 41 59 66 79
|
||||
25 35 37 74 86
|
||||
1 45 60 61 82
|
||||
7 20 35 58 83
|
||||
7 37 40 46 51
|
||||
2 6 47 74 80
|
||||
1 5 22 44 88
|
||||
23 33 34 71 89
|
||||
4 56 74 77 89
|
||||
17 18 51 52 75
|
||||
7 29 30 77 80
|
||||
17 18 28 35 90
|
||||
6 24 25 53 79
|
||||
7 12 18 38 90
|
||||
25 28 45 55 74
|
||||
10 29 60 74 86
|
||||
7 24 25 50 76
|
||||
20 40 52 54 90
|
||||
16 30 81 83 87
|
||||
20 22 23 50 67
|
||||
59 68 75 80 85
|
||||
32 45 55 70 78
|
||||
13 40 55 56 76
|
||||
3 14 24 73 83
|
||||
23 25 28 66 76
|
||||
24 33 34 39 54
|
||||
12 28 34 61 70
|
||||
1 4 8 69 74
|
||||
4 15 46 49 59
|
||||
24 31 67 71 73
|
||||
12 26 36 46 49
|
||||
9 20 21 59 68
|
||||
System.Int32[]
|
||||
37 42 44 61 62
|
||||
18 42 54 83 89
|
||||
5 12 31 53 60
|
||||
1 28 47 56 70
|
||||
54 56 57 59 71
|
||||
7 21 33 39 86
|
||||
21 29 37 48 68
|
||||
10 21 29 40 87
|
||||
13 33 73 77 78
|
||||
2 23 65 71 84
|
||||
3 21 28 30 33
|
||||
23 31 42 73 85
|
||||
4 23 42 61 64
|
||||
17 60 66 71 85
|
||||
12 60 66 67 72
|
||||
46 50 58 62 76
|
||||
20 32 43 65 73
|
||||
55 56 58 61 71
|
||||
18 38 41 67 89
|
||||
32 41 59 66 79
|
||||
25 35 37 74 86
|
||||
1 45 60 61 82
|
||||
7 20 35 58 83
|
||||
7 37 40 46 51
|
||||
2 6 47 74 80
|
||||
1 5 22 44 88
|
||||
23 33 34 71 89
|
||||
4 56 74 77 89
|
||||
17 18 51 52 75
|
||||
7 29 30 77 80
|
||||
17 18 28 35 90
|
||||
6 24 25 53 79
|
||||
7 12 18 38 90
|
||||
25 28 45 55 74
|
||||
10 29 60 74 86
|
||||
7 24 25 50 76
|
||||
20 40 52 54 90
|
||||
16 30 81 83 87
|
||||
20 22 23 50 67
|
||||
59 68 75 80 85
|
||||
32 45 55 70 78
|
||||
13 40 55 56 76
|
||||
3 14 24 73 83
|
||||
23 25 28 66 76
|
||||
24 33 34 39 54
|
||||
12 28 34 61 70
|
||||
1 4 8 69 74
|
||||
4 15 46 49 59
|
||||
24 31 67 71 73
|
||||
12 26 36 46 49
|
||||
9 20 21 59 68
|
||||
System.Int32[]
|
||||
|
|
|
@ -1,51 +1,51 @@
|
|||
37 42 44 61 62
|
||||
18 42 54 83 89
|
||||
5 12 31 53 60
|
||||
1 28 47 56 70
|
||||
54 56 57 59 71
|
||||
7 21 33 39 86
|
||||
21 29 37 48 68
|
||||
10 21 29 40 87
|
||||
13 33 73 77 78
|
||||
2 23 65 71 84
|
||||
3 21 28 30 33
|
||||
23 31 42 73 85
|
||||
4 23 42 61 64
|
||||
17 60 66 71 85
|
||||
12 60 66 67 72
|
||||
46 50 58 62 76
|
||||
20 32 43 65 73
|
||||
55 56 58 61 71
|
||||
18 38 41 67 89
|
||||
32 41 59 66 79
|
||||
25 35 37 74 86
|
||||
1 45 60 61 82
|
||||
7 20 35 58 83
|
||||
7 37 40 46 51
|
||||
2 6 47 74 80
|
||||
1 5 22 44 88
|
||||
23 33 34 71 89
|
||||
4 56 74 77 89
|
||||
17 18 51 52 75
|
||||
7 29 30 77 80
|
||||
17 18 28 35 90
|
||||
6 24 25 53 79
|
||||
7 12 18 38 90
|
||||
25 28 45 55 74
|
||||
10 29 60 74 86
|
||||
7 24 25 50 76
|
||||
20 40 52 54 90
|
||||
16 30 81 83 87
|
||||
20 22 23 50 67
|
||||
59 68 75 80 85
|
||||
32 45 55 70 78
|
||||
13 40 55 56 76
|
||||
3 14 24 73 83
|
||||
23 25 28 66 76
|
||||
24 33 34 39 54
|
||||
12 28 34 61 70
|
||||
1 4 8 69 74
|
||||
4 15 46 49 59
|
||||
24 31 67 71 73
|
||||
12 26 36 46 49
|
||||
37 42 44 61 62
|
||||
18 42 54 83 89
|
||||
5 12 31 53 60
|
||||
1 28 47 56 70
|
||||
54 56 57 59 71
|
||||
7 21 33 39 86
|
||||
21 29 37 48 68
|
||||
10 21 29 40 87
|
||||
13 33 73 77 78
|
||||
2 23 65 71 84
|
||||
3 21 28 30 33
|
||||
23 31 42 73 85
|
||||
4 23 42 61 64
|
||||
17 60 66 71 85
|
||||
12 60 66 67 72
|
||||
46 50 58 62 76
|
||||
20 32 43 65 73
|
||||
55 56 58 61 71
|
||||
18 38 41 67 89
|
||||
32 41 59 66 79
|
||||
25 35 37 74 86
|
||||
1 45 60 61 82
|
||||
7 20 35 58 83
|
||||
7 37 40 46 51
|
||||
2 6 47 74 80
|
||||
1 5 22 44 88
|
||||
23 33 34 71 89
|
||||
4 56 74 77 89
|
||||
17 18 51 52 75
|
||||
7 29 30 77 80
|
||||
17 18 28 35 90
|
||||
6 24 25 53 79
|
||||
7 12 18 38 90
|
||||
25 28 45 55 74
|
||||
10 29 60 74 86
|
||||
7 24 25 50 76
|
||||
20 40 52 54 90
|
||||
16 30 81 83 87
|
||||
20 22 23 50 67
|
||||
59 68 75 80 85
|
||||
32 45 55 70 78
|
||||
13 40 55 56 76
|
||||
3 14 24 73 83
|
||||
23 25 28 66 76
|
||||
24 33 34 39 54
|
||||
12 28 34 61 70
|
||||
1 4 8 69 74
|
||||
4 15 46 49 59
|
||||
24 31 67 71 73
|
||||
12 26 36 46 49
|
||||
9 20 21 59 68
|
|
@ -1,6 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<configuration>
|
||||
<startup>
|
||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
|
||||
</startup>
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<configuration>
|
||||
<startup>
|
||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
|
||||
</startup>
|
||||
</configuration>
|
|
@ -1,53 +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>{6DC513A5-2241-40C2-82DD-362B081D4D83}</ProjectGuid>
|
||||
<OutputType>Exe</OutputType>
|
||||
<RootNamespace>ConsoleApp1</RootNamespace>
|
||||
<AssemblyName>ConsoleApp1</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" />
|
||||
<?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>{6DC513A5-2241-40C2-82DD-362B081D4D83}</ProjectGuid>
|
||||
<OutputType>Exe</OutputType>
|
||||
<RootNamespace>ConsoleApp1</RootNamespace>
|
||||
<AssemblyName>ConsoleApp1</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>
|
|
@ -1,25 +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}") = "ConsoleApp1", "ConsoleApp1.csproj", "{6DC513A5-2241-40C2-82DD-362B081D4D83}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Release|Any CPU = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{6DC513A5-2241-40C2-82DD-362B081D4D83}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{6DC513A5-2241-40C2-82DD-362B081D4D83}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{6DC513A5-2241-40C2-82DD-362B081D4D83}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{6DC513A5-2241-40C2-82DD-362B081D4D83}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||
SolutionGuid = {85585721-24A8-497B-8D0D-B57560614C3B}
|
||||
EndGlobalSection
|
||||
EndGlobal
|
||||
|
||||
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", "{6DC513A5-2241-40C2-82DD-362B081D4D83}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Release|Any CPU = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{6DC513A5-2241-40C2-82DD-362B081D4D83}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{6DC513A5-2241-40C2-82DD-362B081D4D83}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{6DC513A5-2241-40C2-82DD-362B081D4D83}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{6DC513A5-2241-40C2-82DD-362B081D4D83}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||
SolutionGuid = {85585721-24A8-497B-8D0D-B57560614C3B}
|
||||
EndGlobalSection
|
||||
EndGlobal
|
||||
|
|
|
@ -1,15 +1,15 @@
|
|||
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)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
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)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,36 +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("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("6dc513a5-2241-40c2-82dd-362b081d4d83")]
|
||||
|
||||
// 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")]
|
||||
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("6dc513a5-2241-40c2-82dd-362b081d4d83")]
|
||||
|
||||
// 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")]
|
||||
|
|
|
@ -1,4 +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")]
|
||||
// <autogenerated />
|
||||
using System;
|
||||
using System.Reflection;
|
||||
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.7.2", FrameworkDisplayName = ".NET Framework 4.7.2")]
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<configuration>
|
||||
<startup>
|
||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
|
||||
</startup>
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<configuration>
|
||||
<startup>
|
||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
|
||||
</startup>
|
||||
</configuration>
|
|
@ -1,53 +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" />
|
||||
<?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>
|
|
@ -1,25 +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
|
||||
|
||||
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
|
||||
|
|
|
@ -1,69 +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();
|
||||
}
|
||||
}
|
||||
}
|
||||
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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,36 +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")]
|
||||
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")]
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<configuration>
|
||||
<startup>
|
||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
|
||||
</startup>
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<configuration>
|
||||
<startup>
|
||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
|
||||
</startup>
|
||||
</configuration>
|
|
@ -1,8 +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
|
||||
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
|
|
@ -1,100 +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
|
||||
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ú
|
|
@ -1,4 +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")]
|
||||
// <autogenerated />
|
||||
using System;
|
||||
using System.Reflection;
|
||||
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.7.2", FrameworkDisplayName = ".NET Framework 4.7.2")]
|
||||
|
|
|
@ -1 +1 @@
|
|||
7f4b213b428f4c013f19137338418ee1f5525793
|
||||
7f4b213b428f4c013f19137338418ee1f5525793
|
||||
|
|
|
@ -1,7 +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
|
||||
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
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<configuration>
|
||||
<startup>
|
||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
|
||||
</startup>
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<configuration>
|
||||
<startup>
|
||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
|
||||
</startup>
|
||||
</configuration>
|
|
@ -1,53 +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>{37CB7692-799A-49D7-9365-3F1F7A29F4A2}</ProjectGuid>
|
||||
<OutputType>Exe</OutputType>
|
||||
<RootNamespace>ConsoleApp1</RootNamespace>
|
||||
<AssemblyName>ConsoleApp1</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" />
|
||||
<?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>{37CB7692-799A-49D7-9365-3F1F7A29F4A2}</ProjectGuid>
|
||||
<OutputType>Exe</OutputType>
|
||||
<RootNamespace>ConsoleApp1</RootNamespace>
|
||||
<AssemblyName>ConsoleApp1</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>
|
|
@ -1,25 +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}") = "ConsoleApp1", "ConsoleApp1.csproj", "{37CB7692-799A-49D7-9365-3F1F7A29F4A2}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Release|Any CPU = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{37CB7692-799A-49D7-9365-3F1F7A29F4A2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{37CB7692-799A-49D7-9365-3F1F7A29F4A2}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{37CB7692-799A-49D7-9365-3F1F7A29F4A2}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{37CB7692-799A-49D7-9365-3F1F7A29F4A2}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||
SolutionGuid = {74441948-646F-4654-A6E8-C42946C62E66}
|
||||
EndGlobalSection
|
||||
EndGlobal
|
||||
|
||||
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", "{37CB7692-799A-49D7-9365-3F1F7A29F4A2}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Release|Any CPU = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{37CB7692-799A-49D7-9365-3F1F7A29F4A2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{37CB7692-799A-49D7-9365-3F1F7A29F4A2}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{37CB7692-799A-49D7-9365-3F1F7A29F4A2}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{37CB7692-799A-49D7-9365-3F1F7A29F4A2}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||
SolutionGuid = {74441948-646F-4654-A6E8-C42946C62E66}
|
||||
EndGlobalSection
|
||||
EndGlobal
|
||||
|
|
|
@ -1,45 +1,45 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace ConsoleApp1
|
||||
{
|
||||
abstract class Jarmu
|
||||
{
|
||||
public string Marka { get; set; }
|
||||
public int Ev { get; set; }
|
||||
public abstract void Vezeto();
|
||||
}
|
||||
|
||||
class Auto : Jarmu
|
||||
{
|
||||
public int loero { get; set; }
|
||||
|
||||
public override void Vezeto()
|
||||
{
|
||||
Console.WriteLine($"Az autó vezetés: {Marka}, Ev: {Ev}, loero: {loero}");
|
||||
}
|
||||
}
|
||||
|
||||
class Kerekpar : Jarmu
|
||||
{
|
||||
public int Sebesseg { get; set; }
|
||||
public override void Vezeto()
|
||||
{
|
||||
Console.WriteLine($"Kerékpározás: {Marka}, Ev: {Ev}, Sebesseg: {Sebesseg}");
|
||||
}
|
||||
}
|
||||
class Program
|
||||
{
|
||||
static void Main(string[] args)
|
||||
{
|
||||
Auto auto1 = new Auto { Marka = "Suzuki", Ev = 2002, loero = 997 };
|
||||
auto1.Vezeto();
|
||||
Kerekpar kero = new Kerekpar { Marka = "Csepel", Ev = 2020, Sebesseg = 5 };
|
||||
kero.Vezeto();
|
||||
Console.ReadLine();
|
||||
}
|
||||
}
|
||||
}
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace ConsoleApp1
|
||||
{
|
||||
abstract class Jarmu
|
||||
{
|
||||
public string Marka { get; set; }
|
||||
public int Ev { get; set; }
|
||||
public abstract void Vezeto();
|
||||
}
|
||||
|
||||
class Auto : Jarmu
|
||||
{
|
||||
public int loero { get; set; }
|
||||
|
||||
public override void Vezeto()
|
||||
{
|
||||
Console.WriteLine($"Az autó vezetés: {Marka}, Ev: {Ev}, loero: {loero}");
|
||||
}
|
||||
}
|
||||
|
||||
class Kerekpar : Jarmu
|
||||
{
|
||||
public int Sebesseg { get; set; }
|
||||
public override void Vezeto()
|
||||
{
|
||||
Console.WriteLine($"Kerékpározás: {Marka}, Ev: {Ev}, Sebesseg: {Sebesseg}");
|
||||
}
|
||||
}
|
||||
class Program
|
||||
{
|
||||
static void Main(string[] args)
|
||||
{
|
||||
Auto auto1 = new Auto { Marka = "Suzuki", Ev = 2002, loero = 997 };
|
||||
auto1.Vezeto();
|
||||
Kerekpar kero = new Kerekpar { Marka = "Csepel", Ev = 2020, Sebesseg = 5 };
|
||||
kero.Vezeto();
|
||||
Console.ReadLine();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,36 +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("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("37cb7692-799a-49d7-9365-3f1f7a29f4a2")]
|
||||
|
||||
// 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")]
|
||||
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("37cb7692-799a-49d7-9365-3f1f7a29f4a2")]
|
||||
|
||||
// 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")]
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<configuration>
|
||||
<startup>
|
||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
|
||||
</startup>
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<configuration>
|
||||
<startup>
|
||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
|
||||
</startup>
|
||||
</configuration>
|
|
@ -1,4 +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")]
|
||||
// <autogenerated />
|
||||
using System;
|
||||
using System.Reflection;
|
||||
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.7.2", FrameworkDisplayName = ".NET Framework 4.7.2")]
|
||||
|
|
|
@ -1 +1 @@
|
|||
7f4b213b428f4c013f19137338418ee1f5525793
|
||||
7f4b213b428f4c013f19137338418ee1f5525793
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
C:\Users\szabomarton\Desktop\C#\20231011\ConsoleApp1\bin\Debug\ConsoleApp1.exe.config
|
||||
C:\Users\szabomarton\Desktop\C#\20231011\ConsoleApp1\bin\Debug\ConsoleApp1.exe
|
||||
C:\Users\szabomarton\Desktop\C#\20231011\ConsoleApp1\bin\Debug\ConsoleApp1.pdb
|
||||
C:\Users\szabomarton\Desktop\C#\20231011\ConsoleApp1\obj\Debug\ConsoleApp1.csproj.AssemblyReference.cache
|
||||
C:\Users\szabomarton\Desktop\C#\20231011\ConsoleApp1\obj\Debug\ConsoleApp1.csproj.CoreCompileInputs.cache
|
||||
C:\Users\szabomarton\Desktop\C#\20231011\ConsoleApp1\obj\Debug\ConsoleApp1.exe
|
||||
C:\Users\szabomarton\Desktop\C#\20231011\ConsoleApp1\obj\Debug\ConsoleApp1.pdb
|
||||
C:\Users\szabomarton\Desktop\C#\20231011\ConsoleApp1\bin\Debug\ConsoleApp1.exe.config
|
||||
C:\Users\szabomarton\Desktop\C#\20231011\ConsoleApp1\bin\Debug\ConsoleApp1.exe
|
||||
C:\Users\szabomarton\Desktop\C#\20231011\ConsoleApp1\bin\Debug\ConsoleApp1.pdb
|
||||
C:\Users\szabomarton\Desktop\C#\20231011\ConsoleApp1\obj\Debug\ConsoleApp1.csproj.AssemblyReference.cache
|
||||
C:\Users\szabomarton\Desktop\C#\20231011\ConsoleApp1\obj\Debug\ConsoleApp1.csproj.CoreCompileInputs.cache
|
||||
C:\Users\szabomarton\Desktop\C#\20231011\ConsoleApp1\obj\Debug\ConsoleApp1.exe
|
||||
C:\Users\szabomarton\Desktop\C#\20231011\ConsoleApp1\obj\Debug\ConsoleApp1.pdb
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<configuration>
|
||||
<startup>
|
||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
|
||||
</startup>
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<configuration>
|
||||
<startup>
|
||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
|
||||
</startup>
|
||||
</configuration>
|
|
@ -1,53 +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>{C3708B4F-6B02-49FA-8D23-EE80F619CAA2}</ProjectGuid>
|
||||
<OutputType>Exe</OutputType>
|
||||
<RootNamespace>ConsoleApp1</RootNamespace>
|
||||
<AssemblyName>ConsoleApp1</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" />
|
||||
<?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>{C3708B4F-6B02-49FA-8D23-EE80F619CAA2}</ProjectGuid>
|
||||
<OutputType>Exe</OutputType>
|
||||
<RootNamespace>ConsoleApp1</RootNamespace>
|
||||
<AssemblyName>ConsoleApp1</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>
|
|
@ -1,25 +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}") = "ConsoleApp1", "ConsoleApp1.csproj", "{C3708B4F-6B02-49FA-8D23-EE80F619CAA2}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Release|Any CPU = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{C3708B4F-6B02-49FA-8D23-EE80F619CAA2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{C3708B4F-6B02-49FA-8D23-EE80F619CAA2}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{C3708B4F-6B02-49FA-8D23-EE80F619CAA2}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{C3708B4F-6B02-49FA-8D23-EE80F619CAA2}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||
SolutionGuid = {ED5FDD19-880A-41F5-84D7-4C554147E0E4}
|
||||
EndGlobalSection
|
||||
EndGlobal
|
||||
|
||||
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", "{C3708B4F-6B02-49FA-8D23-EE80F619CAA2}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Release|Any CPU = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{C3708B4F-6B02-49FA-8D23-EE80F619CAA2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{C3708B4F-6B02-49FA-8D23-EE80F619CAA2}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{C3708B4F-6B02-49FA-8D23-EE80F619CAA2}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{C3708B4F-6B02-49FA-8D23-EE80F619CAA2}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||
SolutionGuid = {ED5FDD19-880A-41F5-84D7-4C554147E0E4}
|
||||
EndGlobalSection
|
||||
EndGlobal
|
||||
|
|
|
@ -1,37 +1,37 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace ConsoleApp1
|
||||
{
|
||||
class Osztaly
|
||||
{
|
||||
private static int peldanyokszama = 0;
|
||||
public Osztaly()
|
||||
{
|
||||
peldanyokszama++;
|
||||
}
|
||||
|
||||
public static int Peldanyszam()
|
||||
{
|
||||
return peldanyokszama;
|
||||
}
|
||||
~Osztaly()
|
||||
{
|
||||
Console.WriteLine(Peldanyszam());
|
||||
}
|
||||
|
||||
}
|
||||
class Program
|
||||
{
|
||||
static void Main(string[] args)
|
||||
{
|
||||
Osztaly objektum = new Osztaly();
|
||||
Console.WriteLine(Osztaly.Peldanyszam());
|
||||
Osztaly obj = new Osztaly();
|
||||
Osztaly obj2 = new Osztaly();
|
||||
}
|
||||
}
|
||||
}
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace ConsoleApp1
|
||||
{
|
||||
class Osztaly
|
||||
{
|
||||
private static int peldanyokszama = 0;
|
||||
public Osztaly()
|
||||
{
|
||||
peldanyokszama++;
|
||||
}
|
||||
|
||||
public static int Peldanyszam()
|
||||
{
|
||||
return peldanyokszama;
|
||||
}
|
||||
~Osztaly()
|
||||
{
|
||||
Console.WriteLine(Peldanyszam());
|
||||
}
|
||||
|
||||
}
|
||||
class Program
|
||||
{
|
||||
static void Main(string[] args)
|
||||
{
|
||||
Osztaly objektum = new Osztaly();
|
||||
Console.WriteLine(Osztaly.Peldanyszam());
|
||||
Osztaly obj = new Osztaly();
|
||||
Osztaly obj2 = new Osztaly();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,36 +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("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("c3708b4f-6b02-49fa-8d23-ee80f619caa2")]
|
||||
|
||||
// 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")]
|
||||
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("c3708b4f-6b02-49fa-8d23-ee80f619caa2")]
|
||||
|
||||
// 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")]
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<configuration>
|
||||
<startup>
|
||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
|
||||
</startup>
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<configuration>
|
||||
<startup>
|
||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
|
||||
</startup>
|
||||
</configuration>
|
|
@ -1,4 +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")]
|
||||
// <autogenerated />
|
||||
using System;
|
||||
using System.Reflection;
|
||||
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.7.2", FrameworkDisplayName = ".NET Framework 4.7.2")]
|
||||
|
|
|
@ -1 +1 @@
|
|||
7f4b213b428f4c013f19137338418ee1f5525793
|
||||
7f4b213b428f4c013f19137338418ee1f5525793
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
C:\Users\szabomarton\Desktop\C#\20231018\ConsoleApp1\bin\Debug\ConsoleApp1.exe.config
|
||||
C:\Users\szabomarton\Desktop\C#\20231018\ConsoleApp1\bin\Debug\ConsoleApp1.exe
|
||||
C:\Users\szabomarton\Desktop\C#\20231018\ConsoleApp1\bin\Debug\ConsoleApp1.pdb
|
||||
C:\Users\szabomarton\Desktop\C#\20231018\ConsoleApp1\obj\Debug\ConsoleApp1.csproj.AssemblyReference.cache
|
||||
C:\Users\szabomarton\Desktop\C#\20231018\ConsoleApp1\obj\Debug\ConsoleApp1.csproj.CoreCompileInputs.cache
|
||||
C:\Users\szabomarton\Desktop\C#\20231018\ConsoleApp1\obj\Debug\ConsoleApp1.exe
|
||||
C:\Users\szabomarton\Desktop\C#\20231018\ConsoleApp1\obj\Debug\ConsoleApp1.pdb
|
||||
C:\Users\szabomarton\Desktop\C#\20231018\ConsoleApp1\bin\Debug\ConsoleApp1.exe.config
|
||||
C:\Users\szabomarton\Desktop\C#\20231018\ConsoleApp1\bin\Debug\ConsoleApp1.exe
|
||||
C:\Users\szabomarton\Desktop\C#\20231018\ConsoleApp1\bin\Debug\ConsoleApp1.pdb
|
||||
C:\Users\szabomarton\Desktop\C#\20231018\ConsoleApp1\obj\Debug\ConsoleApp1.csproj.AssemblyReference.cache
|
||||
C:\Users\szabomarton\Desktop\C#\20231018\ConsoleApp1\obj\Debug\ConsoleApp1.csproj.CoreCompileInputs.cache
|
||||
C:\Users\szabomarton\Desktop\C#\20231018\ConsoleApp1\obj\Debug\ConsoleApp1.exe
|
||||
C:\Users\szabomarton\Desktop\C#\20231018\ConsoleApp1\obj\Debug\ConsoleApp1.pdb
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<configuration>
|
||||
<startup>
|
||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
|
||||
</startup>
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<configuration>
|
||||
<startup>
|
||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
|
||||
</startup>
|
||||
</configuration>
|
|
@ -1,53 +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>{2EFD125E-5061-411B-8CFA-ACC21FA5265D}</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" />
|
||||
<?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>{2EFD125E-5061-411B-8CFA-ACC21FA5265D}</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>
|
|
@ -1,25 +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", "{2EFD125E-5061-411B-8CFA-ACC21FA5265D}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Release|Any CPU = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{2EFD125E-5061-411B-8CFA-ACC21FA5265D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{2EFD125E-5061-411B-8CFA-ACC21FA5265D}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{2EFD125E-5061-411B-8CFA-ACC21FA5265D}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{2EFD125E-5061-411B-8CFA-ACC21FA5265D}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||
SolutionGuid = {05B69EA5-EF15-465D-9054-21CF1635B5F4}
|
||||
EndGlobalSection
|
||||
EndGlobal
|
||||
|
||||
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", "{2EFD125E-5061-411B-8CFA-ACC21FA5265D}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Release|Any CPU = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{2EFD125E-5061-411B-8CFA-ACC21FA5265D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{2EFD125E-5061-411B-8CFA-ACC21FA5265D}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{2EFD125E-5061-411B-8CFA-ACC21FA5265D}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{2EFD125E-5061-411B-8CFA-ACC21FA5265D}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||
SolutionGuid = {05B69EA5-EF15-465D-9054-21CF1635B5F4}
|
||||
EndGlobalSection
|
||||
EndGlobal
|
||||
|
|
|
@ -1,39 +1,39 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace ConsoleApp2
|
||||
{
|
||||
public static class Intkiterjesztesek
|
||||
{
|
||||
public static int Factorial(this int szam)
|
||||
{
|
||||
if (szam < 0) {
|
||||
throw new ArgumentException("A negatív számoknak nincs faktoriálisa");
|
||||
}
|
||||
|
||||
if (szam == 0 || szam == 1)
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
|
||||
int result = 1;
|
||||
for (int i = 2; i <= szam; ++i) {
|
||||
result *= i;
|
||||
}
|
||||
return result;
|
||||
}
|
||||
}
|
||||
class Program
|
||||
{
|
||||
|
||||
static void Main(string[] args)
|
||||
{
|
||||
int szam = 5;
|
||||
int factorial = szam.Factorial();
|
||||
Console.WriteLine($"{szam}! = {factorial}");
|
||||
}
|
||||
}
|
||||
}
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace ConsoleApp2
|
||||
{
|
||||
public static class Intkiterjesztesek
|
||||
{
|
||||
public static int Factorial(this int szam)
|
||||
{
|
||||
if (szam < 0) {
|
||||
throw new ArgumentException("A negatív számoknak nincs faktoriálisa");
|
||||
}
|
||||
|
||||
if (szam == 0 || szam == 1)
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
|
||||
int result = 1;
|
||||
for (int i = 2; i <= szam; ++i) {
|
||||
result *= i;
|
||||
}
|
||||
return result;
|
||||
}
|
||||
}
|
||||
class Program
|
||||
{
|
||||
|
||||
static void Main(string[] args)
|
||||
{
|
||||
int szam = 5;
|
||||
int factorial = szam.Factorial();
|
||||
Console.WriteLine($"{szam}! = {factorial}");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,36 +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("2efd125e-5061-411b-8cfa-acc21fa5265d")]
|
||||
|
||||
// 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")]
|
||||
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("2efd125e-5061-411b-8cfa-acc21fa5265d")]
|
||||
|
||||
// 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")]
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<configuration>
|
||||
<startup>
|
||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
|
||||
</startup>
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<configuration>
|
||||
<startup>
|
||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
|
||||
</startup>
|
||||
</configuration>
|
|
@ -1,4 +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")]
|
||||
// <autogenerated />
|
||||
using System;
|
||||
using System.Reflection;
|
||||
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.7.2", FrameworkDisplayName = ".NET Framework 4.7.2")]
|
||||
|
|
|
@ -1 +1 @@
|
|||
7f4b213b428f4c013f19137338418ee1f5525793
|
||||
7f4b213b428f4c013f19137338418ee1f5525793
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
C:\Users\szabomarton\Desktop\C#\20231018\ConsoleApp2\bin\Debug\ConsoleApp2.exe.config
|
||||
C:\Users\szabomarton\Desktop\C#\20231018\ConsoleApp2\bin\Debug\ConsoleApp2.exe
|
||||
C:\Users\szabomarton\Desktop\C#\20231018\ConsoleApp2\bin\Debug\ConsoleApp2.pdb
|
||||
C:\Users\szabomarton\Desktop\C#\20231018\ConsoleApp2\obj\Debug\ConsoleApp2.csproj.AssemblyReference.cache
|
||||
C:\Users\szabomarton\Desktop\C#\20231018\ConsoleApp2\obj\Debug\ConsoleApp2.csproj.CoreCompileInputs.cache
|
||||
C:\Users\szabomarton\Desktop\C#\20231018\ConsoleApp2\obj\Debug\ConsoleApp2.exe
|
||||
C:\Users\szabomarton\Desktop\C#\20231018\ConsoleApp2\obj\Debug\ConsoleApp2.pdb
|
||||
C:\Users\szabomarton\Desktop\C#\20231018\ConsoleApp2\bin\Debug\ConsoleApp2.exe.config
|
||||
C:\Users\szabomarton\Desktop\C#\20231018\ConsoleApp2\bin\Debug\ConsoleApp2.exe
|
||||
C:\Users\szabomarton\Desktop\C#\20231018\ConsoleApp2\bin\Debug\ConsoleApp2.pdb
|
||||
C:\Users\szabomarton\Desktop\C#\20231018\ConsoleApp2\obj\Debug\ConsoleApp2.csproj.AssemblyReference.cache
|
||||
C:\Users\szabomarton\Desktop\C#\20231018\ConsoleApp2\obj\Debug\ConsoleApp2.csproj.CoreCompileInputs.cache
|
||||
C:\Users\szabomarton\Desktop\C#\20231018\ConsoleApp2\obj\Debug\ConsoleApp2.exe
|
||||
C:\Users\szabomarton\Desktop\C#\20231018\ConsoleApp2\obj\Debug\ConsoleApp2.pdb
|
||||
|
|
|
@ -1,48 +1,48 @@
|
|||
public static típus függénynév(this típus név, tov.paraméterek){
|
||||
függvénytörzs;
|
||||
};
|
||||
Az így defininált függvény
|
||||
|
||||
|
||||
public static class Intkiterjesztesek
|
||||
{
|
||||
public static int Factorial(this int szam)
|
||||
{
|
||||
if (szam < 0) {
|
||||
throw new ArgumentException("A negatív számoknak nincs faktoriálisa");
|
||||
}
|
||||
|
||||
if (szam == 0 || szam == 1)
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
|
||||
int result = 1;
|
||||
for (int i = 2; i <= szam; ++i) {
|
||||
result *= i;
|
||||
}
|
||||
return result;
|
||||
}
|
||||
}
|
||||
class Program
|
||||
{
|
||||
|
||||
static void Main(string[] args)
|
||||
{
|
||||
int szam = 5;
|
||||
int factorial = szam.Factorial();
|
||||
Console.WriteLine($"{szam}! = {factorial}");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
A this kulcsszó használatával a függvénykiterjesztésekben az objektum, amelyre alkalmazni szeretnénk a kiterjesztett metódust, paraméterként jut át a metódusnak.
|
||||
Ez a példa egy egyszerű függvénykiterjesztés az int típushoz, amely a szám faktoriálisát számítja ki.
|
||||
|
||||
A throw kulcsszót a hiba vagy kivétel dobása céljából használhatunk.
|
||||
Amikor egy kivételt dobunk akkor valamilyen előre definiált kivételosztály egy példányát kaphatjuk vissza, vagy saját magunk által definiált kivételosztály.
|
||||
|
||||
A throw tehát lehetővé teszi számunkra, hogy megállítsuk a program futását és jelezzük, hogy valamilyen probléma vagy kivlételes helyzet áll fennm amely kezelést igényel.
|
||||
public static típus függénynév(this típus név, tov.paraméterek){
|
||||
függvénytörzs;
|
||||
};
|
||||
Az így defininált függvény
|
||||
|
||||
|
||||
public static class Intkiterjesztesek
|
||||
{
|
||||
public static int Factorial(this int szam)
|
||||
{
|
||||
if (szam < 0) {
|
||||
throw new ArgumentException("A negatív számoknak nincs faktoriálisa");
|
||||
}
|
||||
|
||||
if (szam == 0 || szam == 1)
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
|
||||
int result = 1;
|
||||
for (int i = 2; i <= szam; ++i) {
|
||||
result *= i;
|
||||
}
|
||||
return result;
|
||||
}
|
||||
}
|
||||
class Program
|
||||
{
|
||||
|
||||
static void Main(string[] args)
|
||||
{
|
||||
int szam = 5;
|
||||
int factorial = szam.Factorial();
|
||||
Console.WriteLine($"{szam}! = {factorial}");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
A this kulcsszó használatával a függvénykiterjesztésekben az objektum, amelyre alkalmazni szeretnénk a kiterjesztett metódust, paraméterként jut át a metódusnak.
|
||||
Ez a példa egy egyszerű függvénykiterjesztés az int típushoz, amely a szám faktoriálisát számítja ki.
|
||||
|
||||
A throw kulcsszót a hiba vagy kivétel dobása céljából használhatunk.
|
||||
Amikor egy kivételt dobunk akkor valamilyen előre definiált kivételosztály egy példányát kaphatjuk vissza, vagy saját magunk által definiált kivételosztály.
|
||||
|
||||
A throw tehát lehetővé teszi számunkra, hogy megállítsuk a program futását és jelezzük, hogy valamilyen probléma vagy kivlételes helyzet áll fennm amely kezelést igényel.
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<configuration>
|
||||
<startup>
|
||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
|
||||
</startup>
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<configuration>
|
||||
<startup>
|
||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
|
||||
</startup>
|
||||
</configuration>
|
|
@ -1,53 +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>{F1939277-923D-4841-B3CD-C9C3B4FFC17B}</ProjectGuid>
|
||||
<OutputType>Exe</OutputType>
|
||||
<RootNamespace>ConsoleApp1</RootNamespace>
|
||||
<AssemblyName>ConsoleApp1</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" />
|
||||
<?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>{F1939277-923D-4841-B3CD-C9C3B4FFC17B}</ProjectGuid>
|
||||
<OutputType>Exe</OutputType>
|
||||
<RootNamespace>ConsoleApp1</RootNamespace>
|
||||
<AssemblyName>ConsoleApp1</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>
|
|
@ -1,25 +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}") = "ConsoleApp1", "ConsoleApp1.csproj", "{F1939277-923D-4841-B3CD-C9C3B4FFC17B}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Release|Any CPU = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{F1939277-923D-4841-B3CD-C9C3B4FFC17B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{F1939277-923D-4841-B3CD-C9C3B4FFC17B}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{F1939277-923D-4841-B3CD-C9C3B4FFC17B}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{F1939277-923D-4841-B3CD-C9C3B4FFC17B}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||
SolutionGuid = {4C37CA09-2E20-4F4F-8F81-601E005623D1}
|
||||
EndGlobalSection
|
||||
EndGlobal
|
||||
|
||||
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", "{F1939277-923D-4841-B3CD-C9C3B4FFC17B}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Release|Any CPU = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{F1939277-923D-4841-B3CD-C9C3B4FFC17B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{F1939277-923D-4841-B3CD-C9C3B4FFC17B}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{F1939277-923D-4841-B3CD-C9C3B4FFC17B}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{F1939277-923D-4841-B3CD-C9C3B4FFC17B}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||
SolutionGuid = {4C37CA09-2E20-4F4F-8F81-601E005623D1}
|
||||
EndGlobalSection
|
||||
EndGlobal
|
||||
|
|
|
@ -1,73 +1,73 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace ConsoleApp1
|
||||
{
|
||||
class Szamolo
|
||||
{
|
||||
public double operand1, operand2;
|
||||
public Szamolo(double operand1, double operand2)
|
||||
{
|
||||
this.operand1 = operand1;
|
||||
this.operand2 = operand2;
|
||||
}
|
||||
public double Kalk(char operatorCode)
|
||||
{
|
||||
switch (operatorCode)
|
||||
{
|
||||
case '+':
|
||||
return operand1 + operand2;
|
||||
break;
|
||||
case '-':
|
||||
return operand1 - operand2;
|
||||
break;
|
||||
case '*':
|
||||
return operand1 * operand2;
|
||||
break;
|
||||
case '/':
|
||||
if (operand2 != 0)
|
||||
{
|
||||
return operand1 / operand2;
|
||||
} else
|
||||
{
|
||||
throw new DivideByZeroException("Ne osszá nullával!");
|
||||
}
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
class Program
|
||||
{
|
||||
static void Main(string[] args)
|
||||
{
|
||||
Console.WriteLine("Adja meg az első operandust!");
|
||||
double op1 = Convert.ToDouble(Console.ReadLine());
|
||||
Console.WriteLine("Adja meg a második operandust!");
|
||||
double op2 = Convert.ToDouble(Console.ReadLine());
|
||||
Console.WriteLine("Add meg a műveletet!");
|
||||
char muvelet = Convert.ToChar(Console.ReadLine());
|
||||
|
||||
Szamolo szamol = new Szamolo(op1, op2);
|
||||
|
||||
try
|
||||
{
|
||||
double er = szamol.Kalk(muvelet);
|
||||
Console.WriteLine(er);
|
||||
}
|
||||
catch (Exception)
|
||||
{
|
||||
|
||||
throw;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace ConsoleApp1
|
||||
{
|
||||
class Szamolo
|
||||
{
|
||||
public double operand1, operand2;
|
||||
public Szamolo(double operand1, double operand2)
|
||||
{
|
||||
this.operand1 = operand1;
|
||||
this.operand2 = operand2;
|
||||
}
|
||||
public double Kalk(char operatorCode)
|
||||
{
|
||||
switch (operatorCode)
|
||||
{
|
||||
case '+':
|
||||
return operand1 + operand2;
|
||||
break;
|
||||
case '-':
|
||||
return operand1 - operand2;
|
||||
break;
|
||||
case '*':
|
||||
return operand1 * operand2;
|
||||
break;
|
||||
case '/':
|
||||
if (operand2 != 0)
|
||||
{
|
||||
return operand1 / operand2;
|
||||
} else
|
||||
{
|
||||
throw new DivideByZeroException("Ne osszá nullával!");
|
||||
}
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
class Program
|
||||
{
|
||||
static void Main(string[] args)
|
||||
{
|
||||
Console.WriteLine("Adja meg az első operandust!");
|
||||
double op1 = Convert.ToDouble(Console.ReadLine());
|
||||
Console.WriteLine("Adja meg a második operandust!");
|
||||
double op2 = Convert.ToDouble(Console.ReadLine());
|
||||
Console.WriteLine("Add meg a műveletet!");
|
||||
char muvelet = Convert.ToChar(Console.ReadLine());
|
||||
|
||||
Szamolo szamol = new Szamolo(op1, op2);
|
||||
|
||||
try
|
||||
{
|
||||
double er = szamol.Kalk(muvelet);
|
||||
Console.WriteLine(er);
|
||||
}
|
||||
catch (Exception)
|
||||
{
|
||||
|
||||
throw;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,36 +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("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("f1939277-923d-4841-b3cd-c9c3b4ffc17b")]
|
||||
|
||||
// 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")]
|
||||
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("f1939277-923d-4841-b3cd-c9c3b4ffc17b")]
|
||||
|
||||
// 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")]
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<configuration>
|
||||
<startup>
|
||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
|
||||
</startup>
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<configuration>
|
||||
<startup>
|
||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
|
||||
</startup>
|
||||
</configuration>
|
|
@ -1,4 +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")]
|
||||
// <autogenerated />
|
||||
using System;
|
||||
using System.Reflection;
|
||||
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.7.2", FrameworkDisplayName = ".NET Framework 4.7.2")]
|
||||
|
|
|
@ -1 +1 @@
|
|||
7f4b213b428f4c013f19137338418ee1f5525793
|
||||
7f4b213b428f4c013f19137338418ee1f5525793
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
C:\Users\szabomarton\Desktop\C#\20231115\ConsoleApp1\bin\Debug\ConsoleApp1.exe.config
|
||||
C:\Users\szabomarton\Desktop\C#\20231115\ConsoleApp1\bin\Debug\ConsoleApp1.exe
|
||||
C:\Users\szabomarton\Desktop\C#\20231115\ConsoleApp1\bin\Debug\ConsoleApp1.pdb
|
||||
C:\Users\szabomarton\Desktop\C#\20231115\ConsoleApp1\obj\Debug\ConsoleApp1.csproj.AssemblyReference.cache
|
||||
C:\Users\szabomarton\Desktop\C#\20231115\ConsoleApp1\obj\Debug\ConsoleApp1.csproj.CoreCompileInputs.cache
|
||||
C:\Users\szabomarton\Desktop\C#\20231115\ConsoleApp1\obj\Debug\ConsoleApp1.exe
|
||||
C:\Users\szabomarton\Desktop\C#\20231115\ConsoleApp1\obj\Debug\ConsoleApp1.pdb
|
||||
C:\Users\szabomarton\Desktop\C#\20231115\ConsoleApp1\bin\Debug\ConsoleApp1.exe.config
|
||||
C:\Users\szabomarton\Desktop\C#\20231115\ConsoleApp1\bin\Debug\ConsoleApp1.exe
|
||||
C:\Users\szabomarton\Desktop\C#\20231115\ConsoleApp1\bin\Debug\ConsoleApp1.pdb
|
||||
C:\Users\szabomarton\Desktop\C#\20231115\ConsoleApp1\obj\Debug\ConsoleApp1.csproj.AssemblyReference.cache
|
||||
C:\Users\szabomarton\Desktop\C#\20231115\ConsoleApp1\obj\Debug\ConsoleApp1.csproj.CoreCompileInputs.cache
|
||||
C:\Users\szabomarton\Desktop\C#\20231115\ConsoleApp1\obj\Debug\ConsoleApp1.exe
|
||||
C:\Users\szabomarton\Desktop\C#\20231115\ConsoleApp1\obj\Debug\ConsoleApp1.pdb
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<configuration>
|
||||
<startup>
|
||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
|
||||
</startup>
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<configuration>
|
||||
<startup>
|
||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
|
||||
</startup>
|
||||
</configuration>
|
|
@ -1,53 +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>{CADF71AE-EEFC-4AF1-A8B7-AD080CF7BD73}</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" />
|
||||
<?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>{CADF71AE-EEFC-4AF1-A8B7-AD080CF7BD73}</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>
|
|
@ -1,25 +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", "{CADF71AE-EEFC-4AF1-A8B7-AD080CF7BD73}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Release|Any CPU = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{CADF71AE-EEFC-4AF1-A8B7-AD080CF7BD73}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{CADF71AE-EEFC-4AF1-A8B7-AD080CF7BD73}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{CADF71AE-EEFC-4AF1-A8B7-AD080CF7BD73}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{CADF71AE-EEFC-4AF1-A8B7-AD080CF7BD73}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||
SolutionGuid = {25B8FF27-DF2A-4B5A-AA97-13639132CF77}
|
||||
EndGlobalSection
|
||||
EndGlobal
|
||||
|
||||
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", "{CADF71AE-EEFC-4AF1-A8B7-AD080CF7BD73}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Release|Any CPU = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{CADF71AE-EEFC-4AF1-A8B7-AD080CF7BD73}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{CADF71AE-EEFC-4AF1-A8B7-AD080CF7BD73}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{CADF71AE-EEFC-4AF1-A8B7-AD080CF7BD73}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{CADF71AE-EEFC-4AF1-A8B7-AD080CF7BD73}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||
SolutionGuid = {25B8FF27-DF2A-4B5A-AA97-13639132CF77}
|
||||
EndGlobalSection
|
||||
EndGlobal
|
||||
|
|
|
@ -1,36 +1,36 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace ConsoleApp2
|
||||
{
|
||||
class Lakas
|
||||
{
|
||||
double szelesseg, hossz, magassag;
|
||||
int csempe;
|
||||
|
||||
double padlo, Aoldal, Boldal;
|
||||
public Lakas(double szelesseg, double hossz, double magassag)
|
||||
{
|
||||
padlo = szelesseg * hossz;
|
||||
Aoldal = hossz * magassag;
|
||||
Boldal = magassag * szelesseg;
|
||||
}
|
||||
|
||||
double csempeA, csempeB;
|
||||
public Csempemeret()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
class Program
|
||||
{
|
||||
static void Main(string[] args)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace ConsoleApp2
|
||||
{
|
||||
class Lakas
|
||||
{
|
||||
double szelesseg, hossz, magassag;
|
||||
int csempe;
|
||||
|
||||
double padlo, Aoldal, Boldal;
|
||||
public Lakas(double szelesseg, double hossz, double magassag)
|
||||
{
|
||||
padlo = szelesseg * hossz;
|
||||
Aoldal = hossz * magassag;
|
||||
Boldal = magassag * szelesseg;
|
||||
}
|
||||
|
||||
double csempeA, csempeB;
|
||||
public Csempemeret()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
class Program
|
||||
{
|
||||
static void Main(string[] args)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,36 +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("cadf71ae-eefc-4af1-a8b7-ad080cf7bd73")]
|
||||
|
||||
// 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")]
|
||||
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("cadf71ae-eefc-4af1-a8b7-ad080cf7bd73")]
|
||||
|
||||
// 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")]
|
||||
|
|
|
@ -1,4 +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")]
|
||||
// <autogenerated />
|
||||
using System;
|
||||
using System.Reflection;
|
||||
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.7.2", FrameworkDisplayName = ".NET Framework 4.7.2")]
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
Készítsünk számológépet:
|
||||
A Szamolo osztály tartalmazzon egy Kalk metódust,
|
||||
amely adott műveleti kódra elvégzi a két operandus között a megfelelő műveletet.
|
||||
A kalk metódus az adatokat az osztály adattagjaiból vegye;
|
||||
ezeket a főprogram közvetlenül érje el.
|
||||
A főprogram készítsén ebből egy Kiszamol példányt, kérjen be két operanmdust és egy műveleti kódot, végeztesse el a műveletet, majd írja ki az eredményt.
|
||||
|
||||
|
||||
|
||||
Készítsen osztályt amely lakóhelyiségek alapterületét, falfelületét és a mennyezet méretét számolja ki a helyiség hossza szélessége és belmagassága alapján.
|
||||
Az osztály tesztelésként kérje be hány helyiségbe szeretne az illető csempézni és festeni, majd kérd be a helyiségek adatait.
|
||||
Végül adja meg, hogy mennyi csempére és falfestékre lesz szükség.
|
||||
Készítsünk számológépet:
|
||||
A Szamolo osztály tartalmazzon egy Kalk metódust,
|
||||
amely adott műveleti kódra elvégzi a két operandus között a megfelelő műveletet.
|
||||
A kalk metódus az adatokat az osztály adattagjaiból vegye;
|
||||
ezeket a főprogram közvetlenül érje el.
|
||||
A főprogram készítsén ebből egy Kiszamol példányt, kérjen be két operanmdust és egy műveleti kódot, végeztesse el a műveletet, majd írja ki az eredményt.
|
||||
|
||||
|
||||
|
||||
Készítsen osztályt amely lakóhelyiségek alapterületét, falfelületét és a mennyezet méretét számolja ki a helyiség hossza szélessége és belmagassága alapján.
|
||||
Az osztály tesztelésként kérje be hány helyiségbe szeretne az illető csempézni és festeni, majd kérd be a helyiségek adatait.
|
||||
Végül adja meg, hogy mennyi csempére és falfestékre lesz szükség.
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<configuration>
|
||||
<startup>
|
||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
|
||||
</startup>
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<configuration>
|
||||
<startup>
|
||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
|
||||
</startup>
|
||||
</configuration>
|
|
@ -1,53 +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>{B6DF9AD0-30C9-4B67-A782-EC20DE270E30}</ProjectGuid>
|
||||
<OutputType>Exe</OutputType>
|
||||
<RootNamespace>ConsoleApp1</RootNamespace>
|
||||
<AssemblyName>ConsoleApp1</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" />
|
||||
<?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>{B6DF9AD0-30C9-4B67-A782-EC20DE270E30}</ProjectGuid>
|
||||
<OutputType>Exe</OutputType>
|
||||
<RootNamespace>ConsoleApp1</RootNamespace>
|
||||
<AssemblyName>ConsoleApp1</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>
|
|
@ -1,25 +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}") = "ConsoleApp1", "ConsoleApp1.csproj", "{B6DF9AD0-30C9-4B67-A782-EC20DE270E30}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Release|Any CPU = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{B6DF9AD0-30C9-4B67-A782-EC20DE270E30}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{B6DF9AD0-30C9-4B67-A782-EC20DE270E30}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{B6DF9AD0-30C9-4B67-A782-EC20DE270E30}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{B6DF9AD0-30C9-4B67-A782-EC20DE270E30}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||
SolutionGuid = {06955B28-9CD1-4AA1-BF0D-95D7E966C0F9}
|
||||
EndGlobalSection
|
||||
EndGlobal
|
||||
|
||||
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", "{B6DF9AD0-30C9-4B67-A782-EC20DE270E30}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Release|Any CPU = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{B6DF9AD0-30C9-4B67-A782-EC20DE270E30}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{B6DF9AD0-30C9-4B67-A782-EC20DE270E30}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{B6DF9AD0-30C9-4B67-A782-EC20DE270E30}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{B6DF9AD0-30C9-4B67-A782-EC20DE270E30}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||
SolutionGuid = {06955B28-9CD1-4AA1-BF0D-95D7E966C0F9}
|
||||
EndGlobalSection
|
||||
EndGlobal
|
||||
|
|
|
@ -1,50 +1,50 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace ConsoleApp1
|
||||
{
|
||||
public class Alak
|
||||
{
|
||||
public virtual void Rajzol() {
|
||||
Console.WriteLine("Alakzat rajzolása.");
|
||||
}
|
||||
}
|
||||
|
||||
public class Kor : Alak
|
||||
{
|
||||
public override void Rajzol()
|
||||
{
|
||||
Console.WriteLine("Kör rajzolása.");
|
||||
}
|
||||
}
|
||||
|
||||
public class Kocka : Alak
|
||||
{
|
||||
public override void Rajzol()
|
||||
{
|
||||
Console.WriteLine("Téglalap rajzolása.");
|
||||
|
||||
Console.WriteLine(" .+------+ +------+ ");
|
||||
Console.WriteLine(" .' | .' | /| /| ");
|
||||
Console.WriteLine("+---+--+' | +-+----+ | ");
|
||||
Console.WriteLine("| | | | | | | | ");
|
||||
Console.WriteLine("| ,+--+---+ | +----+-+ ");
|
||||
Console.WriteLine("|.' | .' |/ |/ ");
|
||||
Console.WriteLine("+------+' +------+ ");
|
||||
}
|
||||
}
|
||||
class Program
|
||||
{
|
||||
static void Main(string[] args)
|
||||
{
|
||||
Alak haromszog = new Alak();
|
||||
haromszog.Rajzol();
|
||||
Kocka teglalap = new Kocka();
|
||||
teglalap.Rajzol();
|
||||
Console.ReadLine();
|
||||
}
|
||||
}
|
||||
}
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace ConsoleApp1
|
||||
{
|
||||
public class Alak
|
||||
{
|
||||
public virtual void Rajzol() {
|
||||
Console.WriteLine("Alakzat rajzolása.");
|
||||
}
|
||||
}
|
||||
|
||||
public class Kor : Alak
|
||||
{
|
||||
public override void Rajzol()
|
||||
{
|
||||
Console.WriteLine("Kör rajzolása.");
|
||||
}
|
||||
}
|
||||
|
||||
public class Kocka : Alak
|
||||
{
|
||||
public override void Rajzol()
|
||||
{
|
||||
Console.WriteLine("Téglalap rajzolása.");
|
||||
|
||||
Console.WriteLine(" .+------+ +------+ ");
|
||||
Console.WriteLine(" .' | .' | /| /| ");
|
||||
Console.WriteLine("+---+--+' | +-+----+ | ");
|
||||
Console.WriteLine("| | | | | | | | ");
|
||||
Console.WriteLine("| ,+--+---+ | +----+-+ ");
|
||||
Console.WriteLine("|.' | .' |/ |/ ");
|
||||
Console.WriteLine("+------+' +------+ ");
|
||||
}
|
||||
}
|
||||
class Program
|
||||
{
|
||||
static void Main(string[] args)
|
||||
{
|
||||
Alak haromszog = new Alak();
|
||||
haromszog.Rajzol();
|
||||
Kocka teglalap = new Kocka();
|
||||
teglalap.Rajzol();
|
||||
Console.ReadLine();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,36 +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("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("b6df9ad0-30c9-4b67-a782-ec20de270e30")]
|
||||
|
||||
// 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")]
|
||||
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("b6df9ad0-30c9-4b67-a782-ec20de270e30")]
|
||||
|
||||
// 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")]
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<configuration>
|
||||
<startup>
|
||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
|
||||
</startup>
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<configuration>
|
||||
<startup>
|
||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
|
||||
</startup>
|
||||
</configuration>
|
|
@ -1,4 +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")]
|
||||
// <autogenerated />
|
||||
using System;
|
||||
using System.Reflection;
|
||||
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.7.2", FrameworkDisplayName = ".NET Framework 4.7.2")]
|
||||
|
|
|
@ -1 +1 @@
|
|||
7f4b213b428f4c013f19137338418ee1f5525793
|
||||
7f4b213b428f4c013f19137338418ee1f5525793
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
C:\Users\szabomarton\Desktop\C#\20231129\ConsoleApp1\bin\Debug\ConsoleApp1.exe.config
|
||||
C:\Users\szabomarton\Desktop\C#\20231129\ConsoleApp1\bin\Debug\ConsoleApp1.exe
|
||||
C:\Users\szabomarton\Desktop\C#\20231129\ConsoleApp1\bin\Debug\ConsoleApp1.pdb
|
||||
C:\Users\szabomarton\Desktop\C#\20231129\ConsoleApp1\obj\Debug\ConsoleApp1.csproj.AssemblyReference.cache
|
||||
C:\Users\szabomarton\Desktop\C#\20231129\ConsoleApp1\obj\Debug\ConsoleApp1.csproj.CoreCompileInputs.cache
|
||||
C:\Users\szabomarton\Desktop\C#\20231129\ConsoleApp1\obj\Debug\ConsoleApp1.exe
|
||||
C:\Users\szabomarton\Desktop\C#\20231129\ConsoleApp1\obj\Debug\ConsoleApp1.pdb
|
||||
C:\Users\szabomarton\Desktop\C#\20231129\ConsoleApp1\bin\Debug\ConsoleApp1.exe.config
|
||||
C:\Users\szabomarton\Desktop\C#\20231129\ConsoleApp1\bin\Debug\ConsoleApp1.exe
|
||||
C:\Users\szabomarton\Desktop\C#\20231129\ConsoleApp1\bin\Debug\ConsoleApp1.pdb
|
||||
C:\Users\szabomarton\Desktop\C#\20231129\ConsoleApp1\obj\Debug\ConsoleApp1.csproj.AssemblyReference.cache
|
||||
C:\Users\szabomarton\Desktop\C#\20231129\ConsoleApp1\obj\Debug\ConsoleApp1.csproj.CoreCompileInputs.cache
|
||||
C:\Users\szabomarton\Desktop\C#\20231129\ConsoleApp1\obj\Debug\ConsoleApp1.exe
|
||||
C:\Users\szabomarton\Desktop\C#\20231129\ConsoleApp1\obj\Debug\ConsoleApp1.pdb
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<configuration>
|
||||
<startup>
|
||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
|
||||
</startup>
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<configuration>
|
||||
<startup>
|
||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
|
||||
</startup>
|
||||
</configuration>
|
|
@ -1,53 +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>{8680F023-48A1-4B35-A2FE-CA763D4310F6}</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" />
|
||||
<?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>{8680F023-48A1-4B35-A2FE-CA763D4310F6}</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>
|
|
@ -1,25 +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", "{8680F023-48A1-4B35-A2FE-CA763D4310F6}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Release|Any CPU = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{8680F023-48A1-4B35-A2FE-CA763D4310F6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{8680F023-48A1-4B35-A2FE-CA763D4310F6}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{8680F023-48A1-4B35-A2FE-CA763D4310F6}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{8680F023-48A1-4B35-A2FE-CA763D4310F6}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||
SolutionGuid = {976941A2-2FA9-4061-8DB9-3B2839BD04D1}
|
||||
EndGlobalSection
|
||||
EndGlobal
|
||||
|
||||
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", "{8680F023-48A1-4B35-A2FE-CA763D4310F6}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Release|Any CPU = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{8680F023-48A1-4B35-A2FE-CA763D4310F6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{8680F023-48A1-4B35-A2FE-CA763D4310F6}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{8680F023-48A1-4B35-A2FE-CA763D4310F6}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{8680F023-48A1-4B35-A2FE-CA763D4310F6}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||
SolutionGuid = {976941A2-2FA9-4061-8DB9-3B2839BD04D1}
|
||||
EndGlobalSection
|
||||
EndGlobal
|
||||
|
|
|
@ -1,37 +1,37 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace ConsoleApp2
|
||||
{
|
||||
|
||||
public class Sim
|
||||
{
|
||||
public static int RandomNumber(int min, int max)
|
||||
{
|
||||
Random random = new Random();
|
||||
return random.Next(min, max);
|
||||
}
|
||||
|
||||
//int sorszam, PIN, PUK, egyenleg;
|
||||
int sorszam = RandomNumber(10000000,100000000);
|
||||
int PIN = RandomNumber(1000,10000);
|
||||
int PUK = 1;
|
||||
|
||||
|
||||
|
||||
bool ervenyes;
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
class Program
|
||||
{
|
||||
static void Main(string[] args)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace ConsoleApp2
|
||||
{
|
||||
|
||||
public class Sim
|
||||
{
|
||||
public static int RandomNumber(int min, int max)
|
||||
{
|
||||
Random random = new Random();
|
||||
return random.Next(min, max);
|
||||
}
|
||||
|
||||
//int sorszam, PIN, PUK, egyenleg;
|
||||
int sorszam = RandomNumber(10000000,100000000);
|
||||
int PIN = RandomNumber(1000,10000);
|
||||
int PUK = 1;
|
||||
|
||||
|
||||
|
||||
bool ervenyes;
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
class Program
|
||||
{
|
||||
static void Main(string[] args)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,36 +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("8680f023-48a1-4b35-a2fe-ca763d4310f6")]
|
||||
|
||||
// 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")]
|
||||
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("8680f023-48a1-4b35-a2fe-ca763d4310f6")]
|
||||
|
||||
// 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")]
|
||||
|
|
|
@ -1,4 +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")]
|
||||
// <autogenerated />
|
||||
using System;
|
||||
using System.Reflection;
|
||||
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.7.2", FrameworkDisplayName = ".NET Framework 4.7.2")]
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<configuration>
|
||||
<startup>
|
||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
|
||||
</startup>
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<configuration>
|
||||
<startup>
|
||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
|
||||
</startup>
|
||||
</configuration>
|
|
@ -1,53 +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>{E17B7C5B-134B-4587-B9CE-205D24B19C0B}</ProjectGuid>
|
||||
<OutputType>Exe</OutputType>
|
||||
<RootNamespace>ConsoleApp1</RootNamespace>
|
||||
<AssemblyName>ConsoleApp1</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" />
|
||||
<?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>{E17B7C5B-134B-4587-B9CE-205D24B19C0B}</ProjectGuid>
|
||||
<OutputType>Exe</OutputType>
|
||||
<RootNamespace>ConsoleApp1</RootNamespace>
|
||||
<AssemblyName>ConsoleApp1</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>
|
|
@ -1,25 +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}") = "ConsoleApp1", "ConsoleApp1.csproj", "{E17B7C5B-134B-4587-B9CE-205D24B19C0B}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Release|Any CPU = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{E17B7C5B-134B-4587-B9CE-205D24B19C0B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{E17B7C5B-134B-4587-B9CE-205D24B19C0B}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{E17B7C5B-134B-4587-B9CE-205D24B19C0B}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{E17B7C5B-134B-4587-B9CE-205D24B19C0B}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||
SolutionGuid = {19BB5E79-DD41-4C13-A99C-C7CD80D321F5}
|
||||
EndGlobalSection
|
||||
EndGlobal
|
||||
|
||||
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", "{E17B7C5B-134B-4587-B9CE-205D24B19C0B}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Release|Any CPU = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{E17B7C5B-134B-4587-B9CE-205D24B19C0B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{E17B7C5B-134B-4587-B9CE-205D24B19C0B}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{E17B7C5B-134B-4587-B9CE-205D24B19C0B}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{E17B7C5B-134B-4587-B9CE-205D24B19C0B}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||
SolutionGuid = {19BB5E79-DD41-4C13-A99C-C7CD80D321F5}
|
||||
EndGlobalSection
|
||||
EndGlobal
|
||||
|
|
|
@ -1,67 +1,67 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace ConsoleApp1
|
||||
{
|
||||
class Felhasznalo
|
||||
{
|
||||
private string e_mail, jelszo, felhnev;
|
||||
|
||||
public Felhasznalo(string em, string fn, string pw)
|
||||
{
|
||||
E_mail = em;
|
||||
Jelszo = pw;
|
||||
Felhnev = fn;
|
||||
}
|
||||
|
||||
public string E_mail
|
||||
{
|
||||
get { return this.e_mail; }
|
||||
set { this.e_mail = value;}
|
||||
}
|
||||
|
||||
public string Jelszo
|
||||
{
|
||||
get { return this.jelszo; }
|
||||
set { this.jelszo = value; }
|
||||
}
|
||||
public string Felhnev
|
||||
{
|
||||
get { return this.felhnev; }
|
||||
set { this.felhnev = value; }
|
||||
}
|
||||
|
||||
private string tulajdonsag;
|
||||
|
||||
public string Tulajdonsag
|
||||
{
|
||||
get { return this.tulajdonsag; }
|
||||
set { this.tulajdonsag = value;}
|
||||
}
|
||||
public void Hozzaad()
|
||||
{
|
||||
Console.WriteLine("Adj meg egy tulajdonságot!");
|
||||
Tulajdonsag = Console.ReadLine();
|
||||
}
|
||||
|
||||
public void Kiir()
|
||||
{
|
||||
Console.WriteLine($"A felhasználó nagyon {Tulajdonsag}.");
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
class Program
|
||||
{
|
||||
static void Main(string[] args)
|
||||
{
|
||||
Felhasznalo felh = new Felhasznalo("asd@gmail.com", "KukaLadik", "F3lt0rh3t3tl3n");
|
||||
|
||||
felh.Hozzaad();
|
||||
felh.Kiir();
|
||||
}
|
||||
}
|
||||
}
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace ConsoleApp1
|
||||
{
|
||||
class Felhasznalo
|
||||
{
|
||||
private string e_mail, jelszo, felhnev;
|
||||
|
||||
public Felhasznalo(string em, string fn, string pw)
|
||||
{
|
||||
E_mail = em;
|
||||
Jelszo = pw;
|
||||
Felhnev = fn;
|
||||
}
|
||||
|
||||
public string E_mail
|
||||
{
|
||||
get { return this.e_mail; }
|
||||
set { this.e_mail = value;}
|
||||
}
|
||||
|
||||
public string Jelszo
|
||||
{
|
||||
get { return this.jelszo; }
|
||||
set { this.jelszo = value; }
|
||||
}
|
||||
public string Felhnev
|
||||
{
|
||||
get { return this.felhnev; }
|
||||
set { this.felhnev = value; }
|
||||
}
|
||||
|
||||
private string tulajdonsag;
|
||||
|
||||
public string Tulajdonsag
|
||||
{
|
||||
get { return this.tulajdonsag; }
|
||||
set { this.tulajdonsag = value;}
|
||||
}
|
||||
public void Hozzaad()
|
||||
{
|
||||
Console.WriteLine("Adj meg egy tulajdonságot!");
|
||||
Tulajdonsag = Console.ReadLine();
|
||||
}
|
||||
|
||||
public void Kiir()
|
||||
{
|
||||
Console.WriteLine($"A felhasználó nagyon {Tulajdonsag}.");
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
class Program
|
||||
{
|
||||
static void Main(string[] args)
|
||||
{
|
||||
Felhasznalo felh = new Felhasznalo("asd@gmail.com", "KukaLadik", "F3lt0rh3t3tl3n");
|
||||
|
||||
felh.Hozzaad();
|
||||
felh.Kiir();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,36 +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("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("e17b7c5b-134b-4587-b9ce-205d24b19c0b")]
|
||||
|
||||
// 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")]
|
||||
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("e17b7c5b-134b-4587-b9ce-205d24b19c0b")]
|
||||
|
||||
// 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")]
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<configuration>
|
||||
<startup>
|
||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
|
||||
</startup>
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<configuration>
|
||||
<startup>
|
||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
|
||||
</startup>
|
||||
</configuration>
|
|
@ -1,4 +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")]
|
||||
// <autogenerated />
|
||||
using System;
|
||||
using System.Reflection;
|
||||
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.7.2", FrameworkDisplayName = ".NET Framework 4.7.2")]
|
||||
|
|
|
@ -1 +1 @@
|
|||
7f4b213b428f4c013f19137338418ee1f5525793
|
||||
7f4b213b428f4c013f19137338418ee1f5525793
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
C:\Users\szabomarton\Desktop\C#\20231211\ConsoleApp1\bin\Debug\ConsoleApp1.exe.config
|
||||
C:\Users\szabomarton\Desktop\C#\20231211\ConsoleApp1\bin\Debug\ConsoleApp1.exe
|
||||
C:\Users\szabomarton\Desktop\C#\20231211\ConsoleApp1\bin\Debug\ConsoleApp1.pdb
|
||||
C:\Users\szabomarton\Desktop\C#\20231211\ConsoleApp1\obj\Debug\ConsoleApp1.csproj.AssemblyReference.cache
|
||||
C:\Users\szabomarton\Desktop\C#\20231211\ConsoleApp1\obj\Debug\ConsoleApp1.csproj.CoreCompileInputs.cache
|
||||
C:\Users\szabomarton\Desktop\C#\20231211\ConsoleApp1\obj\Debug\ConsoleApp1.exe
|
||||
C:\Users\szabomarton\Desktop\C#\20231211\ConsoleApp1\obj\Debug\ConsoleApp1.pdb
|
||||
C:\Users\szabomarton\Desktop\C#\20231211\ConsoleApp1\bin\Debug\ConsoleApp1.exe.config
|
||||
C:\Users\szabomarton\Desktop\C#\20231211\ConsoleApp1\bin\Debug\ConsoleApp1.exe
|
||||
C:\Users\szabomarton\Desktop\C#\20231211\ConsoleApp1\bin\Debug\ConsoleApp1.pdb
|
||||
C:\Users\szabomarton\Desktop\C#\20231211\ConsoleApp1\obj\Debug\ConsoleApp1.csproj.AssemblyReference.cache
|
||||
C:\Users\szabomarton\Desktop\C#\20231211\ConsoleApp1\obj\Debug\ConsoleApp1.csproj.CoreCompileInputs.cache
|
||||
C:\Users\szabomarton\Desktop\C#\20231211\ConsoleApp1\obj\Debug\ConsoleApp1.exe
|
||||
C:\Users\szabomarton\Desktop\C#\20231211\ConsoleApp1\obj\Debug\ConsoleApp1.pdb
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<configuration>
|
||||
<startup>
|
||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
|
||||
</startup>
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<configuration>
|
||||
<startup>
|
||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
|
||||
</startup>
|
||||
</configuration>
|
|
@ -1,53 +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>{F2C2FB8B-DC43-4469-BA78-0D16E382C43A}</ProjectGuid>
|
||||
<OutputType>Exe</OutputType>
|
||||
<RootNamespace>ConsoleApp1</RootNamespace>
|
||||
<AssemblyName>ConsoleApp1</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" />
|
||||
<?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>{F2C2FB8B-DC43-4469-BA78-0D16E382C43A}</ProjectGuid>
|
||||
<OutputType>Exe</OutputType>
|
||||
<RootNamespace>ConsoleApp1</RootNamespace>
|
||||
<AssemblyName>ConsoleApp1</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>
|
|
@ -1,25 +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}") = "ConsoleApp1", "ConsoleApp1.csproj", "{F2C2FB8B-DC43-4469-BA78-0D16E382C43A}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Release|Any CPU = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{F2C2FB8B-DC43-4469-BA78-0D16E382C43A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{F2C2FB8B-DC43-4469-BA78-0D16E382C43A}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{F2C2FB8B-DC43-4469-BA78-0D16E382C43A}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{F2C2FB8B-DC43-4469-BA78-0D16E382C43A}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||
SolutionGuid = {7F7388EA-3A55-45EF-89CB-376AA6278216}
|
||||
EndGlobalSection
|
||||
EndGlobal
|
||||
|
||||
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", "{F2C2FB8B-DC43-4469-BA78-0D16E382C43A}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Release|Any CPU = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{F2C2FB8B-DC43-4469-BA78-0D16E382C43A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{F2C2FB8B-DC43-4469-BA78-0D16E382C43A}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{F2C2FB8B-DC43-4469-BA78-0D16E382C43A}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{F2C2FB8B-DC43-4469-BA78-0D16E382C43A}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||
SolutionGuid = {7F7388EA-3A55-45EF-89CB-376AA6278216}
|
||||
EndGlobalSection
|
||||
EndGlobal
|
||||
|
|
|
@ -1,95 +1,95 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace ConsoleApp1
|
||||
{
|
||||
class Termek
|
||||
{
|
||||
public int ar, keszlet;
|
||||
public string nev;
|
||||
|
||||
public int Ar
|
||||
{
|
||||
get { return this.ar; }
|
||||
set { this.ar = value;}
|
||||
}
|
||||
|
||||
public int Keszlet
|
||||
{
|
||||
get { return this.keszlet; }
|
||||
set { this.keszlet = value; }
|
||||
}
|
||||
public string Nev
|
||||
{
|
||||
get { return this.nev; }
|
||||
set { this.nev = value; }
|
||||
}
|
||||
|
||||
public Termek(string name, int price, int db)
|
||||
{
|
||||
Nev = name;
|
||||
Ar = price;
|
||||
Keszlet = db;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
class Kosar
|
||||
{
|
||||
public int osszeg = 0;
|
||||
|
||||
public int Osszeg
|
||||
{
|
||||
get { return this.osszeg; }
|
||||
set { this.osszeg = value;}
|
||||
}
|
||||
|
||||
public void AddItem(Termek t, int darab)
|
||||
{
|
||||
if (darab <= t.keszlet)
|
||||
{
|
||||
Osszeg += t.Ar * darab;
|
||||
t.Keszlet -= darab;
|
||||
} else
|
||||
{
|
||||
Console.WriteLine("A vásárlás ennyi termékre nem valósítható meg.");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public void Price()
|
||||
{
|
||||
Console.WriteLine(Osszeg);
|
||||
}
|
||||
|
||||
public void Stock(Termek t)
|
||||
{
|
||||
Console.WriteLine(t.Keszlet);
|
||||
}
|
||||
|
||||
}
|
||||
class Program
|
||||
{
|
||||
static void Main(string[] args)
|
||||
{
|
||||
Termek alma = new Termek("alma", 250, 20);
|
||||
Termek korte = new Termek("korte", 300, 10);
|
||||
Termek szolo = new Termek("szolo", 500, 5);
|
||||
|
||||
Kosar mykosar = new Kosar();
|
||||
mykosar.AddItem(alma, 5);
|
||||
mykosar.AddItem(korte, 1000);
|
||||
mykosar.AddItem(szolo, 5);
|
||||
|
||||
mykosar.Price();
|
||||
|
||||
mykosar.Stock(alma);
|
||||
Console.WriteLine(alma.Keszlet);
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace ConsoleApp1
|
||||
{
|
||||
class Termek
|
||||
{
|
||||
public int ar, keszlet;
|
||||
public string nev;
|
||||
|
||||
public int Ar
|
||||
{
|
||||
get { return this.ar; }
|
||||
set { this.ar = value;}
|
||||
}
|
||||
|
||||
public int Keszlet
|
||||
{
|
||||
get { return this.keszlet; }
|
||||
set { this.keszlet = value; }
|
||||
}
|
||||
public string Nev
|
||||
{
|
||||
get { return this.nev; }
|
||||
set { this.nev = value; }
|
||||
}
|
||||
|
||||
public Termek(string name, int price, int db)
|
||||
{
|
||||
Nev = name;
|
||||
Ar = price;
|
||||
Keszlet = db;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
class Kosar
|
||||
{
|
||||
public int osszeg = 0;
|
||||
|
||||
public int Osszeg
|
||||
{
|
||||
get { return this.osszeg; }
|
||||
set { this.osszeg = value;}
|
||||
}
|
||||
|
||||
public void AddItem(Termek t, int darab)
|
||||
{
|
||||
if (darab <= t.keszlet)
|
||||
{
|
||||
Osszeg += t.Ar * darab;
|
||||
t.Keszlet -= darab;
|
||||
} else
|
||||
{
|
||||
Console.WriteLine("A vásárlás ennyi termékre nem valósítható meg.");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public void Price()
|
||||
{
|
||||
Console.WriteLine(Osszeg);
|
||||
}
|
||||
|
||||
public void Stock(Termek t)
|
||||
{
|
||||
Console.WriteLine(t.Keszlet);
|
||||
}
|
||||
|
||||
}
|
||||
class Program
|
||||
{
|
||||
static void Main(string[] args)
|
||||
{
|
||||
Termek alma = new Termek("alma", 250, 20);
|
||||
Termek korte = new Termek("korte", 300, 10);
|
||||
Termek szolo = new Termek("szolo", 500, 5);
|
||||
|
||||
Kosar mykosar = new Kosar();
|
||||
mykosar.AddItem(alma, 5);
|
||||
mykosar.AddItem(korte, 1000);
|
||||
mykosar.AddItem(szolo, 5);
|
||||
|
||||
mykosar.Price();
|
||||
|
||||
mykosar.Stock(alma);
|
||||
Console.WriteLine(alma.Keszlet);
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user