C# basic udemy, vs2022

This commit is contained in:
Lukáš Kaňka
2023-09-01 17:46:12 +02:00
parent b7ad7e658f
commit 0bd93d28fc
171 changed files with 1661 additions and 15 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
C#/Puma/.vs/Puma/v17/.suo Normal file

Binary file not shown.

25
C#/Puma/Puma.sln Normal file
View File

@ -0,0 +1,25 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.7.34018.315
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Puma", "Puma\Puma.csproj", "{D188C080-7B9B-4734-B565-71B9F7474C27}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{D188C080-7B9B-4734-B565-71B9F7474C27}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{D188C080-7B9B-4734-B565-71B9F7474C27}.Debug|Any CPU.Build.0 = Debug|Any CPU
{D188C080-7B9B-4734-B565-71B9F7474C27}.Release|Any CPU.ActiveCfg = Release|Any CPU
{D188C080-7B9B-4734-B565-71B9F7474C27}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {62248201-8722-4FC5-B32C-629B97616391}
EndGlobalSection
EndGlobal

39
C#/Puma/Puma/Program.cs Normal file
View File

@ -0,0 +1,39 @@
namespace Puma
{
internal class Program
{
static void Main(string[] args)
{
Console.WriteLine("WRRR!");
Console.WriteLine("MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM");
Console.WriteLine("MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM");
Console.WriteLine("MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMWXK0KXNWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM");
Console.WriteLine("MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMWN0xolccclodxk0KXWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM");
Console.WriteLine("MMMMMMMMMMMMMMMMMMMMMMMMMMXOkkkxxxxdl;;clllllllc:::codxkO0XWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM");
Console.WriteLine("MMMMMMMMMMMMMMMMMMMMMMMMMMk:::;;::ccc:clllllllllllllllccccldkXWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM");
Console.WriteLine("MMMMMMMMMMMMMMMMMMMMMMMMMMXd::cc:::;,;cccccllllllllllllllllcccdKMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM");
Console.WriteLine("MMMMMMMMMMMMMMMMMMMMMMMMMMMNOl:cllllc:;,',;;:::;::::::;;;;;;cl:cONMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM");
Console.WriteLine("MMMMMMMMMMMMMWNXK0Okxddddxxxxd:',::::::;,'',:cclcccccccc;:c;:lc::okXMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM");
Console.WriteLine("MMMMMMMMMMMMMMWWNXXK0Okxdddoollc:,,,;;;;;::::cllc;,,;:::;:olcllc:,';xXMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM");
Console.WriteLine("MMMMMMMMMMMMMMMMMMMMMMMMMMMMWWWXd:::::::::::;;;;;;,'',:clcllc:cc:,'.'cxKWMMMMMMMMMMMMMMMMMMMMMMMMMMM");
Console.WriteLine("MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMNo:lllllllllllllccc:::::lllllc:cccccc:;,:dXMMMMMMMMMMMMMMMMMMMMMMMMMM");
Console.WriteLine("MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMKc:lllllllllllllllllllllllcc:;;:::cccl:'..dWMMMMMMMMMMMMMMMMMMMMMMMMM");
Console.WriteLine("MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMK:;llllllllllllllllllllllc:;cc;::ccccll;'lXMMMMMMMMMMMMMMMMMMMMMMMMMM");
Console.WriteLine("MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMWd:llllllllllllllllllllll;';dK0xoccc:;cdONMMMMMMMMMMMMMMMMMMMMMMMMMMM");
Console.WriteLine("MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMOccllllllllllllllllllllc''::xWWkll;,oKWMMMMMMMMMMMMMMMMMMMMMMMMMMMMM");
Console.WriteLine("MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMKlclllllccccclllcclllllc,,;;oKx::lxKWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM");
Console.WriteLine("MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMWkccllllllcc::;,,,',:lll;;:;;ol,:0MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM");
Console.WriteLine("MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMNxcclllllllllc:;,''':llc;:c;:;:OWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM");
Console.WriteLine("MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMNkccllllllllc;cx0d;;lllc::;co0WMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM");
Console.WriteLine("MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMW0oc:clllllccOWWXOxdollodkXWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM");
Console.WriteLine("MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMNOxdlcclll:xWMMMMWWNXNWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM");
Console.WriteLine("MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMWXOdlcccckNWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM");
Console.WriteLine("MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMWXOxoc::dXMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM");
Console.WriteLine("MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMWX0kk0WMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM");
Console.WriteLine("MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM");
Console.WriteLine("MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM");
Console.WriteLine("MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM");
Console.ReadLine();
}
}
}

