Browse Source
migracja Co-authored-by: MateushK <mateuszii@zoho.eu> Reviewed-on: https://git.tedtronix.pl/MateuszK/Szkola2.0/pulls/1 Co-Authored-By: MateuszK <mateuszk@noreply.tedtronix.pl> Co-Committed-By: MateuszK <mateuszk@noreply.tedtronix.pl>
29 changed files with 370 additions and 0 deletions
@ -0,0 +1,27 @@ |
|||||
|
{ |
||||
|
"version": "0.2.0", |
||||
|
"configurations": [ |
||||
|
{ |
||||
|
// Use IntelliSense to find out which attributes exist for C# debugging |
||||
|
// Use hover for the description of the existing attributes |
||||
|
// For further information visit https://github.com/OmniSharp/omnisharp-vscode/blob/master/debugger-launchjson.md |
||||
|
"name": ".NET Core Launch (console)", |
||||
|
"type": "coreclr", |
||||
|
"request": "launch", |
||||
|
"preLaunchTask": "build", |
||||
|
// If you have changed target frameworks, make sure to update the program path. |
||||
|
"program": "${workspaceFolder}/bin/Debug/net5.0/Szkola.dll", |
||||
|
"args": [], |
||||
|
"cwd": "${workspaceFolder}", |
||||
|
// For more information about the 'console' field, see https://aka.ms/VSCode-CS-LaunchJson-Console |
||||
|
"console": "internalConsole", |
||||
|
"stopAtEntry": false |
||||
|
}, |
||||
|
{ |
||||
|
"name": ".NET Core Attach", |
||||
|
"type": "coreclr", |
||||
|
"request": "attach", |
||||
|
"processId": "${command:pickProcess}" |
||||
|
} |
||||
|
] |
||||
|
} |
||||
@ -0,0 +1,42 @@ |
|||||
|
{ |
||||
|
"version": "2.0.0", |
||||
|
"tasks": [ |
||||
|
{ |
||||
|
"label": "build", |
||||
|
"command": "dotnet", |
||||
|
"type": "process", |
||||
|
"args": [ |
||||
|
"build", |
||||
|
"${workspaceFolder}/Szkola.csproj", |
||||
|
"/property:GenerateFullPaths=true", |
||||
|
"/consoleloggerparameters:NoSummary" |
||||
|
], |
||||
|
"problemMatcher": "$msCompile" |
||||
|
}, |
||||
|
{ |
||||
|
"label": "publish", |
||||
|
"command": "dotnet", |
||||
|
"type": "process", |
||||
|
"args": [ |
||||
|
"publish", |
||||
|
"${workspaceFolder}/Szkola.csproj", |
||||
|
"/property:GenerateFullPaths=true", |
||||
|
"/consoleloggerparameters:NoSummary" |
||||
|
], |
||||
|
"problemMatcher": "$msCompile" |
||||
|
}, |
||||
|
{ |
||||
|
"label": "watch", |
||||
|
"command": "dotnet", |
||||
|
"type": "process", |
||||
|
"args": [ |
||||
|
"watch", |
||||
|
"run", |
||||
|
"${workspaceFolder}/Szkola.csproj", |
||||
|
"/property:GenerateFullPaths=true", |
||||
|
"/consoleloggerparameters:NoSummary" |
||||
|
], |
||||
|
"problemMatcher": "$msCompile" |
||||
|
} |
||||
|
] |
||||
|
} |
||||
@ -0,0 +1,42 @@ |
|||||
|
using System; |
||||
|
|
||||
|
namespace szkola_2._0 |
||||
|
{ |
||||
|
|
||||
|
class Program |
||||
|
{ |
||||
|
|
||||
|
public static void sortowanie() |
||||
|
{ |
||||
|
|
||||
|
} |
||||
|
|
||||
|
static void Main(string[] args) |
||||
|
{ |
||||
|
int[] sort = {21, 14, 1, 66, 45}; |
||||
|
|
||||
|
int length = 5; |
||||
|
do |
||||
|
{ |
||||
|
for(int i=0; i<4; i++) |
||||
|
{ |
||||
|
if(sort[i]>sort[i+1]) |
||||
|
{ |
||||
|
int support = sort[i]; |
||||
|
sort[i] = sort[i+1]; |
||||
|
sort[i+1] = support; |
||||
|
} |
||||
|
} |
||||
|
length--; |
||||
|
} |
||||
|
while(length>1); |
||||
|
for(int j = 5 - 1; j >= 0; j--) |
||||
|
{ |
||||
|
Console.Write(sort[j] + ","); |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
|
||||
|
|
||||
|
} |
||||
|
} |
||||
@ -0,0 +1,8 @@ |
|||||
|
<Project Sdk="Microsoft.NET.Sdk"> |
||||
|
|
||||
|
<PropertyGroup> |
||||
|
<OutputType>Exe</OutputType> |
||||
|
<TargetFramework>net5.0</TargetFramework> |
||||
|
</PropertyGroup> |
||||
|
|
||||
|
</Project> |
||||
@ -0,0 +1,23 @@ |
|||||
|
{ |
||||
|
"runtimeTarget": { |
||||
|
"name": ".NETCoreApp,Version=v5.0", |
||||
|
"signature": "" |
||||
|
}, |
||||
|
"compilationOptions": {}, |
||||
|
"targets": { |
||||
|
".NETCoreApp,Version=v5.0": { |
||||
|
"Szkola/1.0.0": { |
||||
|
"runtime": { |
||||
|
"Szkola.dll": {} |
||||
|
} |
||||
|
} |
||||
|
} |
||||
|
}, |
||||
|
"libraries": { |
||||
|
"Szkola/1.0.0": { |
||||
|
"type": "project", |
||||
|
"serviceable": false, |
||||
|
"sha512": "" |
||||
|
} |
||||
|
} |
||||
|
} |
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,8 @@ |
|||||
|
{ |
||||
|
"runtimeOptions": { |
||||
|
"additionalProbingPaths": [ |
||||
|
"C:\\Users\\Mateusz\\.dotnet\\store\\|arch|\\|tfm|", |
||||
|
"C:\\Users\\Mateusz\\.nuget\\packages" |
||||
|
] |
||||
|
} |
||||
|
} |
||||
@ -0,0 +1,9 @@ |
|||||
|
{ |
||||
|
"runtimeOptions": { |
||||
|
"tfm": "net5.0", |
||||
|
"framework": { |
||||
|
"name": "Microsoft.NETCore.App", |
||||
|
"version": "5.0.0" |
||||
|
} |
||||
|
} |
||||
|
} |
||||
Binary file not shown.
@ -0,0 +1,4 @@ |
|||||
|
// <autogenerated />
|
||||
|
using System; |
||||
|
using System.Reflection; |
||||
|
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v5.0", FrameworkDisplayName = "")] |
||||
@ -0,0 +1,23 @@ |
|||||
|
//------------------------------------------------------------------------------
|
||||
|
// <auto-generated>
|
||||
|
// Ten kod został wygenerowany przez narzędzie.
|
||||
|
// Wersja wykonawcza:4.0.30319.42000
|
||||
|
//
|
||||
|
// Zmiany w tym pliku mogą spowodować nieprawidłowe zachowanie i zostaną utracone, jeśli
|
||||
|
// kod zostanie ponownie wygenerowany.
|
||||
|
// </auto-generated>
|
||||
|
//------------------------------------------------------------------------------
|
||||
|
|
||||
|
using System; |
||||
|
using System.Reflection; |
||||
|
|
||||
|
[assembly: System.Reflection.AssemblyCompanyAttribute("Szkola")] |
||||
|
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] |
||||
|
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] |
||||
|
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")] |
||||
|
[assembly: System.Reflection.AssemblyProductAttribute("Szkola")] |
||||
|
[assembly: System.Reflection.AssemblyTitleAttribute("Szkola")] |
||||
|
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] |
||||
|
|
||||
|
// Generated by the MSBuild WriteCodeFragment class.
|
||||
|
|
||||
@ -0,0 +1 @@ |
|||||
|
b93f1a19de81418bcfc744caf7908002c538aaaa |
||||
@ -0,0 +1,8 @@ |
|||||
|
is_global = true |
||||
|
build_property.TargetFramework = net5.0 |
||||
|
build_property.TargetPlatformMinVersion = |
||||
|
build_property.UsingMicrosoftNETSdkWeb = |
||||
|
build_property.ProjectTypeGuids = |
||||
|
build_property.PublishSingleFile = |
||||
|
build_property.IncludeAllContentForSelfExtract = |
||||
|
build_property._SupportedPlatformList = Android,iOS,Linux,macOS,Windows |
||||
Binary file not shown.
@ -0,0 +1 @@ |
|||||
|
1d26a7c40c0bb902bc70b08a0798d75fd27d2be0 |
||||
@ -0,0 +1,16 @@ |
|||||
|
C:\Users\Mateusz\Desktop\szkola_2.0\Szkola\bin\Debug\net5.0\Szkola.exe |
||||
|
C:\Users\Mateusz\Desktop\szkola_2.0\Szkola\bin\Debug\net5.0\Szkola.deps.json |
||||
|
C:\Users\Mateusz\Desktop\szkola_2.0\Szkola\bin\Debug\net5.0\Szkola.runtimeconfig.json |
||||
|
C:\Users\Mateusz\Desktop\szkola_2.0\Szkola\bin\Debug\net5.0\Szkola.runtimeconfig.dev.json |
||||
|
C:\Users\Mateusz\Desktop\szkola_2.0\Szkola\bin\Debug\net5.0\Szkola.dll |
||||
|
C:\Users\Mateusz\Desktop\szkola_2.0\Szkola\bin\Debug\net5.0\ref\Szkola.dll |
||||
|
C:\Users\Mateusz\Desktop\szkola_2.0\Szkola\bin\Debug\net5.0\Szkola.pdb |
||||
|
C:\Users\Mateusz\Desktop\szkola_2.0\Szkola\obj\Debug\net5.0\Szkola.csprojAssemblyReference.cache |
||||
|
C:\Users\Mateusz\Desktop\szkola_2.0\Szkola\obj\Debug\net5.0\Szkola.GeneratedMSBuildEditorConfig.editorconfig |
||||
|
C:\Users\Mateusz\Desktop\szkola_2.0\Szkola\obj\Debug\net5.0\Szkola.AssemblyInfoInputs.cache |
||||
|
C:\Users\Mateusz\Desktop\szkola_2.0\Szkola\obj\Debug\net5.0\Szkola.AssemblyInfo.cs |
||||
|
C:\Users\Mateusz\Desktop\szkola_2.0\Szkola\obj\Debug\net5.0\Szkola.csproj.CoreCompileInputs.cache |
||||
|
C:\Users\Mateusz\Desktop\szkola_2.0\Szkola\obj\Debug\net5.0\Szkola.dll |
||||
|
C:\Users\Mateusz\Desktop\szkola_2.0\Szkola\obj\Debug\net5.0\ref\Szkola.dll |
||||
|
C:\Users\Mateusz\Desktop\szkola_2.0\Szkola\obj\Debug\net5.0\Szkola.pdb |
||||
|
C:\Users\Mateusz\Desktop\szkola_2.0\Szkola\obj\Debug\net5.0\Szkola.genruntimeconfig.cache |
||||
Binary file not shown.
Binary file not shown.
@ -0,0 +1 @@ |
|||||
|
18f5dda3abd739109e1167ad0089637cedd4b4b8 |
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,60 @@ |
|||||
|
{ |
||||
|
"format": 1, |
||||
|
"restore": { |
||||
|
"C:\\Users\\Mateusz\\Desktop\\szkola_2.0\\Szkola\\Szkola.csproj": {} |
||||
|
}, |
||||
|
"projects": { |
||||
|
"C:\\Users\\Mateusz\\Desktop\\szkola_2.0\\Szkola\\Szkola.csproj": { |
||||
|
"version": "1.0.0", |
||||
|
"restore": { |
||||
|
"projectUniqueName": "C:\\Users\\Mateusz\\Desktop\\szkola_2.0\\Szkola\\Szkola.csproj", |
||||
|
"projectName": "Szkola", |
||||
|
"projectPath": "C:\\Users\\Mateusz\\Desktop\\szkola_2.0\\Szkola\\Szkola.csproj", |
||||
|
"packagesPath": "C:\\Users\\Mateusz\\.nuget\\packages\\", |
||||
|
"outputPath": "C:\\Users\\Mateusz\\Desktop\\szkola_2.0\\Szkola\\obj\\", |
||||
|
"projectStyle": "PackageReference", |
||||
|
"configFilePaths": [ |
||||
|
"C:\\Users\\Mateusz\\AppData\\Roaming\\NuGet\\NuGet.Config" |
||||
|
], |
||||
|
"originalTargetFrameworks": [ |
||||
|
"net5.0" |
||||
|
], |
||||
|
"sources": { |
||||
|
"https://api.nuget.org/v3/index.json": {} |
||||
|
}, |
||||
|
"frameworks": { |
||||
|
"net5.0": { |
||||
|
"targetAlias": "net5.0", |
||||
|
"projectReferences": {} |
||||
|
} |
||||
|
}, |
||||
|
"warningProperties": { |
||||
|
"warnAsError": [ |
||||
|
"NU1605" |
||||
|
] |
||||
|
} |
||||
|
}, |
||||
|
"frameworks": { |
||||
|
"net5.0": { |
||||
|
"targetAlias": "net5.0", |
||||
|
"imports": [ |
||||
|
"net461", |
||||
|
"net462", |
||||
|
"net47", |
||||
|
"net471", |
||||
|
"net472", |
||||
|
"net48" |
||||
|
], |
||||
|
"assetTargetFallback": true, |
||||
|
"warn": true, |
||||
|
"frameworkReferences": { |
||||
|
"Microsoft.NETCore.App": { |
||||
|
"privateAssets": "all" |
||||
|
} |
||||
|
}, |
||||
|
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\5.0.201\\RuntimeIdentifierGraph.json" |
||||
|
} |
||||
|
} |
||||
|
} |
||||
|
} |
||||
|
} |
||||
@ -0,0 +1,18 @@ |
|||||
|
<?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\Mateusz\.nuget\packages\</NuGetPackageFolders> |
||||
|
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle> |
||||
|
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">5.9.0</NuGetToolVersion> |
||||
|
</PropertyGroup> |
||||
|
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' "> |
||||
|
<SourceRoot Include="C:\Users\Mateusz\.nuget\packages\" /> |
||||
|
</ItemGroup> |
||||
|
<PropertyGroup> |
||||
|
<MSBuildAllProjects>$(MSBuildAllProjects);$(MSBuildThisFileFullPath)</MSBuildAllProjects> |
||||
|
</PropertyGroup> |
||||
|
</Project> |
||||
@ -0,0 +1,6 @@ |
|||||
|
<?xml version="1.0" encoding="utf-8" standalone="no"?> |
||||
|
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
||||
|
<PropertyGroup> |
||||
|
<MSBuildAllProjects>$(MSBuildAllProjects);$(MSBuildThisFileFullPath)</MSBuildAllProjects> |
||||
|
</PropertyGroup> |
||||
|
</Project> |
||||
@ -0,0 +1,65 @@ |
|||||
|
{ |
||||
|
"version": 3, |
||||
|
"targets": { |
||||
|
"net5.0": {} |
||||
|
}, |
||||
|
"libraries": {}, |
||||
|
"projectFileDependencyGroups": { |
||||
|
"net5.0": [] |
||||
|
}, |
||||
|
"packageFolders": { |
||||
|
"C:\\Users\\Mateusz\\.nuget\\packages\\": {} |
||||
|
}, |
||||
|
"project": { |
||||
|
"version": "1.0.0", |
||||
|
"restore": { |
||||
|
"projectUniqueName": "C:\\Users\\Mateusz\\Desktop\\szkola_2.0\\Szkola\\Szkola.csproj", |
||||
|
"projectName": "Szkola", |
||||
|
"projectPath": "C:\\Users\\Mateusz\\Desktop\\szkola_2.0\\Szkola\\Szkola.csproj", |
||||
|
"packagesPath": "C:\\Users\\Mateusz\\.nuget\\packages\\", |
||||
|
"outputPath": "C:\\Users\\Mateusz\\Desktop\\szkola_2.0\\Szkola\\obj\\", |
||||
|
"projectStyle": "PackageReference", |
||||
|
"configFilePaths": [ |
||||
|
"C:\\Users\\Mateusz\\AppData\\Roaming\\NuGet\\NuGet.Config" |
||||
|
], |
||||
|
"originalTargetFrameworks": [ |
||||
|
"net5.0" |
||||
|
], |
||||
|
"sources": { |
||||
|
"https://api.nuget.org/v3/index.json": {} |
||||
|
}, |
||||
|
"frameworks": { |
||||
|
"net5.0": { |
||||
|
"targetAlias": "net5.0", |
||||
|
"projectReferences": {} |
||||
|
} |
||||
|
}, |
||||
|
"warningProperties": { |
||||
|
"warnAsError": [ |
||||
|
"NU1605" |
||||
|
] |
||||
|
} |
||||
|
}, |
||||
|
"frameworks": { |
||||
|
"net5.0": { |
||||
|
"targetAlias": "net5.0", |
||||
|
"imports": [ |
||||
|
"net461", |
||||
|
"net462", |
||||
|
"net47", |
||||
|
"net471", |
||||
|
"net472", |
||||
|
"net48" |
||||
|
], |
||||
|
"assetTargetFallback": true, |
||||
|
"warn": true, |
||||
|
"frameworkReferences": { |
||||
|
"Microsoft.NETCore.App": { |
||||
|
"privateAssets": "all" |
||||
|
} |
||||
|
}, |
||||
|
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\5.0.201\\RuntimeIdentifierGraph.json" |
||||
|
} |
||||
|
} |
||||
|
} |
||||
|
} |
||||
@ -0,0 +1,8 @@ |
|||||
|
{ |
||||
|
"version": 2, |
||||
|
"dgSpecHash": "Dpn8Aae0hbuSQQtQeY62n+IccN1SqDVH0RJLI0HxYbsBuIEUmSbrJ6ksYEee5SX1hGQNx8Pczo9Jt0YMUKrSJw==", |
||||
|
"success": true, |
||||
|
"projectFilePath": "C:\\Users\\Mateusz\\Desktop\\szkola_2.0\\Szkola\\Szkola.csproj", |
||||
|
"expectedPackageFiles": [], |
||||
|
"logs": [] |
||||
|
} |
||||
Loading…
Reference in new issue