C# basic udemy, vs2022
This commit is contained in:
parent
b7ad7e658f
commit
0bd93d28fc
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
C#/C# Basic Udemy Seen/FirstProgram/.vs/FirstProgram/v17/.suo
Normal file
BIN
C#/C# Basic Udemy Seen/FirstProgram/.vs/FirstProgram/v17/.suo
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -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>
|
35
C#/C# Basic Udemy Seen/FirstProgram/DatoveTypy/Program.cs
Normal file
35
C#/C# Basic Udemy Seen/FirstProgram/DatoveTypy/Program.cs
Normal file
@ -0,0 +1,35 @@
|
||||
namespace DatoveTypy
|
||||
{
|
||||
internal class Program
|
||||
{
|
||||
static void Main(string[] args)
|
||||
{
|
||||
// příklad zběratelská karta
|
||||
string firstName = "Spongebob";
|
||||
string lastName = "Squarepants";
|
||||
int age = 21;
|
||||
int weight = 20;
|
||||
|
||||
double height = 1.45;
|
||||
float height1 = 1.45f;
|
||||
decimal height2 = 1.45m; // velká přesnost, dlouhé číslo, vhodné do bank
|
||||
|
||||
bool isFirstEditionCards = true;
|
||||
|
||||
char grade = 'A'; // char oproti string má jedno písmeno
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Console.WriteLine(firstName);
|
||||
Console.WriteLine(lastName);
|
||||
Console.WriteLine(age);
|
||||
Console.WriteLine(weight);
|
||||
Console.WriteLine(height);
|
||||
Console.WriteLine(isFirstEditionCards);
|
||||
Console.WriteLine(grade);
|
||||
Console.ReadLine();
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,23 @@
|
||||
{
|
||||
"runtimeTarget": {
|
||||
"name": ".NETCoreApp,Version=v7.0",
|
||||
"signature": ""
|
||||
},
|
||||
"compilationOptions": {},
|
||||
"targets": {
|
||||
".NETCoreApp,Version=v7.0": {
|
||||
"DatoveTypy/1.0.0": {
|
||||
"runtime": {
|
||||
"DatoveTypy.dll": {}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"libraries": {
|
||||
"DatoveTypy/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,63 @@
|
||||
{
|
||||
"format": 1,
|
||||
"restore": {
|
||||
"C:\\Users\\lukas\\Nextcloud\\GitHub\\.Net_C.Sharp_Test\\C#\\C# Basic Udemy Seen\\FirstProgram\\DatoveTypy\\DatoveTypy.csproj": {}
|
||||
},
|
||||
"projects": {
|
||||
"C:\\Users\\lukas\\Nextcloud\\GitHub\\.Net_C.Sharp_Test\\C#\\C# Basic Udemy Seen\\FirstProgram\\DatoveTypy\\DatoveTypy.csproj": {
|
||||
"version": "1.0.0",
|
||||
"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",
|
||||
"packagesPath": "C:\\Users\\lukas\\.nuget\\packages\\",
|
||||
"outputPath": "C:\\Users\\lukas\\Nextcloud\\GitHub\\.Net_C.Sharp_Test\\C#\\C# Basic Udemy Seen\\FirstProgram\\DatoveTypy\\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.7.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,4 @@
|
||||
// <autogenerated />
|
||||
using System;
|
||||
using System.Reflection;
|
||||
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v7.0", FrameworkDisplayName = ".NET 7.0")]
|
@ -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("DatoveTypy")]
|
||||
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
||||
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
|
||||
[assembly: System.Reflection.AssemblyProductAttribute("DatoveTypy")]
|
||||
[assembly: System.Reflection.AssemblyTitleAttribute("DatoveTypy")]
|
||||
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
||||
|
||||
// Generated by the MSBuild WriteCodeFragment class.
|
||||
|
@ -0,0 +1 @@
|
||||
579ea9d81cfd36d52e988c29179d79e75e8e04ca
|
@ -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 = DatoveTypy
|
||||
build_property.ProjectDir = C:\Users\lukas\Nextcloud\GitHub\.Net_C.Sharp_Test\C#\C# Basic Udemy Seen\FirstProgram\DatoveTypy\
|
@ -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 @@
|
||||
1437571661bfe24e36f404b9c2b8f45032ee285c
|
@ -0,0 +1,14 @@
|
||||
C:\Users\lukas\Nextcloud\GitHub\.Net_C.Sharp_Test\C#\C# Basic Udemy Seen\FirstProgram\DatoveTypy\bin\Debug\net7.0\DatoveTypy.exe
|
||||
C:\Users\lukas\Nextcloud\GitHub\.Net_C.Sharp_Test\C#\C# Basic Udemy Seen\FirstProgram\DatoveTypy\bin\Debug\net7.0\DatoveTypy.deps.json
|
||||
C:\Users\lukas\Nextcloud\GitHub\.Net_C.Sharp_Test\C#\C# Basic Udemy Seen\FirstProgram\DatoveTypy\bin\Debug\net7.0\DatoveTypy.runtimeconfig.json
|
||||
C:\Users\lukas\Nextcloud\GitHub\.Net_C.Sharp_Test\C#\C# Basic Udemy Seen\FirstProgram\DatoveTypy\bin\Debug\net7.0\DatoveTypy.dll
|
||||
C:\Users\lukas\Nextcloud\GitHub\.Net_C.Sharp_Test\C#\C# Basic Udemy Seen\FirstProgram\DatoveTypy\bin\Debug\net7.0\DatoveTypy.pdb
|
||||
C:\Users\lukas\Nextcloud\GitHub\.Net_C.Sharp_Test\C#\C# Basic Udemy Seen\FirstProgram\DatoveTypy\obj\Debug\net7.0\DatoveTypy.GeneratedMSBuildEditorConfig.editorconfig
|
||||
C:\Users\lukas\Nextcloud\GitHub\.Net_C.Sharp_Test\C#\C# Basic Udemy Seen\FirstProgram\DatoveTypy\obj\Debug\net7.0\DatoveTypy.AssemblyInfoInputs.cache
|
||||
C:\Users\lukas\Nextcloud\GitHub\.Net_C.Sharp_Test\C#\C# Basic Udemy Seen\FirstProgram\DatoveTypy\obj\Debug\net7.0\DatoveTypy.AssemblyInfo.cs
|
||||
C:\Users\lukas\Nextcloud\GitHub\.Net_C.Sharp_Test\C#\C# Basic Udemy Seen\FirstProgram\DatoveTypy\obj\Debug\net7.0\DatoveTypy.csproj.CoreCompileInputs.cache
|
||||
C:\Users\lukas\Nextcloud\GitHub\.Net_C.Sharp_Test\C#\C# Basic Udemy Seen\FirstProgram\DatoveTypy\obj\Debug\net7.0\DatoveTypy.dll
|
||||
C:\Users\lukas\Nextcloud\GitHub\.Net_C.Sharp_Test\C#\C# Basic Udemy Seen\FirstProgram\DatoveTypy\obj\Debug\net7.0\refint\DatoveTypy.dll
|
||||
C:\Users\lukas\Nextcloud\GitHub\.Net_C.Sharp_Test\C#\C# Basic Udemy Seen\FirstProgram\DatoveTypy\obj\Debug\net7.0\DatoveTypy.pdb
|
||||
C:\Users\lukas\Nextcloud\GitHub\.Net_C.Sharp_Test\C#\C# Basic Udemy Seen\FirstProgram\DatoveTypy\obj\Debug\net7.0\DatoveTypy.genruntimeconfig.cache
|
||||
C:\Users\lukas\Nextcloud\GitHub\.Net_C.Sharp_Test\C#\C# Basic Udemy Seen\FirstProgram\DatoveTypy\obj\Debug\net7.0\ref\DatoveTypy.dll
|
Binary file not shown.
@ -0,0 +1 @@
|
||||
b5040b0fadec126521074eb7becd141a84b29e14
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -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\\DatoveTypy\\DatoveTypy.csproj",
|
||||
"projectName": "DatoveTypy",
|
||||
"projectPath": "C:\\Users\\lukas\\Nextcloud\\GitHub\\.Net_C.Sharp_Test\\C#\\C# Basic Udemy Seen\\FirstProgram\\DatoveTypy\\DatoveTypy.csproj",
|
||||
"packagesPath": "C:\\Users\\lukas\\.nuget\\packages\\",
|
||||
"outputPath": "C:\\Users\\lukas\\Nextcloud\\GitHub\\.Net_C.Sharp_Test\\C#\\C# Basic Udemy Seen\\FirstProgram\\DatoveTypy\\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": "syBN4+PdVQ/IXEqFeMntWOqbg+ExCnaYsfYmdWEEPuSF9PiXsnj2Dx0bm3VwKtKS9mxfDB0OcJsxOX77dUCSSQ==",
|
||||
"success": true,
|
||||
"projectFilePath": "C:\\Users\\lukas\\Nextcloud\\GitHub\\.Net_C.Sharp_Test\\C#\\C# Basic Udemy Seen\\FirstProgram\\DatoveTypy\\DatoveTypy.csproj",
|
||||
"expectedPackageFiles": [],
|
||||
"logs": []
|
||||
}
|
43
C#/C# Basic Udemy Seen/FirstProgram/FirstProgram.sln
Normal file
43
C#/C# Basic Udemy Seen/FirstProgram/FirstProgram.sln
Normal file
@ -0,0 +1,43 @@
|
||||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio Version 17
|
||||
VisualStudioVersion = 17.7.34018.315
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "FirstProgram", "FirstProgram\FirstProgram.csproj", "{8F901E81-AE4D-4D7E-9BCA-4B3ACBBA72F9}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ProměnneVariables", "Proměnne\ProměnneVariables.csproj", "{3C541B7C-BAAC-4531-94E7-A8AD571D8F1D}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DatoveTypy", "DatoveTypy\DatoveTypy.csproj", "{68EEE325-FD9E-4B4E-8BB3-DF8D5CAA4DEB}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Retezce", "Retezce\Retezce.csproj", "{7CFC35AD-3DBC-4A9D-8211-312C2DB4A6EE}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Release|Any CPU = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{8F901E81-AE4D-4D7E-9BCA-4B3ACBBA72F9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{8F901E81-AE4D-4D7E-9BCA-4B3ACBBA72F9}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{8F901E81-AE4D-4D7E-9BCA-4B3ACBBA72F9}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{8F901E81-AE4D-4D7E-9BCA-4B3ACBBA72F9}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{3C541B7C-BAAC-4531-94E7-A8AD571D8F1D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{3C541B7C-BAAC-4531-94E7-A8AD571D8F1D}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{3C541B7C-BAAC-4531-94E7-A8AD571D8F1D}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{3C541B7C-BAAC-4531-94E7-A8AD571D8F1D}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{68EEE325-FD9E-4B4E-8BB3-DF8D5CAA4DEB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{68EEE325-FD9E-4B4E-8BB3-DF8D5CAA4DEB}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{68EEE325-FD9E-4B4E-8BB3-DF8D5CAA4DEB}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{68EEE325-FD9E-4B4E-8BB3-DF8D5CAA4DEB}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{7CFC35AD-3DBC-4A9D-8211-312C2DB4A6EE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{7CFC35AD-3DBC-4A9D-8211-312C2DB4A6EE}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{7CFC35AD-3DBC-4A9D-8211-312C2DB4A6EE}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{7CFC35AD-3DBC-4A9D-8211-312C2DB4A6EE}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||
SolutionGuid = {42412680-0B73-4304-9787-9C97E4EBFE0F}
|
||||
EndGlobalSection
|
||||
EndGlobal
|
@ -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>
|
39
C#/C# Basic Udemy Seen/FirstProgram/FirstProgram/Program.cs
Normal file
39
C#/C# Basic Udemy Seen/FirstProgram/FirstProgram/Program.cs
Normal file
@ -0,0 +1,39 @@
|
||||
namespace FirstProgram
|
||||
{
|
||||
internal class Program
|
||||
{
|
||||
static void Main(string[] args)
|
||||
{
|
||||
Console.WriteLine("Ahojky");
|
||||
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();
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,23 @@
|
||||
{
|
||||
"runtimeTarget": {
|
||||
"name": ".NETCoreApp,Version=v7.0",
|
||||
"signature": ""
|
||||
},
|
||||
"compilationOptions": {},
|
||||
"targets": {
|
||||
".NETCoreApp,Version=v7.0": {
|
||||
"FirstProgram/1.0.0": {
|
||||
"runtime": {
|
||||
"FirstProgram.dll": {}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"libraries": {
|
||||
"FirstProgram/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,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("FirstProgram")]
|
||||
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
||||
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
|
||||
[assembly: System.Reflection.AssemblyProductAttribute("FirstProgram")]
|
||||
[assembly: System.Reflection.AssemblyTitleAttribute("FirstProgram")]
|
||||
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
||||
|
||||
// Generated by the MSBuild WriteCodeFragment class.
|
||||
|
@ -0,0 +1 @@
|
||||
79815bf3f72141922a2d5155d8817d06a1cb0159
|
@ -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 = FirstProgram
|
||||
build_property.ProjectDir = C:\Users\lukas\Nextcloud\GitHub\.Net_C.Sharp_Test\C#\C# Basic Udemy Seen\FirstProgram\FirstProgram\
|
@ -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 @@
|
||||
e1da65d38652f9d131ed2880bd9d8f0cced33412
|
@ -0,0 +1,14 @@
|
||||
C:\Users\lukas\Nextcloud\GitHub\.Net_C.Sharp_Test\C#\C# Basic Udemy Seen\FirstProgram\FirstProgram\bin\Debug\net7.0\FirstProgram.exe
|
||||
C:\Users\lukas\Nextcloud\GitHub\.Net_C.Sharp_Test\C#\C# Basic Udemy Seen\FirstProgram\FirstProgram\bin\Debug\net7.0\FirstProgram.deps.json
|
||||
C:\Users\lukas\Nextcloud\GitHub\.Net_C.Sharp_Test\C#\C# Basic Udemy Seen\FirstProgram\FirstProgram\bin\Debug\net7.0\FirstProgram.runtimeconfig.json
|
||||
C:\Users\lukas\Nextcloud\GitHub\.Net_C.Sharp_Test\C#\C# Basic Udemy Seen\FirstProgram\FirstProgram\bin\Debug\net7.0\FirstProgram.dll
|
||||
C:\Users\lukas\Nextcloud\GitHub\.Net_C.Sharp_Test\C#\C# Basic Udemy Seen\FirstProgram\FirstProgram\bin\Debug\net7.0\FirstProgram.pdb
|
||||
C:\Users\lukas\Nextcloud\GitHub\.Net_C.Sharp_Test\C#\C# Basic Udemy Seen\FirstProgram\FirstProgram\obj\Debug\net7.0\FirstProgram.GeneratedMSBuildEditorConfig.editorconfig
|
||||
C:\Users\lukas\Nextcloud\GitHub\.Net_C.Sharp_Test\C#\C# Basic Udemy Seen\FirstProgram\FirstProgram\obj\Debug\net7.0\FirstProgram.AssemblyInfoInputs.cache
|
||||
C:\Users\lukas\Nextcloud\GitHub\.Net_C.Sharp_Test\C#\C# Basic Udemy Seen\FirstProgram\FirstProgram\obj\Debug\net7.0\FirstProgram.AssemblyInfo.cs
|
||||
C:\Users\lukas\Nextcloud\GitHub\.Net_C.Sharp_Test\C#\C# Basic Udemy Seen\FirstProgram\FirstProgram\obj\Debug\net7.0\FirstProgram.csproj.CoreCompileInputs.cache
|
||||
C:\Users\lukas\Nextcloud\GitHub\.Net_C.Sharp_Test\C#\C# Basic Udemy Seen\FirstProgram\FirstProgram\obj\Debug\net7.0\FirstProgram.dll
|
||||
C:\Users\lukas\Nextcloud\GitHub\.Net_C.Sharp_Test\C#\C# Basic Udemy Seen\FirstProgram\FirstProgram\obj\Debug\net7.0\refint\FirstProgram.dll
|
||||
C:\Users\lukas\Nextcloud\GitHub\.Net_C.Sharp_Test\C#\C# Basic Udemy Seen\FirstProgram\FirstProgram\obj\Debug\net7.0\FirstProgram.pdb
|
||||
C:\Users\lukas\Nextcloud\GitHub\.Net_C.Sharp_Test\C#\C# Basic Udemy Seen\FirstProgram\FirstProgram\obj\Debug\net7.0\FirstProgram.genruntimeconfig.cache
|
||||
C:\Users\lukas\Nextcloud\GitHub\.Net_C.Sharp_Test\C#\C# Basic Udemy Seen\FirstProgram\FirstProgram\obj\Debug\net7.0\ref\FirstProgram.dll
|
Binary file not shown.
@ -0,0 +1 @@
|
||||
04712e64292c73fe4fce106d1535564d7d518cc3
|
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\\FirstProgram\\FirstProgram.csproj": {}
|
||||
},
|
||||
"projects": {
|
||||
"C:\\Users\\lukas\\Nextcloud\\GitHub\\.Net_C.Sharp_Test\\C#\\C# Basic Udemy Seen\\FirstProgram\\FirstProgram\\FirstProgram.csproj": {
|
||||
"version": "1.0.0",
|
||||
"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",
|
||||
"packagesPath": "C:\\Users\\lukas\\.nuget\\packages\\",
|
||||
"outputPath": "C:\\Users\\lukas\\Nextcloud\\GitHub\\.Net_C.Sharp_Test\\C#\\C# Basic Udemy Seen\\FirstProgram\\FirstProgram\\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.7.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\\FirstProgram\\FirstProgram.csproj",
|
||||
"projectName": "FirstProgram",
|
||||
"projectPath": "C:\\Users\\lukas\\Nextcloud\\GitHub\\.Net_C.Sharp_Test\\C#\\C# Basic Udemy Seen\\FirstProgram\\FirstProgram\\FirstProgram.csproj",
|
||||
"packagesPath": "C:\\Users\\lukas\\.nuget\\packages\\",
|
||||
"outputPath": "C:\\Users\\lukas\\Nextcloud\\GitHub\\.Net_C.Sharp_Test\\C#\\C# Basic Udemy Seen\\FirstProgram\\FirstProgram\\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": "hIIY3lQ6weSSUOD7euSJZk79b9AryXRemZ201Q8ejc3Vd1yYlZ2Fjs2/XSGdVmvOjYrSjP99MEMibeh76syGYw==",
|
||||
"success": true,
|
||||
"projectFilePath": "C:\\Users\\lukas\\Nextcloud\\GitHub\\.Net_C.Sharp_Test\\C#\\C# Basic Udemy Seen\\FirstProgram\\FirstProgram\\FirstProgram.csproj",
|
||||
"expectedPackageFiles": [],
|
||||
"logs": []
|
||||
}
|
17
C#/C# Basic Udemy Seen/FirstProgram/Proměnne/Program.cs
Normal file
17
C#/C# Basic Udemy Seen/FirstProgram/Proměnne/Program.cs
Normal file
@ -0,0 +1,17 @@
|
||||
namespace Proměnne
|
||||
{
|
||||
internal class Program
|
||||
{
|
||||
static void Main(string[] args)
|
||||
{
|
||||
string helloWorld;
|
||||
helloWorld = "Hello, World!"; // řetězcová proměnná
|
||||
Console.WriteLine(helloWorld);
|
||||
|
||||
helloWorld = "How are you?"; // řetězcová proměnná
|
||||
Console.WriteLine(helloWorld);
|
||||
|
||||
Console.ReadLine();
|
||||
}
|
||||
}
|
||||
}
|
@ -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>
|
@ -0,0 +1,23 @@
|
||||
{
|
||||
"runtimeTarget": {
|
||||
"name": ".NETCoreApp,Version=v7.0",
|
||||
"signature": ""
|
||||
},
|
||||
"compilationOptions": {},
|
||||
"targets": {
|
||||
".NETCoreApp,Version=v7.0": {
|
||||
"ProměnneVariables/1.0.0": {
|
||||
"runtime": {
|
||||
"ProměnneVariables.dll": {}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"libraries": {
|
||||
"ProměnneVariables/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,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("Proměnne")]
|
||||
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
||||
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
|
||||
[assembly: System.Reflection.AssemblyProductAttribute("Proměnne")]
|
||||
[assembly: System.Reflection.AssemblyTitleAttribute("Proměnne")]
|
||||
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
||||
|
||||
// Generated by the MSBuild WriteCodeFragment class.
|
||||
|
@ -0,0 +1 @@
|
||||
d5427c7c856abd122387fca381422803c6aa0656
|
@ -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 = Proměnne
|
||||
build_property.ProjectDir = C:\Users\lukas\Nextcloud\GitHub\.Net_C.Sharp_Test\C#\C# Basic Udemy Seen\FirstProgram\Proměnne\
|
@ -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,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("ProměnneVariables")]
|
||||
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
||||
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
|
||||
[assembly: System.Reflection.AssemblyProductAttribute("ProměnneVariables")]
|
||||
[assembly: System.Reflection.AssemblyTitleAttribute("ProměnneVariables")]
|
||||
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
||||
|
||||
// Generated by the MSBuild WriteCodeFragment class.
|
||||
|
@ -0,0 +1 @@
|
||||
2906c16f3297dad412098fcd438704ba27a6fcf3
|
@ -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 = ProměnneVariables
|
||||
build_property.ProjectDir = C:\Users\lukas\Nextcloud\GitHub\.Net_C.Sharp_Test\C#\C# Basic Udemy Seen\FirstProgram\Proměnne\
|
@ -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 @@
|
||||
9b583f9924a0d682b1782c3c4744075df69cd19b
|
@ -0,0 +1,14 @@
|
||||
C:\Users\lukas\Nextcloud\GitHub\.Net_C.Sharp_Test\C#\C# Basic Udemy Seen\FirstProgram\Proměnne\bin\Debug\net7.0\ProměnneVariables.exe
|
||||
C:\Users\lukas\Nextcloud\GitHub\.Net_C.Sharp_Test\C#\C# Basic Udemy Seen\FirstProgram\Proměnne\bin\Debug\net7.0\ProměnneVariables.deps.json
|
||||
C:\Users\lukas\Nextcloud\GitHub\.Net_C.Sharp_Test\C#\C# Basic Udemy Seen\FirstProgram\Proměnne\bin\Debug\net7.0\ProměnneVariables.runtimeconfig.json
|
||||
C:\Users\lukas\Nextcloud\GitHub\.Net_C.Sharp_Test\C#\C# Basic Udemy Seen\FirstProgram\Proměnne\bin\Debug\net7.0\ProměnneVariables.dll
|
||||
C:\Users\lukas\Nextcloud\GitHub\.Net_C.Sharp_Test\C#\C# Basic Udemy Seen\FirstProgram\Proměnne\bin\Debug\net7.0\ProměnneVariables.pdb
|
||||
C:\Users\lukas\Nextcloud\GitHub\.Net_C.Sharp_Test\C#\C# Basic Udemy Seen\FirstProgram\Proměnne\obj\Debug\net7.0\ProměnneVariables.GeneratedMSBuildEditorConfig.editorconfig
|
||||
C:\Users\lukas\Nextcloud\GitHub\.Net_C.Sharp_Test\C#\C# Basic Udemy Seen\FirstProgram\Proměnne\obj\Debug\net7.0\ProměnneVariables.AssemblyInfoInputs.cache
|
||||
C:\Users\lukas\Nextcloud\GitHub\.Net_C.Sharp_Test\C#\C# Basic Udemy Seen\FirstProgram\Proměnne\obj\Debug\net7.0\ProměnneVariables.AssemblyInfo.cs
|
||||
C:\Users\lukas\Nextcloud\GitHub\.Net_C.Sharp_Test\C#\C# Basic Udemy Seen\FirstProgram\Proměnne\obj\Debug\net7.0\ProměnneVariables.csproj.CoreCompileInputs.cache
|
||||
C:\Users\lukas\Nextcloud\GitHub\.Net_C.Sharp_Test\C#\C# Basic Udemy Seen\FirstProgram\Proměnne\obj\Debug\net7.0\ProměnneVariables.dll
|
||||
C:\Users\lukas\Nextcloud\GitHub\.Net_C.Sharp_Test\C#\C# Basic Udemy Seen\FirstProgram\Proměnne\obj\Debug\net7.0\refint\ProměnneVariables.dll
|
||||
C:\Users\lukas\Nextcloud\GitHub\.Net_C.Sharp_Test\C#\C# Basic Udemy Seen\FirstProgram\Proměnne\obj\Debug\net7.0\ProměnneVariables.pdb
|
||||
C:\Users\lukas\Nextcloud\GitHub\.Net_C.Sharp_Test\C#\C# Basic Udemy Seen\FirstProgram\Proměnne\obj\Debug\net7.0\ProměnneVariables.genruntimeconfig.cache
|
||||
C:\Users\lukas\Nextcloud\GitHub\.Net_C.Sharp_Test\C#\C# Basic Udemy Seen\FirstProgram\Proměnne\obj\Debug\net7.0\ref\ProměnneVariables.dll
|
Binary file not shown.
@ -0,0 +1 @@
|
||||
9363c072fcfe660fc7131aeb59c5cd454741dd2a
|
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\\Proměnne\\Proměnne.csproj": {}
|
||||
},
|
||||
"projects": {
|
||||
"C:\\Users\\lukas\\Nextcloud\\GitHub\\.Net_C.Sharp_Test\\C#\\C# Basic Udemy Seen\\FirstProgram\\Proměnne\\Proměnne.csproj": {
|
||||
"version": "1.0.0",
|
||||
"restore": {
|
||||
"projectUniqueName": "C:\\Users\\lukas\\Nextcloud\\GitHub\\.Net_C.Sharp_Test\\C#\\C# Basic Udemy Seen\\FirstProgram\\Proměnne\\Proměnne.csproj",
|
||||
"projectName": "Proměnne",
|
||||
"projectPath": "C:\\Users\\lukas\\Nextcloud\\GitHub\\.Net_C.Sharp_Test\\C#\\C# Basic Udemy Seen\\FirstProgram\\Proměnne\\Proměnne.csproj",
|
||||
"packagesPath": "C:\\Users\\lukas\\.nuget\\packages\\",
|
||||
"outputPath": "C:\\Users\\lukas\\Nextcloud\\GitHub\\.Net_C.Sharp_Test\\C#\\C# Basic Udemy Seen\\FirstProgram\\Proměnne\\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.7.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,63 @@
|
||||
{
|
||||
"format": 1,
|
||||
"restore": {
|
||||
"C:\\Users\\lukas\\Nextcloud\\GitHub\\.Net_C.Sharp_Test\\C#\\C# Basic Udemy Seen\\FirstProgram\\Proměnne\\ProměnneVariables.csproj": {}
|
||||
},
|
||||
"projects": {
|
||||
"C:\\Users\\lukas\\Nextcloud\\GitHub\\.Net_C.Sharp_Test\\C#\\C# Basic Udemy Seen\\FirstProgram\\Proměnne\\ProměnneVariables.csproj": {
|
||||
"version": "1.0.0",
|
||||
"restore": {
|
||||
"projectUniqueName": "C:\\Users\\lukas\\Nextcloud\\GitHub\\.Net_C.Sharp_Test\\C#\\C# Basic Udemy Seen\\FirstProgram\\Proměnne\\ProměnneVariables.csproj",
|
||||
"projectName": "ProměnneVariables",
|
||||
"projectPath": "C:\\Users\\lukas\\Nextcloud\\GitHub\\.Net_C.Sharp_Test\\C#\\C# Basic Udemy Seen\\FirstProgram\\Proměnne\\ProměnneVariables.csproj",
|
||||
"packagesPath": "C:\\Users\\lukas\\.nuget\\packages\\",
|
||||
"outputPath": "C:\\Users\\lukas\\Nextcloud\\GitHub\\.Net_C.Sharp_Test\\C#\\C# Basic Udemy Seen\\FirstProgram\\Proměnne\\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.7.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\\Proměnne\\ProměnneVariables.csproj",
|
||||
"projectName": "ProměnneVariables",
|
||||
"projectPath": "C:\\Users\\lukas\\Nextcloud\\GitHub\\.Net_C.Sharp_Test\\C#\\C# Basic Udemy Seen\\FirstProgram\\Proměnne\\ProměnneVariables.csproj",
|
||||
"packagesPath": "C:\\Users\\lukas\\.nuget\\packages\\",
|
||||
"outputPath": "C:\\Users\\lukas\\Nextcloud\\GitHub\\.Net_C.Sharp_Test\\C#\\C# Basic Udemy Seen\\FirstProgram\\Proměnne\\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": "5309LZ96r3kZnER/GT7cfer6DEG6lnuXv5MDWnEGM10zg88L4DBjaO5FfHgJbDq35hMHQHuTY0fviYCeSJg0+A==",
|
||||
"success": true,
|
||||
"projectFilePath": "C:\\Users\\lukas\\Nextcloud\\GitHub\\.Net_C.Sharp_Test\\C#\\C# Basic Udemy Seen\\FirstProgram\\Proměnne\\ProměnneVariables.csproj",
|
||||
"expectedPackageFiles": [],
|
||||
"logs": []
|
||||
}
|
34
C#/C# Basic Udemy Seen/FirstProgram/Retezce/Program.cs
Normal file
34
C#/C# Basic Udemy Seen/FirstProgram/Retezce/Program.cs
Normal file
@ -0,0 +1,34 @@
|
||||
namespace Retezce
|
||||
{
|
||||
internal class Program
|
||||
{
|
||||
static void Main(string[] args)
|
||||
{
|
||||
string firstName = "Spongebob";
|
||||
string lastName = "Squarepants";
|
||||
Console.WriteLine(firstName + " " + lastName);
|
||||
|
||||
string fullName = firstName + " " + lastName;
|
||||
Console.WriteLine(fullName);
|
||||
|
||||
// podřetězce
|
||||
string name = "Spongebob Squarepants";
|
||||
string sponge = name.Substring(0, 6);
|
||||
Console.WriteLine(sponge);
|
||||
|
||||
// náhrada
|
||||
string pat = name.Replace("Spongebob", "Patrik");
|
||||
Console.WriteLine(pat);
|
||||
|
||||
// délka řetězce
|
||||
string example = "The best character is Spongebob Squarepants!";
|
||||
Console.WriteLine(example.Length);
|
||||
|
||||
// pozice řetězce
|
||||
int index = example.IndexOf("Spongebob");
|
||||
Console.WriteLine(index);
|
||||
|
||||
Console.ReadLine();
|
||||
}
|
||||
}
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user