10
C#/Puma/Puma/Puma.csproj Normal file
View File

@ -0,0 +1,10 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net7.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
</Project>

View File

@ -0,0 +1,23 @@
{
"runtimeTarget": {
"name": ".NETCoreApp,Version=v7.0",
"signature": ""
},
"compilationOptions": {},
"targets": {
".NETCoreApp,Version=v7.0": {
"Puma/1.0.0": {
"runtime": {
"Puma.dll": {}
}
}
}
},
"libraries": {
"Puma/1.0.0": {
"type": "project",
"serviceable": false,
"sha512": ""
}
}
}

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,9 @@
{
"runtimeOptions": {
"tfm": "net7.0",
"framework": {
"name": "Microsoft.NETCore.App",
"version": "7.0.0"
}
}
}

Binary file not shown.

View File

@ -0,0 +1,4 @@
// <autogenerated />
using System;
using System.Reflection;
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v7.0", FrameworkDisplayName = ".NET 7.0")]

View File

@ -0,0 +1,23 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using System;
using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("Puma")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
[assembly: System.Reflection.AssemblyProductAttribute("Puma")]
[assembly: System.Reflection.AssemblyTitleAttribute("Puma")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
// Generated by the MSBuild WriteCodeFragment class.

View File

@ -0,0 +1 @@
16136ad49e36319ca9ac9d74ff7ce169efb6a523

View File

@ -0,0 +1,11 @@
is_global = true
build_property.TargetFramework = net7.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 = Puma
build_property.ProjectDir = C:\Users\lukas\Nextcloud\GitHub\.Net_C.Sharp_Test\C#\Puma\Puma\

View File

@ -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.

View File

@ -0,0 +1 @@
6ab348e7714bb460314771de4c2b49174b671316

View File

@ -0,0 +1,14 @@
C:\Users\lukas\Nextcloud\GitHub\.Net_C.Sharp_Test\C#\Puma\Puma\bin\Debug\net7.0\Puma.exe
C:\Users\lukas\Nextcloud\GitHub\.Net_C.Sharp_Test\C#\Puma\Puma\bin\Debug\net7.0\Puma.deps.json
C:\Users\lukas\Nextcloud\GitHub\.Net_C.Sharp_Test\C#\Puma\Puma\bin\Debug\net7.0\Puma.runtimeconfig.json
C:\Users\lukas\Nextcloud\GitHub\.Net_C.Sharp_Test\C#\Puma\Puma\bin\Debug\net7.0\Puma.dll
C:\Users\lukas\Nextcloud\GitHub\.Net_C.Sharp_Test\C#\Puma\Puma\bin\Debug\net7.0\Puma.pdb
C:\Users\lukas\Nextcloud\GitHub\.Net_C.Sharp_Test\C#\Puma\Puma\obj\Debug\net7.0\Puma.GeneratedMSBuildEditorConfig.editorconfig
C:\Users\lukas\Nextcloud\GitHub\.Net_C.Sharp_Test\C#\Puma\Puma\obj\Debug\net7.0\Puma.AssemblyInfoInputs.cache
C:\Users\lukas\Nextcloud\GitHub\.Net_C.Sharp_Test\C#\Puma\Puma\obj\Debug\net7.0\Puma.AssemblyInfo.cs
C:\Users\lukas\Nextcloud\GitHub\.Net_C.Sharp_Test\C#\Puma\Puma\obj\Debug\net7.0\Puma.csproj.CoreCompileInputs.cache
C:\Users\lukas\Nextcloud\GitHub\.Net_C.Sharp_Test\C#\Puma\Puma\obj\Debug\net7.0\Puma.dll
C:\Users\lukas\Nextcloud\GitHub\.Net_C.Sharp_Test\C#\Puma\Puma\obj\Debug\net7.0\refint\Puma.dll
C:\Users\lukas\Nextcloud\GitHub\.Net_C.Sharp_Test\C#\Puma\Puma\obj\Debug\net7.0\Puma.pdb
C:\Users\lukas\Nextcloud\GitHub\.Net_C.Sharp_Test\C#\Puma\Puma\obj\Debug\net7.0\Puma.genruntimeconfig.cache
C:\Users\lukas\Nextcloud\GitHub\.Net_C.Sharp_Test\C#\Puma\Puma\obj\Debug\net7.0\ref\Puma.dll

Binary file not shown.

View File

@ -0,0 +1 @@
bf5ecd2e030a189a18fc0855d31aac2585de747b

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,63 @@
{
"format": 1,
"restore": {
"C:\\Users\\lukas\\Nextcloud\\GitHub\\.Net_C.Sharp_Test\\C#\\Puma\\Puma\\Puma.csproj": {}
},
"projects": {
"C:\\Users\\lukas\\Nextcloud\\GitHub\\.Net_C.Sharp_Test\\C#\\Puma\\Puma\\Puma.csproj": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "C:\\Users\\lukas\\Nextcloud\\GitHub\\.Net_C.Sharp_Test\\C#\\Puma\\Puma\\Puma.csproj",
"projectName": "Puma",
"projectPath": "C:\\Users\\lukas\\Nextcloud\\GitHub\\.Net_C.Sharp_Test\\C#\\Puma\\Puma\\Puma.csproj",
"packagesPath": "C:\\Users\\lukas\\.nuget\\packages\\",
"outputPath": "C:\\Users\\lukas\\Nextcloud\\GitHub\\.Net_C.Sharp_Test\\C#\\Puma\\Puma\\obj\\",
"projectStyle": "PackageReference",
"configFilePaths": [
"C:\\Users\\lukas\\AppData\\Roaming\\NuGet\\NuGet.Config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
],
"originalTargetFrameworks": [
"net7.0"
],
"sources": {
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
"https://api.nuget.org/v3/index.json": {}
},
"frameworks": {
"net7.0": {
"targetAlias": "net7.0",
"projectReferences": {}
}
},
"warningProperties": {
"warnAsError": [
"NU1605"
]
}
},
"frameworks": {
"net7.0": {
"targetAlias": "net7.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\\7.0.400\\RuntimeIdentifierGraph.json"
}
}
}
}
}

