Commit 23da5085 authored by Uwe Wienkop's avatar Uwe Wienkop
Browse files

2020-05-01

parent bbab8b87
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>netcoreapp3.1</TargetFramework>
<RootNamespace>_02_UebgSa_FiFoListe</RootNamespace>
</PropertyGroup>
</Project>
using System;
namespace _02_UebgSa_FiFoListe
{
class FiFoListe
{
class Element
{
}
Element anf, ende;
int anz;
public FiFoListe()
{
}
public void Push(string text)
{
}
public void Push(params string[] texte)
{
}
public string First()
{
}
public string Pop()
{
}
public void WriteAll()
{
}
public string[] GetAll()
{
}
public int ItemCount { }
}
class Program
{
static void Main(string[] args)
{
FiFoListe f = new FiFoListe();
f.Push("Anton");
f.Push("Berta", "Claudia", "Dieter", "Emil", "Gustav");
Console.WriteLine($"Anzahl der Elemente in der Liste: {f.ItemCount}");
f.WriteAll();
Console.WriteLine("--------------");
Console.WriteLine($"Erstes Element: {f.First()}");
Console.WriteLine($"Pop: {f.Pop()}");
Console.WriteLine($"Pop: {f.Pop()}");
Console.WriteLine($"Anzahl der Elemente in der Liste: {f.ItemCount}");
Console.WriteLine("--------------");
foreach (string item in f.GetAll())
{
Console.WriteLine(item);
}
}
}
}
{
"format": 1,
"restore": {
"C:\\Users\\wienkop\\source\\repos\\prog2-ss2020-wienkop\\02 UebgSa FiFoListe\\02 UebgSa FiFoListe.csproj": {}
},
"projects": {
"C:\\Users\\wienkop\\source\\repos\\prog2-ss2020-wienkop\\02 UebgSa FiFoListe\\02 UebgSa FiFoListe.csproj": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "C:\\Users\\wienkop\\source\\repos\\prog2-ss2020-wienkop\\02 UebgSa FiFoListe\\02 UebgSa FiFoListe.csproj",
"projectName": "02 UebgSa FiFoListe",
"projectPath": "C:\\Users\\wienkop\\source\\repos\\prog2-ss2020-wienkop\\02 UebgSa FiFoListe\\02 UebgSa FiFoListe.csproj",
"packagesPath": "C:\\Users\\wienkop\\.nuget\\packages\\",
"outputPath": "C:\\Users\\wienkop\\source\\repos\\prog2-ss2020-wienkop\\02 UebgSa FiFoListe\\obj\\",
"projectStyle": "PackageReference",
"configFilePaths": [
"C:\\Users\\wienkop\\AppData\\Roaming\\NuGet\\NuGet.Config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
],
"originalTargetFrameworks": [
"netcoreapp3.1"
],
"sources": {
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
"https://api.nuget.org/v3/index.json": {}
},
"frameworks": {
"netcoreapp3.1": {
"projectReferences": {}
}
},
"warningProperties": {
"warnAsError": [
"NU1605"
]
}
},
"frameworks": {
"netcoreapp3.1": {
"imports": [
"net461",
"net462",
"net47",
"net471",
"net472",
"net48"
],
"assetTargetFallback": true,
"warn": true,
"frameworkReferences": {
"Microsoft.NETCore.App": {
"privateAssets": "all"
}
},
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\3.1.201\\RuntimeIdentifierGraph.json"
}
}
}
}
}
\ No newline at end of file
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<RestoreSuccess Condition=" '$(RestoreSuccess)' == '' ">True</RestoreSuccess>
<RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool>
<ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile>
<NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot>
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\wienkop\.nuget\packages\</NuGetPackageFolders>
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">5.5.0</NuGetToolVersion>
</PropertyGroup>
<PropertyGroup>
<MSBuildAllProjects>$(MSBuildAllProjects);$(MSBuildThisFileFullPath)</MSBuildAllProjects>
</PropertyGroup>
</Project>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<MSBuildAllProjects>$(MSBuildAllProjects);$(MSBuildThisFileFullPath)</MSBuildAllProjects>
</PropertyGroup>
</Project>
\ No newline at end of file
//------------------------------------------------------------------------------
// <auto-generated>
// Dieser Code wurde von einem Tool generiert.
// Laufzeitversion:4.0.30319.42000
//
// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
// der Code erneut generiert wird.
// </auto-generated>
//------------------------------------------------------------------------------
using System;
using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("02 UebgSa FiFoListe")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
[assembly: System.Reflection.AssemblyProductAttribute("02 UebgSa FiFoListe")]
[assembly: System.Reflection.AssemblyTitleAttribute("02 UebgSa FiFoListe")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
// Von der MSBuild WriteCodeFragment-Klasse generiert.
{
"version": 3,
"targets": {
".NETCoreApp,Version=v3.1": {}
},
"libraries": {},
"projectFileDependencyGroups": {
".NETCoreApp,Version=v3.1": []
},
"packageFolders": {
"C:\\Users\\wienkop\\.nuget\\packages\\": {}
},
"project": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "C:\\Users\\wienkop\\source\\repos\\prog2-ss2020-wienkop\\02 UebgSa FiFoListe\\02 UebgSa FiFoListe.csproj",
"projectName": "02 UebgSa FiFoListe",
"projectPath": "C:\\Users\\wienkop\\source\\repos\\prog2-ss2020-wienkop\\02 UebgSa FiFoListe\\02 UebgSa FiFoListe.csproj",
"packagesPath": "C:\\Users\\wienkop\\.nuget\\packages\\",
"outputPath": "C:\\Users\\wienkop\\source\\repos\\prog2-ss2020-wienkop\\02 UebgSa FiFoListe\\obj\\",
"projectStyle": "PackageReference",
"configFilePaths": [
"C:\\Users\\wienkop\\AppData\\Roaming\\NuGet\\NuGet.Config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
],
"originalTargetFrameworks": [
"netcoreapp3.1"
],
"sources": {
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
"https://api.nuget.org/v3/index.json": {}
},
"frameworks": {
"netcoreapp3.1": {
"projectReferences": {}
}
},
"warningProperties": {
"warnAsError": [
"NU1605"
]
}
},
"frameworks": {
"netcoreapp3.1": {
"imports": [
"net461",
"net462",
"net47",
"net471",
"net472",
"net48"
],
"assetTargetFallback": true,
"warn": true,
"frameworkReferences": {
"Microsoft.NETCore.App": {
"privateAssets": "all"
}
},
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\3.1.201\\RuntimeIdentifierGraph.json"
}
}
}
}
\ No newline at end of file
{
"version": 2,
"dgSpecHash": "XFVwEQu5nvDjMxTc4414De+AFpZC7sR7Gxs6G5qw7SCXljl4fpa/8RT1iYvsz+KmnFjok+348/Ik9zObryr+WQ==",
"success": true,
"projectFilePath": "C:\\Users\\wienkop\\source\\repos\\prog2-ss2020-wienkop\\02 UebgSa FiFoListe\\02 UebgSa FiFoListe.csproj",
"expectedPackageFiles": [],
"logs": []
}
\ No newline at end of file
......@@ -28,7 +28,9 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "01Uebg_Buergeramt-Di", "01B
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "02VerketteteListe-1Intro", "02VerketteteListe\02VerketteteListe-1Intro.csproj", "{954A52D4-C0F9-4797-B381-F0EAC2E3DE90}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "02VerketteteListe-2", "02VerketteteListe-2\02VerketteteListe-2.csproj", "{EC53AD78-5283-4784-8F93-49AF021BC2DC}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "02VerketteteListe-2", "02VerketteteListe-2\02VerketteteListe-2.csproj", "{EC53AD78-5283-4784-8F93-49AF021BC2DC}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "02 UebgSa FiFoListe", "02 UebgSa FiFoListe\02 UebgSa FiFoListe.csproj", "{BA0D110D-7CBD-4EC0-893F-A94324066ADA}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
......@@ -80,6 +82,10 @@ Global
{EC53AD78-5283-4784-8F93-49AF021BC2DC}.Debug|Any CPU.Build.0 = Debug|Any CPU
{EC53AD78-5283-4784-8F93-49AF021BC2DC}.Release|Any CPU.ActiveCfg = Release|Any CPU
{EC53AD78-5283-4784-8F93-49AF021BC2DC}.Release|Any CPU.Build.0 = Release|Any CPU
{BA0D110D-7CBD-4EC0-893F-A94324066ADA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{BA0D110D-7CBD-4EC0-893F-A94324066ADA}.Debug|Any CPU.Build.0 = Debug|Any CPU
{BA0D110D-7CBD-4EC0-893F-A94324066ADA}.Release|Any CPU.ActiveCfg = Release|Any CPU
{BA0D110D-7CBD-4EC0-893F-A94324066ADA}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment