Commit 1f689a54 authored by Uwe Wienkop's avatar Uwe Wienkop

2020-05-11c

parent 84ef7b5f
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>netcoreapp3.1</TargetFramework>
<RootNamespace>_04_UebgDi_Vererbung</RootNamespace>
</PropertyGroup>
</Project>
using System;
namespace _04_UebgDi_Vererbung
{
//Schreiben Sie drei Klassen Dreieck, Rechteck und Kreis mit jeweils einem Konstruktor
// Dreieck (int p1x, int p1y, int p2x, int p2y, int p3x, int p3y)
// Rechteck(int topX, int topY, int width, int height)
// Circle(int x, int y, int r)
// Erstellen Sie in Main() ein Feld in dem Sie diese Objekte miteinander speichern können -
// hierfür ist die Erstellung einer gemeinsamen Basisklasse erforderlich -
// und schreiben Sie eine for/foreach-Schleife, die für die jeweiligen Feldeinträge
// die entsprechende Ausgabe()-Methode aufruft. Hier reicht es aus, z.B. einfach Kreis(x,y,r)
// auszugeben.
class Dreieck
{ }
class Rechteck
{ }
class Kreis
{ }
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Hello World!");
}
}
}
{
"format": 1,
"restore": {
"C:\\Users\\wienkop\\source\\repos\\prog2-ss2020-wienkop\\04 UebgDi Vererbung\\04 UebgDi Vererbung.csproj": {}
},
"projects": {
"C:\\Users\\wienkop\\source\\repos\\prog2-ss2020-wienkop\\04 UebgDi Vererbung\\04 UebgDi Vererbung.csproj": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "C:\\Users\\wienkop\\source\\repos\\prog2-ss2020-wienkop\\04 UebgDi Vererbung\\04 UebgDi Vererbung.csproj",
"projectName": "04 UebgDi Vererbung",
"projectPath": "C:\\Users\\wienkop\\source\\repos\\prog2-ss2020-wienkop\\04 UebgDi Vererbung\\04 UebgDi Vererbung.csproj",
"packagesPath": "C:\\Users\\wienkop\\.nuget\\packages\\",
"outputPath": "C:\\Users\\wienkop\\source\\repos\\prog2-ss2020-wienkop\\04 UebgDi Vererbung\\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("04 UebgDi Vererbung")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
[assembly: System.Reflection.AssemblyProductAttribute("04 UebgDi Vererbung")]
[assembly: System.Reflection.AssemblyTitleAttribute("04 UebgDi Vererbung")]
[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\\04 UebgDi Vererbung\\04 UebgDi Vererbung.csproj",
"projectName": "04 UebgDi Vererbung",
"projectPath": "C:\\Users\\wienkop\\source\\repos\\prog2-ss2020-wienkop\\04 UebgDi Vererbung\\04 UebgDi Vererbung.csproj",
"packagesPath": "C:\\Users\\wienkop\\.nuget\\packages\\",
"outputPath": "C:\\Users\\wienkop\\source\\repos\\prog2-ss2020-wienkop\\04 UebgDi Vererbung\\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": "IH1qRESDMUsFTg1VhNuXPKREMGXmKuBoSuxMs++Uvy2hIv9q7/+XWVvW88XnYwTXTy9W8KYQdxX6V3LC5H+FSQ==",
"success": true,
"projectFilePath": "C:\\Users\\wienkop\\source\\repos\\prog2-ss2020-wienkop\\04 UebgDi Vererbung\\04 UebgDi Vererbung.csproj",
"expectedPackageFiles": [],
"logs": []
}
\ No newline at end of file
......@@ -42,7 +42,9 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "03BinTree", "03BinTree\03Bi
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "03VererbungKfzIntro", "03VererbungKfzIntro\03VererbungKfzIntro.csproj", "{10C739D5-1B10-4462-8572-E3604E5C39BB}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "04 UebgMo ZyklischeListe", "04 UebgMo ZyklischeListe\04 UebgMo ZyklischeListe.csproj", "{F4E8A476-C0B2-47EE-9F30-76DA37FA5851}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "04 UebgMo ZyklischeListe", "04 UebgMo ZyklischeListe\04 UebgMo ZyklischeListe.csproj", "{F4E8A476-C0B2-47EE-9F30-76DA37FA5851}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "04 UebgDi Vererbung", "04 UebgDi Vererbung\04 UebgDi Vererbung.csproj", "{7E563224-8612-4E65-BDD5-875D4DB146EC}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
......@@ -122,6 +124,10 @@ Global
{F4E8A476-C0B2-47EE-9F30-76DA37FA5851}.Debug|Any CPU.Build.0 = Debug|Any CPU
{F4E8A476-C0B2-47EE-9F30-76DA37FA5851}.Release|Any CPU.ActiveCfg = Release|Any CPU
{F4E8A476-C0B2-47EE-9F30-76DA37FA5851}.Release|Any CPU.Build.0 = Release|Any CPU
{7E563224-8612-4E65-BDD5-875D4DB146EC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{7E563224-8612-4E65-BDD5-875D4DB146EC}.Debug|Any CPU.Build.0 = Debug|Any CPU
{7E563224-8612-4E65-BDD5-875D4DB146EC}.Release|Any CPU.ActiveCfg = Release|Any CPU
{7E563224-8612-4E65-BDD5-875D4DB146EC}.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