diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..a442dd6 --- /dev/null +++ b/.vscode/launch.json @@ -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}" + } + ] +} \ No newline at end of file diff --git a/.vscode/tasks.json b/.vscode/tasks.json new file mode 100644 index 0000000..a55c1b9 --- /dev/null +++ b/.vscode/tasks.json @@ -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" + } + ] +} \ No newline at end of file diff --git a/Program.cs b/Program.cs new file mode 100644 index 0000000..8afc70e --- /dev/null +++ b/Program.cs @@ -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] + ","); + } + } + + + + } +} diff --git a/Szkola.csproj b/Szkola.csproj new file mode 100644 index 0000000..2082704 --- /dev/null +++ b/Szkola.csproj @@ -0,0 +1,8 @@ + + + + Exe + net5.0 + + + diff --git a/bin/Debug/net5.0/Szkola.deps.json b/bin/Debug/net5.0/Szkola.deps.json new file mode 100644 index 0000000..8accf13 --- /dev/null +++ b/bin/Debug/net5.0/Szkola.deps.json @@ -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": "" + } + } +} \ No newline at end of file diff --git a/bin/Debug/net5.0/Szkola.dll b/bin/Debug/net5.0/Szkola.dll new file mode 100644 index 0000000..b408804 Binary files /dev/null and b/bin/Debug/net5.0/Szkola.dll differ diff --git a/bin/Debug/net5.0/Szkola.exe b/bin/Debug/net5.0/Szkola.exe new file mode 100644 index 0000000..eb824ad Binary files /dev/null and b/bin/Debug/net5.0/Szkola.exe differ diff --git a/bin/Debug/net5.0/Szkola.pdb b/bin/Debug/net5.0/Szkola.pdb new file mode 100644 index 0000000..9a6c1e5 Binary files /dev/null and b/bin/Debug/net5.0/Szkola.pdb differ diff --git a/bin/Debug/net5.0/Szkola.runtimeconfig.dev.json b/bin/Debug/net5.0/Szkola.runtimeconfig.dev.json new file mode 100644 index 0000000..04d7149 --- /dev/null +++ b/bin/Debug/net5.0/Szkola.runtimeconfig.dev.json @@ -0,0 +1,8 @@ +{ + "runtimeOptions": { + "additionalProbingPaths": [ + "C:\\Users\\Mateusz\\.dotnet\\store\\|arch|\\|tfm|", + "C:\\Users\\Mateusz\\.nuget\\packages" + ] + } +} \ No newline at end of file diff --git a/bin/Debug/net5.0/Szkola.runtimeconfig.json b/bin/Debug/net5.0/Szkola.runtimeconfig.json new file mode 100644 index 0000000..a8e7e82 --- /dev/null +++ b/bin/Debug/net5.0/Szkola.runtimeconfig.json @@ -0,0 +1,9 @@ +{ + "runtimeOptions": { + "tfm": "net5.0", + "framework": { + "name": "Microsoft.NETCore.App", + "version": "5.0.0" + } + } +} \ No newline at end of file diff --git a/bin/Debug/net5.0/ref/Szkola.dll b/bin/Debug/net5.0/ref/Szkola.dll new file mode 100644 index 0000000..9eaba74 Binary files /dev/null and b/bin/Debug/net5.0/ref/Szkola.dll differ diff --git a/obj/Debug/net5.0/.NETCoreApp,Version=v5.0.AssemblyAttributes.cs b/obj/Debug/net5.0/.NETCoreApp,Version=v5.0.AssemblyAttributes.cs new file mode 100644 index 0000000..2f7e5ec --- /dev/null +++ b/obj/Debug/net5.0/.NETCoreApp,Version=v5.0.AssemblyAttributes.cs @@ -0,0 +1,4 @@ +// +using System; +using System.Reflection; +[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v5.0", FrameworkDisplayName = "")] diff --git a/obj/Debug/net5.0/Szkola.AssemblyInfo.cs b/obj/Debug/net5.0/Szkola.AssemblyInfo.cs new file mode 100644 index 0000000..12edbd2 --- /dev/null +++ b/obj/Debug/net5.0/Szkola.AssemblyInfo.cs @@ -0,0 +1,23 @@ +//------------------------------------------------------------------------------ +// +// 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. +// +//------------------------------------------------------------------------------ + +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. + diff --git a/obj/Debug/net5.0/Szkola.AssemblyInfoInputs.cache b/obj/Debug/net5.0/Szkola.AssemblyInfoInputs.cache new file mode 100644 index 0000000..edbf285 --- /dev/null +++ b/obj/Debug/net5.0/Szkola.AssemblyInfoInputs.cache @@ -0,0 +1 @@ +b93f1a19de81418bcfc744caf7908002c538aaaa diff --git a/obj/Debug/net5.0/Szkola.GeneratedMSBuildEditorConfig.editorconfig b/obj/Debug/net5.0/Szkola.GeneratedMSBuildEditorConfig.editorconfig new file mode 100644 index 0000000..d7e2983 --- /dev/null +++ b/obj/Debug/net5.0/Szkola.GeneratedMSBuildEditorConfig.editorconfig @@ -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 diff --git a/obj/Debug/net5.0/Szkola.assets.cache b/obj/Debug/net5.0/Szkola.assets.cache new file mode 100644 index 0000000..c821de4 Binary files /dev/null and b/obj/Debug/net5.0/Szkola.assets.cache differ diff --git a/obj/Debug/net5.0/Szkola.csproj.CoreCompileInputs.cache b/obj/Debug/net5.0/Szkola.csproj.CoreCompileInputs.cache new file mode 100644 index 0000000..197f210 --- /dev/null +++ b/obj/Debug/net5.0/Szkola.csproj.CoreCompileInputs.cache @@ -0,0 +1 @@ +1d26a7c40c0bb902bc70b08a0798d75fd27d2be0 diff --git a/obj/Debug/net5.0/Szkola.csproj.FileListAbsolute.txt b/obj/Debug/net5.0/Szkola.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..aa11df0 --- /dev/null +++ b/obj/Debug/net5.0/Szkola.csproj.FileListAbsolute.txt @@ -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 diff --git a/obj/Debug/net5.0/Szkola.csprojAssemblyReference.cache b/obj/Debug/net5.0/Szkola.csprojAssemblyReference.cache new file mode 100644 index 0000000..2ccef47 Binary files /dev/null and b/obj/Debug/net5.0/Szkola.csprojAssemblyReference.cache differ diff --git a/obj/Debug/net5.0/Szkola.dll b/obj/Debug/net5.0/Szkola.dll new file mode 100644 index 0000000..b408804 Binary files /dev/null and b/obj/Debug/net5.0/Szkola.dll differ diff --git a/obj/Debug/net5.0/Szkola.genruntimeconfig.cache b/obj/Debug/net5.0/Szkola.genruntimeconfig.cache new file mode 100644 index 0000000..4640e70 --- /dev/null +++ b/obj/Debug/net5.0/Szkola.genruntimeconfig.cache @@ -0,0 +1 @@ +18f5dda3abd739109e1167ad0089637cedd4b4b8 diff --git a/obj/Debug/net5.0/Szkola.pdb b/obj/Debug/net5.0/Szkola.pdb new file mode 100644 index 0000000..9a6c1e5 Binary files /dev/null and b/obj/Debug/net5.0/Szkola.pdb differ diff --git a/obj/Debug/net5.0/apphost.exe b/obj/Debug/net5.0/apphost.exe new file mode 100644 index 0000000..eb824ad Binary files /dev/null and b/obj/Debug/net5.0/apphost.exe differ diff --git a/obj/Debug/net5.0/ref/Szkola.dll b/obj/Debug/net5.0/ref/Szkola.dll new file mode 100644 index 0000000..9eaba74 Binary files /dev/null and b/obj/Debug/net5.0/ref/Szkola.dll differ diff --git a/obj/Szkola.csproj.nuget.dgspec.json b/obj/Szkola.csproj.nuget.dgspec.json new file mode 100644 index 0000000..2bc8d88 --- /dev/null +++ b/obj/Szkola.csproj.nuget.dgspec.json @@ -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" + } + } + } + } +} \ No newline at end of file diff --git a/obj/Szkola.csproj.nuget.g.props b/obj/Szkola.csproj.nuget.g.props new file mode 100644 index 0000000..2996e7a --- /dev/null +++ b/obj/Szkola.csproj.nuget.g.props @@ -0,0 +1,18 @@ + + + + True + NuGet + $(MSBuildThisFileDirectory)project.assets.json + $(UserProfile)\.nuget\packages\ + C:\Users\Mateusz\.nuget\packages\ + PackageReference + 5.9.0 + + + + + + $(MSBuildAllProjects);$(MSBuildThisFileFullPath) + + \ No newline at end of file diff --git a/obj/Szkola.csproj.nuget.g.targets b/obj/Szkola.csproj.nuget.g.targets new file mode 100644 index 0000000..53cfaa1 --- /dev/null +++ b/obj/Szkola.csproj.nuget.g.targets @@ -0,0 +1,6 @@ + + + + $(MSBuildAllProjects);$(MSBuildThisFileFullPath) + + \ No newline at end of file diff --git a/obj/project.assets.json b/obj/project.assets.json new file mode 100644 index 0000000..5c866ac --- /dev/null +++ b/obj/project.assets.json @@ -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" + } + } + } +} \ No newline at end of file diff --git a/obj/project.nuget.cache b/obj/project.nuget.cache new file mode 100644 index 0000000..d3d287a --- /dev/null +++ b/obj/project.nuget.cache @@ -0,0 +1,8 @@ +{ + "version": 2, + "dgSpecHash": "Dpn8Aae0hbuSQQtQeY62n+IccN1SqDVH0RJLI0HxYbsBuIEUmSbrJ6ksYEee5SX1hGQNx8Pczo9Jt0YMUKrSJw==", + "success": true, + "projectFilePath": "C:\\Users\\Mateusz\\Desktop\\szkola_2.0\\Szkola\\Szkola.csproj", + "expectedPackageFiles": [], + "logs": [] +} \ No newline at end of file