From 1dea11143fd5b18952ed8b39394e4efacfafc86c Mon Sep 17 00:00:00 2001 From: Rokas Puzonas Date: Mon, 25 Oct 2021 23:55:42 +0300 Subject: [PATCH 1/6] feat: initial commit --- .gitignore | 388 ++++++++++++++++++ Foo/Foo.csproj | 8 + Foo/Program.cs | 12 + .../Introduction.1Savarankiskas.csproj | 9 + Introduction.1Savarankiskas/Program.cs | 29 ++ .../Introduction.2Savarankiskas.csproj | 9 + Introduction.2Savarankiskas/Program.cs | 33 ++ .../Introduction.3Savarankiskas.csproj | 9 + Introduction.3Savarankiskas/Program.cs | 48 +++ .../Introduction.4Savarankiskas.csproj | 9 + Introduction.4Savarankiskas/Program.cs | 26 ++ .../Introduction.CharsAndStrings.Step1.csproj | 8 + Introduction.CharsAndStrings.Step1/Program.cs | 15 + .../Introduction.CharsAndStrings.Step2.csproj | 8 + Introduction.CharsAndStrings.Step2/Program.cs | 14 + .../Introduction.CharsAndStrings.Step3.csproj | 8 + Introduction.CharsAndStrings.Step3/Program.cs | 18 + .../Introduction.CharsAndStrings.Step4.csproj | 8 + Introduction.CharsAndStrings.Step4/Program.cs | 31 ++ .../Introduction.CharsAndStrings.Step5.csproj | 8 + Introduction.CharsAndStrings.Step5/Program.cs | 42 ++ .../Introduction.CharsAndStrings.Step6.csproj | 8 + Introduction.CharsAndStrings.Step6/Program.cs | 30 ++ .../Introduction.If.Step1.csproj | 8 + Introduction.If.Step1/Program.cs | 19 + .../Introduction.If.Step2.csproj | 8 + Introduction.If.Step2/Program.cs | 21 + .../Introduction.If.Step3.csproj | 8 + Introduction.If.Step3/Program.cs | 25 ++ .../Introduction.Loop.Step1.csproj | 8 + Introduction.Loop.Step1/Program.cs | 15 + .../Introduction.Loop.Step2.csproj | 8 + Introduction.Loop.Step2/Program.cs | 15 + .../Introduction.Loop.Step3.csproj | 8 + Introduction.Loop.Step3/Program.cs | 15 + .../Introduction.Loop.Step4.csproj | 8 + Introduction.Loop.Step4/Program.cs | 17 + .../Introduction.Loop.Step5.csproj | 8 + Introduction.Loop.Step5/Program.cs | 20 + .../Introduction.Loop.Step6.csproj | 8 + Introduction.Loop.Step6/Program.cs | 23 ++ .../Introduction.Methods.Step1.csproj | 8 + Introduction.Methods.Step1/Program.cs | 27 ++ .../Introduction.Methods.Step2.csproj | 8 + Introduction.Methods.Step2/Program.cs | 35 ++ .../Introduction.Methods.Step3.csproj | 8 + Introduction.Methods.Step3/Program.cs | 27 ++ .../Introduction.MoreMath.csproj | 8 + Introduction.MoreMath/Program.cs | 27 ++ .../Introduction.SimpleMath.csproj | 8 + Introduction.SimpleMath/Program.cs | 23 ++ Introduction.sln | 163 ++++++++ README.md | 6 + 53 files changed, 1368 insertions(+) create mode 100644 .gitignore create mode 100755 Foo/Foo.csproj create mode 100755 Foo/Program.cs create mode 100755 Introduction.1Savarankiskas/Introduction.1Savarankiskas.csproj create mode 100755 Introduction.1Savarankiskas/Program.cs create mode 100644 Introduction.2Savarankiskas/Introduction.2Savarankiskas.csproj create mode 100644 Introduction.2Savarankiskas/Program.cs create mode 100644 Introduction.3Savarankiskas/Introduction.3Savarankiskas.csproj create mode 100644 Introduction.3Savarankiskas/Program.cs create mode 100644 Introduction.4Savarankiskas/Introduction.4Savarankiskas.csproj create mode 100644 Introduction.4Savarankiskas/Program.cs create mode 100644 Introduction.CharsAndStrings.Step1/Introduction.CharsAndStrings.Step1.csproj create mode 100644 Introduction.CharsAndStrings.Step1/Program.cs create mode 100644 Introduction.CharsAndStrings.Step2/Introduction.CharsAndStrings.Step2.csproj create mode 100644 Introduction.CharsAndStrings.Step2/Program.cs create mode 100644 Introduction.CharsAndStrings.Step3/Introduction.CharsAndStrings.Step3.csproj create mode 100644 Introduction.CharsAndStrings.Step3/Program.cs create mode 100644 Introduction.CharsAndStrings.Step4/Introduction.CharsAndStrings.Step4.csproj create mode 100644 Introduction.CharsAndStrings.Step4/Program.cs create mode 100644 Introduction.CharsAndStrings.Step5/Introduction.CharsAndStrings.Step5.csproj create mode 100644 Introduction.CharsAndStrings.Step5/Program.cs create mode 100644 Introduction.CharsAndStrings.Step6/Introduction.CharsAndStrings.Step6.csproj create mode 100644 Introduction.CharsAndStrings.Step6/Program.cs create mode 100755 Introduction.If.Step1/Introduction.If.Step1.csproj create mode 100755 Introduction.If.Step1/Program.cs create mode 100755 Introduction.If.Step2/Introduction.If.Step2.csproj create mode 100755 Introduction.If.Step2/Program.cs create mode 100755 Introduction.If.Step3/Introduction.If.Step3.csproj create mode 100755 Introduction.If.Step3/Program.cs create mode 100755 Introduction.Loop.Step1/Introduction.Loop.Step1.csproj create mode 100755 Introduction.Loop.Step1/Program.cs create mode 100755 Introduction.Loop.Step2/Introduction.Loop.Step2.csproj create mode 100755 Introduction.Loop.Step2/Program.cs create mode 100755 Introduction.Loop.Step3/Introduction.Loop.Step3.csproj create mode 100755 Introduction.Loop.Step3/Program.cs create mode 100755 Introduction.Loop.Step4/Introduction.Loop.Step4.csproj create mode 100755 Introduction.Loop.Step4/Program.cs create mode 100755 Introduction.Loop.Step5/Introduction.Loop.Step5.csproj create mode 100755 Introduction.Loop.Step5/Program.cs create mode 100755 Introduction.Loop.Step6/Introduction.Loop.Step6.csproj create mode 100755 Introduction.Loop.Step6/Program.cs create mode 100644 Introduction.Methods.Step1/Introduction.Methods.Step1.csproj create mode 100644 Introduction.Methods.Step1/Program.cs create mode 100644 Introduction.Methods.Step2/Introduction.Methods.Step2.csproj create mode 100644 Introduction.Methods.Step2/Program.cs create mode 100644 Introduction.Methods.Step3/Introduction.Methods.Step3.csproj create mode 100644 Introduction.Methods.Step3/Program.cs create mode 100644 Introduction.MoreMath/Introduction.MoreMath.csproj create mode 100644 Introduction.MoreMath/Program.cs create mode 100644 Introduction.SimpleMath/Introduction.SimpleMath.csproj create mode 100644 Introduction.SimpleMath/Program.cs create mode 100755 Introduction.sln create mode 100644 README.md diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..26ab8f4 --- /dev/null +++ b/.gitignore @@ -0,0 +1,388 @@ +## Ignore Visual Studio temporary files, build results, and +## files generated by popular Visual Studio add-ons. +## +## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore + +# User-specific files +*.rsuser +*.suo +*.user +*.userosscache +*.sln.docstates + +# User-specific files (MonoDevelop/Xamarin Studio) +*.userprefs + +# Mono auto generated files +mono_crash.* + +# Build results +[Dd]ebug/ +[Dd]ebugPublic/ +[Rr]elease/ +[Rr]eleases/ +x64/ +x86/ +[Ww][Ii][Nn]32/ +[Aa][Rr][Mm]/ +[Aa][Rr][Mm]64/ +bld/ +[Bb]in/ +[Oo]bj/ +[Ll]og/ +[Ll]ogs/ + +# Visual Studio 2015/2017 cache/options directory +.vs/ +# Uncomment if you have tasks that create the project's static files in wwwroot +#wwwroot/ + +# Visual Studio 2017 auto generated files +Generated\ Files/ + +# MSTest test Results +[Tt]est[Rr]esult*/ +[Bb]uild[Ll]og.* + +# NUnit +*.VisualState.xml +TestResult.xml +nunit-*.xml + +# Build Results of an ATL Project +[Dd]ebugPS/ +[Rr]eleasePS/ +dlldata.c + +# Benchmark Results +BenchmarkDotNet.Artifacts/ + +# .NET Core +project.lock.json +project.fragment.lock.json +artifacts/ + +# ASP.NET Scaffolding +ScaffoldingReadMe.txt + +# StyleCop +StyleCopReport.xml + +# Files built by Visual Studio +*_i.c +*_p.c +*_h.h +*.ilk +*.meta +*.obj +*.iobj +*.pch +*.pdb +*.ipdb +*.pgc +*.pgd +*.rsp +*.sbr +*.tlb +*.tli +*.tlh +*.tmp +*.tmp_proj +*_wpftmp.csproj +*.log +*.tlog +*.vspscc +*.vssscc +.builds +*.pidb +*.svclog +*.scc + +# Chutzpah Test files +_Chutzpah* + +# Visual C++ cache files +ipch/ +*.aps +*.ncb +*.opendb +*.opensdf +*.sdf +*.cachefile +*.VC.db +*.VC.VC.opendb + +# Visual Studio profiler +*.psess +*.vsp +*.vspx +*.sap + +# Visual Studio Trace Files +*.e2e + +# TFS 2012 Local Workspace +$tf/ + +# Guidance Automation Toolkit +*.gpState + +# ReSharper is a .NET coding add-in +_ReSharper*/ +*.[Rr]e[Ss]harper +*.DotSettings.user + +# TeamCity is a build add-in +_TeamCity* + +# DotCover is a Code Coverage Tool +*.dotCover + +# AxoCover is a Code Coverage Tool +.axoCover/* +!.axoCover/settings.json + +# Coverlet is a free, cross platform Code Coverage Tool +coverage*.json +coverage*.xml +coverage*.info + +# Visual Studio code coverage results +*.coverage +*.coveragexml + +# NCrunch +_NCrunch_* +.*crunch*.local.xml +nCrunchTemp_* + +# MightyMoose +*.mm.* +AutoTest.Net/ + +# Web workbench (sass) +.sass-cache/ + +# Installshield output folder +[Ee]xpress/ + +# DocProject is a documentation generator add-in +DocProject/buildhelp/ +DocProject/Help/*.HxT +DocProject/Help/*.HxC +DocProject/Help/*.hhc +DocProject/Help/*.hhk +DocProject/Help/*.hhp +DocProject/Help/Html2 +DocProject/Help/html + +# Click-Once directory +publish/ + +# Publish Web Output +*.[Pp]ublish.xml +*.azurePubxml +# Note: Comment the next line if you want to checkin your web deploy settings, +# but database connection strings (with potential passwords) will be unencrypted +*.pubxml +*.publishproj + +# Microsoft Azure Web App publish settings. Comment the next line if you want to +# checkin your Azure Web App publish settings, but sensitive information contained +# in these scripts will be unencrypted +PublishScripts/ + +# NuGet Packages +*.nupkg +# NuGet Symbol Packages +*.snupkg +# The packages folder can be ignored because of Package Restore +**/[Pp]ackages/* +# except build/, which is used as an MSBuild target. +!**/[Pp]ackages/build/ +# Uncomment if necessary however generally it will be regenerated when needed +#!**/[Pp]ackages/repositories.config +# NuGet v3's project.json files produces more ignorable files +*.nuget.props +*.nuget.targets + +# Nuget personal access tokens and Credentials +# nuget.config + +# Microsoft Azure Build Output +csx/ +*.build.csdef + +# Microsoft Azure Emulator +ecf/ +rcf/ + +# Windows Store app package directories and files +AppPackages/ +BundleArtifacts/ +Package.StoreAssociation.xml +_pkginfo.txt +*.appx +*.appxbundle +*.appxupload + +# Visual Studio cache files +# files ending in .cache can be ignored +*.[Cc]ache +# but keep track of directories ending in .cache +!?*.[Cc]ache/ + +# Others +ClientBin/ +~$* +*~ +*.dbmdl +*.dbproj.schemaview +*.jfm +*.pfx +*.publishsettings +orleans.codegen.cs + +# Including strong name files can present a security risk +# (https://github.com/github/gitignore/pull/2483#issue-259490424) +#*.snk + +# Since there are multiple workflows, uncomment next line to ignore bower_components +# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622) +#bower_components/ + +# RIA/Silverlight projects +Generated_Code/ + +# Backup & report files from converting an old project file +# to a newer Visual Studio version. Backup files are not needed, +# because we have git ;-) +_UpgradeReport_Files/ +Backup*/ +UpgradeLog*.XML +UpgradeLog*.htm +ServiceFabricBackup/ +*.rptproj.bak + +# SQL Server files +*.mdf +*.ldf +*.ndf + +# Business Intelligence projects +*.rdl.data +*.bim.layout +*.bim_*.settings +*.rptproj.rsuser +*- [Bb]ackup.rdl +*- [Bb]ackup ([0-9]).rdl +*- [Bb]ackup ([0-9][0-9]).rdl + +# Microsoft Fakes +FakesAssemblies/ + +# GhostDoc plugin setting file +*.GhostDoc.xml + +# Node.js Tools for Visual Studio +.ntvs_analysis.dat +node_modules/ + +# Visual Studio 6 build log +*.plg + +# Visual Studio 6 workspace options file +*.opt + +# Visual Studio 6 auto-generated workspace file (contains which files were open etc.) +*.vbw + +# Visual Studio LightSwitch build output +**/*.HTMLClient/GeneratedArtifacts +**/*.DesktopClient/GeneratedArtifacts +**/*.DesktopClient/ModelManifest.xml +**/*.Server/GeneratedArtifacts +**/*.Server/ModelManifest.xml +_Pvt_Extensions + +# Paket dependency manager +.paket/paket.exe +paket-files/ + +# FAKE - F# Make +.fake/ + +# CodeRush personal settings +.cr/personal + +# Python Tools for Visual Studio (PTVS) +__pycache__/ +*.pyc + +# Cake - Uncomment if you are using it +# tools/** +# !tools/packages.config + +# Tabs Studio +*.tss + +# Telerik's JustMock configuration file +*.jmconfig + +# BizTalk build output +*.btp.cs +*.btm.cs +*.odx.cs +*.xsd.cs + +# OpenCover UI analysis results +OpenCover/ + +# Azure Stream Analytics local run output +ASALocalRun/ + +# MSBuild Binary and Structured Log +*.binlog + +# NVidia Nsight GPU debugger configuration file +*.nvuser + +# MFractors (Xamarin productivity tool) working folder +.mfractor/ + +# Local History for Visual Studio +.localhistory/ + +# BeatPulse healthcheck temp database +healthchecksdb + +# Backup folder for Package Reference Convert tool in Visual Studio 2017 +MigrationBackup/ + +# Ionide (cross platform F# VS Code tools) working folder +.ionide/ + +# Fody - auto-generated XML schema +FodyWeavers.xsd + +# VS Code files for those working on multiple tools +.vscode/* +!.vscode/settings.json +!.vscode/tasks.json +!.vscode/launch.json +!.vscode/extensions.json +*.code-workspace + +# Local History for Visual Studio Code +.history/ + +# Windows Installer files from build outputs +*.cab +*.msi +*.msix +*.msm +*.msp + +# JetBrains Rider +.idea/ +*.sln.iml diff --git a/Foo/Foo.csproj b/Foo/Foo.csproj new file mode 100755 index 0000000..23df604 --- /dev/null +++ b/Foo/Foo.csproj @@ -0,0 +1,8 @@ + + + + Exe + netcoreapp2.1 + + + diff --git a/Foo/Program.cs b/Foo/Program.cs new file mode 100755 index 0000000..ea546d5 --- /dev/null +++ b/Foo/Program.cs @@ -0,0 +1,12 @@ +using System; + +namespace Foo +{ + class Program + { + static void Main(string[] args) + { + Console.WriteLine("Hello World!"); + } + } +} diff --git a/Introduction.1Savarankiskas/Introduction.1Savarankiskas.csproj b/Introduction.1Savarankiskas/Introduction.1Savarankiskas.csproj new file mode 100755 index 0000000..33887e8 --- /dev/null +++ b/Introduction.1Savarankiskas/Introduction.1Savarankiskas.csproj @@ -0,0 +1,9 @@ + + + + Exe + netcoreapp2.1 + Introduction._1Savarankiskas + + + diff --git a/Introduction.1Savarankiskas/Program.cs b/Introduction.1Savarankiskas/Program.cs new file mode 100755 index 0000000..871fa45 --- /dev/null +++ b/Introduction.1Savarankiskas/Program.cs @@ -0,0 +1,29 @@ +using System; + +namespace Introduction._1Savarankiskas +{ + class Program + { + static void Main(string[] args) + { + Console.WriteLine("Įveskite simbolių kiekį: "); + int count = int.Parse(Console.ReadLine()); + + Console.WriteLine("Įveskite vienos eilutės simbolių kiekį: "); + int perLineCount = int.Parse(Console.ReadLine()); + + Console.WriteLine("Įveskite spausdinamą simbolį: "); + char character = (char)Console.Read(); + + for (int i = 0; i < Math.Ceiling((double)count/perLineCount); i++) + { + for (int j = 0; j < Math.Min(perLineCount, count-perLineCount * i); j++) + Console.Write(character); + Console.WriteLine(""); + } + + Console.WriteLine(""); + Console.ReadKey(); + } + } +} diff --git a/Introduction.2Savarankiskas/Introduction.2Savarankiskas.csproj b/Introduction.2Savarankiskas/Introduction.2Savarankiskas.csproj new file mode 100644 index 0000000..8b3541f --- /dev/null +++ b/Introduction.2Savarankiskas/Introduction.2Savarankiskas.csproj @@ -0,0 +1,9 @@ + + + + Exe + netcoreapp2.1 + Introduction._2Savarankiskas + + + diff --git a/Introduction.2Savarankiskas/Program.cs b/Introduction.2Savarankiskas/Program.cs new file mode 100644 index 0000000..62b5971 --- /dev/null +++ b/Introduction.2Savarankiskas/Program.cs @@ -0,0 +1,33 @@ +using System; + +// Variant 8. +// f1(x) = 1/(x-5) +// f2(x) = Math.Sqrt(x+5) +// f3(x) = Math.Pow(x+3, 2) +// condition 1: -3 <= x <= 0 +// condition 2: 0 < x <= 5 +namespace Introduction._2Savarankiskas +{ + class Program + { + static void Main(string[] args) + { + double result; + Console.WriteLine("Įveskite x reikšmę: "); + int x = int.Parse(Console.ReadLine()); + if (-3 <= x && x <= 0) + { + result = 1.0/(x - 5); + } + else if (0 < x && x <= 5) + { + result = Math.Sqrt(x+5); + } + else + { + result = Math.Pow(x+3, 2); + } + Console.WriteLine(" Reikšmė x = {0}, fx = {1}", x, result); + } + } +} diff --git a/Introduction.3Savarankiskas/Introduction.3Savarankiskas.csproj b/Introduction.3Savarankiskas/Introduction.3Savarankiskas.csproj new file mode 100644 index 0000000..5946b22 --- /dev/null +++ b/Introduction.3Savarankiskas/Introduction.3Savarankiskas.csproj @@ -0,0 +1,9 @@ + + + + Exe + netcoreapp2.1 + Introduction._3Savarankiskas + + + diff --git a/Introduction.3Savarankiskas/Program.cs b/Introduction.3Savarankiskas/Program.cs new file mode 100644 index 0000000..425d329 --- /dev/null +++ b/Introduction.3Savarankiskas/Program.cs @@ -0,0 +1,48 @@ +using System; + +namespace Introduction._3Savarankiskas +{ + class Program + { + static void Main(string[] args) + { + Console.WriteLine("Pasirinkite operaciją: + - * /"); + char operation = (char)Console.Read(); + Console.WriteLine("{0}", operation); + if (operation != '+' && operation != '-' && operation != '*' && operation != '/') { + Console.WriteLine("Klaidinga operacija"); + return; + } + + // Use up newline symbol + Console.ReadLine(); + Console.WriteLine("Įveskite kairės skaičių kuris bus kairėje pusėje: "); + double lhs = double.Parse(Console.ReadLine()); + Console.WriteLine("Įveskite kairės dešinėje kuris bus kairėje pusėje: "); + double rhs = double.Parse(Console.ReadLine()); + + double result = 0; + switch (operation) { + case '+': + result = lhs + rhs; + break; + case '-': + result = lhs - rhs; + break; + case '*': + result = lhs * rhs; + break; + case '/': + if (rhs == 0) + { + Console.WriteLine("negalima!"); + return; + } + result = lhs / rhs; + break; + } + + Console.WriteLine("Pilnas veiksmas: {0} {1} {2} = {3}", lhs, operation, rhs, result); + } + } +} diff --git a/Introduction.4Savarankiskas/Introduction.4Savarankiskas.csproj b/Introduction.4Savarankiskas/Introduction.4Savarankiskas.csproj new file mode 100644 index 0000000..cbe1c15 --- /dev/null +++ b/Introduction.4Savarankiskas/Introduction.4Savarankiskas.csproj @@ -0,0 +1,9 @@ + + + + Exe + netcoreapp2.1 + Introduction._4Savarankiskas + + + diff --git a/Introduction.4Savarankiskas/Program.cs b/Introduction.4Savarankiskas/Program.cs new file mode 100644 index 0000000..ef4130f --- /dev/null +++ b/Introduction.4Savarankiskas/Program.cs @@ -0,0 +1,26 @@ +using System; + +namespace Introduction._4Savarankiskas +{ + class Program + { + static void Main(string[] args) + { + Console.WriteLine("Koks tavo vardas? "); + string name = Console.ReadLine().TrimEnd(); + if (name.EndsWith("as")) { + name = name.Substring(0, name.Length-2) + "ai"; + } else if (name.EndsWith("is")) { + name = name.Substring(0, name.Length-2) + "i"; + } else if (name.EndsWith("ys")) { + name = name.Substring(0, name.Length-2) + "į"; + } else if (name.EndsWith("a")) { + // Nothing needs to change + /* name = name.Substring(0, name.Length-1) + "a"; */ + } else if (name.EndsWith("ė")) { + name = name.Substring(0, name.Length-1) + "e"; + } + Console.WriteLine("Labas, {0}!", name); + } + } +} diff --git a/Introduction.CharsAndStrings.Step1/Introduction.CharsAndStrings.Step1.csproj b/Introduction.CharsAndStrings.Step1/Introduction.CharsAndStrings.Step1.csproj new file mode 100644 index 0000000..2082704 --- /dev/null +++ b/Introduction.CharsAndStrings.Step1/Introduction.CharsAndStrings.Step1.csproj @@ -0,0 +1,8 @@ + + + + Exe + net5.0 + + + diff --git a/Introduction.CharsAndStrings.Step1/Program.cs b/Introduction.CharsAndStrings.Step1/Program.cs new file mode 100644 index 0000000..3b4a806 --- /dev/null +++ b/Introduction.CharsAndStrings.Step1/Program.cs @@ -0,0 +1,15 @@ +using System; + +namespace Introduction.CharsAndStrings.Step1 +{ + class Program + { + static void Main(string[] args) + { + for (char ch = 'a'; ch <= 'z'; ch++) + Console.Write("{0} ", ch); + Console.WriteLine(""); + Console.ReadKey(); + } + } +} diff --git a/Introduction.CharsAndStrings.Step2/Introduction.CharsAndStrings.Step2.csproj b/Introduction.CharsAndStrings.Step2/Introduction.CharsAndStrings.Step2.csproj new file mode 100644 index 0000000..2082704 --- /dev/null +++ b/Introduction.CharsAndStrings.Step2/Introduction.CharsAndStrings.Step2.csproj @@ -0,0 +1,8 @@ + + + + Exe + net5.0 + + + diff --git a/Introduction.CharsAndStrings.Step2/Program.cs b/Introduction.CharsAndStrings.Step2/Program.cs new file mode 100644 index 0000000..8c234ca --- /dev/null +++ b/Introduction.CharsAndStrings.Step2/Program.cs @@ -0,0 +1,14 @@ +using System; + +namespace Introduction.CharsAndStrings.Step2 +{ + class Program + { + static void Main(string[] args) + { + for (char ch = 'a'; ch <= 'z'; ch++) + Console.WriteLine("{0} - {1} ", ch, (int)ch); + Console.ReadKey(); + } + } +} diff --git a/Introduction.CharsAndStrings.Step3/Introduction.CharsAndStrings.Step3.csproj b/Introduction.CharsAndStrings.Step3/Introduction.CharsAndStrings.Step3.csproj new file mode 100644 index 0000000..2082704 --- /dev/null +++ b/Introduction.CharsAndStrings.Step3/Introduction.CharsAndStrings.Step3.csproj @@ -0,0 +1,8 @@ + + + + Exe + net5.0 + + + diff --git a/Introduction.CharsAndStrings.Step3/Program.cs b/Introduction.CharsAndStrings.Step3/Program.cs new file mode 100644 index 0000000..b5a5cfd --- /dev/null +++ b/Introduction.CharsAndStrings.Step3/Program.cs @@ -0,0 +1,18 @@ +using System; + +namespace Introduction.CharsAndStrings.Step3 +{ + class Program + { + static void Main(string[] args) + { + Console.WriteLine("Įveskite raidę raidžių intervalo pradžiai"); + char startChar = Console.ReadLine()[0]; + Console.WriteLine("Įveskite raidę raidžių intervalo pabaigai"); + char endChar = (char)Console.Read(); + for (char ch = startChar; ch <= endChar; ch++) + Console.WriteLine("{0} - {1}", ch, (int)ch); + Console.ReadKey(); + } + } +} diff --git a/Introduction.CharsAndStrings.Step4/Introduction.CharsAndStrings.Step4.csproj b/Introduction.CharsAndStrings.Step4/Introduction.CharsAndStrings.Step4.csproj new file mode 100644 index 0000000..2082704 --- /dev/null +++ b/Introduction.CharsAndStrings.Step4/Introduction.CharsAndStrings.Step4.csproj @@ -0,0 +1,8 @@ + + + + Exe + net5.0 + + + diff --git a/Introduction.CharsAndStrings.Step4/Program.cs b/Introduction.CharsAndStrings.Step4/Program.cs new file mode 100644 index 0000000..d8eb518 --- /dev/null +++ b/Introduction.CharsAndStrings.Step4/Program.cs @@ -0,0 +1,31 @@ +using System; + +namespace Introduction.CharsAndStrings.Step4 +{ + class Program + { + static void Main(string[] args) + { + string day; + Console.WriteLine("Kokia šiandien savaitės diena?"); + day = Console.ReadLine(); + if (day == "pirmadienis") + Console.WriteLine("Pirmadienis - sudėtingiausia savaitės diena."); + else if (day == "antradienis") + Console.WriteLine("Antradienis – aktyvių veiksmų, Marso diena."); + else if (day == "trečiadienis") + Console.WriteLine("Trečiadienis – sandoriams sudaryti tinkamiausia diena."); + else if (day == "ketvirtadienis") + Console.WriteLine("Ketvirtadienį reikėtų imtis visuomeninių darbų."); + else if (day == "penktadienis") + Console.WriteLine("Penktadienį lengvai gimsta šedevrai, susitinka mylimieji."); + else if (day == "šeštadienis") + Console.WriteLine("Šeštadienis - savo problemų sprendimo diena."); + else if (day == "sekmadienis") + Console.WriteLine("Sekmadienį reikėtų pradėti naujus darbus."); + else + Console.WriteLine("Tokios savaitės dienos pas mus nebūna."); + Console.ReadKey(); + } + } +} diff --git a/Introduction.CharsAndStrings.Step5/Introduction.CharsAndStrings.Step5.csproj b/Introduction.CharsAndStrings.Step5/Introduction.CharsAndStrings.Step5.csproj new file mode 100644 index 0000000..2082704 --- /dev/null +++ b/Introduction.CharsAndStrings.Step5/Introduction.CharsAndStrings.Step5.csproj @@ -0,0 +1,8 @@ + + + + Exe + net5.0 + + + diff --git a/Introduction.CharsAndStrings.Step5/Program.cs b/Introduction.CharsAndStrings.Step5/Program.cs new file mode 100644 index 0000000..48df4e7 --- /dev/null +++ b/Introduction.CharsAndStrings.Step5/Program.cs @@ -0,0 +1,42 @@ +using System; + +namespace Introduction.CharsAndStrings.Step5 +{ + class Program { + static void Main(string[] args) + { + string day; + Console.WriteLine("Kokia šiandien savaitės diena?"); + day = Console.ReadLine().ToLower(); + switch (day) + { + case "pirmadienis": + Console.WriteLine("Pirmadienis - sudėtingiausia savaitės diena."); + break; + case "antradienis": + Console.WriteLine("Antradienis – aktyvių veiksmų, Marso diena."); + break; + case "trečiadienis": + Console.WriteLine("Trečiadienis – sandoriams sudaryti tinkamiausia diena."); + break; + case "ketvirtadienis": + Console.WriteLine("Ketvirtadienį reikėtų imtis visuomeninių darbų."); + break; + case "penktadienis": + Console.WriteLine("Penktadienį lengvai gimsta šedevrai, susitinka mylimieji."); + break; + case "šeštadienis": + Console.WriteLine("Šeštadienis - savo problemų sprendimo diena."); + break; + case "sekmadienis": + Console.WriteLine("Sekmadienį reikėtų pradėti naujus darbus, kurti planus."); + break; + default: + Console.WriteLine("Tokios savaitės dienos pas mus nebūna."); + break; + } + Console.ReadKey(); + } + } +} + diff --git a/Introduction.CharsAndStrings.Step6/Introduction.CharsAndStrings.Step6.csproj b/Introduction.CharsAndStrings.Step6/Introduction.CharsAndStrings.Step6.csproj new file mode 100644 index 0000000..2082704 --- /dev/null +++ b/Introduction.CharsAndStrings.Step6/Introduction.CharsAndStrings.Step6.csproj @@ -0,0 +1,8 @@ + + + + Exe + net5.0 + + + diff --git a/Introduction.CharsAndStrings.Step6/Program.cs b/Introduction.CharsAndStrings.Step6/Program.cs new file mode 100644 index 0000000..1121acf --- /dev/null +++ b/Introduction.CharsAndStrings.Step6/Program.cs @@ -0,0 +1,30 @@ +using System; +using System.Collections.Generic; + +namespace Introduction.CharsAndStrings.Step6 +{ + class Program + { + static void Main(string[] args) + { + Dictionary weekDays = new Dictionary() + { + {"pirmadienis", "Pirmadienis - sudėtingiausia savaitės diena."}, + {"antradienis", "Antradienis – aktyvių veiksmų, Marso diena."}, + {"trečiadienis", "Trečiadienis – sandoriams sudaryti tinkamiausia diena."}, + {"ketvirtadienis", "Ketvirtadienį reikėtų imtis visuomeninių darbų."}, + {"penktadienis", "Penktadienį lengvai gimsta šedevrai, susitinka mylimieji."}, + {"šeštadienis", "Šeštadienis - savo problemų sprendimo diena."}, + {"sekmadienis", "Sekmadienį reikėtų pradėti naujus darbus, kurti planus."} + }; + + Console.WriteLine("Kokia šiandien savaitės diena?"); + string day = Console.ReadLine().ToLower(); + if(weekDays.ContainsKey(day)) + Console.WriteLine("{0}", weekDays[day]); + else + Console.WriteLine("Tokios savaitės dienos pas mus nebūna."); + Console.ReadKey(); + } + } +} diff --git a/Introduction.If.Step1/Introduction.If.Step1.csproj b/Introduction.If.Step1/Introduction.If.Step1.csproj new file mode 100755 index 0000000..23df604 --- /dev/null +++ b/Introduction.If.Step1/Introduction.If.Step1.csproj @@ -0,0 +1,8 @@ + + + + Exe + netcoreapp2.1 + + + diff --git a/Introduction.If.Step1/Program.cs b/Introduction.If.Step1/Program.cs new file mode 100755 index 0000000..acc65e8 --- /dev/null +++ b/Introduction.If.Step1/Program.cs @@ -0,0 +1,19 @@ +using System; + +namespace Introduction.If.Step1 +{ + class Program + { + static void Main(string[] args) + { + for (int i = 1; i < 51; i++) + { + Console.Write('*'); + if (i % 5 == 0) + Console.WriteLine(""); + } + Console.WriteLine(""); + Console.ReadKey(); + } + } +} \ No newline at end of file diff --git a/Introduction.If.Step2/Introduction.If.Step2.csproj b/Introduction.If.Step2/Introduction.If.Step2.csproj new file mode 100755 index 0000000..23df604 --- /dev/null +++ b/Introduction.If.Step2/Introduction.If.Step2.csproj @@ -0,0 +1,8 @@ + + + + Exe + netcoreapp2.1 + + + diff --git a/Introduction.If.Step2/Program.cs b/Introduction.If.Step2/Program.cs new file mode 100755 index 0000000..a6cf2c0 --- /dev/null +++ b/Introduction.If.Step2/Program.cs @@ -0,0 +1,21 @@ +using System; + +namespace Introduction.If.Step2 +{ + class Program + { + static void Main(string[] args) + { + char character; + Console.WriteLine("Įveskite spausdinamą simbolį"); + character = (char)Console.Read(); + for (int i = 1; i < 51; i++) + if (i % 5 == 0) + Console.WriteLine(character); + else + Console.Write(character); + Console.WriteLine(""); + Console.ReadKey(); + } + } +} \ No newline at end of file diff --git a/Introduction.If.Step3/Introduction.If.Step3.csproj b/Introduction.If.Step3/Introduction.If.Step3.csproj new file mode 100755 index 0000000..23df604 --- /dev/null +++ b/Introduction.If.Step3/Introduction.If.Step3.csproj @@ -0,0 +1,8 @@ + + + + Exe + netcoreapp2.1 + + + diff --git a/Introduction.If.Step3/Program.cs b/Introduction.If.Step3/Program.cs new file mode 100755 index 0000000..85dbbc6 --- /dev/null +++ b/Introduction.If.Step3/Program.cs @@ -0,0 +1,25 @@ +using System; + +namespace Introduction.If.Step3 +{ + class Program + { + static void Main(string[] args) + { + Console.WriteLine("Įveskite plotį: "); + int width = int.Parse(Console.ReadLine()); + Console.WriteLine("Įveskite aukštį: "); + int height = int.Parse(Console.ReadLine()); + char character; + Console.WriteLine("Įveskite spausdinamą simbolį: "); + character = (char)Console.Read(); + for (int i = 1; i <= width * height; i++) + if (i % width == 0) + Console.WriteLine(character); + else + Console.Write(character); + Console.WriteLine(""); + Console.ReadKey(); + } + } +} \ No newline at end of file diff --git a/Introduction.Loop.Step1/Introduction.Loop.Step1.csproj b/Introduction.Loop.Step1/Introduction.Loop.Step1.csproj new file mode 100755 index 0000000..23df604 --- /dev/null +++ b/Introduction.Loop.Step1/Introduction.Loop.Step1.csproj @@ -0,0 +1,8 @@ + + + + Exe + netcoreapp2.1 + + + diff --git a/Introduction.Loop.Step1/Program.cs b/Introduction.Loop.Step1/Program.cs new file mode 100755 index 0000000..e180992 --- /dev/null +++ b/Introduction.Loop.Step1/Program.cs @@ -0,0 +1,15 @@ +using System; + +namespace Introduction.Loop.Step1 +{ + class Program + { + static void Main(string[] args) + { + Console.WriteLine("Skaičiai nuo 1 iki 10 ir jų kvadratai:"); + for (int i = 1; i < 11; i++) + Console.WriteLine("{0} {1}", i, i * i); + Console.ReadKey(); + } + } +} \ No newline at end of file diff --git a/Introduction.Loop.Step2/Introduction.Loop.Step2.csproj b/Introduction.Loop.Step2/Introduction.Loop.Step2.csproj new file mode 100755 index 0000000..23df604 --- /dev/null +++ b/Introduction.Loop.Step2/Introduction.Loop.Step2.csproj @@ -0,0 +1,8 @@ + + + + Exe + netcoreapp2.1 + + + diff --git a/Introduction.Loop.Step2/Program.cs b/Introduction.Loop.Step2/Program.cs new file mode 100755 index 0000000..65366b5 --- /dev/null +++ b/Introduction.Loop.Step2/Program.cs @@ -0,0 +1,15 @@ +using System; + +namespace Introduction.Loop.Step2 +{ + class Program + { + static void Main(string[] args) + { + Console.WriteLine("Skaičiai nuo 5 iki 15 ir jų kvadratai:"); + for (int i = 5; i <= 15; i++) + Console.WriteLine("{0} {1}", i, i * i); + Console.ReadKey(); + } + } +} \ No newline at end of file diff --git a/Introduction.Loop.Step3/Introduction.Loop.Step3.csproj b/Introduction.Loop.Step3/Introduction.Loop.Step3.csproj new file mode 100755 index 0000000..23df604 --- /dev/null +++ b/Introduction.Loop.Step3/Introduction.Loop.Step3.csproj @@ -0,0 +1,8 @@ + + + + Exe + netcoreapp2.1 + + + diff --git a/Introduction.Loop.Step3/Program.cs b/Introduction.Loop.Step3/Program.cs new file mode 100755 index 0000000..be7ae1b --- /dev/null +++ b/Introduction.Loop.Step3/Program.cs @@ -0,0 +1,15 @@ +using System; + +namespace Introduction.Loop.Step3 +{ + class Program + { + static void Main(string[] args) + { + Console.WriteLine("Skaičiai nuo 5 iki 15 ir jų kvadratai ir kūbai:"); + for (int i = 5; i <= 15; i++) + Console.WriteLine("{0} {1} {2}", i, i * i, i * i * i); + Console.ReadKey(); + } + } +} \ No newline at end of file diff --git a/Introduction.Loop.Step4/Introduction.Loop.Step4.csproj b/Introduction.Loop.Step4/Introduction.Loop.Step4.csproj new file mode 100755 index 0000000..23df604 --- /dev/null +++ b/Introduction.Loop.Step4/Introduction.Loop.Step4.csproj @@ -0,0 +1,8 @@ + + + + Exe + netcoreapp2.1 + + + diff --git a/Introduction.Loop.Step4/Program.cs b/Introduction.Loop.Step4/Program.cs new file mode 100755 index 0000000..2f73632 --- /dev/null +++ b/Introduction.Loop.Step4/Program.cs @@ -0,0 +1,17 @@ +using System; + +namespace Introduction.Loop.Step4 +{ + class Program + { + static void Main(string[] args) + { + int from = 5; + int to = 15; + Console.WriteLine("Skaičiai nuo {0} iki {1} ir jų kvadratai ir kūbai:", from, to); + for (int i = from; i <= to; i++) + Console.WriteLine("{0} {1} {2}", i, i * i, i * i * i); + Console.ReadKey(); + } + } +} \ No newline at end of file diff --git a/Introduction.Loop.Step5/Introduction.Loop.Step5.csproj b/Introduction.Loop.Step5/Introduction.Loop.Step5.csproj new file mode 100755 index 0000000..23df604 --- /dev/null +++ b/Introduction.Loop.Step5/Introduction.Loop.Step5.csproj @@ -0,0 +1,8 @@ + + + + Exe + netcoreapp2.1 + + + diff --git a/Introduction.Loop.Step5/Program.cs b/Introduction.Loop.Step5/Program.cs new file mode 100755 index 0000000..8c5d724 --- /dev/null +++ b/Introduction.Loop.Step5/Program.cs @@ -0,0 +1,20 @@ +using System; + +namespace Introduction.Loop.Step5 +{ + class Program + { + static void Main(string[] args) + { + int from = 5; + int to = 15; + Console.WriteLine("Skaičiai nuo {0} iki {1} ir jų kvadratai ir kūbai:", from, to); + for (int i = from; i <= to; i++) + Console.WriteLine("{0} {1} {2}", i, i * i, i * i * i); + + // Determine how many times the for loop got executed + Console.WriteLine("Skaičiavimų kiekis: {0}", to-from+1); + Console.ReadKey(); + } + } +} \ No newline at end of file diff --git a/Introduction.Loop.Step6/Introduction.Loop.Step6.csproj b/Introduction.Loop.Step6/Introduction.Loop.Step6.csproj new file mode 100755 index 0000000..23df604 --- /dev/null +++ b/Introduction.Loop.Step6/Introduction.Loop.Step6.csproj @@ -0,0 +1,8 @@ + + + + Exe + netcoreapp2.1 + + + diff --git a/Introduction.Loop.Step6/Program.cs b/Introduction.Loop.Step6/Program.cs new file mode 100755 index 0000000..fc5c46e --- /dev/null +++ b/Introduction.Loop.Step6/Program.cs @@ -0,0 +1,23 @@ +using System; + +namespace Introduction.Loop.Step6 +{ + class Program + { + static void Main(string[] args) + { + Console.WriteLine("Įveskite nuo kurio skaičiaus skaičiuoti: "); + int from = int.Parse(Console.ReadLine()); + Console.WriteLine("Įveskite iki kurio skaičiaus skaičiuoti: "); + int to = int.Parse(Console.ReadLine()); + + Console.WriteLine("Skaičiai nuo {0} iki {1} ir jų kvadratai ir kūbai:", from, to); + for (int i = from; i <= to; i++) + Console.WriteLine("{0} {1} {2}", i, i * i, i * i * i); + + // Determine how many times the for loop got executed + Console.WriteLine("Skaičiavimų kiekis: {0}", to - from + 1); + Console.ReadKey(); + } + } +} \ No newline at end of file diff --git a/Introduction.Methods.Step1/Introduction.Methods.Step1.csproj b/Introduction.Methods.Step1/Introduction.Methods.Step1.csproj new file mode 100644 index 0000000..2082704 --- /dev/null +++ b/Introduction.Methods.Step1/Introduction.Methods.Step1.csproj @@ -0,0 +1,8 @@ + + + + Exe + net5.0 + + + diff --git a/Introduction.Methods.Step1/Program.cs b/Introduction.Methods.Step1/Program.cs new file mode 100644 index 0000000..c5f08ae --- /dev/null +++ b/Introduction.Methods.Step1/Program.cs @@ -0,0 +1,27 @@ +using System; + +namespace Introduction.Methods.Step1 +{ + class Program + { + static void Main(string[] args) + { + char character; + Console.WriteLine("Įveskite spausdinamą simbolį"); + character = Convert.ToChar(Console.Read()); + Program program = new Program(); + program.Display(character); + Console.ReadKey(); + } + + void Display(char characterToDisplay) + { + for (int i = 1; i < 51; i++) + if (i % 5 == 0) + Console.WriteLine(characterToDisplay); + else + Console.Write(characterToDisplay); + Console.WriteLine(""); + } + } +} diff --git a/Introduction.Methods.Step2/Introduction.Methods.Step2.csproj b/Introduction.Methods.Step2/Introduction.Methods.Step2.csproj new file mode 100644 index 0000000..2082704 --- /dev/null +++ b/Introduction.Methods.Step2/Introduction.Methods.Step2.csproj @@ -0,0 +1,8 @@ + + + + Exe + net5.0 + + + diff --git a/Introduction.Methods.Step2/Program.cs b/Introduction.Methods.Step2/Program.cs new file mode 100644 index 0000000..e62a1c6 --- /dev/null +++ b/Introduction.Methods.Step2/Program.cs @@ -0,0 +1,35 @@ +using System; + +namespace Introduction.Methods.Step2 +{ + class Program + { + static void Main(string[] args) + { + double functionResult; + int a; + double x; + Console.WriteLine("Įveskite a reikšmę:"); + a = int.Parse(Console.ReadLine()); + Console.WriteLine("Įveskite x reikšmę:"); + x = double.Parse(Console.ReadLine()); + Program program = new Program(); + functionResult = program.CalculateValue(a, x); + Console.WriteLine(" Reikšmė a = {0}, reikšmė x = {1}, fx = {2}", a, x, + functionResult); + Console.ReadKey(); + } + + double CalculateValue(int a, double x) + { + double value; + if (x <= 0) + value = a * Math.Exp(-x); + else if (x < 1) + value = 5 * a * x - 7; + else + value = Math.Pow(x + 1, 0.5); + return value; + } + } +} diff --git a/Introduction.Methods.Step3/Introduction.Methods.Step3.csproj b/Introduction.Methods.Step3/Introduction.Methods.Step3.csproj new file mode 100644 index 0000000..2082704 --- /dev/null +++ b/Introduction.Methods.Step3/Introduction.Methods.Step3.csproj @@ -0,0 +1,8 @@ + + + + Exe + net5.0 + + + diff --git a/Introduction.Methods.Step3/Program.cs b/Introduction.Methods.Step3/Program.cs new file mode 100644 index 0000000..115a674 --- /dev/null +++ b/Introduction.Methods.Step3/Program.cs @@ -0,0 +1,27 @@ +using System; + +namespace Introduction.Methods.Step3 +{ + class Program + { + static void Main(string[] args) + { + int z; + Console.WriteLine("Įveskite z reikšmę:"); + z = int.Parse(Console.ReadLine()); + Program program = new Program(); + if (z - 1 >= 0) + { + Console.WriteLine("z={0} f(x)={1}", z, program.RaisePower(z, 1, 0.5)); + } + else + Console.WriteLine("z={0} f-ja neegzistuoja", z); + Console.ReadKey(); + } + + double RaisePower(int value1, int value2, double power) + { + return Math.Pow(value1 - value2, power); + } + } +} diff --git a/Introduction.MoreMath/Introduction.MoreMath.csproj b/Introduction.MoreMath/Introduction.MoreMath.csproj new file mode 100644 index 0000000..2082704 --- /dev/null +++ b/Introduction.MoreMath/Introduction.MoreMath.csproj @@ -0,0 +1,8 @@ + + + + Exe + net5.0 + + + diff --git a/Introduction.MoreMath/Program.cs b/Introduction.MoreMath/Program.cs new file mode 100644 index 0000000..5198dff --- /dev/null +++ b/Introduction.MoreMath/Program.cs @@ -0,0 +1,27 @@ +using System; + +namespace Introduction.MoreMath +{ + class Program + { + static void Main(string[] args) + { + double functionResult; + int a; + double x; + Console.WriteLine("Įveskite a reikšmę:"); + a = int.Parse(Console.ReadLine()); + Console.WriteLine("Įveskite x reikšmę:"); + x = double.Parse(Console.ReadLine()); + if (x <= 0) + functionResult = a * Math.Exp(-x); + else + if (x < 1) + functionResult = 5 * a * x - 7; + else + functionResult = Math.Pow(x + 1, 0.5); + Console.WriteLine(" Reikšmė a = {0}, reikšmė x = {1}, fx = {2}", a, x, functionResult); + Console.ReadKey(); + } + } +} diff --git a/Introduction.SimpleMath/Introduction.SimpleMath.csproj b/Introduction.SimpleMath/Introduction.SimpleMath.csproj new file mode 100644 index 0000000..2082704 --- /dev/null +++ b/Introduction.SimpleMath/Introduction.SimpleMath.csproj @@ -0,0 +1,8 @@ + + + + Exe + net5.0 + + + diff --git a/Introduction.SimpleMath/Program.cs b/Introduction.SimpleMath/Program.cs new file mode 100644 index 0000000..d6ce68b --- /dev/null +++ b/Introduction.SimpleMath/Program.cs @@ -0,0 +1,23 @@ +using System; + +namespace Introduction.SimpleMath +{ + class Program + { + static void Main(string[] args) + { + double squareRootResult; + int z; + Console.WriteLine("Įveskite z reikšmę:"); + z = int.Parse(Console.ReadLine()); + if (z - 1 >= 0) + { + squareRootResult = Math.Pow(z - 1, 0.5); + Console.WriteLine(" z = {0} f(x) = {1}", z, squareRootResult); + } + else + Console.WriteLine(" z = {0} f-ja neegzistuoja", z); + Console.ReadKey(); + } + } +} diff --git a/Introduction.sln b/Introduction.sln new file mode 100755 index 0000000..76a25cb --- /dev/null +++ b/Introduction.sln @@ -0,0 +1,163 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 15 +VisualStudioVersion = 15.0.28307.1525 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Introduction.Loop.Step1", "Introduction.Loop.Step1\Introduction.Loop.Step1.csproj", "{AC4A13B8-A882-4A86-A45E-723AB1C2CC71}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Introduction.Loop.Step2", "Introduction.Loop.Step2\Introduction.Loop.Step2.csproj", "{4D93DD53-0D88-4394-B47B-69E69D627973}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Introduction.Loop.Step3", "Introduction.Loop.Step3\Introduction.Loop.Step3.csproj", "{102E8A8C-2537-438C-A791-975D6C7E66BE}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Introduction.Loop.Step4", "Introduction.Loop.Step4\Introduction.Loop.Step4.csproj", "{D87DF8AE-ACE9-4E38-93BC-11933D572BB1}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Introduction.Loop.Step5", "Introduction.Loop.Step5\Introduction.Loop.Step5.csproj", "{F18DA94E-C56D-4DD9-9FC5-44E27007AD10}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Introduction.Loop.Step6", "Introduction.Loop.Step6\Introduction.Loop.Step6.csproj", "{818F9EFF-0161-4221-A117-8ED9D38CF319}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Introduction.If.Step1", "Introduction.If.Step1\Introduction.If.Step1.csproj", "{71267E24-7AC6-42BB-921F-4361E2640B62}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Introduction.If.Step2", "Introduction.If.Step2\Introduction.If.Step2.csproj", "{92E5585B-6760-4A1C-8493-5D966C8CF7B2}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Introduction.If.Step3", "Introduction.If.Step3\Introduction.If.Step3.csproj", "{29EEE229-7D54-4F99-8635-6331A17023FB}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Introduction.1Savarankiskas", "Introduction.1Savarankiskas\Introduction.1Savarankiskas.csproj", "{80F746C3-BEE6-49C2-A718-DAEFF7B45C61}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Introduction.SimpleMath", "Introduction.SimpleMath\Introduction.SimpleMath.csproj", "{EC839DEE-CAFE-42E1-93AC-B737840A44DB}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Introduction.MoreMath", "Introduction.MoreMath\Introduction.MoreMath.csproj", "{0E9722E5-1532-48A8-86A0-566F03E8012C}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Introduction.3Savarankiskas", "Introduction.3Savarankiskas\Introduction.3Savarankiskas.csproj", "{0BBBAED0-9905-4629-BA5A-F2EB629AF610}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Introduction.Methods.Step1", "Introduction.Methods.Step1\Introduction.Methods.Step1.csproj", "{7271859C-FC64-41B9-8B52-C301FDDA2066}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Introduction.Methods.Step2", "Introduction.Methods.Step2\Introduction.Methods.Step2.csproj", "{C4D38902-A24E-4949-9990-18EA609168BC}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Introduction.2Savarankiskas", "Introduction.2Savarankiskas\Introduction.2Savarankiskas.csproj", "{09DF6970-EFCE-4121-A7D2-AB011626EAA4}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Introduction.Methods.Step3", "Introduction.Methods.Step3\Introduction.Methods.Step3.csproj", "{5B63023E-9EAF-4F77-9C3B-BCAE09D3C25C}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Introduction.CharsAndStrings.Step1", "Introduction.CharsAndStrings.Step1\Introduction.CharsAndStrings.Step1.csproj", "{68072B20-5879-4009-8080-B4972A24BD2B}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Introduction.CharsAndStrings.Step2", "Introduction.CharsAndStrings.Step2\Introduction.CharsAndStrings.Step2.csproj", "{41F1493E-CB0F-4B6B-A7F0-0DE939D605B7}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Introduction.CharsAndStrings.Step3", "Introduction.CharsAndStrings.Step3\Introduction.CharsAndStrings.Step3.csproj", "{7ED3803F-83D3-4E8E-8450-EA244EC8667A}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Introduction.CharsAndStrings.Step4", "Introduction.CharsAndStrings.Step4\Introduction.CharsAndStrings.Step4.csproj", "{273BA858-F15C-41E1-9795-B7981D8B756A}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Introduction.CharsAndStrings.Step5", "Introduction.CharsAndStrings.Step5\Introduction.CharsAndStrings.Step5.csproj", "{2A4EA3B2-8D53-4269-A323-A6C928E88A88}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Introduction.CharsAndStrings.Step6", "Introduction.CharsAndStrings.Step6\Introduction.CharsAndStrings.Step6.csproj", "{2C7E36E2-0F98-44AC-9D6F-E912EA33C015}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Introduction.4Savarankiskas", "Introduction.4Savarankiskas\Introduction.4Savarankiskas.csproj", "{9AFCAE14-0939-4E25-B5E5-6B70289E6FBD}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {AC4A13B8-A882-4A86-A45E-723AB1C2CC71}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {AC4A13B8-A882-4A86-A45E-723AB1C2CC71}.Debug|Any CPU.Build.0 = Debug|Any CPU + {AC4A13B8-A882-4A86-A45E-723AB1C2CC71}.Release|Any CPU.ActiveCfg = Release|Any CPU + {AC4A13B8-A882-4A86-A45E-723AB1C2CC71}.Release|Any CPU.Build.0 = Release|Any CPU + {4D93DD53-0D88-4394-B47B-69E69D627973}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {4D93DD53-0D88-4394-B47B-69E69D627973}.Debug|Any CPU.Build.0 = Debug|Any CPU + {4D93DD53-0D88-4394-B47B-69E69D627973}.Release|Any CPU.ActiveCfg = Release|Any CPU + {4D93DD53-0D88-4394-B47B-69E69D627973}.Release|Any CPU.Build.0 = Release|Any CPU + {102E8A8C-2537-438C-A791-975D6C7E66BE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {102E8A8C-2537-438C-A791-975D6C7E66BE}.Debug|Any CPU.Build.0 = Debug|Any CPU + {102E8A8C-2537-438C-A791-975D6C7E66BE}.Release|Any CPU.ActiveCfg = Release|Any CPU + {102E8A8C-2537-438C-A791-975D6C7E66BE}.Release|Any CPU.Build.0 = Release|Any CPU + {D87DF8AE-ACE9-4E38-93BC-11933D572BB1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {D87DF8AE-ACE9-4E38-93BC-11933D572BB1}.Debug|Any CPU.Build.0 = Debug|Any CPU + {D87DF8AE-ACE9-4E38-93BC-11933D572BB1}.Release|Any CPU.ActiveCfg = Release|Any CPU + {D87DF8AE-ACE9-4E38-93BC-11933D572BB1}.Release|Any CPU.Build.0 = Release|Any CPU + {F18DA94E-C56D-4DD9-9FC5-44E27007AD10}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {F18DA94E-C56D-4DD9-9FC5-44E27007AD10}.Debug|Any CPU.Build.0 = Debug|Any CPU + {F18DA94E-C56D-4DD9-9FC5-44E27007AD10}.Release|Any CPU.ActiveCfg = Release|Any CPU + {F18DA94E-C56D-4DD9-9FC5-44E27007AD10}.Release|Any CPU.Build.0 = Release|Any CPU + {818F9EFF-0161-4221-A117-8ED9D38CF319}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {818F9EFF-0161-4221-A117-8ED9D38CF319}.Debug|Any CPU.Build.0 = Debug|Any CPU + {818F9EFF-0161-4221-A117-8ED9D38CF319}.Release|Any CPU.ActiveCfg = Release|Any CPU + {818F9EFF-0161-4221-A117-8ED9D38CF319}.Release|Any CPU.Build.0 = Release|Any CPU + {71267E24-7AC6-42BB-921F-4361E2640B62}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {71267E24-7AC6-42BB-921F-4361E2640B62}.Debug|Any CPU.Build.0 = Debug|Any CPU + {71267E24-7AC6-42BB-921F-4361E2640B62}.Release|Any CPU.ActiveCfg = Release|Any CPU + {71267E24-7AC6-42BB-921F-4361E2640B62}.Release|Any CPU.Build.0 = Release|Any CPU + {92E5585B-6760-4A1C-8493-5D966C8CF7B2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {92E5585B-6760-4A1C-8493-5D966C8CF7B2}.Debug|Any CPU.Build.0 = Debug|Any CPU + {92E5585B-6760-4A1C-8493-5D966C8CF7B2}.Release|Any CPU.ActiveCfg = Release|Any CPU + {92E5585B-6760-4A1C-8493-5D966C8CF7B2}.Release|Any CPU.Build.0 = Release|Any CPU + {29EEE229-7D54-4F99-8635-6331A17023FB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {29EEE229-7D54-4F99-8635-6331A17023FB}.Debug|Any CPU.Build.0 = Debug|Any CPU + {29EEE229-7D54-4F99-8635-6331A17023FB}.Release|Any CPU.ActiveCfg = Release|Any CPU + {29EEE229-7D54-4F99-8635-6331A17023FB}.Release|Any CPU.Build.0 = Release|Any CPU + {80F746C3-BEE6-49C2-A718-DAEFF7B45C61}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {80F746C3-BEE6-49C2-A718-DAEFF7B45C61}.Debug|Any CPU.Build.0 = Debug|Any CPU + {80F746C3-BEE6-49C2-A718-DAEFF7B45C61}.Release|Any CPU.ActiveCfg = Release|Any CPU + {80F746C3-BEE6-49C2-A718-DAEFF7B45C61}.Release|Any CPU.Build.0 = Release|Any CPU + {EC839DEE-CAFE-42E1-93AC-B737840A44DB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {EC839DEE-CAFE-42E1-93AC-B737840A44DB}.Debug|Any CPU.Build.0 = Debug|Any CPU + {EC839DEE-CAFE-42E1-93AC-B737840A44DB}.Release|Any CPU.ActiveCfg = Release|Any CPU + {EC839DEE-CAFE-42E1-93AC-B737840A44DB}.Release|Any CPU.Build.0 = Release|Any CPU + {0E9722E5-1532-48A8-86A0-566F03E8012C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {0E9722E5-1532-48A8-86A0-566F03E8012C}.Debug|Any CPU.Build.0 = Debug|Any CPU + {0E9722E5-1532-48A8-86A0-566F03E8012C}.Release|Any CPU.ActiveCfg = Release|Any CPU + {0E9722E5-1532-48A8-86A0-566F03E8012C}.Release|Any CPU.Build.0 = Release|Any CPU + {0BBBAED0-9905-4629-BA5A-F2EB629AF610}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {0BBBAED0-9905-4629-BA5A-F2EB629AF610}.Debug|Any CPU.Build.0 = Debug|Any CPU + {0BBBAED0-9905-4629-BA5A-F2EB629AF610}.Release|Any CPU.ActiveCfg = Release|Any CPU + {0BBBAED0-9905-4629-BA5A-F2EB629AF610}.Release|Any CPU.Build.0 = Release|Any CPU + {7271859C-FC64-41B9-8B52-C301FDDA2066}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {7271859C-FC64-41B9-8B52-C301FDDA2066}.Debug|Any CPU.Build.0 = Debug|Any CPU + {7271859C-FC64-41B9-8B52-C301FDDA2066}.Release|Any CPU.ActiveCfg = Release|Any CPU + {7271859C-FC64-41B9-8B52-C301FDDA2066}.Release|Any CPU.Build.0 = Release|Any CPU + {C4D38902-A24E-4949-9990-18EA609168BC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {C4D38902-A24E-4949-9990-18EA609168BC}.Debug|Any CPU.Build.0 = Debug|Any CPU + {C4D38902-A24E-4949-9990-18EA609168BC}.Release|Any CPU.ActiveCfg = Release|Any CPU + {C4D38902-A24E-4949-9990-18EA609168BC}.Release|Any CPU.Build.0 = Release|Any CPU + {09DF6970-EFCE-4121-A7D2-AB011626EAA4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {09DF6970-EFCE-4121-A7D2-AB011626EAA4}.Debug|Any CPU.Build.0 = Debug|Any CPU + {09DF6970-EFCE-4121-A7D2-AB011626EAA4}.Release|Any CPU.ActiveCfg = Release|Any CPU + {09DF6970-EFCE-4121-A7D2-AB011626EAA4}.Release|Any CPU.Build.0 = Release|Any CPU + {5B63023E-9EAF-4F77-9C3B-BCAE09D3C25C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {5B63023E-9EAF-4F77-9C3B-BCAE09D3C25C}.Debug|Any CPU.Build.0 = Debug|Any CPU + {5B63023E-9EAF-4F77-9C3B-BCAE09D3C25C}.Release|Any CPU.ActiveCfg = Release|Any CPU + {5B63023E-9EAF-4F77-9C3B-BCAE09D3C25C}.Release|Any CPU.Build.0 = Release|Any CPU + {68072B20-5879-4009-8080-B4972A24BD2B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {68072B20-5879-4009-8080-B4972A24BD2B}.Debug|Any CPU.Build.0 = Debug|Any CPU + {68072B20-5879-4009-8080-B4972A24BD2B}.Release|Any CPU.ActiveCfg = Release|Any CPU + {68072B20-5879-4009-8080-B4972A24BD2B}.Release|Any CPU.Build.0 = Release|Any CPU + {41F1493E-CB0F-4B6B-A7F0-0DE939D605B7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {41F1493E-CB0F-4B6B-A7F0-0DE939D605B7}.Debug|Any CPU.Build.0 = Debug|Any CPU + {41F1493E-CB0F-4B6B-A7F0-0DE939D605B7}.Release|Any CPU.ActiveCfg = Release|Any CPU + {41F1493E-CB0F-4B6B-A7F0-0DE939D605B7}.Release|Any CPU.Build.0 = Release|Any CPU + {7ED3803F-83D3-4E8E-8450-EA244EC8667A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {7ED3803F-83D3-4E8E-8450-EA244EC8667A}.Debug|Any CPU.Build.0 = Debug|Any CPU + {7ED3803F-83D3-4E8E-8450-EA244EC8667A}.Release|Any CPU.ActiveCfg = Release|Any CPU + {7ED3803F-83D3-4E8E-8450-EA244EC8667A}.Release|Any CPU.Build.0 = Release|Any CPU + {273BA858-F15C-41E1-9795-B7981D8B756A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {273BA858-F15C-41E1-9795-B7981D8B756A}.Debug|Any CPU.Build.0 = Debug|Any CPU + {273BA858-F15C-41E1-9795-B7981D8B756A}.Release|Any CPU.ActiveCfg = Release|Any CPU + {273BA858-F15C-41E1-9795-B7981D8B756A}.Release|Any CPU.Build.0 = Release|Any CPU + {2A4EA3B2-8D53-4269-A323-A6C928E88A88}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {2A4EA3B2-8D53-4269-A323-A6C928E88A88}.Debug|Any CPU.Build.0 = Debug|Any CPU + {2A4EA3B2-8D53-4269-A323-A6C928E88A88}.Release|Any CPU.ActiveCfg = Release|Any CPU + {2A4EA3B2-8D53-4269-A323-A6C928E88A88}.Release|Any CPU.Build.0 = Release|Any CPU + {2C7E36E2-0F98-44AC-9D6F-E912EA33C015}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {2C7E36E2-0F98-44AC-9D6F-E912EA33C015}.Debug|Any CPU.Build.0 = Debug|Any CPU + {2C7E36E2-0F98-44AC-9D6F-E912EA33C015}.Release|Any CPU.ActiveCfg = Release|Any CPU + {2C7E36E2-0F98-44AC-9D6F-E912EA33C015}.Release|Any CPU.Build.0 = Release|Any CPU + {9AFCAE14-0939-4E25-B5E5-6B70289E6FBD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {9AFCAE14-0939-4E25-B5E5-6B70289E6FBD}.Debug|Any CPU.Build.0 = Debug|Any CPU + {9AFCAE14-0939-4E25-B5E5-6B70289E6FBD}.Release|Any CPU.ActiveCfg = Release|Any CPU + {9AFCAE14-0939-4E25-B5E5-6B70289E6FBD}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {39362F4E-667A-409A-B566-537DCB711A58} + EndGlobalSection +EndGlobal diff --git a/README.md b/README.md new file mode 100644 index 0000000..a1c6b40 --- /dev/null +++ b/README.md @@ -0,0 +1,6 @@ +# Introduction example project + +This project is from the "Object oriented programming" course in KTU. + +It is not polished in any way, so don't expect anything from this. + From f243f206afc37b43658d6c9dbf34719ff53a941d Mon Sep 17 00:00:00 2001 From: Rokas Puzonas Date: Wed, 17 Nov 2021 02:32:17 +0200 Subject: [PATCH 2/6] fix: remove 'Foo' project --- Foo/Foo.csproj | 8 -------- Foo/Program.cs | 12 ------------ 2 files changed, 20 deletions(-) delete mode 100755 Foo/Foo.csproj delete mode 100755 Foo/Program.cs diff --git a/Foo/Foo.csproj b/Foo/Foo.csproj deleted file mode 100755 index 23df604..0000000 --- a/Foo/Foo.csproj +++ /dev/null @@ -1,8 +0,0 @@ - - - - Exe - netcoreapp2.1 - - - diff --git a/Foo/Program.cs b/Foo/Program.cs deleted file mode 100755 index ea546d5..0000000 --- a/Foo/Program.cs +++ /dev/null @@ -1,12 +0,0 @@ -using System; - -namespace Foo -{ - class Program - { - static void Main(string[] args) - { - Console.WriteLine("Hello World!"); - } - } -} From b030381e7523577111883643486c2fb2c5e403c7 Mon Sep 17 00:00:00 2001 From: Rokas Puzonas Date: Wed, 17 Nov 2021 02:32:33 +0200 Subject: [PATCH 3/6] fix: update file permissions --- Introduction.1Savarankiskas/Introduction.1Savarankiskas.csproj | 0 Introduction.1Savarankiskas/Program.cs | 0 Introduction.If.Step1/Introduction.If.Step1.csproj | 0 Introduction.If.Step1/Program.cs | 0 Introduction.If.Step2/Introduction.If.Step2.csproj | 0 Introduction.If.Step2/Program.cs | 0 Introduction.If.Step3/Introduction.If.Step3.csproj | 0 Introduction.If.Step3/Program.cs | 0 Introduction.Loop.Step1/Introduction.Loop.Step1.csproj | 0 Introduction.Loop.Step1/Program.cs | 0 Introduction.Loop.Step2/Introduction.Loop.Step2.csproj | 0 Introduction.Loop.Step2/Program.cs | 0 Introduction.Loop.Step3/Introduction.Loop.Step3.csproj | 0 Introduction.Loop.Step3/Program.cs | 0 Introduction.Loop.Step4/Introduction.Loop.Step4.csproj | 0 Introduction.Loop.Step4/Program.cs | 0 Introduction.Loop.Step5/Introduction.Loop.Step5.csproj | 0 Introduction.Loop.Step5/Program.cs | 0 Introduction.Loop.Step6/Introduction.Loop.Step6.csproj | 0 Introduction.Loop.Step6/Program.cs | 0 Introduction.sln | 0 21 files changed, 0 insertions(+), 0 deletions(-) mode change 100755 => 100644 Introduction.1Savarankiskas/Introduction.1Savarankiskas.csproj mode change 100755 => 100644 Introduction.1Savarankiskas/Program.cs mode change 100755 => 100644 Introduction.If.Step1/Introduction.If.Step1.csproj mode change 100755 => 100644 Introduction.If.Step1/Program.cs mode change 100755 => 100644 Introduction.If.Step2/Introduction.If.Step2.csproj mode change 100755 => 100644 Introduction.If.Step2/Program.cs mode change 100755 => 100644 Introduction.If.Step3/Introduction.If.Step3.csproj mode change 100755 => 100644 Introduction.If.Step3/Program.cs mode change 100755 => 100644 Introduction.Loop.Step1/Introduction.Loop.Step1.csproj mode change 100755 => 100644 Introduction.Loop.Step1/Program.cs mode change 100755 => 100644 Introduction.Loop.Step2/Introduction.Loop.Step2.csproj mode change 100755 => 100644 Introduction.Loop.Step2/Program.cs mode change 100755 => 100644 Introduction.Loop.Step3/Introduction.Loop.Step3.csproj mode change 100755 => 100644 Introduction.Loop.Step3/Program.cs mode change 100755 => 100644 Introduction.Loop.Step4/Introduction.Loop.Step4.csproj mode change 100755 => 100644 Introduction.Loop.Step4/Program.cs mode change 100755 => 100644 Introduction.Loop.Step5/Introduction.Loop.Step5.csproj mode change 100755 => 100644 Introduction.Loop.Step5/Program.cs mode change 100755 => 100644 Introduction.Loop.Step6/Introduction.Loop.Step6.csproj mode change 100755 => 100644 Introduction.Loop.Step6/Program.cs mode change 100755 => 100644 Introduction.sln diff --git a/Introduction.1Savarankiskas/Introduction.1Savarankiskas.csproj b/Introduction.1Savarankiskas/Introduction.1Savarankiskas.csproj old mode 100755 new mode 100644 diff --git a/Introduction.1Savarankiskas/Program.cs b/Introduction.1Savarankiskas/Program.cs old mode 100755 new mode 100644 diff --git a/Introduction.If.Step1/Introduction.If.Step1.csproj b/Introduction.If.Step1/Introduction.If.Step1.csproj old mode 100755 new mode 100644 diff --git a/Introduction.If.Step1/Program.cs b/Introduction.If.Step1/Program.cs old mode 100755 new mode 100644 diff --git a/Introduction.If.Step2/Introduction.If.Step2.csproj b/Introduction.If.Step2/Introduction.If.Step2.csproj old mode 100755 new mode 100644 diff --git a/Introduction.If.Step2/Program.cs b/Introduction.If.Step2/Program.cs old mode 100755 new mode 100644 diff --git a/Introduction.If.Step3/Introduction.If.Step3.csproj b/Introduction.If.Step3/Introduction.If.Step3.csproj old mode 100755 new mode 100644 diff --git a/Introduction.If.Step3/Program.cs b/Introduction.If.Step3/Program.cs old mode 100755 new mode 100644 diff --git a/Introduction.Loop.Step1/Introduction.Loop.Step1.csproj b/Introduction.Loop.Step1/Introduction.Loop.Step1.csproj old mode 100755 new mode 100644 diff --git a/Introduction.Loop.Step1/Program.cs b/Introduction.Loop.Step1/Program.cs old mode 100755 new mode 100644 diff --git a/Introduction.Loop.Step2/Introduction.Loop.Step2.csproj b/Introduction.Loop.Step2/Introduction.Loop.Step2.csproj old mode 100755 new mode 100644 diff --git a/Introduction.Loop.Step2/Program.cs b/Introduction.Loop.Step2/Program.cs old mode 100755 new mode 100644 diff --git a/Introduction.Loop.Step3/Introduction.Loop.Step3.csproj b/Introduction.Loop.Step3/Introduction.Loop.Step3.csproj old mode 100755 new mode 100644 diff --git a/Introduction.Loop.Step3/Program.cs b/Introduction.Loop.Step3/Program.cs old mode 100755 new mode 100644 diff --git a/Introduction.Loop.Step4/Introduction.Loop.Step4.csproj b/Introduction.Loop.Step4/Introduction.Loop.Step4.csproj old mode 100755 new mode 100644 diff --git a/Introduction.Loop.Step4/Program.cs b/Introduction.Loop.Step4/Program.cs old mode 100755 new mode 100644 diff --git a/Introduction.Loop.Step5/Introduction.Loop.Step5.csproj b/Introduction.Loop.Step5/Introduction.Loop.Step5.csproj old mode 100755 new mode 100644 diff --git a/Introduction.Loop.Step5/Program.cs b/Introduction.Loop.Step5/Program.cs old mode 100755 new mode 100644 diff --git a/Introduction.Loop.Step6/Introduction.Loop.Step6.csproj b/Introduction.Loop.Step6/Introduction.Loop.Step6.csproj old mode 100755 new mode 100644 diff --git a/Introduction.Loop.Step6/Program.cs b/Introduction.Loop.Step6/Program.cs old mode 100755 new mode 100644 diff --git a/Introduction.sln b/Introduction.sln old mode 100755 new mode 100644 From b260fe439ec66c518db7a4203548b0c9da3c4a21 Mon Sep 17 00:00:00 2001 From: Rokas Puzonas Date: Thu, 25 Nov 2021 03:13:13 +0200 Subject: [PATCH 4/6] fix: add editorconfig --- .editorconfig | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..3159b2a --- /dev/null +++ b/.editorconfig @@ -0,0 +1,14 @@ +root=true + +[*] +charset = utf-8 +end_of_line = lf +indent_style = tab +indent_size = 2 +insert_final_newline = true +trim_trailing_whitespace = true + +[*.cs] +indent_style = space +indent_size = 4 + From c9432bc49a294bdcb1364effbc6de529e449c77d Mon Sep 17 00:00:00 2001 From: Rokas Puzonas Date: Thu, 25 Nov 2021 16:36:58 +0200 Subject: [PATCH 5/6] fix: add dotnet cli config --- global.json | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 global.json diff --git a/global.json b/global.json new file mode 100644 index 0000000..4aa91ae --- /dev/null +++ b/global.json @@ -0,0 +1,5 @@ +{ + "sdk": { + "version": "3.0.103" + } +} From 962d1d0a2c8c688151ba410d5316b857d4b07938 Mon Sep 17 00:00:00 2001 From: Rokas Puzonas Date: Wed, 8 Dec 2021 20:54:18 +0200 Subject: [PATCH 6/6] fix: move all files to 'Introduction' --- .editorconfig => Introduction/.editorconfig | 0 .gitignore => Introduction/.gitignore | 0 .../Introduction.1Savarankiskas.csproj | 0 .../Introduction.1Savarankiskas}/Program.cs | 0 .../Introduction.2Savarankiskas.csproj | 0 .../Introduction.2Savarankiskas}/Program.cs | 0 .../Introduction.3Savarankiskas.csproj | 0 .../Introduction.3Savarankiskas}/Program.cs | 0 .../Introduction.4Savarankiskas.csproj | 0 .../Introduction.4Savarankiskas}/Program.cs | 0 .../Introduction.CharsAndStrings.Step1.csproj | 0 .../Introduction.CharsAndStrings.Step1}/Program.cs | 0 .../Introduction.CharsAndStrings.Step2.csproj | 0 .../Introduction.CharsAndStrings.Step2}/Program.cs | 0 .../Introduction.CharsAndStrings.Step3.csproj | 0 .../Introduction.CharsAndStrings.Step3}/Program.cs | 0 .../Introduction.CharsAndStrings.Step4.csproj | 0 .../Introduction.CharsAndStrings.Step4}/Program.cs | 0 .../Introduction.CharsAndStrings.Step5.csproj | 0 .../Introduction.CharsAndStrings.Step5}/Program.cs | 0 .../Introduction.CharsAndStrings.Step6.csproj | 0 .../Introduction.CharsAndStrings.Step6}/Program.cs | 0 .../Introduction.If.Step1}/Introduction.If.Step1.csproj | 0 .../Introduction.If.Step1}/Program.cs | 0 .../Introduction.If.Step2}/Introduction.If.Step2.csproj | 0 .../Introduction.If.Step2}/Program.cs | 0 .../Introduction.If.Step3}/Introduction.If.Step3.csproj | 0 .../Introduction.If.Step3}/Program.cs | 0 .../Introduction.Loop.Step1}/Introduction.Loop.Step1.csproj | 0 .../Introduction.Loop.Step1}/Program.cs | 0 .../Introduction.Loop.Step2}/Introduction.Loop.Step2.csproj | 0 .../Introduction.Loop.Step2}/Program.cs | 0 .../Introduction.Loop.Step3}/Introduction.Loop.Step3.csproj | 0 .../Introduction.Loop.Step3}/Program.cs | 0 .../Introduction.Loop.Step4}/Introduction.Loop.Step4.csproj | 0 .../Introduction.Loop.Step4}/Program.cs | 0 .../Introduction.Loop.Step5}/Introduction.Loop.Step5.csproj | 0 .../Introduction.Loop.Step5}/Program.cs | 0 .../Introduction.Loop.Step6}/Introduction.Loop.Step6.csproj | 0 .../Introduction.Loop.Step6}/Program.cs | 0 .../Introduction.Methods.Step1}/Introduction.Methods.Step1.csproj | 0 .../Introduction.Methods.Step1}/Program.cs | 0 .../Introduction.Methods.Step2}/Introduction.Methods.Step2.csproj | 0 .../Introduction.Methods.Step2}/Program.cs | 0 .../Introduction.Methods.Step3}/Introduction.Methods.Step3.csproj | 0 .../Introduction.Methods.Step3}/Program.cs | 0 .../Introduction.MoreMath}/Introduction.MoreMath.csproj | 0 .../Introduction.MoreMath}/Program.cs | 0 .../Introduction.SimpleMath}/Introduction.SimpleMath.csproj | 0 .../Introduction.SimpleMath}/Program.cs | 0 Introduction.sln => Introduction/Introduction.sln | 0 README.md => Introduction/README.md | 0 global.json => Introduction/global.json | 0 53 files changed, 0 insertions(+), 0 deletions(-) rename .editorconfig => Introduction/.editorconfig (100%) rename .gitignore => Introduction/.gitignore (100%) rename {Introduction.1Savarankiskas => Introduction/Introduction.1Savarankiskas}/Introduction.1Savarankiskas.csproj (100%) rename {Introduction.1Savarankiskas => Introduction/Introduction.1Savarankiskas}/Program.cs (100%) rename {Introduction.2Savarankiskas => Introduction/Introduction.2Savarankiskas}/Introduction.2Savarankiskas.csproj (100%) rename {Introduction.2Savarankiskas => Introduction/Introduction.2Savarankiskas}/Program.cs (100%) rename {Introduction.3Savarankiskas => Introduction/Introduction.3Savarankiskas}/Introduction.3Savarankiskas.csproj (100%) rename {Introduction.3Savarankiskas => Introduction/Introduction.3Savarankiskas}/Program.cs (100%) rename {Introduction.4Savarankiskas => Introduction/Introduction.4Savarankiskas}/Introduction.4Savarankiskas.csproj (100%) rename {Introduction.4Savarankiskas => Introduction/Introduction.4Savarankiskas}/Program.cs (100%) rename {Introduction.CharsAndStrings.Step1 => Introduction/Introduction.CharsAndStrings.Step1}/Introduction.CharsAndStrings.Step1.csproj (100%) rename {Introduction.CharsAndStrings.Step1 => Introduction/Introduction.CharsAndStrings.Step1}/Program.cs (100%) rename {Introduction.CharsAndStrings.Step2 => Introduction/Introduction.CharsAndStrings.Step2}/Introduction.CharsAndStrings.Step2.csproj (100%) rename {Introduction.CharsAndStrings.Step2 => Introduction/Introduction.CharsAndStrings.Step2}/Program.cs (100%) rename {Introduction.CharsAndStrings.Step3 => Introduction/Introduction.CharsAndStrings.Step3}/Introduction.CharsAndStrings.Step3.csproj (100%) rename {Introduction.CharsAndStrings.Step3 => Introduction/Introduction.CharsAndStrings.Step3}/Program.cs (100%) rename {Introduction.CharsAndStrings.Step4 => Introduction/Introduction.CharsAndStrings.Step4}/Introduction.CharsAndStrings.Step4.csproj (100%) rename {Introduction.CharsAndStrings.Step4 => Introduction/Introduction.CharsAndStrings.Step4}/Program.cs (100%) rename {Introduction.CharsAndStrings.Step5 => Introduction/Introduction.CharsAndStrings.Step5}/Introduction.CharsAndStrings.Step5.csproj (100%) rename {Introduction.CharsAndStrings.Step5 => Introduction/Introduction.CharsAndStrings.Step5}/Program.cs (100%) rename {Introduction.CharsAndStrings.Step6 => Introduction/Introduction.CharsAndStrings.Step6}/Introduction.CharsAndStrings.Step6.csproj (100%) rename {Introduction.CharsAndStrings.Step6 => Introduction/Introduction.CharsAndStrings.Step6}/Program.cs (100%) rename {Introduction.If.Step1 => Introduction/Introduction.If.Step1}/Introduction.If.Step1.csproj (100%) rename {Introduction.If.Step1 => Introduction/Introduction.If.Step1}/Program.cs (100%) rename {Introduction.If.Step2 => Introduction/Introduction.If.Step2}/Introduction.If.Step2.csproj (100%) rename {Introduction.If.Step2 => Introduction/Introduction.If.Step2}/Program.cs (100%) rename {Introduction.If.Step3 => Introduction/Introduction.If.Step3}/Introduction.If.Step3.csproj (100%) rename {Introduction.If.Step3 => Introduction/Introduction.If.Step3}/Program.cs (100%) rename {Introduction.Loop.Step1 => Introduction/Introduction.Loop.Step1}/Introduction.Loop.Step1.csproj (100%) rename {Introduction.Loop.Step1 => Introduction/Introduction.Loop.Step1}/Program.cs (100%) rename {Introduction.Loop.Step2 => Introduction/Introduction.Loop.Step2}/Introduction.Loop.Step2.csproj (100%) rename {Introduction.Loop.Step2 => Introduction/Introduction.Loop.Step2}/Program.cs (100%) rename {Introduction.Loop.Step3 => Introduction/Introduction.Loop.Step3}/Introduction.Loop.Step3.csproj (100%) rename {Introduction.Loop.Step3 => Introduction/Introduction.Loop.Step3}/Program.cs (100%) rename {Introduction.Loop.Step4 => Introduction/Introduction.Loop.Step4}/Introduction.Loop.Step4.csproj (100%) rename {Introduction.Loop.Step4 => Introduction/Introduction.Loop.Step4}/Program.cs (100%) rename {Introduction.Loop.Step5 => Introduction/Introduction.Loop.Step5}/Introduction.Loop.Step5.csproj (100%) rename {Introduction.Loop.Step5 => Introduction/Introduction.Loop.Step5}/Program.cs (100%) rename {Introduction.Loop.Step6 => Introduction/Introduction.Loop.Step6}/Introduction.Loop.Step6.csproj (100%) rename {Introduction.Loop.Step6 => Introduction/Introduction.Loop.Step6}/Program.cs (100%) rename {Introduction.Methods.Step1 => Introduction/Introduction.Methods.Step1}/Introduction.Methods.Step1.csproj (100%) rename {Introduction.Methods.Step1 => Introduction/Introduction.Methods.Step1}/Program.cs (100%) rename {Introduction.Methods.Step2 => Introduction/Introduction.Methods.Step2}/Introduction.Methods.Step2.csproj (100%) rename {Introduction.Methods.Step2 => Introduction/Introduction.Methods.Step2}/Program.cs (100%) rename {Introduction.Methods.Step3 => Introduction/Introduction.Methods.Step3}/Introduction.Methods.Step3.csproj (100%) rename {Introduction.Methods.Step3 => Introduction/Introduction.Methods.Step3}/Program.cs (100%) rename {Introduction.MoreMath => Introduction/Introduction.MoreMath}/Introduction.MoreMath.csproj (100%) rename {Introduction.MoreMath => Introduction/Introduction.MoreMath}/Program.cs (100%) rename {Introduction.SimpleMath => Introduction/Introduction.SimpleMath}/Introduction.SimpleMath.csproj (100%) rename {Introduction.SimpleMath => Introduction/Introduction.SimpleMath}/Program.cs (100%) rename Introduction.sln => Introduction/Introduction.sln (100%) rename README.md => Introduction/README.md (100%) rename global.json => Introduction/global.json (100%) diff --git a/.editorconfig b/Introduction/.editorconfig similarity index 100% rename from .editorconfig rename to Introduction/.editorconfig diff --git a/.gitignore b/Introduction/.gitignore similarity index 100% rename from .gitignore rename to Introduction/.gitignore diff --git a/Introduction.1Savarankiskas/Introduction.1Savarankiskas.csproj b/Introduction/Introduction.1Savarankiskas/Introduction.1Savarankiskas.csproj similarity index 100% rename from Introduction.1Savarankiskas/Introduction.1Savarankiskas.csproj rename to Introduction/Introduction.1Savarankiskas/Introduction.1Savarankiskas.csproj diff --git a/Introduction.1Savarankiskas/Program.cs b/Introduction/Introduction.1Savarankiskas/Program.cs similarity index 100% rename from Introduction.1Savarankiskas/Program.cs rename to Introduction/Introduction.1Savarankiskas/Program.cs diff --git a/Introduction.2Savarankiskas/Introduction.2Savarankiskas.csproj b/Introduction/Introduction.2Savarankiskas/Introduction.2Savarankiskas.csproj similarity index 100% rename from Introduction.2Savarankiskas/Introduction.2Savarankiskas.csproj rename to Introduction/Introduction.2Savarankiskas/Introduction.2Savarankiskas.csproj diff --git a/Introduction.2Savarankiskas/Program.cs b/Introduction/Introduction.2Savarankiskas/Program.cs similarity index 100% rename from Introduction.2Savarankiskas/Program.cs rename to Introduction/Introduction.2Savarankiskas/Program.cs diff --git a/Introduction.3Savarankiskas/Introduction.3Savarankiskas.csproj b/Introduction/Introduction.3Savarankiskas/Introduction.3Savarankiskas.csproj similarity index 100% rename from Introduction.3Savarankiskas/Introduction.3Savarankiskas.csproj rename to Introduction/Introduction.3Savarankiskas/Introduction.3Savarankiskas.csproj diff --git a/Introduction.3Savarankiskas/Program.cs b/Introduction/Introduction.3Savarankiskas/Program.cs similarity index 100% rename from Introduction.3Savarankiskas/Program.cs rename to Introduction/Introduction.3Savarankiskas/Program.cs diff --git a/Introduction.4Savarankiskas/Introduction.4Savarankiskas.csproj b/Introduction/Introduction.4Savarankiskas/Introduction.4Savarankiskas.csproj similarity index 100% rename from Introduction.4Savarankiskas/Introduction.4Savarankiskas.csproj rename to Introduction/Introduction.4Savarankiskas/Introduction.4Savarankiskas.csproj diff --git a/Introduction.4Savarankiskas/Program.cs b/Introduction/Introduction.4Savarankiskas/Program.cs similarity index 100% rename from Introduction.4Savarankiskas/Program.cs rename to Introduction/Introduction.4Savarankiskas/Program.cs diff --git a/Introduction.CharsAndStrings.Step1/Introduction.CharsAndStrings.Step1.csproj b/Introduction/Introduction.CharsAndStrings.Step1/Introduction.CharsAndStrings.Step1.csproj similarity index 100% rename from Introduction.CharsAndStrings.Step1/Introduction.CharsAndStrings.Step1.csproj rename to Introduction/Introduction.CharsAndStrings.Step1/Introduction.CharsAndStrings.Step1.csproj diff --git a/Introduction.CharsAndStrings.Step1/Program.cs b/Introduction/Introduction.CharsAndStrings.Step1/Program.cs similarity index 100% rename from Introduction.CharsAndStrings.Step1/Program.cs rename to Introduction/Introduction.CharsAndStrings.Step1/Program.cs diff --git a/Introduction.CharsAndStrings.Step2/Introduction.CharsAndStrings.Step2.csproj b/Introduction/Introduction.CharsAndStrings.Step2/Introduction.CharsAndStrings.Step2.csproj similarity index 100% rename from Introduction.CharsAndStrings.Step2/Introduction.CharsAndStrings.Step2.csproj rename to Introduction/Introduction.CharsAndStrings.Step2/Introduction.CharsAndStrings.Step2.csproj diff --git a/Introduction.CharsAndStrings.Step2/Program.cs b/Introduction/Introduction.CharsAndStrings.Step2/Program.cs similarity index 100% rename from Introduction.CharsAndStrings.Step2/Program.cs rename to Introduction/Introduction.CharsAndStrings.Step2/Program.cs diff --git a/Introduction.CharsAndStrings.Step3/Introduction.CharsAndStrings.Step3.csproj b/Introduction/Introduction.CharsAndStrings.Step3/Introduction.CharsAndStrings.Step3.csproj similarity index 100% rename from Introduction.CharsAndStrings.Step3/Introduction.CharsAndStrings.Step3.csproj rename to Introduction/Introduction.CharsAndStrings.Step3/Introduction.CharsAndStrings.Step3.csproj diff --git a/Introduction.CharsAndStrings.Step3/Program.cs b/Introduction/Introduction.CharsAndStrings.Step3/Program.cs similarity index 100% rename from Introduction.CharsAndStrings.Step3/Program.cs rename to Introduction/Introduction.CharsAndStrings.Step3/Program.cs diff --git a/Introduction.CharsAndStrings.Step4/Introduction.CharsAndStrings.Step4.csproj b/Introduction/Introduction.CharsAndStrings.Step4/Introduction.CharsAndStrings.Step4.csproj similarity index 100% rename from Introduction.CharsAndStrings.Step4/Introduction.CharsAndStrings.Step4.csproj rename to Introduction/Introduction.CharsAndStrings.Step4/Introduction.CharsAndStrings.Step4.csproj diff --git a/Introduction.CharsAndStrings.Step4/Program.cs b/Introduction/Introduction.CharsAndStrings.Step4/Program.cs similarity index 100% rename from Introduction.CharsAndStrings.Step4/Program.cs rename to Introduction/Introduction.CharsAndStrings.Step4/Program.cs diff --git a/Introduction.CharsAndStrings.Step5/Introduction.CharsAndStrings.Step5.csproj b/Introduction/Introduction.CharsAndStrings.Step5/Introduction.CharsAndStrings.Step5.csproj similarity index 100% rename from Introduction.CharsAndStrings.Step5/Introduction.CharsAndStrings.Step5.csproj rename to Introduction/Introduction.CharsAndStrings.Step5/Introduction.CharsAndStrings.Step5.csproj diff --git a/Introduction.CharsAndStrings.Step5/Program.cs b/Introduction/Introduction.CharsAndStrings.Step5/Program.cs similarity index 100% rename from Introduction.CharsAndStrings.Step5/Program.cs rename to Introduction/Introduction.CharsAndStrings.Step5/Program.cs diff --git a/Introduction.CharsAndStrings.Step6/Introduction.CharsAndStrings.Step6.csproj b/Introduction/Introduction.CharsAndStrings.Step6/Introduction.CharsAndStrings.Step6.csproj similarity index 100% rename from Introduction.CharsAndStrings.Step6/Introduction.CharsAndStrings.Step6.csproj rename to Introduction/Introduction.CharsAndStrings.Step6/Introduction.CharsAndStrings.Step6.csproj diff --git a/Introduction.CharsAndStrings.Step6/Program.cs b/Introduction/Introduction.CharsAndStrings.Step6/Program.cs similarity index 100% rename from Introduction.CharsAndStrings.Step6/Program.cs rename to Introduction/Introduction.CharsAndStrings.Step6/Program.cs diff --git a/Introduction.If.Step1/Introduction.If.Step1.csproj b/Introduction/Introduction.If.Step1/Introduction.If.Step1.csproj similarity index 100% rename from Introduction.If.Step1/Introduction.If.Step1.csproj rename to Introduction/Introduction.If.Step1/Introduction.If.Step1.csproj diff --git a/Introduction.If.Step1/Program.cs b/Introduction/Introduction.If.Step1/Program.cs similarity index 100% rename from Introduction.If.Step1/Program.cs rename to Introduction/Introduction.If.Step1/Program.cs diff --git a/Introduction.If.Step2/Introduction.If.Step2.csproj b/Introduction/Introduction.If.Step2/Introduction.If.Step2.csproj similarity index 100% rename from Introduction.If.Step2/Introduction.If.Step2.csproj rename to Introduction/Introduction.If.Step2/Introduction.If.Step2.csproj diff --git a/Introduction.If.Step2/Program.cs b/Introduction/Introduction.If.Step2/Program.cs similarity index 100% rename from Introduction.If.Step2/Program.cs rename to Introduction/Introduction.If.Step2/Program.cs diff --git a/Introduction.If.Step3/Introduction.If.Step3.csproj b/Introduction/Introduction.If.Step3/Introduction.If.Step3.csproj similarity index 100% rename from Introduction.If.Step3/Introduction.If.Step3.csproj rename to Introduction/Introduction.If.Step3/Introduction.If.Step3.csproj diff --git a/Introduction.If.Step3/Program.cs b/Introduction/Introduction.If.Step3/Program.cs similarity index 100% rename from Introduction.If.Step3/Program.cs rename to Introduction/Introduction.If.Step3/Program.cs diff --git a/Introduction.Loop.Step1/Introduction.Loop.Step1.csproj b/Introduction/Introduction.Loop.Step1/Introduction.Loop.Step1.csproj similarity index 100% rename from Introduction.Loop.Step1/Introduction.Loop.Step1.csproj rename to Introduction/Introduction.Loop.Step1/Introduction.Loop.Step1.csproj diff --git a/Introduction.Loop.Step1/Program.cs b/Introduction/Introduction.Loop.Step1/Program.cs similarity index 100% rename from Introduction.Loop.Step1/Program.cs rename to Introduction/Introduction.Loop.Step1/Program.cs diff --git a/Introduction.Loop.Step2/Introduction.Loop.Step2.csproj b/Introduction/Introduction.Loop.Step2/Introduction.Loop.Step2.csproj similarity index 100% rename from Introduction.Loop.Step2/Introduction.Loop.Step2.csproj rename to Introduction/Introduction.Loop.Step2/Introduction.Loop.Step2.csproj diff --git a/Introduction.Loop.Step2/Program.cs b/Introduction/Introduction.Loop.Step2/Program.cs similarity index 100% rename from Introduction.Loop.Step2/Program.cs rename to Introduction/Introduction.Loop.Step2/Program.cs diff --git a/Introduction.Loop.Step3/Introduction.Loop.Step3.csproj b/Introduction/Introduction.Loop.Step3/Introduction.Loop.Step3.csproj similarity index 100% rename from Introduction.Loop.Step3/Introduction.Loop.Step3.csproj rename to Introduction/Introduction.Loop.Step3/Introduction.Loop.Step3.csproj diff --git a/Introduction.Loop.Step3/Program.cs b/Introduction/Introduction.Loop.Step3/Program.cs similarity index 100% rename from Introduction.Loop.Step3/Program.cs rename to Introduction/Introduction.Loop.Step3/Program.cs diff --git a/Introduction.Loop.Step4/Introduction.Loop.Step4.csproj b/Introduction/Introduction.Loop.Step4/Introduction.Loop.Step4.csproj similarity index 100% rename from Introduction.Loop.Step4/Introduction.Loop.Step4.csproj rename to Introduction/Introduction.Loop.Step4/Introduction.Loop.Step4.csproj diff --git a/Introduction.Loop.Step4/Program.cs b/Introduction/Introduction.Loop.Step4/Program.cs similarity index 100% rename from Introduction.Loop.Step4/Program.cs rename to Introduction/Introduction.Loop.Step4/Program.cs diff --git a/Introduction.Loop.Step5/Introduction.Loop.Step5.csproj b/Introduction/Introduction.Loop.Step5/Introduction.Loop.Step5.csproj similarity index 100% rename from Introduction.Loop.Step5/Introduction.Loop.Step5.csproj rename to Introduction/Introduction.Loop.Step5/Introduction.Loop.Step5.csproj diff --git a/Introduction.Loop.Step5/Program.cs b/Introduction/Introduction.Loop.Step5/Program.cs similarity index 100% rename from Introduction.Loop.Step5/Program.cs rename to Introduction/Introduction.Loop.Step5/Program.cs diff --git a/Introduction.Loop.Step6/Introduction.Loop.Step6.csproj b/Introduction/Introduction.Loop.Step6/Introduction.Loop.Step6.csproj similarity index 100% rename from Introduction.Loop.Step6/Introduction.Loop.Step6.csproj rename to Introduction/Introduction.Loop.Step6/Introduction.Loop.Step6.csproj diff --git a/Introduction.Loop.Step6/Program.cs b/Introduction/Introduction.Loop.Step6/Program.cs similarity index 100% rename from Introduction.Loop.Step6/Program.cs rename to Introduction/Introduction.Loop.Step6/Program.cs diff --git a/Introduction.Methods.Step1/Introduction.Methods.Step1.csproj b/Introduction/Introduction.Methods.Step1/Introduction.Methods.Step1.csproj similarity index 100% rename from Introduction.Methods.Step1/Introduction.Methods.Step1.csproj rename to Introduction/Introduction.Methods.Step1/Introduction.Methods.Step1.csproj diff --git a/Introduction.Methods.Step1/Program.cs b/Introduction/Introduction.Methods.Step1/Program.cs similarity index 100% rename from Introduction.Methods.Step1/Program.cs rename to Introduction/Introduction.Methods.Step1/Program.cs diff --git a/Introduction.Methods.Step2/Introduction.Methods.Step2.csproj b/Introduction/Introduction.Methods.Step2/Introduction.Methods.Step2.csproj similarity index 100% rename from Introduction.Methods.Step2/Introduction.Methods.Step2.csproj rename to Introduction/Introduction.Methods.Step2/Introduction.Methods.Step2.csproj diff --git a/Introduction.Methods.Step2/Program.cs b/Introduction/Introduction.Methods.Step2/Program.cs similarity index 100% rename from Introduction.Methods.Step2/Program.cs rename to Introduction/Introduction.Methods.Step2/Program.cs diff --git a/Introduction.Methods.Step3/Introduction.Methods.Step3.csproj b/Introduction/Introduction.Methods.Step3/Introduction.Methods.Step3.csproj similarity index 100% rename from Introduction.Methods.Step3/Introduction.Methods.Step3.csproj rename to Introduction/Introduction.Methods.Step3/Introduction.Methods.Step3.csproj diff --git a/Introduction.Methods.Step3/Program.cs b/Introduction/Introduction.Methods.Step3/Program.cs similarity index 100% rename from Introduction.Methods.Step3/Program.cs rename to Introduction/Introduction.Methods.Step3/Program.cs diff --git a/Introduction.MoreMath/Introduction.MoreMath.csproj b/Introduction/Introduction.MoreMath/Introduction.MoreMath.csproj similarity index 100% rename from Introduction.MoreMath/Introduction.MoreMath.csproj rename to Introduction/Introduction.MoreMath/Introduction.MoreMath.csproj diff --git a/Introduction.MoreMath/Program.cs b/Introduction/Introduction.MoreMath/Program.cs similarity index 100% rename from Introduction.MoreMath/Program.cs rename to Introduction/Introduction.MoreMath/Program.cs diff --git a/Introduction.SimpleMath/Introduction.SimpleMath.csproj b/Introduction/Introduction.SimpleMath/Introduction.SimpleMath.csproj similarity index 100% rename from Introduction.SimpleMath/Introduction.SimpleMath.csproj rename to Introduction/Introduction.SimpleMath/Introduction.SimpleMath.csproj diff --git a/Introduction.SimpleMath/Program.cs b/Introduction/Introduction.SimpleMath/Program.cs similarity index 100% rename from Introduction.SimpleMath/Program.cs rename to Introduction/Introduction.SimpleMath/Program.cs diff --git a/Introduction.sln b/Introduction/Introduction.sln similarity index 100% rename from Introduction.sln rename to Introduction/Introduction.sln diff --git a/README.md b/Introduction/README.md similarity index 100% rename from README.md rename to Introduction/README.md diff --git a/global.json b/Introduction/global.json similarity index 100% rename from global.json rename to Introduction/global.json