Tanuló osztály létrehozása
This commit is contained in:
25
ListaGyakorlas/ListaGyakorlas.sln
Normal file
25
ListaGyakorlas/ListaGyakorlas.sln
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
|
||||||
|
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||||
|
# Visual Studio Version 17
|
||||||
|
VisualStudioVersion = 17.14.36930.0 d17.14
|
||||||
|
MinimumVisualStudioVersion = 10.0.40219.1
|
||||||
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ListaGyakorlas", "ListaGyakorlas\ListaGyakorlas.csproj", "{AF1538B4-B28F-4D91-8B0F-E1F25EFE8BD3}"
|
||||||
|
EndProject
|
||||||
|
Global
|
||||||
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||||
|
Debug|Any CPU = Debug|Any CPU
|
||||||
|
Release|Any CPU = Release|Any CPU
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||||
|
{AF1538B4-B28F-4D91-8B0F-E1F25EFE8BD3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
|
{AF1538B4-B28F-4D91-8B0F-E1F25EFE8BD3}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{AF1538B4-B28F-4D91-8B0F-E1F25EFE8BD3}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
|
{AF1538B4-B28F-4D91-8B0F-E1F25EFE8BD3}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(SolutionProperties) = preSolution
|
||||||
|
HideSolutionNode = FALSE
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||||
|
SolutionGuid = {FF53DBA6-C2A4-40A8-86A9-03B775534135}
|
||||||
|
EndGlobalSection
|
||||||
|
EndGlobal
|
||||||
10
ListaGyakorlas/ListaGyakorlas/ListaGyakorlas.csproj
Normal file
10
ListaGyakorlas/ListaGyakorlas/ListaGyakorlas.csproj
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
|
|
||||||
|
<PropertyGroup>
|
||||||
|
<OutputType>Exe</OutputType>
|
||||||
|
<TargetFramework>net9.0</TargetFramework>
|
||||||
|
<ImplicitUsings>enable</ImplicitUsings>
|
||||||
|
<Nullable>enable</Nullable>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
|
</Project>
|
||||||
10
ListaGyakorlas/ListaGyakorlas/Program.cs
Normal file
10
ListaGyakorlas/ListaGyakorlas/Program.cs
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
namespace ListaGyakorlas
|
||||||
|
{
|
||||||
|
internal class Program
|
||||||
|
{
|
||||||
|
static void Main(string[] args)
|
||||||
|
{
|
||||||
|
Console.WriteLine("Hello, World!");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
25
ListaGyakorlas/ListaGyakorlas/Tanulo.cs
Normal file
25
ListaGyakorlas/ListaGyakorlas/Tanulo.cs
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
|
namespace ListaGyakorlas
|
||||||
|
{
|
||||||
|
public class Tanulo
|
||||||
|
{
|
||||||
|
|
||||||
|
public string Vezeteknev { get; set; }
|
||||||
|
public string Keresztnev { get; set; }
|
||||||
|
public string Osztaly { get; set; }
|
||||||
|
public int Eletkor { get; set; }
|
||||||
|
|
||||||
|
public Tanulo(string vezeteknev, string keresztnev, string osztaly, int eletkor)
|
||||||
|
{
|
||||||
|
Vezeteknev = vezeteknev;
|
||||||
|
Keresztnev = keresztnev;
|
||||||
|
Osztaly = osztaly;
|
||||||
|
Eletkor = eletkor;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user