metody, JB Rider
This commit is contained in:
parent
05f75328d0
commit
5785acae64
13
C#/C# Basic Udemy Seen/FirstProgram/.idea/.idea.FirstProgram/.idea/.gitignore
generated
vendored
Normal file
13
C#/C# Basic Udemy Seen/FirstProgram/.idea/.idea.FirstProgram/.idea/.gitignore
generated
vendored
Normal file
@ -0,0 +1,13 @@
|
||||
# Default ignored files
|
||||
/shelf/
|
||||
/workspace.xml
|
||||
# Rider ignored files
|
||||
/projectSettingsUpdater.xml
|
||||
/contentModel.xml
|
||||
/modules.xml
|
||||
/.idea.FirstProgram.iml
|
||||
# Editor-based HTTP Client requests
|
||||
/httpRequests/
|
||||
# Datasource local storage ignored files
|
||||
/dataSources/
|
||||
/dataSources.local.xml
|
4
C#/C# Basic Udemy Seen/FirstProgram/.idea/.idea.FirstProgram/.idea/encodings.xml
generated
Normal file
4
C#/C# Basic Udemy Seen/FirstProgram/.idea/.idea.FirstProgram/.idea/encodings.xml
generated
Normal file
@ -0,0 +1,4 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="Encoding" addBOMForNewFiles="with BOM under Windows, with no BOM otherwise" />
|
||||
</project>
|
8
C#/C# Basic Udemy Seen/FirstProgram/.idea/.idea.FirstProgram/.idea/indexLayout.xml
generated
Normal file
8
C#/C# Basic Udemy Seen/FirstProgram/.idea/.idea.FirstProgram/.idea/indexLayout.xml
generated
Normal file
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="UserContentModel">
|
||||
<attachedFolders />
|
||||
<explicitIncludes />
|
||||
<explicitExcludes />
|
||||
</component>
|
||||
</project>
|
@ -0,0 +1 @@
|
||||
"restore":{"projectUniqueName":"C:\\Users\\lukas\\Nextcloud\\GitHub\\.Net_C.Sharp_Test\\C#\\C# Basic Udemy Seen\\FirstProgram\\Cisla\\Cisla.csproj","projectName":"Cisla","projectPath":"C:\\Users\\lukas\\Nextcloud\\GitHub\\.Net_C.Sharp_Test\\C#\\C# Basic Udemy Seen\\FirstProgram\\Cisla\\Cisla.csproj","outputPath":"C:\\Users\\lukas\\Nextcloud\\GitHub\\.Net_C.Sharp_Test\\C#\\C# Basic Udemy Seen\\FirstProgram\\Cisla\\obj\\","projectStyle":"PackageReference","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"}}
|
@ -0,0 +1 @@
|
||||
16935968363236592
|
@ -0,0 +1 @@
|
||||
16935968363236592
|
@ -0,0 +1 @@
|
||||
"restore":{"projectUniqueName":"C:\\Users\\lukas\\Nextcloud\\GitHub\\.Net_C.Sharp_Test\\C#\\C# Basic Udemy Seen\\FirstProgram\\DatoveTypy\\DatoveTypy.csproj","projectName":"DatoveTypy","projectPath":"C:\\Users\\lukas\\Nextcloud\\GitHub\\.Net_C.Sharp_Test\\C#\\C# Basic Udemy Seen\\FirstProgram\\DatoveTypy\\DatoveTypy.csproj","outputPath":"C:\\Users\\lukas\\Nextcloud\\GitHub\\.Net_C.Sharp_Test\\C#\\C# Basic Udemy Seen\\FirstProgram\\DatoveTypy\\obj\\","projectStyle":"PackageReference","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"}}
|
@ -0,0 +1 @@
|
||||
16935754700728201
|
@ -0,0 +1 @@
|
||||
16935754700728201
|
@ -17,6 +17,14 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "VstupInput", "VstupInput\Vs
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "KalkulackaNasobicka", "Kalkulacka\KalkulackaNasobicka.csproj", "{03E61220-F462-4F1C-A480-C348A617AE30}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Metody", "Metody\Metody.csproj", "{798B1E2A-0B1A-4A34-A61B-828C93022EA7}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Metody2", "Metody2\Metody2.csproj", "{AA7C5547-CC9B-4A43-8312-2BEA30D0B4CC}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Metody3Return", "Metody3Return\Metody3Return.csproj", "{F4D1B07B-5319-483E-99EA-E24715F00C5F}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Metody4Overloading", "Metody4Overloading\Metody4Overloading.csproj", "{15070B94-B58E-4129-88D8-B0134E3FE6B1}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
@ -51,6 +59,22 @@ Global
|
||||
{03E61220-F462-4F1C-A480-C348A617AE30}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{03E61220-F462-4F1C-A480-C348A617AE30}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{03E61220-F462-4F1C-A480-C348A617AE30}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{798B1E2A-0B1A-4A34-A61B-828C93022EA7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{798B1E2A-0B1A-4A34-A61B-828C93022EA7}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{798B1E2A-0B1A-4A34-A61B-828C93022EA7}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{798B1E2A-0B1A-4A34-A61B-828C93022EA7}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{AA7C5547-CC9B-4A43-8312-2BEA30D0B4CC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{AA7C5547-CC9B-4A43-8312-2BEA30D0B4CC}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{AA7C5547-CC9B-4A43-8312-2BEA30D0B4CC}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{AA7C5547-CC9B-4A43-8312-2BEA30D0B4CC}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{F4D1B07B-5319-483E-99EA-E24715F00C5F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{F4D1B07B-5319-483E-99EA-E24715F00C5F}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{F4D1B07B-5319-483E-99EA-E24715F00C5F}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{F4D1B07B-5319-483E-99EA-E24715F00C5F}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{15070B94-B58E-4129-88D8-B0134E3FE6B1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{15070B94-B58E-4129-88D8-B0134E3FE6B1}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{15070B94-B58E-4129-88D8-B0134E3FE6B1}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{15070B94-B58E-4129-88D8-B0134E3FE6B1}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
|
@ -0,0 +1 @@
|
||||
"restore":{"projectUniqueName":"C:\\Users\\lukas\\Nextcloud\\GitHub\\.Net_C.Sharp_Test\\C#\\C# Basic Udemy Seen\\FirstProgram\\FirstProgram\\FirstProgram.csproj","projectName":"FirstProgram","projectPath":"C:\\Users\\lukas\\Nextcloud\\GitHub\\.Net_C.Sharp_Test\\C#\\C# Basic Udemy Seen\\FirstProgram\\FirstProgram\\FirstProgram.csproj","outputPath":"C:\\Users\\lukas\\Nextcloud\\GitHub\\.Net_C.Sharp_Test\\C#\\C# Basic Udemy Seen\\FirstProgram\\FirstProgram\\obj\\","projectStyle":"PackageReference","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"}}
|
@ -0,0 +1 @@
|
||||
16935709755254662
|
@ -0,0 +1 @@
|
||||
16935709755254662
|
@ -1,4 +1,4 @@
|
||||
namespace Kalkulacka
|
||||
namespace KalkulackaNasobicka
|
||||
{
|
||||
internal class Program
|
||||
{
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1 @@
|
||||
"restore":{"projectUniqueName":"C:\\Users\\lukas\\Nextcloud\\GitHub\\.Net_C.Sharp_Test\\C#\\C# Basic Udemy Seen\\FirstProgram\\Kalkulacka\\KalkulackaNasobicka.csproj","projectName":"KalkulackaNasobicka","projectPath":"C:\\Users\\lukas\\Nextcloud\\GitHub\\.Net_C.Sharp_Test\\C#\\C# Basic Udemy Seen\\FirstProgram\\Kalkulacka\\KalkulackaNasobicka.csproj","outputPath":"C:\\Users\\lukas\\Nextcloud\\GitHub\\.Net_C.Sharp_Test\\C#\\C# Basic Udemy Seen\\FirstProgram\\Kalkulacka\\obj\\","projectStyle":"PackageReference","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"}}
|
@ -0,0 +1 @@
|
||||
16935993519005517
|
@ -0,0 +1 @@
|
||||
16935993519005517
|
10
C#/C# Basic Udemy Seen/FirstProgram/Metody/Metody.csproj
Normal file
10
C#/C# Basic Udemy Seen/FirstProgram/Metody/Metody.csproj
Normal 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>
|
22
C#/C# Basic Udemy Seen/FirstProgram/Metody/Program.cs
Normal file
22
C#/C# Basic Udemy Seen/FirstProgram/Metody/Program.cs
Normal file
@ -0,0 +1,22 @@
|
||||
namespace Metody
|
||||
{
|
||||
internal class Program
|
||||
{
|
||||
static void Main(string[] args) // zde pouštíme na importované medoty níže
|
||||
{
|
||||
SayHelloWorld(); // <-- Parametr
|
||||
CusSportak();
|
||||
Console.ReadLine();
|
||||
}
|
||||
// další metoda
|
||||
static void SayHelloWorld() // <-- toto je metoda
|
||||
{
|
||||
Console.WriteLine("HelloWorld!");
|
||||
}
|
||||
|
||||
static void CusSportak()
|
||||
{
|
||||
Console.WriteLine("Čus Sporťák!");
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,23 @@
|
||||
{
|
||||
"runtimeTarget": {
|
||||
"name": ".NETCoreApp,Version=v7.0",
|
||||
"signature": ""
|
||||
},
|
||||
"compilationOptions": {},
|
||||
"targets": {
|
||||
".NETCoreApp,Version=v7.0": {
|
||||
"Metody/1.0.0": {
|
||||
"runtime": {
|
||||
"Metody.dll": {}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"libraries": {
|
||||
"Metody/1.0.0": {
|
||||
"type": "project",
|
||||
"serviceable": false,
|
||||
"sha512": ""
|
||||
}
|
||||
}
|
||||
}
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,9 @@
|
||||
{
|
||||
"runtimeOptions": {
|
||||
"tfm": "net7.0",
|
||||
"framework": {
|
||||
"name": "Microsoft.NETCore.App",
|
||||
"version": "7.0.0"
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,4 @@
|
||||
// <autogenerated />
|
||||
using System;
|
||||
using System.Reflection;
|
||||
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v7.0", FrameworkDisplayName = ".NET 7.0")]
|
@ -0,0 +1,22 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
//
|
||||
// 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("Metody")]
|
||||
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
||||
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
|
||||
[assembly: System.Reflection.AssemblyProductAttribute("Metody")]
|
||||
[assembly: System.Reflection.AssemblyTitleAttribute("Metody")]
|
||||
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
||||
|
||||
// Vygenerované třídou WriteCodeFragment nástroje MSBuild
|
||||
|
@ -0,0 +1 @@
|
||||
56db7413474315d796306d90dceee5cdf1e7f3f5
|
@ -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 = Metody
|
||||
build_property.ProjectDir = C:\Users\lukas\Nextcloud\GitHub\.Net_C.Sharp_Test\C#\C# Basic Udemy Seen\FirstProgram\Metody\
|
@ -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 @@
|
||||
d202a4824bb31a5af275532b884da1a11dc286fc
|
@ -0,0 +1,14 @@
|
||||
C:\Users\lukas\Nextcloud\GitHub\.Net_C.Sharp_Test\C#\C# Basic Udemy Seen\FirstProgram\Metody\bin\Debug\net7.0\Metody.exe
|
||||
C:\Users\lukas\Nextcloud\GitHub\.Net_C.Sharp_Test\C#\C# Basic Udemy Seen\FirstProgram\Metody\bin\Debug\net7.0\Metody.deps.json
|
||||
C:\Users\lukas\Nextcloud\GitHub\.Net_C.Sharp_Test\C#\C# Basic Udemy Seen\FirstProgram\Metody\bin\Debug\net7.0\Metody.runtimeconfig.json
|
||||
C:\Users\lukas\Nextcloud\GitHub\.Net_C.Sharp_Test\C#\C# Basic Udemy Seen\FirstProgram\Metody\bin\Debug\net7.0\Metody.dll
|
||||
C:\Users\lukas\Nextcloud\GitHub\.Net_C.Sharp_Test\C#\C# Basic Udemy Seen\FirstProgram\Metody\bin\Debug\net7.0\Metody.pdb
|
||||
C:\Users\lukas\Nextcloud\GitHub\.Net_C.Sharp_Test\C#\C# Basic Udemy Seen\FirstProgram\Metody\obj\Debug\net7.0\Metody.GeneratedMSBuildEditorConfig.editorconfig
|
||||
C:\Users\lukas\Nextcloud\GitHub\.Net_C.Sharp_Test\C#\C# Basic Udemy Seen\FirstProgram\Metody\obj\Debug\net7.0\Metody.AssemblyInfoInputs.cache
|
||||
C:\Users\lukas\Nextcloud\GitHub\.Net_C.Sharp_Test\C#\C# Basic Udemy Seen\FirstProgram\Metody\obj\Debug\net7.0\Metody.AssemblyInfo.cs
|
||||
C:\Users\lukas\Nextcloud\GitHub\.Net_C.Sharp_Test\C#\C# Basic Udemy Seen\FirstProgram\Metody\obj\Debug\net7.0\Metody.csproj.CoreCompileInputs.cache
|
||||
C:\Users\lukas\Nextcloud\GitHub\.Net_C.Sharp_Test\C#\C# Basic Udemy Seen\FirstProgram\Metody\obj\Debug\net7.0\Metody.dll
|
||||
C:\Users\lukas\Nextcloud\GitHub\.Net_C.Sharp_Test\C#\C# Basic Udemy Seen\FirstProgram\Metody\obj\Debug\net7.0\refint\Metody.dll
|
||||
C:\Users\lukas\Nextcloud\GitHub\.Net_C.Sharp_Test\C#\C# Basic Udemy Seen\FirstProgram\Metody\obj\Debug\net7.0\Metody.pdb
|
||||
C:\Users\lukas\Nextcloud\GitHub\.Net_C.Sharp_Test\C#\C# Basic Udemy Seen\FirstProgram\Metody\obj\Debug\net7.0\Metody.genruntimeconfig.cache
|
||||
C:\Users\lukas\Nextcloud\GitHub\.Net_C.Sharp_Test\C#\C# Basic Udemy Seen\FirstProgram\Metody\obj\Debug\net7.0\ref\Metody.dll
|
Binary file not shown.
@ -0,0 +1 @@
|
||||
28d9a4dd7a1d5dd5faa676995c4ae6a9d90b9595
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,63 @@
|
||||
{
|
||||
"format": 1,
|
||||
"restore": {
|
||||
"C:\\Users\\lukas\\Nextcloud\\GitHub\\.Net_C.Sharp_Test\\C#\\C# Basic Udemy Seen\\FirstProgram\\Metody\\Metody.csproj": {}
|
||||
},
|
||||
"projects": {
|
||||
"C:\\Users\\lukas\\Nextcloud\\GitHub\\.Net_C.Sharp_Test\\C#\\C# Basic Udemy Seen\\FirstProgram\\Metody\\Metody.csproj": {
|
||||
"version": "1.0.0",
|
||||
"restore": {
|
||||
"projectUniqueName": "C:\\Users\\lukas\\Nextcloud\\GitHub\\.Net_C.Sharp_Test\\C#\\C# Basic Udemy Seen\\FirstProgram\\Metody\\Metody.csproj",
|
||||
"projectName": "Metody",
|
||||
"projectPath": "C:\\Users\\lukas\\Nextcloud\\GitHub\\.Net_C.Sharp_Test\\C#\\C# Basic Udemy Seen\\FirstProgram\\Metody\\Metody.csproj",
|
||||
"packagesPath": "C:\\Users\\lukas\\.nuget\\packages\\",
|
||||
"outputPath": "C:\\Users\\lukas\\Nextcloud\\GitHub\\.Net_C.Sharp_Test\\C#\\C# Basic Udemy Seen\\FirstProgram\\Metody\\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"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@ -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.6.0</NuGetToolVersion>
|
||||
</PropertyGroup>
|
||||
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
||||
<SourceRoot Include="C:\Users\lukas\.nuget\packages\" />
|
||||
</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,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#\\C# Basic Udemy Seen\\FirstProgram\\Metody\\Metody.csproj",
|
||||
"projectName": "Metody",
|
||||
"projectPath": "C:\\Users\\lukas\\Nextcloud\\GitHub\\.Net_C.Sharp_Test\\C#\\C# Basic Udemy Seen\\FirstProgram\\Metody\\Metody.csproj",
|
||||
"packagesPath": "C:\\Users\\lukas\\.nuget\\packages\\",
|
||||
"outputPath": "C:\\Users\\lukas\\Nextcloud\\GitHub\\.Net_C.Sharp_Test\\C#\\C# Basic Udemy Seen\\FirstProgram\\Metody\\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"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,8 @@
|
||||
{
|
||||
"version": 2,
|
||||
"dgSpecHash": "QqwLS26xgW6Y7NHG4xzj6sS8zcUH311vTh/nTcLQclEX6LAIpEujQ8QkYCbZ7JH66C4aTFzcCFuYbzKrrZ8v5w==",
|
||||
"success": true,
|
||||
"projectFilePath": "C:\\Users\\lukas\\Nextcloud\\GitHub\\.Net_C.Sharp_Test\\C#\\C# Basic Udemy Seen\\FirstProgram\\Metody\\Metody.csproj",
|
||||
"expectedPackageFiles": [],
|
||||
"logs": []
|
||||
}
|
@ -0,0 +1 @@
|
||||
"restore":{"projectUniqueName":"C:\\Users\\lukas\\Nextcloud\\GitHub\\.Net_C.Sharp_Test\\C#\\C# Basic Udemy Seen\\FirstProgram\\Metody\\Metody.csproj","projectName":"Metody","projectPath":"C:\\Users\\lukas\\Nextcloud\\GitHub\\.Net_C.Sharp_Test\\C#\\C# Basic Udemy Seen\\FirstProgram\\Metody\\Metody.csproj","outputPath":"C:\\Users\\lukas\\Nextcloud\\GitHub\\.Net_C.Sharp_Test\\C#\\C# Basic Udemy Seen\\FirstProgram\\Metody\\obj\\","projectStyle":"PackageReference","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"}}
|
@ -0,0 +1 @@
|
||||
16938301466651625
|
10
C#/C# Basic Udemy Seen/FirstProgram/Metody2/Metody2.csproj
Normal file
10
C#/C# Basic Udemy Seen/FirstProgram/Metody2/Metody2.csproj
Normal 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>
|
32
C#/C# Basic Udemy Seen/FirstProgram/Metody2/Program.cs
Normal file
32
C#/C# Basic Udemy Seen/FirstProgram/Metody2/Program.cs
Normal file
@ -0,0 +1,32 @@
|
||||
namespace Metody2
|
||||
{
|
||||
internal class Program
|
||||
{
|
||||
static void Main(string[] args) // zde pouštíme na importované medoty níže
|
||||
{
|
||||
Console.WriteLine("What is your name?");
|
||||
string name = Console.ReadLine(); // <-- zde místo náme může být SayHelloUser a také to bude fungovat
|
||||
|
||||
Console.WriteLine("What is your age?");
|
||||
int age = Convert.ToInt32(Console.ReadLine()); // <-- uživatel musí zadat číslo
|
||||
|
||||
SayHelloUser(name, age);
|
||||
|
||||
Console.ReadLine();
|
||||
}
|
||||
// další metoda
|
||||
static void SayHelloUser(string name, int age )
|
||||
/*
|
||||
* <-- toto je metoda a její parametr name propojíme s metodou výšše
|
||||
* Parametru můžeme do metody vložit více
|
||||
* Uvnitř metody může mít parametr jiný název
|
||||
*
|
||||
*/
|
||||
{
|
||||
Console.WriteLine("Hello " + name);
|
||||
Console.WriteLine("Your age is: " + age);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
@ -0,0 +1,23 @@
|
||||
{
|
||||
"runtimeTarget": {
|
||||
"name": ".NETCoreApp,Version=v7.0",
|
||||
"signature": ""
|
||||
},
|
||||
"compilationOptions": {},
|
||||
"targets": {
|
||||
".NETCoreApp,Version=v7.0": {
|
||||
"Metody2/1.0.0": {
|
||||
"runtime": {
|
||||
"Metody2.dll": {}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"libraries": {
|
||||
"Metody2/1.0.0": {
|
||||
"type": "project",
|
||||
"serviceable": false,
|
||||
"sha512": ""
|
||||
}
|
||||
}
|
||||
}
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,9 @@
|
||||
{
|
||||
"runtimeOptions": {
|
||||
"tfm": "net7.0",
|
||||
"framework": {
|
||||
"name": "Microsoft.NETCore.App",
|
||||
"version": "7.0.0"
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,4 @@
|
||||
// <autogenerated />
|
||||
using System;
|
||||
using System.Reflection;
|
||||
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v7.0", FrameworkDisplayName = ".NET 7.0")]
|
@ -0,0 +1,22 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
//
|
||||
// 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("Metody2")]
|
||||
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
||||
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
|
||||
[assembly: System.Reflection.AssemblyProductAttribute("Metody2")]
|
||||
[assembly: System.Reflection.AssemblyTitleAttribute("Metody2")]
|
||||
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
||||
|
||||
// Vygenerované třídou WriteCodeFragment nástroje MSBuild
|
||||
|
@ -0,0 +1 @@
|
||||
2e53b98aa6a6a679d98d6790b8f845101beeb0e7
|
@ -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 = Metody2
|
||||
build_property.ProjectDir = C:\Users\lukas\Nextcloud\GitHub\.Net_C.Sharp_Test\C#\C# Basic Udemy Seen\FirstProgram\Metody2\
|
@ -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 @@
|
||||
6631e8fe5e78acd406134d3eacd6d1a6f0c6ff36
|
@ -0,0 +1,14 @@
|
||||
C:\Users\lukas\Nextcloud\GitHub\.Net_C.Sharp_Test\C#\C# Basic Udemy Seen\FirstProgram\Metody2\bin\Debug\net7.0\Metody2.exe
|
||||
C:\Users\lukas\Nextcloud\GitHub\.Net_C.Sharp_Test\C#\C# Basic Udemy Seen\FirstProgram\Metody2\bin\Debug\net7.0\Metody2.deps.json
|
||||
C:\Users\lukas\Nextcloud\GitHub\.Net_C.Sharp_Test\C#\C# Basic Udemy Seen\FirstProgram\Metody2\bin\Debug\net7.0\Metody2.runtimeconfig.json
|
||||
C:\Users\lukas\Nextcloud\GitHub\.Net_C.Sharp_Test\C#\C# Basic Udemy Seen\FirstProgram\Metody2\bin\Debug\net7.0\Metody2.dll
|
||||
C:\Users\lukas\Nextcloud\GitHub\.Net_C.Sharp_Test\C#\C# Basic Udemy Seen\FirstProgram\Metody2\bin\Debug\net7.0\Metody2.pdb
|
||||
C:\Users\lukas\Nextcloud\GitHub\.Net_C.Sharp_Test\C#\C# Basic Udemy Seen\FirstProgram\Metody2\obj\Debug\net7.0\Metody2.GeneratedMSBuildEditorConfig.editorconfig
|
||||
C:\Users\lukas\Nextcloud\GitHub\.Net_C.Sharp_Test\C#\C# Basic Udemy Seen\FirstProgram\Metody2\obj\Debug\net7.0\Metody2.AssemblyInfoInputs.cache
|
||||
C:\Users\lukas\Nextcloud\GitHub\.Net_C.Sharp_Test\C#\C# Basic Udemy Seen\FirstProgram\Metody2\obj\Debug\net7.0\Metody2.AssemblyInfo.cs
|
||||
C:\Users\lukas\Nextcloud\GitHub\.Net_C.Sharp_Test\C#\C# Basic Udemy Seen\FirstProgram\Metody2\obj\Debug\net7.0\Metody2.csproj.CoreCompileInputs.cache
|
||||
C:\Users\lukas\Nextcloud\GitHub\.Net_C.Sharp_Test\C#\C# Basic Udemy Seen\FirstProgram\Metody2\obj\Debug\net7.0\Metody2.dll
|
||||
C:\Users\lukas\Nextcloud\GitHub\.Net_C.Sharp_Test\C#\C# Basic Udemy Seen\FirstProgram\Metody2\obj\Debug\net7.0\refint\Metody2.dll
|
||||
C:\Users\lukas\Nextcloud\GitHub\.Net_C.Sharp_Test\C#\C# Basic Udemy Seen\FirstProgram\Metody2\obj\Debug\net7.0\Metody2.pdb
|
||||
C:\Users\lukas\Nextcloud\GitHub\.Net_C.Sharp_Test\C#\C# Basic Udemy Seen\FirstProgram\Metody2\obj\Debug\net7.0\Metody2.genruntimeconfig.cache
|
||||
C:\Users\lukas\Nextcloud\GitHub\.Net_C.Sharp_Test\C#\C# Basic Udemy Seen\FirstProgram\Metody2\obj\Debug\net7.0\ref\Metody2.dll
|
Binary file not shown.
@ -0,0 +1 @@
|
||||
58f7159dee048d0d598ab1a78c6199b92785da52
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,63 @@
|
||||
{
|
||||
"format": 1,
|
||||
"restore": {
|
||||
"C:\\Users\\lukas\\Nextcloud\\GitHub\\.Net_C.Sharp_Test\\C#\\C# Basic Udemy Seen\\FirstProgram\\Metody2\\Metody2.csproj": {}
|
||||
},
|
||||
"projects": {
|
||||
"C:\\Users\\lukas\\Nextcloud\\GitHub\\.Net_C.Sharp_Test\\C#\\C# Basic Udemy Seen\\FirstProgram\\Metody2\\Metody2.csproj": {
|
||||
"version": "1.0.0",
|
||||
"restore": {
|
||||
"projectUniqueName": "C:\\Users\\lukas\\Nextcloud\\GitHub\\.Net_C.Sharp_Test\\C#\\C# Basic Udemy Seen\\FirstProgram\\Metody2\\Metody2.csproj",
|
||||
"projectName": "Metody2",
|
||||
"projectPath": "C:\\Users\\lukas\\Nextcloud\\GitHub\\.Net_C.Sharp_Test\\C#\\C# Basic Udemy Seen\\FirstProgram\\Metody2\\Metody2.csproj",
|
||||
"packagesPath": "C:\\Users\\lukas\\.nuget\\packages\\",
|
||||
"outputPath": "C:\\Users\\lukas\\Nextcloud\\GitHub\\.Net_C.Sharp_Test\\C#\\C# Basic Udemy Seen\\FirstProgram\\Metody2\\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"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@ -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.6.0</NuGetToolVersion>
|
||||
</PropertyGroup>
|
||||
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
||||
<SourceRoot Include="C:\Users\lukas\.nuget\packages\" />
|
||||
</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,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#\\C# Basic Udemy Seen\\FirstProgram\\Metody2\\Metody2.csproj",
|
||||
"projectName": "Metody2",
|
||||
"projectPath": "C:\\Users\\lukas\\Nextcloud\\GitHub\\.Net_C.Sharp_Test\\C#\\C# Basic Udemy Seen\\FirstProgram\\Metody2\\Metody2.csproj",
|
||||
"packagesPath": "C:\\Users\\lukas\\.nuget\\packages\\",
|
||||
"outputPath": "C:\\Users\\lukas\\Nextcloud\\GitHub\\.Net_C.Sharp_Test\\C#\\C# Basic Udemy Seen\\FirstProgram\\Metody2\\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"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,8 @@
|
||||
{
|
||||
"version": 2,
|
||||
"dgSpecHash": "fcgnECMtzZp7fJfKrZfq7kJfpYj7QbacE7mIiPbMHGfESQY6Cb6c+iPrNNFwDLwuVBKWPfAx2zAPgQaoKe1K6Q==",
|
||||
"success": true,
|
||||
"projectFilePath": "C:\\Users\\lukas\\Nextcloud\\GitHub\\.Net_C.Sharp_Test\\C#\\C# Basic Udemy Seen\\FirstProgram\\Metody2\\Metody2.csproj",
|
||||
"expectedPackageFiles": [],
|
||||
"logs": []
|
||||
}
|
@ -0,0 +1 @@
|
||||
"restore":{"projectUniqueName":"C:\\Users\\lukas\\Nextcloud\\GitHub\\.Net_C.Sharp_Test\\C#\\C# Basic Udemy Seen\\FirstProgram\\Metody2\\Metody2.csproj","projectName":"Metody2","projectPath":"C:\\Users\\lukas\\Nextcloud\\GitHub\\.Net_C.Sharp_Test\\C#\\C# Basic Udemy Seen\\FirstProgram\\Metody2\\Metody2.csproj","outputPath":"C:\\Users\\lukas\\Nextcloud\\GitHub\\.Net_C.Sharp_Test\\C#\\C# Basic Udemy Seen\\FirstProgram\\Metody2\\obj\\","projectStyle":"PackageReference","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"}}
|
@ -0,0 +1 @@
|
||||
16938325560610731
|
@ -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>
|
21
C#/C# Basic Udemy Seen/FirstProgram/Metody3Return/Program.cs
Normal file
21
C#/C# Basic Udemy Seen/FirstProgram/Metody3Return/Program.cs
Normal file
@ -0,0 +1,21 @@
|
||||
|
||||
namespace Metody3Return
|
||||
{
|
||||
internal class Program
|
||||
{
|
||||
static void Main(string[] args)
|
||||
{
|
||||
|
||||
string name = AkForUsersName();
|
||||
Console.WriteLine("Hello " + name);
|
||||
|
||||
Console.ReadLine();
|
||||
}
|
||||
static string AkForUsersName() //navratová metoda
|
||||
{
|
||||
Console.WriteLine("What is your name?");
|
||||
string nameOfTheUser = Console.ReadLine();
|
||||
return nameOfTheUser; // vracíme proměnou string zpět do první metody
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,23 @@
|
||||
{
|
||||
"runtimeTarget": {
|
||||
"name": ".NETCoreApp,Version=v7.0",
|
||||
"signature": ""
|
||||
},
|
||||
"compilationOptions": {},
|
||||
"targets": {
|
||||
".NETCoreApp,Version=v7.0": {
|
||||
"Metody3Return/1.0.0": {
|
||||
"runtime": {
|
||||
"Metody3Return.dll": {}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"libraries": {
|
||||
"Metody3Return/1.0.0": {
|
||||
"type": "project",
|
||||
"serviceable": false,
|
||||
"sha512": ""
|
||||
}
|
||||
}
|
||||
}
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,9 @@
|
||||
{
|
||||
"runtimeOptions": {
|
||||
"tfm": "net7.0",
|
||||
"framework": {
|
||||
"name": "Microsoft.NETCore.App",
|
||||
"version": "7.0.0"
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,4 @@
|
||||
// <autogenerated />
|
||||
using System;
|
||||
using System.Reflection;
|
||||
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v7.0", FrameworkDisplayName = ".NET 7.0")]
|
@ -0,0 +1,22 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
//
|
||||
// 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("Metody3Return")]
|
||||
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
||||
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
|
||||
[assembly: System.Reflection.AssemblyProductAttribute("Metody3Return")]
|
||||
[assembly: System.Reflection.AssemblyTitleAttribute("Metody3Return")]
|
||||
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
||||
|
||||
// Vygenerované třídou WriteCodeFragment nástroje MSBuild
|
||||
|
@ -0,0 +1 @@
|
||||
2d407bc4af361e74db36009b405879bbf7324b10
|
@ -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 = Metody3Return
|
||||
build_property.ProjectDir = C:\Users\lukas\Nextcloud\GitHub\.Net_C.Sharp_Test\C#\C# Basic Udemy Seen\FirstProgram\Metody3Return\
|
@ -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 @@
|
||||
e2243cf429171e92bb7001fdd761784528f76a53
|
@ -0,0 +1,14 @@
|
||||
C:\Users\lukas\Nextcloud\GitHub\.Net_C.Sharp_Test\C#\C# Basic Udemy Seen\FirstProgram\Metody3Return\bin\Debug\net7.0\Metody3Return.exe
|
||||
C:\Users\lukas\Nextcloud\GitHub\.Net_C.Sharp_Test\C#\C# Basic Udemy Seen\FirstProgram\Metody3Return\bin\Debug\net7.0\Metody3Return.deps.json
|
||||
C:\Users\lukas\Nextcloud\GitHub\.Net_C.Sharp_Test\C#\C# Basic Udemy Seen\FirstProgram\Metody3Return\bin\Debug\net7.0\Metody3Return.runtimeconfig.json
|
||||
C:\Users\lukas\Nextcloud\GitHub\.Net_C.Sharp_Test\C#\C# Basic Udemy Seen\FirstProgram\Metody3Return\bin\Debug\net7.0\Metody3Return.dll
|
||||
C:\Users\lukas\Nextcloud\GitHub\.Net_C.Sharp_Test\C#\C# Basic Udemy Seen\FirstProgram\Metody3Return\bin\Debug\net7.0\Metody3Return.pdb
|
||||
C:\Users\lukas\Nextcloud\GitHub\.Net_C.Sharp_Test\C#\C# Basic Udemy Seen\FirstProgram\Metody3Return\obj\Debug\net7.0\Metody3Return.GeneratedMSBuildEditorConfig.editorconfig
|
||||
C:\Users\lukas\Nextcloud\GitHub\.Net_C.Sharp_Test\C#\C# Basic Udemy Seen\FirstProgram\Metody3Return\obj\Debug\net7.0\Metody3Return.AssemblyInfoInputs.cache
|
||||
C:\Users\lukas\Nextcloud\GitHub\.Net_C.Sharp_Test\C#\C# Basic Udemy Seen\FirstProgram\Metody3Return\obj\Debug\net7.0\Metody3Return.AssemblyInfo.cs
|
||||
C:\Users\lukas\Nextcloud\GitHub\.Net_C.Sharp_Test\C#\C# Basic Udemy Seen\FirstProgram\Metody3Return\obj\Debug\net7.0\Metody3Return.csproj.CoreCompileInputs.cache
|
||||
C:\Users\lukas\Nextcloud\GitHub\.Net_C.Sharp_Test\C#\C# Basic Udemy Seen\FirstProgram\Metody3Return\obj\Debug\net7.0\Metody3Return.dll
|
||||
C:\Users\lukas\Nextcloud\GitHub\.Net_C.Sharp_Test\C#\C# Basic Udemy Seen\FirstProgram\Metody3Return\obj\Debug\net7.0\refint\Metody3Return.dll
|
||||
C:\Users\lukas\Nextcloud\GitHub\.Net_C.Sharp_Test\C#\C# Basic Udemy Seen\FirstProgram\Metody3Return\obj\Debug\net7.0\Metody3Return.pdb
|
||||
C:\Users\lukas\Nextcloud\GitHub\.Net_C.Sharp_Test\C#\C# Basic Udemy Seen\FirstProgram\Metody3Return\obj\Debug\net7.0\Metody3Return.genruntimeconfig.cache
|
||||
C:\Users\lukas\Nextcloud\GitHub\.Net_C.Sharp_Test\C#\C# Basic Udemy Seen\FirstProgram\Metody3Return\obj\Debug\net7.0\ref\Metody3Return.dll
|
Binary file not shown.
@ -0,0 +1 @@
|
||||
bb9bbd34d18d99b2c95fa56bda31699639443d9b
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user