Aufgabe 1 c#
This commit is contained in:
parent
1c14a7a05a
commit
cdcd0d8a41
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,3 +1,4 @@
|
||||
/out/
|
||||
/.idea/
|
||||
/Semester3/.vs/
|
||||
/Semester3/DotNET/Aufgabenblatt1/.vs/
|
||||
|
Binary file not shown.
BIN
Semester3/DotNET/.vs/DotNET/DesignTimeBuild/.dtbcache.v2
Normal file
BIN
Semester3/DotNET/.vs/DotNET/DesignTimeBuild/.dtbcache.v2
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
Semester3/DotNET/.vs/DotNET/v17/.futdcache.v2
Normal file
BIN
Semester3/DotNET/.vs/DotNET/v17/.futdcache.v2
Normal file
Binary file not shown.
BIN
Semester3/DotNET/.vs/DotNET/v17/.suo
Normal file
BIN
Semester3/DotNET/.vs/DotNET/v17/.suo
Normal file
Binary file not shown.
37
Semester3/DotNET/.vs/DotNET/v17/DocumentLayout.backup.json
Normal file
37
Semester3/DotNET/.vs/DotNET/v17/DocumentLayout.backup.json
Normal file
@ -0,0 +1,37 @@
|
||||
{
|
||||
"Version": 1,
|
||||
"WorkspaceRootPath": "C:\\Git\\Hochschule\\Semester3\\DotNET\\",
|
||||
"Documents": [
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{A0713AF2-F264-45E2-BEC0-B16E490012DD}|DotNET\\DotNET.csproj|c:\\git\\hochschule\\semester3\\dotnet\\dotnet\\program.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||
"RelativeMoniker": "D:0:0:{A0713AF2-F264-45E2-BEC0-B16E490012DD}|DotNET\\DotNET.csproj|solutionrelative:dotnet\\program.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||
}
|
||||
],
|
||||
"DocumentGroupContainers": [
|
||||
{
|
||||
"Orientation": 0,
|
||||
"VerticalTabListWidth": 256,
|
||||
"DocumentGroups": [
|
||||
{
|
||||
"DockedWidth": 200,
|
||||
"SelectedChildIndex": 0,
|
||||
"Children": [
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 0,
|
||||
"Title": "Program.cs",
|
||||
"DocumentMoniker": "C:\\Git\\Hochschule\\Semester3\\DotNET\\DotNET\\Program.cs",
|
||||
"RelativeDocumentMoniker": "DotNET\\Program.cs",
|
||||
"ToolTip": "C:\\Git\\Hochschule\\Semester3\\DotNET\\DotNET\\Program.cs",
|
||||
"RelativeToolTip": "DotNET\\Program.cs",
|
||||
"ViewState": "AgIAAAAAAAAAAAAAAAAAAAEAAAAjAAAAAAAAAA==",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||
"WhenOpened": "2024-10-07T10:13:05.085Z",
|
||||
"EditorCaption": ""
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
35
Semester3/DotNET/.vs/DotNET/v17/DocumentLayout.json
Normal file
35
Semester3/DotNET/.vs/DotNET/v17/DocumentLayout.json
Normal file
@ -0,0 +1,35 @@
|
||||
{
|
||||
"Version": 1,
|
||||
"WorkspaceRootPath": "C:\\Git\\Hochschule\\Semester3\\DotNET\\",
|
||||
"Documents": [
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|C:\\Git\\Hochschule\\Semester3\\DotNET\\DotNET\\Program.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||
"RelativeMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|solutionrelative:DotNET\\Program.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||
}
|
||||
],
|
||||
"DocumentGroupContainers": [
|
||||
{
|
||||
"Orientation": 0,
|
||||
"VerticalTabListWidth": 256,
|
||||
"DocumentGroups": [
|
||||
{
|
||||
"DockedWidth": 200,
|
||||
"SelectedChildIndex": 0,
|
||||
"Children": [
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 0,
|
||||
"Title": "Program.cs",
|
||||
"DocumentMoniker": "C:\\Git\\Hochschule\\Semester3\\DotNET\\DotNET\\Program.cs",
|
||||
"RelativeDocumentMoniker": "DotNET\\Program.cs",
|
||||
"ToolTip": "C:\\Git\\Hochschule\\Semester3\\DotNET\\DotNET\\Program.cs",
|
||||
"RelativeToolTip": "DotNET\\Program.cs",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||
"WhenOpened": "2024-10-07T10:13:05.085Z"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
BIN
Semester3/DotNET/.vs/ProjectEvaluation/dotnet.metadata.v9.bin
Normal file
BIN
Semester3/DotNET/.vs/ProjectEvaluation/dotnet.metadata.v9.bin
Normal file
Binary file not shown.
BIN
Semester3/DotNET/.vs/ProjectEvaluation/dotnet.projects.v9.bin
Normal file
BIN
Semester3/DotNET/.vs/ProjectEvaluation/dotnet.projects.v9.bin
Normal file
Binary file not shown.
BIN
Semester3/DotNET/.vs/ProjectEvaluation/dotnet.strings.v9.bin
Normal file
BIN
Semester3/DotNET/.vs/ProjectEvaluation/dotnet.strings.v9.bin
Normal file
Binary file not shown.
10
Semester3/DotNET/Aufgabenblatt1/Aufgabe1/Aufgabe1.csproj
Normal file
10
Semester3/DotNET/Aufgabenblatt1/Aufgabe1/Aufgabe1.csproj
Normal file
@ -0,0 +1,10 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<OutputType>Exe</OutputType>
|
||||
<TargetFramework>net8.0</TargetFramework>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Nullable>enable</Nullable>
|
||||
</PropertyGroup>
|
||||
|
||||
</Project>
|
2
Semester3/DotNET/Aufgabenblatt1/Aufgabe1/Program.cs
Normal file
2
Semester3/DotNET/Aufgabenblatt1/Aufgabe1/Program.cs
Normal file
@ -0,0 +1,2 @@
|
||||
Console.WriteLine("Hello World");
|
||||
Console.ReadLine();
|
@ -0,0 +1,23 @@
|
||||
{
|
||||
"runtimeTarget": {
|
||||
"name": ".NETCoreApp,Version=v8.0",
|
||||
"signature": ""
|
||||
},
|
||||
"compilationOptions": {},
|
||||
"targets": {
|
||||
".NETCoreApp,Version=v8.0": {
|
||||
"Aufgabe1/1.0.0": {
|
||||
"runtime": {
|
||||
"Aufgabe1.dll": {}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"libraries": {
|
||||
"Aufgabe1/1.0.0": {
|
||||
"type": "project",
|
||||
"serviceable": false,
|
||||
"sha512": ""
|
||||
}
|
||||
}
|
||||
}
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,12 @@
|
||||
{
|
||||
"runtimeOptions": {
|
||||
"tfm": "net8.0",
|
||||
"framework": {
|
||||
"name": "Microsoft.NETCore.App",
|
||||
"version": "8.0.0"
|
||||
},
|
||||
"configProperties": {
|
||||
"System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization": false
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,73 @@
|
||||
{
|
||||
"format": 1,
|
||||
"restore": {
|
||||
"C:\\Git\\Hochschule\\Semester3\\DotNET\\Aufgabenblatt1\\Aufgabenblatt1\\Aufgabe1.csproj": {}
|
||||
},
|
||||
"projects": {
|
||||
"C:\\Git\\Hochschule\\Semester3\\DotNET\\Aufgabenblatt1\\Aufgabenblatt1\\Aufgabe1.csproj": {
|
||||
"version": "1.0.0",
|
||||
"restore": {
|
||||
"projectUniqueName": "C:\\Git\\Hochschule\\Semester3\\DotNET\\Aufgabenblatt1\\Aufgabenblatt1\\Aufgabe1.csproj",
|
||||
"projectName": "Aufgabe1",
|
||||
"projectPath": "C:\\Git\\Hochschule\\Semester3\\DotNET\\Aufgabenblatt1\\Aufgabenblatt1\\Aufgabe1.csproj",
|
||||
"packagesPath": "C:\\Users\\cmerkens\\.nuget\\packages\\",
|
||||
"outputPath": "C:\\Git\\Hochschule\\Semester3\\DotNET\\Aufgabenblatt1\\Aufgabenblatt1\\obj\\",
|
||||
"projectStyle": "PackageReference",
|
||||
"fallbackFolders": [
|
||||
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
|
||||
],
|
||||
"configFilePaths": [
|
||||
"C:\\Users\\cmerkens\\AppData\\Roaming\\NuGet\\NuGet.Config",
|
||||
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config",
|
||||
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
|
||||
],
|
||||
"originalTargetFrameworks": [
|
||||
"net8.0"
|
||||
],
|
||||
"sources": {
|
||||
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
|
||||
"C:\\Program Files\\dotnet\\library-packs": {},
|
||||
"https://api.nuget.org/v3/index.json": {}
|
||||
},
|
||||
"frameworks": {
|
||||
"net8.0": {
|
||||
"targetAlias": "net8.0",
|
||||
"projectReferences": {}
|
||||
}
|
||||
},
|
||||
"warningProperties": {
|
||||
"warnAsError": [
|
||||
"NU1605"
|
||||
]
|
||||
},
|
||||
"restoreAuditProperties": {
|
||||
"enableAudit": "true",
|
||||
"auditLevel": "low",
|
||||
"auditMode": "direct"
|
||||
}
|
||||
},
|
||||
"frameworks": {
|
||||
"net8.0": {
|
||||
"targetAlias": "net8.0",
|
||||
"imports": [
|
||||
"net461",
|
||||
"net462",
|
||||
"net47",
|
||||
"net471",
|
||||
"net472",
|
||||
"net48",
|
||||
"net481"
|
||||
],
|
||||
"assetTargetFallback": true,
|
||||
"warn": true,
|
||||
"frameworkReferences": {
|
||||
"Microsoft.NETCore.App": {
|
||||
"privateAssets": "all"
|
||||
}
|
||||
},
|
||||
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\8.0.400/PortableRuntimeIdentifierGraph.json"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
<?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\cmerkens\.nuget\packages\;C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages</NuGetPackageFolders>
|
||||
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
|
||||
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.11.0</NuGetToolVersion>
|
||||
</PropertyGroup>
|
||||
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
||||
<SourceRoot Include="C:\Users\cmerkens\.nuget\packages\" />
|
||||
<SourceRoot Include="C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages\" />
|
||||
</ItemGroup>
|
||||
</Project>
|
@ -0,0 +1,2 @@
|
||||
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
||||
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" />
|
@ -0,0 +1,73 @@
|
||||
{
|
||||
"format": 1,
|
||||
"restore": {
|
||||
"C:\\Git\\Hochschule\\Semester3\\DotNET\\Aufgabenblatt1\\Aufgabenblatt1\\Aufgabenblatt1.csproj": {}
|
||||
},
|
||||
"projects": {
|
||||
"C:\\Git\\Hochschule\\Semester3\\DotNET\\Aufgabenblatt1\\Aufgabenblatt1\\Aufgabenblatt1.csproj": {
|
||||
"version": "1.0.0",
|
||||
"restore": {
|
||||
"projectUniqueName": "C:\\Git\\Hochschule\\Semester3\\DotNET\\Aufgabenblatt1\\Aufgabenblatt1\\Aufgabenblatt1.csproj",
|
||||
"projectName": "Aufgabenblatt1",
|
||||
"projectPath": "C:\\Git\\Hochschule\\Semester3\\DotNET\\Aufgabenblatt1\\Aufgabenblatt1\\Aufgabenblatt1.csproj",
|
||||
"packagesPath": "C:\\Users\\cmerkens\\.nuget\\packages\\",
|
||||
"outputPath": "C:\\Git\\Hochschule\\Semester3\\DotNET\\Aufgabenblatt1\\Aufgabenblatt1\\obj\\",
|
||||
"projectStyle": "PackageReference",
|
||||
"fallbackFolders": [
|
||||
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
|
||||
],
|
||||
"configFilePaths": [
|
||||
"C:\\Users\\cmerkens\\AppData\\Roaming\\NuGet\\NuGet.Config",
|
||||
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config",
|
||||
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
|
||||
],
|
||||
"originalTargetFrameworks": [
|
||||
"net8.0"
|
||||
],
|
||||
"sources": {
|
||||
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
|
||||
"C:\\Program Files\\dotnet\\library-packs": {},
|
||||
"https://api.nuget.org/v3/index.json": {}
|
||||
},
|
||||
"frameworks": {
|
||||
"net8.0": {
|
||||
"targetAlias": "net8.0",
|
||||
"projectReferences": {}
|
||||
}
|
||||
},
|
||||
"warningProperties": {
|
||||
"warnAsError": [
|
||||
"NU1605"
|
||||
]
|
||||
},
|
||||
"restoreAuditProperties": {
|
||||
"enableAudit": "true",
|
||||
"auditLevel": "low",
|
||||
"auditMode": "direct"
|
||||
}
|
||||
},
|
||||
"frameworks": {
|
||||
"net8.0": {
|
||||
"targetAlias": "net8.0",
|
||||
"imports": [
|
||||
"net461",
|
||||
"net462",
|
||||
"net47",
|
||||
"net471",
|
||||
"net472",
|
||||
"net48",
|
||||
"net481"
|
||||
],
|
||||
"assetTargetFallback": true,
|
||||
"warn": true,
|
||||
"frameworkReferences": {
|
||||
"Microsoft.NETCore.App": {
|
||||
"privateAssets": "all"
|
||||
}
|
||||
},
|
||||
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\8.0.400/PortableRuntimeIdentifierGraph.json"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
<?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\cmerkens\.nuget\packages\;C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages</NuGetPackageFolders>
|
||||
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
|
||||
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.11.0</NuGetToolVersion>
|
||||
</PropertyGroup>
|
||||
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
||||
<SourceRoot Include="C:\Users\cmerkens\.nuget\packages\" />
|
||||
<SourceRoot Include="C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages\" />
|
||||
</ItemGroup>
|
||||
</Project>
|
@ -0,0 +1,2 @@
|
||||
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
||||
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" />
|
@ -0,0 +1,4 @@
|
||||
// <autogenerated />
|
||||
using System;
|
||||
using System.Reflection;
|
||||
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v8.0", FrameworkDisplayName = ".NET 8.0")]
|
@ -0,0 +1,23 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <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("Aufgabe1")]
|
||||
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
||||
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+1c14a7a05a158696187a2f54514bc234dd4283d8")]
|
||||
[assembly: System.Reflection.AssemblyProductAttribute("Aufgabe1")]
|
||||
[assembly: System.Reflection.AssemblyTitleAttribute("Aufgabe1")]
|
||||
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
||||
|
||||
// Von der MSBuild WriteCodeFragment-Klasse generiert.
|
||||
|
@ -0,0 +1 @@
|
||||
0f54ee831ced8a5bb4f1204eae16849dfddbdff5c48e8c9b786196cbaa5b358d
|
@ -0,0 +1,13 @@
|
||||
is_global = true
|
||||
build_property.TargetFramework = net8.0
|
||||
build_property.TargetPlatformMinVersion =
|
||||
build_property.UsingMicrosoftNETSdkWeb =
|
||||
build_property.ProjectTypeGuids =
|
||||
build_property.InvariantGlobalization =
|
||||
build_property.PlatformNeutralAssembly =
|
||||
build_property.EnforceExtendedAnalyzerRules =
|
||||
build_property._SupportedPlatformList = Linux,macOS,Windows
|
||||
build_property.RootNamespace = Aufgabe1
|
||||
build_property.ProjectDir = C:\Git\Hochschule\Semester3\DotNET\Aufgabenblatt1\Aufgabenblatt1\
|
||||
build_property.EnableComHosting =
|
||||
build_property.EnableGeneratedComInterfaceComImportInterop =
|
@ -0,0 +1,8 @@
|
||||
// <auto-generated/>
|
||||
global using global::System;
|
||||
global using global::System.Collections.Generic;
|
||||
global using global::System.IO;
|
||||
global using global::System.Linq;
|
||||
global using global::System.Net.Http;
|
||||
global using global::System.Threading;
|
||||
global using global::System.Threading.Tasks;
|
Binary file not shown.
@ -0,0 +1 @@
|
||||
8e531077d45054d3f7d00379a32ce57010388d6181e26283922bec2a37330fd9
|
@ -0,0 +1,14 @@
|
||||
C:\Git\Hochschule\Semester3\DotNET\Aufgabenblatt1\Aufgabenblatt1\bin\Debug\net8.0\Aufgabe1.exe
|
||||
C:\Git\Hochschule\Semester3\DotNET\Aufgabenblatt1\Aufgabenblatt1\bin\Debug\net8.0\Aufgabe1.deps.json
|
||||
C:\Git\Hochschule\Semester3\DotNET\Aufgabenblatt1\Aufgabenblatt1\bin\Debug\net8.0\Aufgabe1.runtimeconfig.json
|
||||
C:\Git\Hochschule\Semester3\DotNET\Aufgabenblatt1\Aufgabenblatt1\bin\Debug\net8.0\Aufgabe1.dll
|
||||
C:\Git\Hochschule\Semester3\DotNET\Aufgabenblatt1\Aufgabenblatt1\bin\Debug\net8.0\Aufgabe1.pdb
|
||||
C:\Git\Hochschule\Semester3\DotNET\Aufgabenblatt1\Aufgabenblatt1\obj\Debug\net8.0\Aufgabe1.GeneratedMSBuildEditorConfig.editorconfig
|
||||
C:\Git\Hochschule\Semester3\DotNET\Aufgabenblatt1\Aufgabenblatt1\obj\Debug\net8.0\Aufgabe1.AssemblyInfoInputs.cache
|
||||
C:\Git\Hochschule\Semester3\DotNET\Aufgabenblatt1\Aufgabenblatt1\obj\Debug\net8.0\Aufgabe1.AssemblyInfo.cs
|
||||
C:\Git\Hochschule\Semester3\DotNET\Aufgabenblatt1\Aufgabenblatt1\obj\Debug\net8.0\Aufgabe1.csproj.CoreCompileInputs.cache
|
||||
C:\Git\Hochschule\Semester3\DotNET\Aufgabenblatt1\Aufgabenblatt1\obj\Debug\net8.0\Aufgabe1.dll
|
||||
C:\Git\Hochschule\Semester3\DotNET\Aufgabenblatt1\Aufgabenblatt1\obj\Debug\net8.0\refint\Aufgabe1.dll
|
||||
C:\Git\Hochschule\Semester3\DotNET\Aufgabenblatt1\Aufgabenblatt1\obj\Debug\net8.0\Aufgabe1.pdb
|
||||
C:\Git\Hochschule\Semester3\DotNET\Aufgabenblatt1\Aufgabenblatt1\obj\Debug\net8.0\Aufgabe1.genruntimeconfig.cache
|
||||
C:\Git\Hochschule\Semester3\DotNET\Aufgabenblatt1\Aufgabenblatt1\obj\Debug\net8.0\ref\Aufgabe1.dll
|
Binary file not shown.
@ -0,0 +1 @@
|
||||
4d196510b3d288c0ab3dc6d7751efac92482a8c51303daf9eb536e63dc903f10
|
Binary file not shown.
@ -0,0 +1,23 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <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("Aufgabenblatt1")]
|
||||
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
||||
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+1c14a7a05a158696187a2f54514bc234dd4283d8")]
|
||||
[assembly: System.Reflection.AssemblyProductAttribute("Aufgabenblatt1")]
|
||||
[assembly: System.Reflection.AssemblyTitleAttribute("Aufgabenblatt1")]
|
||||
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
||||
|
||||
// Von der MSBuild WriteCodeFragment-Klasse generiert.
|
||||
|
@ -0,0 +1 @@
|
||||
5a026c6147ef68efdc2404a1cd09385c0650e54aa5d34faf2dbd7cf6723f6dc6
|
@ -0,0 +1,13 @@
|
||||
is_global = true
|
||||
build_property.TargetFramework = net8.0
|
||||
build_property.TargetPlatformMinVersion =
|
||||
build_property.UsingMicrosoftNETSdkWeb =
|
||||
build_property.ProjectTypeGuids =
|
||||
build_property.InvariantGlobalization =
|
||||
build_property.PlatformNeutralAssembly =
|
||||
build_property.EnforceExtendedAnalyzerRules =
|
||||
build_property._SupportedPlatformList = Linux,macOS,Windows
|
||||
build_property.RootNamespace = Aufgabenblatt1
|
||||
build_property.ProjectDir = C:\Git\Hochschule\Semester3\DotNET\Aufgabenblatt1\Aufgabenblatt1\
|
||||
build_property.EnableComHosting =
|
||||
build_property.EnableGeneratedComInterfaceComImportInterop =
|
@ -0,0 +1,8 @@
|
||||
// <auto-generated/>
|
||||
global using global::System;
|
||||
global using global::System.Collections.Generic;
|
||||
global using global::System.IO;
|
||||
global using global::System.Linq;
|
||||
global using global::System.Net.Http;
|
||||
global using global::System.Threading;
|
||||
global using global::System.Threading.Tasks;
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,79 @@
|
||||
{
|
||||
"version": 3,
|
||||
"targets": {
|
||||
"net8.0": {}
|
||||
},
|
||||
"libraries": {},
|
||||
"projectFileDependencyGroups": {
|
||||
"net8.0": []
|
||||
},
|
||||
"packageFolders": {
|
||||
"C:\\Users\\cmerkens\\.nuget\\packages\\": {},
|
||||
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages": {}
|
||||
},
|
||||
"project": {
|
||||
"version": "1.0.0",
|
||||
"restore": {
|
||||
"projectUniqueName": "C:\\Git\\Hochschule\\Semester3\\DotNET\\Aufgabenblatt1\\Aufgabenblatt1\\Aufgabe1.csproj",
|
||||
"projectName": "Aufgabe1",
|
||||
"projectPath": "C:\\Git\\Hochschule\\Semester3\\DotNET\\Aufgabenblatt1\\Aufgabenblatt1\\Aufgabe1.csproj",
|
||||
"packagesPath": "C:\\Users\\cmerkens\\.nuget\\packages\\",
|
||||
"outputPath": "C:\\Git\\Hochschule\\Semester3\\DotNET\\Aufgabenblatt1\\Aufgabenblatt1\\obj\\",
|
||||
"projectStyle": "PackageReference",
|
||||
"fallbackFolders": [
|
||||
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
|
||||
],
|
||||
"configFilePaths": [
|
||||
"C:\\Users\\cmerkens\\AppData\\Roaming\\NuGet\\NuGet.Config",
|
||||
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config",
|
||||
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
|
||||
],
|
||||
"originalTargetFrameworks": [
|
||||
"net8.0"
|
||||
],
|
||||
"sources": {
|
||||
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
|
||||
"C:\\Program Files\\dotnet\\library-packs": {},
|
||||
"https://api.nuget.org/v3/index.json": {}
|
||||
},
|
||||
"frameworks": {
|
||||
"net8.0": {
|
||||
"targetAlias": "net8.0",
|
||||
"projectReferences": {}
|
||||
}
|
||||
},
|
||||
"warningProperties": {
|
||||
"warnAsError": [
|
||||
"NU1605"
|
||||
]
|
||||
},
|
||||
"restoreAuditProperties": {
|
||||
"enableAudit": "true",
|
||||
"auditLevel": "low",
|
||||
"auditMode": "direct"
|
||||
}
|
||||
},
|
||||
"frameworks": {
|
||||
"net8.0": {
|
||||
"targetAlias": "net8.0",
|
||||
"imports": [
|
||||
"net461",
|
||||
"net462",
|
||||
"net47",
|
||||
"net471",
|
||||
"net472",
|
||||
"net48",
|
||||
"net481"
|
||||
],
|
||||
"assetTargetFallback": true,
|
||||
"warn": true,
|
||||
"frameworkReferences": {
|
||||
"Microsoft.NETCore.App": {
|
||||
"privateAssets": "all"
|
||||
}
|
||||
},
|
||||
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\8.0.400/PortableRuntimeIdentifierGraph.json"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,8 @@
|
||||
{
|
||||
"version": 2,
|
||||
"dgSpecHash": "34pLguQXEaY=",
|
||||
"success": true,
|
||||
"projectFilePath": "C:\\Git\\Hochschule\\Semester3\\DotNET\\Aufgabenblatt1\\Aufgabenblatt1\\Aufgabe1.csproj",
|
||||
"expectedPackageFiles": [],
|
||||
"logs": []
|
||||
}
|
10
Semester3/DotNET/Aufgabenblatt1/Aufgabe2/Aufgabe2.csproj
Normal file
10
Semester3/DotNET/Aufgabenblatt1/Aufgabe2/Aufgabe2.csproj
Normal file
@ -0,0 +1,10 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<OutputType>Exe</OutputType>
|
||||
<TargetFramework>net8.0</TargetFramework>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Nullable>enable</Nullable>
|
||||
</PropertyGroup>
|
||||
|
||||
</Project>
|
7
Semester3/DotNET/Aufgabenblatt1/Aufgabe2/Program.cs
Normal file
7
Semester3/DotNET/Aufgabenblatt1/Aufgabe2/Program.cs
Normal file
@ -0,0 +1,7 @@
|
||||
Console.WriteLine("Willkommen zu Aufgabe 2");
|
||||
|
||||
var stringArray = new[] {"Hans", "Bertram", "Ursula"};
|
||||
foreach (var i in stringArray)
|
||||
{
|
||||
Console.WriteLine($"{i} besteht aus {i.Length} Zeichen.");
|
||||
}
|
@ -0,0 +1,23 @@
|
||||
{
|
||||
"runtimeTarget": {
|
||||
"name": ".NETCoreApp,Version=v8.0",
|
||||
"signature": ""
|
||||
},
|
||||
"compilationOptions": {},
|
||||
"targets": {
|
||||
".NETCoreApp,Version=v8.0": {
|
||||
"Aufgabe2/1.0.0": {
|
||||
"runtime": {
|
||||
"Aufgabe2.dll": {}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"libraries": {
|
||||
"Aufgabe2/1.0.0": {
|
||||
"type": "project",
|
||||
"serviceable": false,
|
||||
"sha512": ""
|
||||
}
|
||||
}
|
||||
}
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,12 @@
|
||||
{
|
||||
"runtimeOptions": {
|
||||
"tfm": "net8.0",
|
||||
"framework": {
|
||||
"name": "Microsoft.NETCore.App",
|
||||
"version": "8.0.0"
|
||||
},
|
||||
"configProperties": {
|
||||
"System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization": false
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,73 @@
|
||||
{
|
||||
"format": 1,
|
||||
"restore": {
|
||||
"C:\\Git\\Hochschule\\Semester3\\DotNET\\Aufgabenblatt1\\Aufgabe2\\Aufgabe2.csproj": {}
|
||||
},
|
||||
"projects": {
|
||||
"C:\\Git\\Hochschule\\Semester3\\DotNET\\Aufgabenblatt1\\Aufgabe2\\Aufgabe2.csproj": {
|
||||
"version": "1.0.0",
|
||||
"restore": {
|
||||
"projectUniqueName": "C:\\Git\\Hochschule\\Semester3\\DotNET\\Aufgabenblatt1\\Aufgabe2\\Aufgabe2.csproj",
|
||||
"projectName": "Aufgabe2",
|
||||
"projectPath": "C:\\Git\\Hochschule\\Semester3\\DotNET\\Aufgabenblatt1\\Aufgabe2\\Aufgabe2.csproj",
|
||||
"packagesPath": "C:\\Users\\cmerkens\\.nuget\\packages\\",
|
||||
"outputPath": "C:\\Git\\Hochschule\\Semester3\\DotNET\\Aufgabenblatt1\\Aufgabe2\\obj\\",
|
||||
"projectStyle": "PackageReference",
|
||||
"fallbackFolders": [
|
||||
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
|
||||
],
|
||||
"configFilePaths": [
|
||||
"C:\\Users\\cmerkens\\AppData\\Roaming\\NuGet\\NuGet.Config",
|
||||
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config",
|
||||
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
|
||||
],
|
||||
"originalTargetFrameworks": [
|
||||
"net8.0"
|
||||
],
|
||||
"sources": {
|
||||
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
|
||||
"C:\\Program Files\\dotnet\\library-packs": {},
|
||||
"https://api.nuget.org/v3/index.json": {}
|
||||
},
|
||||
"frameworks": {
|
||||
"net8.0": {
|
||||
"targetAlias": "net8.0",
|
||||
"projectReferences": {}
|
||||
}
|
||||
},
|
||||
"warningProperties": {
|
||||
"warnAsError": [
|
||||
"NU1605"
|
||||
]
|
||||
},
|
||||
"restoreAuditProperties": {
|
||||
"enableAudit": "true",
|
||||
"auditLevel": "low",
|
||||
"auditMode": "direct"
|
||||
}
|
||||
},
|
||||
"frameworks": {
|
||||
"net8.0": {
|
||||
"targetAlias": "net8.0",
|
||||
"imports": [
|
||||
"net461",
|
||||
"net462",
|
||||
"net47",
|
||||
"net471",
|
||||
"net472",
|
||||
"net48",
|
||||
"net481"
|
||||
],
|
||||
"assetTargetFallback": true,
|
||||
"warn": true,
|
||||
"frameworkReferences": {
|
||||
"Microsoft.NETCore.App": {
|
||||
"privateAssets": "all"
|
||||
}
|
||||
},
|
||||
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\8.0.400/PortableRuntimeIdentifierGraph.json"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
<?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\cmerkens\.nuget\packages\;C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages</NuGetPackageFolders>
|
||||
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
|
||||
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.11.0</NuGetToolVersion>
|
||||
</PropertyGroup>
|
||||
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
||||
<SourceRoot Include="C:\Users\cmerkens\.nuget\packages\" />
|
||||
<SourceRoot Include="C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages\" />
|
||||
</ItemGroup>
|
||||
</Project>
|
@ -0,0 +1,2 @@
|
||||
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
||||
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" />
|
@ -0,0 +1,4 @@
|
||||
// <autogenerated />
|
||||
using System;
|
||||
using System.Reflection;
|
||||
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v8.0", FrameworkDisplayName = ".NET 8.0")]
|
@ -0,0 +1,23 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <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("Aufgabe2")]
|
||||
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
||||
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+1c14a7a05a158696187a2f54514bc234dd4283d8")]
|
||||
[assembly: System.Reflection.AssemblyProductAttribute("Aufgabe2")]
|
||||
[assembly: System.Reflection.AssemblyTitleAttribute("Aufgabe2")]
|
||||
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
||||
|
||||
// Von der MSBuild WriteCodeFragment-Klasse generiert.
|
||||
|
@ -0,0 +1 @@
|
||||
14954c32b68f429e3e27986daa5c022f9e7975a0540820c5c3270b42ba021574
|
@ -0,0 +1,13 @@
|
||||
is_global = true
|
||||
build_property.TargetFramework = net8.0
|
||||
build_property.TargetPlatformMinVersion =
|
||||
build_property.UsingMicrosoftNETSdkWeb =
|
||||
build_property.ProjectTypeGuids =
|
||||
build_property.InvariantGlobalization =
|
||||
build_property.PlatformNeutralAssembly =
|
||||
build_property.EnforceExtendedAnalyzerRules =
|
||||
build_property._SupportedPlatformList = Linux,macOS,Windows
|
||||
build_property.RootNamespace = Aufgabe2
|
||||
build_property.ProjectDir = C:\Git\Hochschule\Semester3\DotNET\Aufgabenblatt1\Aufgabe2\
|
||||
build_property.EnableComHosting =
|
||||
build_property.EnableGeneratedComInterfaceComImportInterop =
|
@ -0,0 +1,8 @@
|
||||
// <auto-generated/>
|
||||
global using global::System;
|
||||
global using global::System.Collections.Generic;
|
||||
global using global::System.IO;
|
||||
global using global::System.Linq;
|
||||
global using global::System.Net.Http;
|
||||
global using global::System.Threading;
|
||||
global using global::System.Threading.Tasks;
|
Binary file not shown.
@ -0,0 +1 @@
|
||||
94c0b79645e58db462915de25b9236e75b4730901df5bb2101cf3476c3d2728a
|
@ -0,0 +1,14 @@
|
||||
C:\Git\Hochschule\Semester3\DotNET\Aufgabenblatt1\Aufgabe2\bin\Debug\net8.0\Aufgabe2.exe
|
||||
C:\Git\Hochschule\Semester3\DotNET\Aufgabenblatt1\Aufgabe2\bin\Debug\net8.0\Aufgabe2.deps.json
|
||||
C:\Git\Hochschule\Semester3\DotNET\Aufgabenblatt1\Aufgabe2\bin\Debug\net8.0\Aufgabe2.runtimeconfig.json
|
||||
C:\Git\Hochschule\Semester3\DotNET\Aufgabenblatt1\Aufgabe2\bin\Debug\net8.0\Aufgabe2.dll
|
||||
C:\Git\Hochschule\Semester3\DotNET\Aufgabenblatt1\Aufgabe2\bin\Debug\net8.0\Aufgabe2.pdb
|
||||
C:\Git\Hochschule\Semester3\DotNET\Aufgabenblatt1\Aufgabe2\obj\Debug\net8.0\Aufgabe2.GeneratedMSBuildEditorConfig.editorconfig
|
||||
C:\Git\Hochschule\Semester3\DotNET\Aufgabenblatt1\Aufgabe2\obj\Debug\net8.0\Aufgabe2.AssemblyInfoInputs.cache
|
||||
C:\Git\Hochschule\Semester3\DotNET\Aufgabenblatt1\Aufgabe2\obj\Debug\net8.0\Aufgabe2.AssemblyInfo.cs
|
||||
C:\Git\Hochschule\Semester3\DotNET\Aufgabenblatt1\Aufgabe2\obj\Debug\net8.0\Aufgabe2.csproj.CoreCompileInputs.cache
|
||||
C:\Git\Hochschule\Semester3\DotNET\Aufgabenblatt1\Aufgabe2\obj\Debug\net8.0\Aufgabe2.dll
|
||||
C:\Git\Hochschule\Semester3\DotNET\Aufgabenblatt1\Aufgabe2\obj\Debug\net8.0\refint\Aufgabe2.dll
|
||||
C:\Git\Hochschule\Semester3\DotNET\Aufgabenblatt1\Aufgabe2\obj\Debug\net8.0\Aufgabe2.pdb
|
||||
C:\Git\Hochschule\Semester3\DotNET\Aufgabenblatt1\Aufgabe2\obj\Debug\net8.0\Aufgabe2.genruntimeconfig.cache
|
||||
C:\Git\Hochschule\Semester3\DotNET\Aufgabenblatt1\Aufgabe2\obj\Debug\net8.0\ref\Aufgabe2.dll
|
Binary file not shown.
@ -0,0 +1 @@
|
||||
4ddb6bec4c8f1e7cc9843214a705caa3042aff8df7a52f5894ed5d2126f0a9ca
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,79 @@
|
||||
{
|
||||
"version": 3,
|
||||
"targets": {
|
||||
"net8.0": {}
|
||||
},
|
||||
"libraries": {},
|
||||
"projectFileDependencyGroups": {
|
||||
"net8.0": []
|
||||
},
|
||||
"packageFolders": {
|
||||
"C:\\Users\\cmerkens\\.nuget\\packages\\": {},
|
||||
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages": {}
|
||||
},
|
||||
"project": {
|
||||
"version": "1.0.0",
|
||||
"restore": {
|
||||
"projectUniqueName": "C:\\Git\\Hochschule\\Semester3\\DotNET\\Aufgabenblatt1\\Aufgabe2\\Aufgabe2.csproj",
|
||||
"projectName": "Aufgabe2",
|
||||
"projectPath": "C:\\Git\\Hochschule\\Semester3\\DotNET\\Aufgabenblatt1\\Aufgabe2\\Aufgabe2.csproj",
|
||||
"packagesPath": "C:\\Users\\cmerkens\\.nuget\\packages\\",
|
||||
"outputPath": "C:\\Git\\Hochschule\\Semester3\\DotNET\\Aufgabenblatt1\\Aufgabe2\\obj\\",
|
||||
"projectStyle": "PackageReference",
|
||||
"fallbackFolders": [
|
||||
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
|
||||
],
|
||||
"configFilePaths": [
|
||||
"C:\\Users\\cmerkens\\AppData\\Roaming\\NuGet\\NuGet.Config",
|
||||
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config",
|
||||
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
|
||||
],
|
||||
"originalTargetFrameworks": [
|
||||
"net8.0"
|
||||
],
|
||||
"sources": {
|
||||
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
|
||||
"C:\\Program Files\\dotnet\\library-packs": {},
|
||||
"https://api.nuget.org/v3/index.json": {}
|
||||
},
|
||||
"frameworks": {
|
||||
"net8.0": {
|
||||
"targetAlias": "net8.0",
|
||||
"projectReferences": {}
|
||||
}
|
||||
},
|
||||
"warningProperties": {
|
||||
"warnAsError": [
|
||||
"NU1605"
|
||||
]
|
||||
},
|
||||
"restoreAuditProperties": {
|
||||
"enableAudit": "true",
|
||||
"auditLevel": "low",
|
||||
"auditMode": "direct"
|
||||
}
|
||||
},
|
||||
"frameworks": {
|
||||
"net8.0": {
|
||||
"targetAlias": "net8.0",
|
||||
"imports": [
|
||||
"net461",
|
||||
"net462",
|
||||
"net47",
|
||||
"net471",
|
||||
"net472",
|
||||
"net48",
|
||||
"net481"
|
||||
],
|
||||
"assetTargetFallback": true,
|
||||
"warn": true,
|
||||
"frameworkReferences": {
|
||||
"Microsoft.NETCore.App": {
|
||||
"privateAssets": "all"
|
||||
}
|
||||
},
|
||||
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\8.0.400/PortableRuntimeIdentifierGraph.json"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,8 @@
|
||||
{
|
||||
"version": 2,
|
||||
"dgSpecHash": "CmVsjz9xr9U=",
|
||||
"success": true,
|
||||
"projectFilePath": "C:\\Git\\Hochschule\\Semester3\\DotNET\\Aufgabenblatt1\\Aufgabe2\\Aufgabe2.csproj",
|
||||
"expectedPackageFiles": [],
|
||||
"logs": []
|
||||
}
|
10
Semester3/DotNET/Aufgabenblatt1/Aufgabe3/Aufgabe3.csproj
Normal file
10
Semester3/DotNET/Aufgabenblatt1/Aufgabe3/Aufgabe3.csproj
Normal file
@ -0,0 +1,10 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<OutputType>Exe</OutputType>
|
||||
<TargetFramework>net8.0</TargetFramework>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Nullable>enable</Nullable>
|
||||
</PropertyGroup>
|
||||
|
||||
</Project>
|
56
Semester3/DotNET/Aufgabenblatt1/Aufgabe3/Program.cs
Normal file
56
Semester3/DotNET/Aufgabenblatt1/Aufgabe3/Program.cs
Normal file
@ -0,0 +1,56 @@
|
||||
Console.WriteLine("Willkommen zu Aufgabe 3");
|
||||
|
||||
string[] stringArray = ["zählen", "beenden", "hilfe"];
|
||||
|
||||
bool running = true;
|
||||
while (running)
|
||||
{
|
||||
string input = Console.ReadLine();
|
||||
|
||||
switch (input)
|
||||
{
|
||||
case "zählen":
|
||||
Zaehler();
|
||||
break;
|
||||
|
||||
case "beenden":
|
||||
running = false;
|
||||
break;
|
||||
|
||||
case "hilfe":
|
||||
Console.WriteLine("Mögliche Befehle: ");
|
||||
foreach (string befehl in stringArray)
|
||||
{
|
||||
Console.WriteLine(befehl);
|
||||
}
|
||||
break;
|
||||
|
||||
default:
|
||||
Console.WriteLine("Tippen sie \"hilfe\" für die Befehlsübersicht");
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
static void Zaehler()
|
||||
{
|
||||
int minResult = 0;
|
||||
int maxResult = 0;
|
||||
|
||||
Console.WriteLine("Geben Sie einen minimalen Wert ein: ");
|
||||
int.TryParse(Console.ReadLine(), out minResult);
|
||||
Console.WriteLine("Geben Sie einen maximalen Wert ein: ");
|
||||
int.TryParse(Console.ReadLine(), out maxResult);
|
||||
|
||||
|
||||
if (minResult >= maxResult)
|
||||
{
|
||||
Console.WriteLine("Zählen nicht möglich");
|
||||
}
|
||||
else
|
||||
{
|
||||
for (; minResult <= maxResult; minResult++)
|
||||
{
|
||||
Console.WriteLine(minResult);
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,23 @@
|
||||
{
|
||||
"runtimeTarget": {
|
||||
"name": ".NETCoreApp,Version=v8.0",
|
||||
"signature": ""
|
||||
},
|
||||
"compilationOptions": {},
|
||||
"targets": {
|
||||
".NETCoreApp,Version=v8.0": {
|
||||
"Aufgabe3/1.0.0": {
|
||||
"runtime": {
|
||||
"Aufgabe3.dll": {}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"libraries": {
|
||||
"Aufgabe3/1.0.0": {
|
||||
"type": "project",
|
||||
"serviceable": false,
|
||||
"sha512": ""
|
||||
}
|
||||
}
|
||||
}
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,12 @@
|
||||
{
|
||||
"runtimeOptions": {
|
||||
"tfm": "net8.0",
|
||||
"framework": {
|
||||
"name": "Microsoft.NETCore.App",
|
||||
"version": "8.0.0"
|
||||
},
|
||||
"configProperties": {
|
||||
"System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization": false
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,73 @@
|
||||
{
|
||||
"format": 1,
|
||||
"restore": {
|
||||
"C:\\Git\\Hochschule\\Semester3\\DotNET\\Aufgabenblatt1\\Aufgabe3\\Aufgabe3.csproj": {}
|
||||
},
|
||||
"projects": {
|
||||
"C:\\Git\\Hochschule\\Semester3\\DotNET\\Aufgabenblatt1\\Aufgabe3\\Aufgabe3.csproj": {
|
||||
"version": "1.0.0",
|
||||
"restore": {
|
||||
"projectUniqueName": "C:\\Git\\Hochschule\\Semester3\\DotNET\\Aufgabenblatt1\\Aufgabe3\\Aufgabe3.csproj",
|
||||
"projectName": "Aufgabe3",
|
||||
"projectPath": "C:\\Git\\Hochschule\\Semester3\\DotNET\\Aufgabenblatt1\\Aufgabe3\\Aufgabe3.csproj",
|
||||
"packagesPath": "C:\\Users\\cmerkens\\.nuget\\packages\\",
|
||||
"outputPath": "C:\\Git\\Hochschule\\Semester3\\DotNET\\Aufgabenblatt1\\Aufgabe3\\obj\\",
|
||||
"projectStyle": "PackageReference",
|
||||
"fallbackFolders": [
|
||||
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
|
||||
],
|
||||
"configFilePaths": [
|
||||
"C:\\Users\\cmerkens\\AppData\\Roaming\\NuGet\\NuGet.Config",
|
||||
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config",
|
||||
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
|
||||
],
|
||||
"originalTargetFrameworks": [
|
||||
"net8.0"
|
||||
],
|
||||
"sources": {
|
||||
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
|
||||
"C:\\Program Files\\dotnet\\library-packs": {},
|
||||
"https://api.nuget.org/v3/index.json": {}
|
||||
},
|
||||
"frameworks": {
|
||||
"net8.0": {
|
||||
"targetAlias": "net8.0",
|
||||
"projectReferences": {}
|
||||
}
|
||||
},
|
||||
"warningProperties": {
|
||||
"warnAsError": [
|
||||
"NU1605"
|
||||
]
|
||||
},
|
||||
"restoreAuditProperties": {
|
||||
"enableAudit": "true",
|
||||
"auditLevel": "low",
|
||||
"auditMode": "direct"
|
||||
}
|
||||
},
|
||||
"frameworks": {
|
||||
"net8.0": {
|
||||
"targetAlias": "net8.0",
|
||||
"imports": [
|
||||
"net461",
|
||||
"net462",
|
||||
"net47",
|
||||
"net471",
|
||||
"net472",
|
||||
"net48",
|
||||
"net481"
|
||||
],
|
||||
"assetTargetFallback": true,
|
||||
"warn": true,
|
||||
"frameworkReferences": {
|
||||
"Microsoft.NETCore.App": {
|
||||
"privateAssets": "all"
|
||||
}
|
||||
},
|
||||
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\8.0.400/PortableRuntimeIdentifierGraph.json"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
<?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\cmerkens\.nuget\packages\;C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages</NuGetPackageFolders>
|
||||
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
|
||||
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.11.0</NuGetToolVersion>
|
||||
</PropertyGroup>
|
||||
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
||||
<SourceRoot Include="C:\Users\cmerkens\.nuget\packages\" />
|
||||
<SourceRoot Include="C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages\" />
|
||||
</ItemGroup>
|
||||
</Project>
|
@ -0,0 +1,2 @@
|
||||
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
||||
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" />
|
@ -0,0 +1,4 @@
|
||||
// <autogenerated />
|
||||
using System;
|
||||
using System.Reflection;
|
||||
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v8.0", FrameworkDisplayName = ".NET 8.0")]
|
@ -0,0 +1,23 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <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("Aufgabe3")]
|
||||
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
||||
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+1c14a7a05a158696187a2f54514bc234dd4283d8")]
|
||||
[assembly: System.Reflection.AssemblyProductAttribute("Aufgabe3")]
|
||||
[assembly: System.Reflection.AssemblyTitleAttribute("Aufgabe3")]
|
||||
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
||||
|
||||
// Von der MSBuild WriteCodeFragment-Klasse generiert.
|
||||
|
@ -0,0 +1 @@
|
||||
df67a7a3c9a9297433cb77f1a8294275d77e46798e48ee29ce4b01d8fd20db10
|
@ -0,0 +1,13 @@
|
||||
is_global = true
|
||||
build_property.TargetFramework = net8.0
|
||||
build_property.TargetPlatformMinVersion =
|
||||
build_property.UsingMicrosoftNETSdkWeb =
|
||||
build_property.ProjectTypeGuids =
|
||||
build_property.InvariantGlobalization =
|
||||
build_property.PlatformNeutralAssembly =
|
||||
build_property.EnforceExtendedAnalyzerRules =
|
||||
build_property._SupportedPlatformList = Linux,macOS,Windows
|
||||
build_property.RootNamespace = Aufgabe3
|
||||
build_property.ProjectDir = C:\Git\Hochschule\Semester3\DotNET\Aufgabenblatt1\Aufgabe3\
|
||||
build_property.EnableComHosting =
|
||||
build_property.EnableGeneratedComInterfaceComImportInterop =
|
@ -0,0 +1,8 @@
|
||||
// <auto-generated/>
|
||||
global using global::System;
|
||||
global using global::System.Collections.Generic;
|
||||
global using global::System.IO;
|
||||
global using global::System.Linq;
|
||||
global using global::System.Net.Http;
|
||||
global using global::System.Threading;
|
||||
global using global::System.Threading.Tasks;
|
Binary file not shown.
@ -0,0 +1 @@
|
||||
b9ebbc0846a9b50fea26c567a5ca9c74aee86d01a1bd952d9a746f17cc5d3bb0
|
@ -0,0 +1,14 @@
|
||||
C:\Git\Hochschule\Semester3\DotNET\Aufgabenblatt1\Aufgabe3\bin\Debug\net8.0\Aufgabe3.exe
|
||||
C:\Git\Hochschule\Semester3\DotNET\Aufgabenblatt1\Aufgabe3\bin\Debug\net8.0\Aufgabe3.deps.json
|
||||
C:\Git\Hochschule\Semester3\DotNET\Aufgabenblatt1\Aufgabe3\bin\Debug\net8.0\Aufgabe3.runtimeconfig.json
|
||||
C:\Git\Hochschule\Semester3\DotNET\Aufgabenblatt1\Aufgabe3\bin\Debug\net8.0\Aufgabe3.dll
|
||||
C:\Git\Hochschule\Semester3\DotNET\Aufgabenblatt1\Aufgabe3\bin\Debug\net8.0\Aufgabe3.pdb
|
||||
C:\Git\Hochschule\Semester3\DotNET\Aufgabenblatt1\Aufgabe3\obj\Debug\net8.0\Aufgabe3.GeneratedMSBuildEditorConfig.editorconfig
|
||||
C:\Git\Hochschule\Semester3\DotNET\Aufgabenblatt1\Aufgabe3\obj\Debug\net8.0\Aufgabe3.AssemblyInfoInputs.cache
|
||||
C:\Git\Hochschule\Semester3\DotNET\Aufgabenblatt1\Aufgabe3\obj\Debug\net8.0\Aufgabe3.AssemblyInfo.cs
|
||||
C:\Git\Hochschule\Semester3\DotNET\Aufgabenblatt1\Aufgabe3\obj\Debug\net8.0\Aufgabe3.csproj.CoreCompileInputs.cache
|
||||
C:\Git\Hochschule\Semester3\DotNET\Aufgabenblatt1\Aufgabe3\obj\Debug\net8.0\Aufgabe3.dll
|
||||
C:\Git\Hochschule\Semester3\DotNET\Aufgabenblatt1\Aufgabe3\obj\Debug\net8.0\refint\Aufgabe3.dll
|
||||
C:\Git\Hochschule\Semester3\DotNET\Aufgabenblatt1\Aufgabe3\obj\Debug\net8.0\Aufgabe3.pdb
|
||||
C:\Git\Hochschule\Semester3\DotNET\Aufgabenblatt1\Aufgabe3\obj\Debug\net8.0\Aufgabe3.genruntimeconfig.cache
|
||||
C:\Git\Hochschule\Semester3\DotNET\Aufgabenblatt1\Aufgabe3\obj\Debug\net8.0\ref\Aufgabe3.dll
|
Binary file not shown.
@ -0,0 +1 @@
|
||||
88a2d2e90ee3bd21f79ecdaa08d40cd4043e929ea5b5ddbfee6e285562ab97cc
|
Binary file not shown.