lista feladatok
This commit is contained in:
Binary file not shown.
6
Elagazas/App.config
Normal file
6
Elagazas/App.config
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8" ?>
|
||||||
|
<configuration>
|
||||||
|
<startup>
|
||||||
|
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
|
||||||
|
</startup>
|
||||||
|
</configuration>
|
||||||
53
Elagazas/Elagazas.csproj
Normal file
53
Elagazas/Elagazas.csproj
Normal file
@@ -0,0 +1,53 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||||
|
<PropertyGroup>
|
||||||
|
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||||
|
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||||
|
<ProjectGuid>{2A6B1EE7-8A7E-4967-AC87-4DA2A455FCFB}</ProjectGuid>
|
||||||
|
<OutputType>Exe</OutputType>
|
||||||
|
<RootNamespace>Elagazas</RootNamespace>
|
||||||
|
<AssemblyName>Elagazas</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>
|
||||||
30
Elagazas/Program.cs
Normal file
30
Elagazas/Program.cs
Normal file
@@ -0,0 +1,30 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
|
namespace Elagazas {
|
||||||
|
internal class Program {
|
||||||
|
|
||||||
|
public static void parosok(List<int> lista) {
|
||||||
|
foreach(int i in lista) {
|
||||||
|
if(i % 2 == 0) {
|
||||||
|
Console.WriteLine(i);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
static void Main(string[] args) {
|
||||||
|
List<int> szamok = new List<int>();
|
||||||
|
Random random = new Random();
|
||||||
|
|
||||||
|
for (int i = 0; i < random.Next(30, 200); i++) {
|
||||||
|
szamok.Add(random.Next(10, 100));
|
||||||
|
}
|
||||||
|
|
||||||
|
parosok(szamok);
|
||||||
|
Console.ReadKey();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
36
Elagazas/Properties/AssemblyInfo.cs
Normal file
36
Elagazas/Properties/AssemblyInfo.cs
Normal file
@@ -0,0 +1,36 @@
|
|||||||
|
using System.Reflection;
|
||||||
|
using System.Runtime.CompilerServices;
|
||||||
|
using System.Runtime.InteropServices;
|
||||||
|
|
||||||
|
// General Information about an assembly is controlled through the following
|
||||||
|
// set of attributes. Change these attribute values to modify the information
|
||||||
|
// associated with an assembly.
|
||||||
|
[assembly: AssemblyTitle("Elagazas")]
|
||||||
|
[assembly: AssemblyDescription("")]
|
||||||
|
[assembly: AssemblyConfiguration("")]
|
||||||
|
[assembly: AssemblyCompany("")]
|
||||||
|
[assembly: AssemblyProduct("Elagazas")]
|
||||||
|
[assembly: AssemblyCopyright("Copyright © 2022")]
|
||||||
|
[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("2a6b1ee7-8a7e-4967-ac87-4da2a455fcfb")]
|
||||||
|
|
||||||
|
// Version information for an assembly consists of the following four values:
|
||||||
|
//
|
||||||
|
// Major Version
|
||||||
|
// Minor Version
|
||||||
|
// Build Number
|
||||||
|
// Revision
|
||||||
|
//
|
||||||
|
// You can specify all the values or you can default the Build and Revision Numbers
|
||||||
|
// by using the '*' as shown below:
|
||||||
|
// [assembly: AssemblyVersion("1.0.*")]
|
||||||
|
[assembly: AssemblyVersion("1.0.0.0")]
|
||||||
|
[assembly: AssemblyFileVersion("1.0.0.0")]
|
||||||
BIN
Elagazas/bin/Debug/Elagazas.exe
Normal file
BIN
Elagazas/bin/Debug/Elagazas.exe
Normal file
Binary file not shown.
6
Elagazas/bin/Debug/Elagazas.exe.config
Normal file
6
Elagazas/bin/Debug/Elagazas.exe.config
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8" ?>
|
||||||
|
<configuration>
|
||||||
|
<startup>
|
||||||
|
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
|
||||||
|
</startup>
|
||||||
|
</configuration>
|
||||||
BIN
Elagazas/bin/Debug/Elagazas.pdb
Normal file
BIN
Elagazas/bin/Debug/Elagazas.pdb
Normal file
Binary file not shown.
@@ -0,0 +1,4 @@
|
|||||||
|
// <autogenerated />
|
||||||
|
using System;
|
||||||
|
using System.Reflection;
|
||||||
|
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.7.2", FrameworkDisplayName = ".NET Framework 4.7.2")]
|
||||||
Binary file not shown.
BIN
Elagazas/obj/Debug/Elagazas.csproj.AssemblyReference.cache
Normal file
BIN
Elagazas/obj/Debug/Elagazas.csproj.AssemblyReference.cache
Normal file
Binary file not shown.
@@ -0,0 +1 @@
|
|||||||
|
7f4b213b428f4c013f19137338418ee1f5525793
|
||||||
8
Elagazas/obj/Debug/Elagazas.csproj.FileListAbsolute.txt
Normal file
8
Elagazas/obj/Debug/Elagazas.csproj.FileListAbsolute.txt
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
C:\dev\c#\c-sharp\Elagazas\bin\Debug\Elagazas.exe.config
|
||||||
|
C:\dev\c#\c-sharp\Elagazas\bin\Debug\Elagazas.exe
|
||||||
|
C:\dev\c#\c-sharp\Elagazas\bin\Debug\Elagazas.pdb
|
||||||
|
C:\dev\c#\c-sharp\Elagazas\obj\Debug\Elagazas.csproj.AssemblyReference.cache
|
||||||
|
C:\dev\c#\c-sharp\Elagazas\obj\Debug\Elagazas.csproj.SuggestedBindingRedirects.cache
|
||||||
|
C:\dev\c#\c-sharp\Elagazas\obj\Debug\Elagazas.csproj.CoreCompileInputs.cache
|
||||||
|
C:\dev\c#\c-sharp\Elagazas\obj\Debug\Elagazas.exe
|
||||||
|
C:\dev\c#\c-sharp\Elagazas\obj\Debug\Elagazas.pdb
|
||||||
BIN
Elagazas/obj/Debug/Elagazas.exe
Normal file
BIN
Elagazas/obj/Debug/Elagazas.exe
Normal file
Binary file not shown.
BIN
Elagazas/obj/Debug/Elagazas.pdb
Normal file
BIN
Elagazas/obj/Debug/Elagazas.pdb
Normal file
Binary file not shown.
6
ForAndForEach/App.config
Normal file
6
ForAndForEach/App.config
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8" ?>
|
||||||
|
<configuration>
|
||||||
|
<startup>
|
||||||
|
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
|
||||||
|
</startup>
|
||||||
|
</configuration>
|
||||||
53
ForAndForEach/ForAndForEach.csproj
Normal file
53
ForAndForEach/ForAndForEach.csproj
Normal file
@@ -0,0 +1,53 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||||
|
<PropertyGroup>
|
||||||
|
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||||
|
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||||
|
<ProjectGuid>{27F3C28C-7F88-42AC-9B27-5D69E35B6803}</ProjectGuid>
|
||||||
|
<OutputType>Exe</OutputType>
|
||||||
|
<RootNamespace>ForAndForEach</RootNamespace>
|
||||||
|
<AssemblyName>ForAndForEach</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>
|
||||||
29
ForAndForEach/Program.cs
Normal file
29
ForAndForEach/Program.cs
Normal file
@@ -0,0 +1,29 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
|
namespace ForAndForEach {
|
||||||
|
internal class Program {
|
||||||
|
static void Main(string[] args) {
|
||||||
|
List<int> list = new List<int>();
|
||||||
|
Random random = new Random();
|
||||||
|
|
||||||
|
for (int i = 0; i < 10; i++) {
|
||||||
|
list.Add(random.Next(10, 100));
|
||||||
|
}
|
||||||
|
|
||||||
|
for (int i = 0; i < list.Count; i++) {
|
||||||
|
Console.WriteLine(list[i]);
|
||||||
|
}
|
||||||
|
Console.WriteLine();
|
||||||
|
|
||||||
|
foreach(int i in list) {
|
||||||
|
Console.WriteLine(i);
|
||||||
|
}
|
||||||
|
|
||||||
|
Console.ReadKey();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
36
ForAndForEach/Properties/AssemblyInfo.cs
Normal file
36
ForAndForEach/Properties/AssemblyInfo.cs
Normal file
@@ -0,0 +1,36 @@
|
|||||||
|
using System.Reflection;
|
||||||
|
using System.Runtime.CompilerServices;
|
||||||
|
using System.Runtime.InteropServices;
|
||||||
|
|
||||||
|
// General Information about an assembly is controlled through the following
|
||||||
|
// set of attributes. Change these attribute values to modify the information
|
||||||
|
// associated with an assembly.
|
||||||
|
[assembly: AssemblyTitle("ForAndForEach")]
|
||||||
|
[assembly: AssemblyDescription("")]
|
||||||
|
[assembly: AssemblyConfiguration("")]
|
||||||
|
[assembly: AssemblyCompany("")]
|
||||||
|
[assembly: AssemblyProduct("ForAndForEach")]
|
||||||
|
[assembly: AssemblyCopyright("Copyright © 2022")]
|
||||||
|
[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("27f3c28c-7f88-42ac-9b27-5d69e35b6803")]
|
||||||
|
|
||||||
|
// Version information for an assembly consists of the following four values:
|
||||||
|
//
|
||||||
|
// Major Version
|
||||||
|
// Minor Version
|
||||||
|
// Build Number
|
||||||
|
// Revision
|
||||||
|
//
|
||||||
|
// You can specify all the values or you can default the Build and Revision Numbers
|
||||||
|
// by using the '*' as shown below:
|
||||||
|
// [assembly: AssemblyVersion("1.0.*")]
|
||||||
|
[assembly: AssemblyVersion("1.0.0.0")]
|
||||||
|
[assembly: AssemblyFileVersion("1.0.0.0")]
|
||||||
BIN
ForAndForEach/bin/Debug/ForAndForEach.exe
Normal file
BIN
ForAndForEach/bin/Debug/ForAndForEach.exe
Normal file
Binary file not shown.
6
ForAndForEach/bin/Debug/ForAndForEach.exe.config
Normal file
6
ForAndForEach/bin/Debug/ForAndForEach.exe.config
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8" ?>
|
||||||
|
<configuration>
|
||||||
|
<startup>
|
||||||
|
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
|
||||||
|
</startup>
|
||||||
|
</configuration>
|
||||||
BIN
ForAndForEach/bin/Debug/ForAndForEach.pdb
Normal file
BIN
ForAndForEach/bin/Debug/ForAndForEach.pdb
Normal file
Binary file not shown.
@@ -0,0 +1,4 @@
|
|||||||
|
// <autogenerated />
|
||||||
|
using System;
|
||||||
|
using System.Reflection;
|
||||||
|
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.7.2", FrameworkDisplayName = ".NET Framework 4.7.2")]
|
||||||
Binary file not shown.
Binary file not shown.
@@ -0,0 +1 @@
|
|||||||
|
7f4b213b428f4c013f19137338418ee1f5525793
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
C:\dev\c#\c-sharp\ForAndForEach\bin\Debug\ForAndForEach.exe.config
|
||||||
|
C:\dev\c#\c-sharp\ForAndForEach\bin\Debug\ForAndForEach.exe
|
||||||
|
C:\dev\c#\c-sharp\ForAndForEach\bin\Debug\ForAndForEach.pdb
|
||||||
|
C:\dev\c#\c-sharp\ForAndForEach\obj\Debug\ForAndForEach.csproj.AssemblyReference.cache
|
||||||
|
C:\dev\c#\c-sharp\ForAndForEach\obj\Debug\ForAndForEach.csproj.SuggestedBindingRedirects.cache
|
||||||
|
C:\dev\c#\c-sharp\ForAndForEach\obj\Debug\ForAndForEach.csproj.CoreCompileInputs.cache
|
||||||
|
C:\dev\c#\c-sharp\ForAndForEach\obj\Debug\ForAndForEach.exe
|
||||||
|
C:\dev\c#\c-sharp\ForAndForEach\obj\Debug\ForAndForEach.pdb
|
||||||
BIN
ForAndForEach/obj/Debug/ForAndForEach.exe
Normal file
BIN
ForAndForEach/obj/Debug/ForAndForEach.exe
Normal file
Binary file not shown.
BIN
ForAndForEach/obj/Debug/ForAndForEach.pdb
Normal file
BIN
ForAndForEach/obj/Debug/ForAndForEach.pdb
Normal file
Binary file not shown.
6
Listak/App.config
Normal file
6
Listak/App.config
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8" ?>
|
||||||
|
<configuration>
|
||||||
|
<startup>
|
||||||
|
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
|
||||||
|
</startup>
|
||||||
|
</configuration>
|
||||||
53
Listak/Listak.csproj
Normal file
53
Listak/Listak.csproj
Normal file
@@ -0,0 +1,53 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||||
|
<PropertyGroup>
|
||||||
|
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||||
|
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||||
|
<ProjectGuid>{E17FEB51-006C-4AEE-AB99-4C53C191E8DE}</ProjectGuid>
|
||||||
|
<OutputType>Exe</OutputType>
|
||||||
|
<RootNamespace>Listak</RootNamespace>
|
||||||
|
<AssemblyName>Listak</AssemblyName>
|
||||||
|
<TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
|
||||||
|
<FileAlignment>512</FileAlignment>
|
||||||
|
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
|
||||||
|
<Deterministic>true</Deterministic>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||||
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||||
|
<DebugSymbols>true</DebugSymbols>
|
||||||
|
<DebugType>full</DebugType>
|
||||||
|
<Optimize>false</Optimize>
|
||||||
|
<OutputPath>bin\Debug\</OutputPath>
|
||||||
|
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||||
|
<ErrorReport>prompt</ErrorReport>
|
||||||
|
<WarningLevel>4</WarningLevel>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||||
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||||
|
<DebugType>pdbonly</DebugType>
|
||||||
|
<Optimize>true</Optimize>
|
||||||
|
<OutputPath>bin\Release\</OutputPath>
|
||||||
|
<DefineConstants>TRACE</DefineConstants>
|
||||||
|
<ErrorReport>prompt</ErrorReport>
|
||||||
|
<WarningLevel>4</WarningLevel>
|
||||||
|
</PropertyGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<Reference Include="System" />
|
||||||
|
<Reference Include="System.Core" />
|
||||||
|
<Reference Include="System.Xml.Linq" />
|
||||||
|
<Reference Include="System.Data.DataSetExtensions" />
|
||||||
|
<Reference Include="Microsoft.CSharp" />
|
||||||
|
<Reference Include="System.Data" />
|
||||||
|
<Reference Include="System.Net.Http" />
|
||||||
|
<Reference Include="System.Xml" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<Compile Include="Program.cs" />
|
||||||
|
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<None Include="App.config" />
|
||||||
|
</ItemGroup>
|
||||||
|
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||||
|
</Project>
|
||||||
25
Listak/Program.cs
Normal file
25
Listak/Program.cs
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
|
namespace Listak {
|
||||||
|
internal class Program {
|
||||||
|
static void Main(string[] args) {
|
||||||
|
List<int> szamok = new List<int>();
|
||||||
|
Random random = new Random();
|
||||||
|
|
||||||
|
for (int i = 0; i < random.Next(10,100); i++) {
|
||||||
|
szamok.Add(random.Next(10, 100));
|
||||||
|
}
|
||||||
|
|
||||||
|
foreach(int i in szamok) {
|
||||||
|
Console.WriteLine(i);
|
||||||
|
}
|
||||||
|
|
||||||
|
Console.ReadKey();
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
36
Listak/Properties/AssemblyInfo.cs
Normal file
36
Listak/Properties/AssemblyInfo.cs
Normal file
@@ -0,0 +1,36 @@
|
|||||||
|
using System.Reflection;
|
||||||
|
using System.Runtime.CompilerServices;
|
||||||
|
using System.Runtime.InteropServices;
|
||||||
|
|
||||||
|
// General Information about an assembly is controlled through the following
|
||||||
|
// set of attributes. Change these attribute values to modify the information
|
||||||
|
// associated with an assembly.
|
||||||
|
[assembly: AssemblyTitle("Listak")]
|
||||||
|
[assembly: AssemblyDescription("")]
|
||||||
|
[assembly: AssemblyConfiguration("")]
|
||||||
|
[assembly: AssemblyCompany("")]
|
||||||
|
[assembly: AssemblyProduct("Listak")]
|
||||||
|
[assembly: AssemblyCopyright("Copyright © 2022")]
|
||||||
|
[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("e17feb51-006c-4aee-ab99-4c53c191e8de")]
|
||||||
|
|
||||||
|
// Version information for an assembly consists of the following four values:
|
||||||
|
//
|
||||||
|
// Major Version
|
||||||
|
// Minor Version
|
||||||
|
// Build Number
|
||||||
|
// Revision
|
||||||
|
//
|
||||||
|
// You can specify all the values or you can default the Build and Revision Numbers
|
||||||
|
// by using the '*' as shown below:
|
||||||
|
// [assembly: AssemblyVersion("1.0.*")]
|
||||||
|
[assembly: AssemblyVersion("1.0.0.0")]
|
||||||
|
[assembly: AssemblyFileVersion("1.0.0.0")]
|
||||||
BIN
Listak/bin/Debug/Listak.exe
Normal file
BIN
Listak/bin/Debug/Listak.exe
Normal file
Binary file not shown.
6
Listak/bin/Debug/Listak.exe.config
Normal file
6
Listak/bin/Debug/Listak.exe.config
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8" ?>
|
||||||
|
<configuration>
|
||||||
|
<startup>
|
||||||
|
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
|
||||||
|
</startup>
|
||||||
|
</configuration>
|
||||||
BIN
Listak/bin/Debug/Listak.pdb
Normal file
BIN
Listak/bin/Debug/Listak.pdb
Normal file
Binary file not shown.
@@ -0,0 +1,4 @@
|
|||||||
|
// <autogenerated />
|
||||||
|
using System;
|
||||||
|
using System.Reflection;
|
||||||
|
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.7.2", FrameworkDisplayName = ".NET Framework 4.7.2")]
|
||||||
BIN
Listak/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache
Normal file
BIN
Listak/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache
Normal file
Binary file not shown.
BIN
Listak/obj/Debug/Listak.csproj.AssemblyReference.cache
Normal file
BIN
Listak/obj/Debug/Listak.csproj.AssemblyReference.cache
Normal file
Binary file not shown.
1
Listak/obj/Debug/Listak.csproj.CoreCompileInputs.cache
Normal file
1
Listak/obj/Debug/Listak.csproj.CoreCompileInputs.cache
Normal file
@@ -0,0 +1 @@
|
|||||||
|
7f4b213b428f4c013f19137338418ee1f5525793
|
||||||
8
Listak/obj/Debug/Listak.csproj.FileListAbsolute.txt
Normal file
8
Listak/obj/Debug/Listak.csproj.FileListAbsolute.txt
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
C:\dev\c#\c-sharp\Listak\bin\Debug\Listak.exe.config
|
||||||
|
C:\dev\c#\c-sharp\Listak\bin\Debug\Listak.exe
|
||||||
|
C:\dev\c#\c-sharp\Listak\bin\Debug\Listak.pdb
|
||||||
|
C:\dev\c#\c-sharp\Listak\obj\Debug\Listak.csproj.AssemblyReference.cache
|
||||||
|
C:\dev\c#\c-sharp\Listak\obj\Debug\Listak.csproj.SuggestedBindingRedirects.cache
|
||||||
|
C:\dev\c#\c-sharp\Listak\obj\Debug\Listak.csproj.CoreCompileInputs.cache
|
||||||
|
C:\dev\c#\c-sharp\Listak\obj\Debug\Listak.exe
|
||||||
|
C:\dev\c#\c-sharp\Listak\obj\Debug\Listak.pdb
|
||||||
BIN
Listak/obj/Debug/Listak.exe
Normal file
BIN
Listak/obj/Debug/Listak.exe
Normal file
Binary file not shown.
BIN
Listak/obj/Debug/Listak.pdb
Normal file
BIN
Listak/obj/Debug/Listak.pdb
Normal file
Binary file not shown.
18
c-sharp.sln
18
c-sharp.sln
@@ -39,6 +39,12 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Kettes", "Kettes\Kettes.csp
|
|||||||
EndProject
|
EndProject
|
||||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Szamrendszer", "Szamrendszer\Szamrendszer.csproj", "{40B43AE7-7888-46B5-B680-834508CA2BCD}"
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Szamrendszer", "Szamrendszer\Szamrendszer.csproj", "{40B43AE7-7888-46B5-B680-834508CA2BCD}"
|
||||||
EndProject
|
EndProject
|
||||||
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Listak", "Listak\Listak.csproj", "{E17FEB51-006C-4AEE-AB99-4C53C191E8DE}"
|
||||||
|
EndProject
|
||||||
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Elagazas", "Elagazas\Elagazas.csproj", "{2A6B1EE7-8A7E-4967-AC87-4DA2A455FCFB}"
|
||||||
|
EndProject
|
||||||
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ForAndForEach", "ForAndForEach\ForAndForEach.csproj", "{27F3C28C-7F88-42AC-9B27-5D69E35B6803}"
|
||||||
|
EndProject
|
||||||
Global
|
Global
|
||||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||||
Debug|Any CPU = Debug|Any CPU
|
Debug|Any CPU = Debug|Any CPU
|
||||||
@@ -117,6 +123,18 @@ Global
|
|||||||
{40B43AE7-7888-46B5-B680-834508CA2BCD}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
{40B43AE7-7888-46B5-B680-834508CA2BCD}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
{40B43AE7-7888-46B5-B680-834508CA2BCD}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
{40B43AE7-7888-46B5-B680-834508CA2BCD}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
{40B43AE7-7888-46B5-B680-834508CA2BCD}.Release|Any CPU.Build.0 = Release|Any CPU
|
{40B43AE7-7888-46B5-B680-834508CA2BCD}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
|
{E17FEB51-006C-4AEE-AB99-4C53C191E8DE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
|
{E17FEB51-006C-4AEE-AB99-4C53C191E8DE}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{E17FEB51-006C-4AEE-AB99-4C53C191E8DE}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
|
{E17FEB51-006C-4AEE-AB99-4C53C191E8DE}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
|
{2A6B1EE7-8A7E-4967-AC87-4DA2A455FCFB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
|
{2A6B1EE7-8A7E-4967-AC87-4DA2A455FCFB}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{2A6B1EE7-8A7E-4967-AC87-4DA2A455FCFB}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
|
{2A6B1EE7-8A7E-4967-AC87-4DA2A455FCFB}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
|
{27F3C28C-7F88-42AC-9B27-5D69E35B6803}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
|
{27F3C28C-7F88-42AC-9B27-5D69E35B6803}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{27F3C28C-7F88-42AC-9B27-5D69E35B6803}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
|
{27F3C28C-7F88-42AC-9B27-5D69E35B6803}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
EndGlobalSection
|
EndGlobalSection
|
||||||
GlobalSection(SolutionProperties) = preSolution
|
GlobalSection(SolutionProperties) = preSolution
|
||||||
HideSolutionNode = FALSE
|
HideSolutionNode = FALSE
|
||||||
|
|||||||
Reference in New Issue
Block a user