View File

@ -0,0 +1,15 @@
<?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\lukas\.nuget\packages\</NuGetPackageFolders>
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.7.0</NuGetToolVersion>
</PropertyGroup>
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<SourceRoot Include="C:\Users\lukas\.nuget\packages\" />
</ItemGroup>
</Project>

View File

@ -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" />

View File

@ -0,0 +1,68 @@
{
"version": 3,
"targets": {
"net7.0": {}
},
"libraries": {},
"projectFileDependencyGroups": {
"net7.0": []
},
"packageFolders": {
"C:\\Users\\lukas\\.nuget\\packages\\": {}
},
"project": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "C:\\Users\\lukas\\Nextcloud\\GitHub\\.Net_C.Sharp_Test\\C#\\Puma\\Puma\\Puma.csproj",
"projectName": "Puma",
"projectPath": "C:\\Users\\lukas\\Nextcloud\\GitHub\\.Net_C.Sharp_Test\\C#\\Puma\\Puma\\Puma.csproj",
"packagesPath": "C:\\Users\\lukas\\.nuget\\packages\\",
"outputPath": "C:\\Users\\lukas\\Nextcloud\\GitHub\\.Net_C.Sharp_Test\\C#\\Puma\\Puma\\obj\\",
"projectStyle": "PackageReference",
"configFilePaths": [
"C:\\Users\\lukas\\AppData\\Roaming\\NuGet\\NuGet.Config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
],
"originalTargetFrameworks": [
"net7.0"
],
"sources": {
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
"https://api.nuget.org/v3/index.json": {}
},
"frameworks": {
"net7.0": {
"targetAlias": "net7.0",
"projectReferences": {}
}
},
"warningProperties": {
"warnAsError": [
"NU1605"
]
}
},
"frameworks": {
"net7.0": {
"targetAlias": "net7.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\\7.0.400\\RuntimeIdentifierGraph.json"
}
}
}
}

View File

@ -0,0 +1,8 @@
{
"version": 2,
"dgSpecHash": "1CsAVhYI6RAh88qlyNJ9RS+vEnkFxmw30e/YMrhJa/b5PtwFeFbkoVKPHGrSw8IXpvu4ty/5ElOvkPlN92hvRQ==",
"success": true,
"projectFilePath": "C:\\Users\\lukas\\Nextcloud\\GitHub\\.Net_C.Sharp_Test\\C#\\Puma\\Puma\\Puma.csproj",
"expectedPackageFiles": [],
"logs": []
}