fix: merge submodule 'Introduction'
This commit is contained in:
commit
dede8d510a
14
Introduction/.editorconfig
Normal file
14
Introduction/.editorconfig
Normal file
@ -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
|
||||
|
388
Introduction/.gitignore
vendored
Normal file
388
Introduction/.gitignore
vendored
Normal file
@ -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
|
@ -0,0 +1,9 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<OutputType>Exe</OutputType>
|
||||
<TargetFramework>netcoreapp2.1</TargetFramework>
|
||||
<RootNamespace>Introduction._1Savarankiskas</RootNamespace>
|
||||
</PropertyGroup>
|
||||
|
||||
</Project>
|
29
Introduction/Introduction.1Savarankiskas/Program.cs
Normal file
29
Introduction/Introduction.1Savarankiskas/Program.cs
Normal file
@ -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();
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,9 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<OutputType>Exe</OutputType>
|
||||
<TargetFramework>netcoreapp2.1</TargetFramework>
|
||||
<RootNamespace>Introduction._2Savarankiskas</RootNamespace>
|
||||
</PropertyGroup>
|
||||
|
||||
</Project>
|
33
Introduction/Introduction.2Savarankiskas/Program.cs
Normal file
33
Introduction/Introduction.2Savarankiskas/Program.cs
Normal file
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,9 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<OutputType>Exe</OutputType>
|
||||
<TargetFramework>netcoreapp2.1</TargetFramework>
|
||||
<RootNamespace>Introduction._3Savarankiskas</RootNamespace>
|
||||
</PropertyGroup>
|
||||
|
||||
</Project>
|
48
Introduction/Introduction.3Savarankiskas/Program.cs
Normal file
48
Introduction/Introduction.3Savarankiskas/Program.cs
Normal file
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,9 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<OutputType>Exe</OutputType>
|
||||
<TargetFramework>netcoreapp2.1</TargetFramework>
|
||||
<RootNamespace>Introduction._4Savarankiskas</RootNamespace>
|
||||
</PropertyGroup>
|
||||
|
||||
</Project>
|
26
Introduction/Introduction.4Savarankiskas/Program.cs
Normal file
26
Introduction/Introduction.4Savarankiskas/Program.cs
Normal file
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,8 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<OutputType>Exe</OutputType>
|
||||
<TargetFramework>net5.0</TargetFramework>
|
||||
</PropertyGroup>
|
||||
|
||||
</Project>
|
15
Introduction/Introduction.CharsAndStrings.Step1/Program.cs
Normal file
15
Introduction/Introduction.CharsAndStrings.Step1/Program.cs
Normal file
@ -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();
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,8 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<OutputType>Exe</OutputType>
|
||||
<TargetFramework>net5.0</TargetFramework>
|
||||
</PropertyGroup>
|
||||
|
||||
</Project>
|
14
Introduction/Introduction.CharsAndStrings.Step2/Program.cs
Normal file
14
Introduction/Introduction.CharsAndStrings.Step2/Program.cs
Normal file
@ -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();
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,8 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<OutputType>Exe</OutputType>
|
||||
<TargetFramework>net5.0</TargetFramework>
|
||||
</PropertyGroup>
|
||||
|
||||
</Project>
|
18
Introduction/Introduction.CharsAndStrings.Step3/Program.cs
Normal file
18
Introduction/Introduction.CharsAndStrings.Step3/Program.cs
Normal file
@ -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();
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,8 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<OutputType>Exe</OutputType>
|
||||
<TargetFramework>net5.0</TargetFramework>
|
||||
</PropertyGroup>
|
||||
|
||||
</Project>
|
31
Introduction/Introduction.CharsAndStrings.Step4/Program.cs
Normal file
31
Introduction/Introduction.CharsAndStrings.Step4/Program.cs
Normal file
@ -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();
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,8 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<OutputType>Exe</OutputType>
|
||||
<TargetFramework>net5.0</TargetFramework>
|
||||
</PropertyGroup>
|
||||
|
||||
</Project>
|
42
Introduction/Introduction.CharsAndStrings.Step5/Program.cs
Normal file
42
Introduction/Introduction.CharsAndStrings.Step5/Program.cs
Normal file
@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -0,0 +1,8 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<OutputType>Exe</OutputType>
|
||||
<TargetFramework>net5.0</TargetFramework>
|
||||
</PropertyGroup>
|
||||
|
||||
</Project>
|
30
Introduction/Introduction.CharsAndStrings.Step6/Program.cs
Normal file
30
Introduction/Introduction.CharsAndStrings.Step6/Program.cs
Normal file
@ -0,0 +1,30 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Introduction.CharsAndStrings.Step6
|
||||
{
|
||||
class Program
|
||||
{
|
||||
static void Main(string[] args)
|
||||
{
|
||||
Dictionary<string, string> weekDays = new Dictionary<string, string>()
|
||||
{
|
||||
{"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();
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,8 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<OutputType>Exe</OutputType>
|
||||
<TargetFramework>netcoreapp2.1</TargetFramework>
|
||||
</PropertyGroup>
|
||||
|
||||
</Project>
|
19
Introduction/Introduction.If.Step1/Program.cs
Normal file
19
Introduction/Introduction.If.Step1/Program.cs
Normal file
@ -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();
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,8 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<OutputType>Exe</OutputType>
|
||||
<TargetFramework>netcoreapp2.1</TargetFramework>
|
||||
</PropertyGroup>
|
||||
|
||||
</Project>
|
21
Introduction/Introduction.If.Step2/Program.cs
Normal file
21
Introduction/Introduction.If.Step2/Program.cs
Normal file
@ -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();
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,8 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<OutputType>Exe</OutputType>
|
||||
<TargetFramework>netcoreapp2.1</TargetFramework>
|
||||
</PropertyGroup>
|
||||
|
||||
</Project>
|
25
Introduction/Introduction.If.Step3/Program.cs
Normal file
25
Introduction/Introduction.If.Step3/Program.cs
Normal file
@ -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();
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,8 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<OutputType>Exe</OutputType>
|
||||
<TargetFramework>netcoreapp2.1</TargetFramework>
|
||||
</PropertyGroup>
|
||||
|
||||
</Project>
|
15
Introduction/Introduction.Loop.Step1/Program.cs
Normal file
15
Introduction/Introduction.Loop.Step1/Program.cs
Normal file
@ -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();
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,8 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<OutputType>Exe</OutputType>
|
||||
<TargetFramework>netcoreapp2.1</TargetFramework>
|
||||
</PropertyGroup>
|
||||
|
||||
</Project>
|
15
Introduction/Introduction.Loop.Step2/Program.cs
Normal file
15
Introduction/Introduction.Loop.Step2/Program.cs
Normal file
@ -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();
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,8 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<OutputType>Exe</OutputType>
|
||||
<TargetFramework>netcoreapp2.1</TargetFramework>
|
||||
</PropertyGroup>
|
||||
|
||||
</Project>
|
15
Introduction/Introduction.Loop.Step3/Program.cs
Normal file
15
Introduction/Introduction.Loop.Step3/Program.cs
Normal file
@ -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();
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,8 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<OutputType>Exe</OutputType>
|
||||
<TargetFramework>netcoreapp2.1</TargetFramework>
|
||||
</PropertyGroup>
|
||||
|
||||
</Project>
|
17
Introduction/Introduction.Loop.Step4/Program.cs
Normal file
17
Introduction/Introduction.Loop.Step4/Program.cs
Normal file
@ -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();
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,8 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<OutputType>Exe</OutputType>
|
||||
<TargetFramework>netcoreapp2.1</TargetFramework>
|
||||
</PropertyGroup>
|
||||
|
||||
</Project>
|
20
Introduction/Introduction.Loop.Step5/Program.cs
Normal file
20
Introduction/Introduction.Loop.Step5/Program.cs
Normal file
@ -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();
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,8 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<OutputType>Exe</OutputType>
|
||||
<TargetFramework>netcoreapp2.1</TargetFramework>
|
||||
</PropertyGroup>
|
||||
|
||||
</Project>
|
23
Introduction/Introduction.Loop.Step6/Program.cs
Normal file
23
Introduction/Introduction.Loop.Step6/Program.cs
Normal file
@ -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();
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,8 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<OutputType>Exe</OutputType>
|
||||
<TargetFramework>net5.0</TargetFramework>
|
||||
</PropertyGroup>
|
||||
|
||||
</Project>
|
27
Introduction/Introduction.Methods.Step1/Program.cs
Normal file
27
Introduction/Introduction.Methods.Step1/Program.cs
Normal file
@ -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("");
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,8 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<OutputType>Exe</OutputType>
|
||||
<TargetFramework>net5.0</TargetFramework>
|
||||
</PropertyGroup>
|
||||
|
||||
</Project>
|
35
Introduction/Introduction.Methods.Step2/Program.cs
Normal file
35
Introduction/Introduction.Methods.Step2/Program.cs
Normal file
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,8 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<OutputType>Exe</OutputType>
|
||||
<TargetFramework>net5.0</TargetFramework>
|
||||
</PropertyGroup>
|
||||
|
||||
</Project>
|
27
Introduction/Introduction.Methods.Step3/Program.cs
Normal file
27
Introduction/Introduction.Methods.Step3/Program.cs
Normal file
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,8 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<OutputType>Exe</OutputType>
|
||||
<TargetFramework>net5.0</TargetFramework>
|
||||
</PropertyGroup>
|
||||
|
||||
</Project>
|
27
Introduction/Introduction.MoreMath/Program.cs
Normal file
27
Introduction/Introduction.MoreMath/Program.cs
Normal file
@ -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();
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,8 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<OutputType>Exe</OutputType>
|
||||
<TargetFramework>net5.0</TargetFramework>
|
||||
</PropertyGroup>
|
||||
|
||||
</Project>
|
23
Introduction/Introduction.SimpleMath/Program.cs
Normal file
23
Introduction/Introduction.SimpleMath/Program.cs
Normal file
@ -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();
|
||||
}
|
||||
}
|
||||
}
|
163
Introduction/Introduction.sln
Normal file
163
Introduction/Introduction.sln
Normal file
@ -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
|
6
Introduction/README.md
Normal file
6
Introduction/README.md
Normal file
@ -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.
|
||||
|
5
Introduction/global.json
Normal file
5
Introduction/global.json
Normal file
@ -0,0 +1,5 @@
|
||||
{
|
||||
"sdk": {
|
||||
"version": "3.0.103"
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user