diff --git a/AlexandrTkachukTask1/ConsoleApplication/ConsoleApplication.sln b/AlexandrTkachukTask1/ConsoleApplication/ConsoleApplication.sln deleted file mode 100644 index 1718d2b..0000000 --- a/AlexandrTkachukTask1/ConsoleApplication/ConsoleApplication.sln +++ /dev/null @@ -1,22 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 2013 -VisualStudioVersion = 12.0.31101.0 -MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Task1MyName", "Task1MyName\Task1MyName.csproj", "{DBA64E87-EA8B-4DF4-850E-1338F7FE2ED8}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Release|Any CPU = Release|Any CPU - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {DBA64E87-EA8B-4DF4-850E-1338F7FE2ED8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {DBA64E87-EA8B-4DF4-850E-1338F7FE2ED8}.Debug|Any CPU.Build.0 = Debug|Any CPU - {DBA64E87-EA8B-4DF4-850E-1338F7FE2ED8}.Release|Any CPU.ActiveCfg = Release|Any CPU - {DBA64E87-EA8B-4DF4-850E-1338F7FE2ED8}.Release|Any CPU.Build.0 = Release|Any CPU - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/AlexandrTkachukTask1/ConsoleApplication/ConsoleApplication.v12.suo b/AlexandrTkachukTask1/ConsoleApplication/ConsoleApplication.v12.suo deleted file mode 100644 index d3926b3..0000000 Binary files a/AlexandrTkachukTask1/ConsoleApplication/ConsoleApplication.v12.suo and /dev/null differ diff --git a/AlexandrTkachukTask1/ConsoleApplication/Task1MyName/App.config b/AlexandrTkachukTask1/ConsoleApplication/Task1MyName/App.config deleted file mode 100644 index 8e15646..0000000 --- a/AlexandrTkachukTask1/ConsoleApplication/Task1MyName/App.config +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/AlexandrTkachukTask1/ConsoleApplication/Task1MyName/Program.cs b/AlexandrTkachukTask1/ConsoleApplication/Task1MyName/Program.cs deleted file mode 100644 index d8c6626..0000000 --- a/AlexandrTkachukTask1/ConsoleApplication/Task1MyName/Program.cs +++ /dev/null @@ -1,19 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace Task1MyName -{ - class Program - { - static void Main(string[] args) - { - Console.WriteLine("+--------------------------------+"); - Console.WriteLine("| Tkachuk Alexandr Alexandrovich |"); - Console.WriteLine("+--------------------------------+"); - Console.ReadKey(); - } - } -} diff --git a/AlexandrTkachukTask1/ConsoleApplication/Task1MyName/Properties/AssemblyInfo.cs b/AlexandrTkachukTask1/ConsoleApplication/Task1MyName/Properties/AssemblyInfo.cs deleted file mode 100644 index 3ccfd9b..0000000 --- a/AlexandrTkachukTask1/ConsoleApplication/Task1MyName/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,36 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -[assembly: AssemblyTitle("Task1MyName")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("Task1MyName")] -[assembly: AssemblyCopyright("Copyright © 2016")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. -[assembly: ComVisible(false)] - -// The following GUID is for the ID of the typelib if this project is exposed to COM -[assembly: Guid("f8bc48aa-c07d-4759-9c58-c7183b7f8578")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Build and Revision Numbers -// by using the '*' as shown below: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/AlexandrTkachukTask1/ConsoleApplication/Task1MyName/Task1MyName.csproj b/AlexandrTkachukTask1/ConsoleApplication/Task1MyName/Task1MyName.csproj deleted file mode 100644 index 4db6fb6..0000000 --- a/AlexandrTkachukTask1/ConsoleApplication/Task1MyName/Task1MyName.csproj +++ /dev/null @@ -1,58 +0,0 @@ - - - - - Debug - AnyCPU - {DBA64E87-EA8B-4DF4-850E-1338F7FE2ED8} - Exe - Properties - Task1MyName - Task1MyName - v4.5 - 512 - - - AnyCPU - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - AnyCPU - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/AlexandrTkachukTask1/ConsoleApplication/Task1MyName/bin/Debug/Task1MyName.exe b/AlexandrTkachukTask1/ConsoleApplication/Task1MyName/bin/Debug/Task1MyName.exe deleted file mode 100644 index a6f1f4f..0000000 Binary files a/AlexandrTkachukTask1/ConsoleApplication/Task1MyName/bin/Debug/Task1MyName.exe and /dev/null differ diff --git a/AlexandrTkachukTask1/ConsoleApplication/Task1MyName/bin/Debug/Task1MyName.exe.config b/AlexandrTkachukTask1/ConsoleApplication/Task1MyName/bin/Debug/Task1MyName.exe.config deleted file mode 100644 index 8e15646..0000000 --- a/AlexandrTkachukTask1/ConsoleApplication/Task1MyName/bin/Debug/Task1MyName.exe.config +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/AlexandrTkachukTask1/ConsoleApplication/Task1MyName/bin/Debug/Task1MyName.pdb b/AlexandrTkachukTask1/ConsoleApplication/Task1MyName/bin/Debug/Task1MyName.pdb deleted file mode 100644 index 321509d..0000000 Binary files a/AlexandrTkachukTask1/ConsoleApplication/Task1MyName/bin/Debug/Task1MyName.pdb and /dev/null differ diff --git a/AlexandrTkachukTask1/ConsoleApplication/Task1MyName/bin/Debug/Task1MyName.vshost.exe b/AlexandrTkachukTask1/ConsoleApplication/Task1MyName/bin/Debug/Task1MyName.vshost.exe deleted file mode 100644 index 666c0af..0000000 Binary files a/AlexandrTkachukTask1/ConsoleApplication/Task1MyName/bin/Debug/Task1MyName.vshost.exe and /dev/null differ diff --git a/AlexandrTkachukTask1/ConsoleApplication/Task1MyName/bin/Debug/Task1MyName.vshost.exe.config b/AlexandrTkachukTask1/ConsoleApplication/Task1MyName/bin/Debug/Task1MyName.vshost.exe.config deleted file mode 100644 index 8e15646..0000000 --- a/AlexandrTkachukTask1/ConsoleApplication/Task1MyName/bin/Debug/Task1MyName.vshost.exe.config +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/AlexandrTkachukTask1/ConsoleApplication/Task1MyName/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/AlexandrTkachukTask1/ConsoleApplication/Task1MyName/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache deleted file mode 100644 index bc4fc5a..0000000 Binary files a/AlexandrTkachukTask1/ConsoleApplication/Task1MyName/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache and /dev/null differ diff --git a/AlexandrTkachukTask1/ConsoleApplication/Task1MyName/obj/Debug/Task1MyName.csproj.FileListAbsolute.txt b/AlexandrTkachukTask1/ConsoleApplication/Task1MyName/obj/Debug/Task1MyName.csproj.FileListAbsolute.txt deleted file mode 100644 index 0cfd47a..0000000 --- a/AlexandrTkachukTask1/ConsoleApplication/Task1MyName/obj/Debug/Task1MyName.csproj.FileListAbsolute.txt +++ /dev/null @@ -1,6 +0,0 @@ -C:\Users\Alexandr\Documents\Visual Studio 2013\Projects\C#\ISD\ConsoleApplication\Task1MyName\bin\Debug\Task1MyName.exe.config -C:\Users\Alexandr\Documents\Visual Studio 2013\Projects\C#\ISD\ConsoleApplication\Task1MyName\bin\Debug\Task1MyName.exe -C:\Users\Alexandr\Documents\Visual Studio 2013\Projects\C#\ISD\ConsoleApplication\Task1MyName\bin\Debug\Task1MyName.pdb -C:\Users\Alexandr\Documents\Visual Studio 2013\Projects\C#\ISD\ConsoleApplication\Task1MyName\obj\Debug\Task1MyName.csprojResolveAssemblyReference.cache -C:\Users\Alexandr\Documents\Visual Studio 2013\Projects\C#\ISD\ConsoleApplication\Task1MyName\obj\Debug\Task1MyName.exe -C:\Users\Alexandr\Documents\Visual Studio 2013\Projects\C#\ISD\ConsoleApplication\Task1MyName\obj\Debug\Task1MyName.pdb diff --git a/AlexandrTkachukTask1/ConsoleApplication/Task1MyName/obj/Debug/Task1MyName.csprojResolveAssemblyReference.cache b/AlexandrTkachukTask1/ConsoleApplication/Task1MyName/obj/Debug/Task1MyName.csprojResolveAssemblyReference.cache deleted file mode 100644 index f84cd4a..0000000 Binary files a/AlexandrTkachukTask1/ConsoleApplication/Task1MyName/obj/Debug/Task1MyName.csprojResolveAssemblyReference.cache and /dev/null differ diff --git a/AlexandrTkachukTask1/ConsoleApplication/Task1MyName/obj/Debug/Task1MyName.exe b/AlexandrTkachukTask1/ConsoleApplication/Task1MyName/obj/Debug/Task1MyName.exe deleted file mode 100644 index a6f1f4f..0000000 Binary files a/AlexandrTkachukTask1/ConsoleApplication/Task1MyName/obj/Debug/Task1MyName.exe and /dev/null differ diff --git a/AlexandrTkachukTask1/ConsoleApplication/Task1MyName/obj/Debug/Task1MyName.pdb b/AlexandrTkachukTask1/ConsoleApplication/Task1MyName/obj/Debug/Task1MyName.pdb deleted file mode 100644 index 321509d..0000000 Binary files a/AlexandrTkachukTask1/ConsoleApplication/Task1MyName/obj/Debug/Task1MyName.pdb and /dev/null differ diff --git a/AlexandrTkachukTask1/CyclicConstructions/CyclicConstructions.sln b/AlexandrTkachukTask1/CyclicConstructions/CyclicConstructions.sln deleted file mode 100644 index 4500bc3..0000000 --- a/AlexandrTkachukTask1/CyclicConstructions/CyclicConstructions.sln +++ /dev/null @@ -1,64 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 2013 -VisualStudioVersion = 12.0.31101.0 -MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Task1MultiplicationTable", "Task1MultiplicationTable\Task1MultiplicationTable.csproj", "{BD1B81C5-2A13-43E6-84AD-6B3FBD442E99}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Task2QuantityOfDigits", "Task2QuantityOfDigits\Task2QuantityOfDigits.csproj", "{7EC4D1BA-4514-4BAA-934D-484DBB3E66EB}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Task3GuessTheNumber", "Task3GuessTheNumber\Task3GuessTheNumber.csproj", "{DBB4C5B0-09D1-4A70-BB1C-1FC5D0F316FF}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Task4TheSquaresOfTheNumbers", "Task4TheSquaresOfTheNumbers\Task4TheSquaresOfTheNumbers.csproj", "{42E6F0EC-9931-4222-B047-E6E60E3AC55F}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Task5UsersArithmeticMean", "Task5UsersArithmeticMean\Task5UsersArithmeticMean.csproj", "{25B1B6EF-3F50-419C-A1D4-A7F81CE1CE23}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Task6ArithmeticMean", "Task6ArithmeticMean\Task6ArithmeticMean.csproj", "{4FC089A3-1159-482A-853F-4526B0E40D76}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Task7GeeseAndRabbits", "Task7GeeseAndRabbits\Task7GeeseAndRabbits.csproj", "{9001D001-7B19-4AFE-835A-B51823497708}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Task8CorrectPassword", "Task8CorrectPassword\Task8CorrectPassword.csproj", "{7E257C81-9494-443E-9934-89A85381A15A}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Release|Any CPU = Release|Any CPU - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {BD1B81C5-2A13-43E6-84AD-6B3FBD442E99}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {BD1B81C5-2A13-43E6-84AD-6B3FBD442E99}.Debug|Any CPU.Build.0 = Debug|Any CPU - {BD1B81C5-2A13-43E6-84AD-6B3FBD442E99}.Release|Any CPU.ActiveCfg = Release|Any CPU - {BD1B81C5-2A13-43E6-84AD-6B3FBD442E99}.Release|Any CPU.Build.0 = Release|Any CPU - {7EC4D1BA-4514-4BAA-934D-484DBB3E66EB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {7EC4D1BA-4514-4BAA-934D-484DBB3E66EB}.Debug|Any CPU.Build.0 = Debug|Any CPU - {7EC4D1BA-4514-4BAA-934D-484DBB3E66EB}.Release|Any CPU.ActiveCfg = Release|Any CPU - {7EC4D1BA-4514-4BAA-934D-484DBB3E66EB}.Release|Any CPU.Build.0 = Release|Any CPU - {DBB4C5B0-09D1-4A70-BB1C-1FC5D0F316FF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {DBB4C5B0-09D1-4A70-BB1C-1FC5D0F316FF}.Debug|Any CPU.Build.0 = Debug|Any CPU - {DBB4C5B0-09D1-4A70-BB1C-1FC5D0F316FF}.Release|Any CPU.ActiveCfg = Release|Any CPU - {DBB4C5B0-09D1-4A70-BB1C-1FC5D0F316FF}.Release|Any CPU.Build.0 = Release|Any CPU - {42E6F0EC-9931-4222-B047-E6E60E3AC55F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {42E6F0EC-9931-4222-B047-E6E60E3AC55F}.Debug|Any CPU.Build.0 = Debug|Any CPU - {42E6F0EC-9931-4222-B047-E6E60E3AC55F}.Release|Any CPU.ActiveCfg = Release|Any CPU - {42E6F0EC-9931-4222-B047-E6E60E3AC55F}.Release|Any CPU.Build.0 = Release|Any CPU - {25B1B6EF-3F50-419C-A1D4-A7F81CE1CE23}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {25B1B6EF-3F50-419C-A1D4-A7F81CE1CE23}.Debug|Any CPU.Build.0 = Debug|Any CPU - {25B1B6EF-3F50-419C-A1D4-A7F81CE1CE23}.Release|Any CPU.ActiveCfg = Release|Any CPU - {25B1B6EF-3F50-419C-A1D4-A7F81CE1CE23}.Release|Any CPU.Build.0 = Release|Any CPU - {4FC089A3-1159-482A-853F-4526B0E40D76}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {4FC089A3-1159-482A-853F-4526B0E40D76}.Debug|Any CPU.Build.0 = Debug|Any CPU - {4FC089A3-1159-482A-853F-4526B0E40D76}.Release|Any CPU.ActiveCfg = Release|Any CPU - {4FC089A3-1159-482A-853F-4526B0E40D76}.Release|Any CPU.Build.0 = Release|Any CPU - {9001D001-7B19-4AFE-835A-B51823497708}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {9001D001-7B19-4AFE-835A-B51823497708}.Debug|Any CPU.Build.0 = Debug|Any CPU - {9001D001-7B19-4AFE-835A-B51823497708}.Release|Any CPU.ActiveCfg = Release|Any CPU - {9001D001-7B19-4AFE-835A-B51823497708}.Release|Any CPU.Build.0 = Release|Any CPU - {7E257C81-9494-443E-9934-89A85381A15A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {7E257C81-9494-443E-9934-89A85381A15A}.Debug|Any CPU.Build.0 = Debug|Any CPU - {7E257C81-9494-443E-9934-89A85381A15A}.Release|Any CPU.ActiveCfg = Release|Any CPU - {7E257C81-9494-443E-9934-89A85381A15A}.Release|Any CPU.Build.0 = Release|Any CPU - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/AlexandrTkachukTask1/CyclicConstructions/CyclicConstructions.v12.suo b/AlexandrTkachukTask1/CyclicConstructions/CyclicConstructions.v12.suo deleted file mode 100644 index 46945c5..0000000 Binary files a/AlexandrTkachukTask1/CyclicConstructions/CyclicConstructions.v12.suo and /dev/null differ diff --git a/AlexandrTkachukTask1/CyclicConstructions/Task1MultiplicationTable/App.config b/AlexandrTkachukTask1/CyclicConstructions/Task1MultiplicationTable/App.config deleted file mode 100644 index 8e15646..0000000 --- a/AlexandrTkachukTask1/CyclicConstructions/Task1MultiplicationTable/App.config +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/AlexandrTkachukTask1/CyclicConstructions/Task1MultiplicationTable/Program.cs b/AlexandrTkachukTask1/CyclicConstructions/Task1MultiplicationTable/Program.cs deleted file mode 100644 index 6a53a32..0000000 --- a/AlexandrTkachukTask1/CyclicConstructions/Task1MultiplicationTable/Program.cs +++ /dev/null @@ -1,21 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace Task1MultiplicationTable -{ - class Program - { - static void Main(string[] args) - { - Console.Write("Введите число : "); - int num = Convert.ToInt32(Console.ReadLine()); - for (int i = 1; i <= 20; i++) - { - Console.WriteLine(num + " * " + i + " = " + num * i); - } - } - } -} diff --git a/AlexandrTkachukTask1/CyclicConstructions/Task1MultiplicationTable/Properties/AssemblyInfo.cs b/AlexandrTkachukTask1/CyclicConstructions/Task1MultiplicationTable/Properties/AssemblyInfo.cs deleted file mode 100644 index 7df5961..0000000 --- a/AlexandrTkachukTask1/CyclicConstructions/Task1MultiplicationTable/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,36 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -[assembly: AssemblyTitle("Task1MultiplicationTable")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("Task1MultiplicationTable")] -[assembly: AssemblyCopyright("Copyright © 2016")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. -[assembly: ComVisible(false)] - -// The following GUID is for the ID of the typelib if this project is exposed to COM -[assembly: Guid("5587cc57-184d-4394-bb6c-d7a473f14c4e")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Build and Revision Numbers -// by using the '*' as shown below: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/AlexandrTkachukTask1/CyclicConstructions/Task1MultiplicationTable/Task1MultiplicationTable.csproj b/AlexandrTkachukTask1/CyclicConstructions/Task1MultiplicationTable/Task1MultiplicationTable.csproj deleted file mode 100644 index 0e8378d..0000000 --- a/AlexandrTkachukTask1/CyclicConstructions/Task1MultiplicationTable/Task1MultiplicationTable.csproj +++ /dev/null @@ -1,58 +0,0 @@ - - - - - Debug - AnyCPU - {BD1B81C5-2A13-43E6-84AD-6B3FBD442E99} - Exe - Properties - Task1MultiplicationTable - Task1MultiplicationTable - v4.5 - 512 - - - AnyCPU - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - AnyCPU - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/AlexandrTkachukTask1/CyclicConstructions/Task1MultiplicationTable/bin/Debug/Task1MultiplicationTable.exe b/AlexandrTkachukTask1/CyclicConstructions/Task1MultiplicationTable/bin/Debug/Task1MultiplicationTable.exe deleted file mode 100644 index bff8019..0000000 Binary files a/AlexandrTkachukTask1/CyclicConstructions/Task1MultiplicationTable/bin/Debug/Task1MultiplicationTable.exe and /dev/null differ diff --git a/AlexandrTkachukTask1/CyclicConstructions/Task1MultiplicationTable/bin/Debug/Task1MultiplicationTable.exe.config b/AlexandrTkachukTask1/CyclicConstructions/Task1MultiplicationTable/bin/Debug/Task1MultiplicationTable.exe.config deleted file mode 100644 index 8e15646..0000000 --- a/AlexandrTkachukTask1/CyclicConstructions/Task1MultiplicationTable/bin/Debug/Task1MultiplicationTable.exe.config +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/AlexandrTkachukTask1/CyclicConstructions/Task1MultiplicationTable/bin/Debug/Task1MultiplicationTable.pdb b/AlexandrTkachukTask1/CyclicConstructions/Task1MultiplicationTable/bin/Debug/Task1MultiplicationTable.pdb deleted file mode 100644 index 4ac96f7..0000000 Binary files a/AlexandrTkachukTask1/CyclicConstructions/Task1MultiplicationTable/bin/Debug/Task1MultiplicationTable.pdb and /dev/null differ diff --git a/AlexandrTkachukTask1/CyclicConstructions/Task1MultiplicationTable/bin/Debug/Task1MultiplicationTable.vshost.exe b/AlexandrTkachukTask1/CyclicConstructions/Task1MultiplicationTable/bin/Debug/Task1MultiplicationTable.vshost.exe deleted file mode 100644 index 666c0af..0000000 Binary files a/AlexandrTkachukTask1/CyclicConstructions/Task1MultiplicationTable/bin/Debug/Task1MultiplicationTable.vshost.exe and /dev/null differ diff --git a/AlexandrTkachukTask1/CyclicConstructions/Task1MultiplicationTable/bin/Debug/Task1MultiplicationTable.vshost.exe.config b/AlexandrTkachukTask1/CyclicConstructions/Task1MultiplicationTable/bin/Debug/Task1MultiplicationTable.vshost.exe.config deleted file mode 100644 index 8e15646..0000000 --- a/AlexandrTkachukTask1/CyclicConstructions/Task1MultiplicationTable/bin/Debug/Task1MultiplicationTable.vshost.exe.config +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/AlexandrTkachukTask1/CyclicConstructions/Task1MultiplicationTable/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/AlexandrTkachukTask1/CyclicConstructions/Task1MultiplicationTable/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache deleted file mode 100644 index 1bbf45a..0000000 Binary files a/AlexandrTkachukTask1/CyclicConstructions/Task1MultiplicationTable/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache and /dev/null differ diff --git a/AlexandrTkachukTask1/CyclicConstructions/Task1MultiplicationTable/obj/Debug/Task1MultiplicationTable.csproj.FileListAbsolute.txt b/AlexandrTkachukTask1/CyclicConstructions/Task1MultiplicationTable/obj/Debug/Task1MultiplicationTable.csproj.FileListAbsolute.txt deleted file mode 100644 index f912626..0000000 --- a/AlexandrTkachukTask1/CyclicConstructions/Task1MultiplicationTable/obj/Debug/Task1MultiplicationTable.csproj.FileListAbsolute.txt +++ /dev/null @@ -1,6 +0,0 @@ -C:\Users\Alexandr\Documents\Visual Studio 2013\Projects\C#\ISD\CyclicConstructions\Task1MultiplicationTable\bin\Debug\Task1MultiplicationTable.exe.config -C:\Users\Alexandr\Documents\Visual Studio 2013\Projects\C#\ISD\CyclicConstructions\Task1MultiplicationTable\bin\Debug\Task1MultiplicationTable.exe -C:\Users\Alexandr\Documents\Visual Studio 2013\Projects\C#\ISD\CyclicConstructions\Task1MultiplicationTable\bin\Debug\Task1MultiplicationTable.pdb -C:\Users\Alexandr\Documents\Visual Studio 2013\Projects\C#\ISD\CyclicConstructions\Task1MultiplicationTable\obj\Debug\Task1MultiplicationTable.csprojResolveAssemblyReference.cache -C:\Users\Alexandr\Documents\Visual Studio 2013\Projects\C#\ISD\CyclicConstructions\Task1MultiplicationTable\obj\Debug\Task1MultiplicationTable.exe -C:\Users\Alexandr\Documents\Visual Studio 2013\Projects\C#\ISD\CyclicConstructions\Task1MultiplicationTable\obj\Debug\Task1MultiplicationTable.pdb diff --git a/AlexandrTkachukTask1/CyclicConstructions/Task1MultiplicationTable/obj/Debug/Task1MultiplicationTable.csprojResolveAssemblyReference.cache b/AlexandrTkachukTask1/CyclicConstructions/Task1MultiplicationTable/obj/Debug/Task1MultiplicationTable.csprojResolveAssemblyReference.cache deleted file mode 100644 index f84cd4a..0000000 Binary files a/AlexandrTkachukTask1/CyclicConstructions/Task1MultiplicationTable/obj/Debug/Task1MultiplicationTable.csprojResolveAssemblyReference.cache and /dev/null differ diff --git a/AlexandrTkachukTask1/CyclicConstructions/Task1MultiplicationTable/obj/Debug/Task1MultiplicationTable.exe b/AlexandrTkachukTask1/CyclicConstructions/Task1MultiplicationTable/obj/Debug/Task1MultiplicationTable.exe deleted file mode 100644 index bff8019..0000000 Binary files a/AlexandrTkachukTask1/CyclicConstructions/Task1MultiplicationTable/obj/Debug/Task1MultiplicationTable.exe and /dev/null differ diff --git a/AlexandrTkachukTask1/CyclicConstructions/Task1MultiplicationTable/obj/Debug/Task1MultiplicationTable.pdb b/AlexandrTkachukTask1/CyclicConstructions/Task1MultiplicationTable/obj/Debug/Task1MultiplicationTable.pdb deleted file mode 100644 index 4ac96f7..0000000 Binary files a/AlexandrTkachukTask1/CyclicConstructions/Task1MultiplicationTable/obj/Debug/Task1MultiplicationTable.pdb and /dev/null differ diff --git a/AlexandrTkachukTask1/CyclicConstructions/Task2QuantityOfDigits/App.config b/AlexandrTkachukTask1/CyclicConstructions/Task2QuantityOfDigits/App.config deleted file mode 100644 index 8e15646..0000000 --- a/AlexandrTkachukTask1/CyclicConstructions/Task2QuantityOfDigits/App.config +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/AlexandrTkachukTask1/CyclicConstructions/Task2QuantityOfDigits/Program.cs b/AlexandrTkachukTask1/CyclicConstructions/Task2QuantityOfDigits/Program.cs deleted file mode 100644 index ffee88e..0000000 --- a/AlexandrTkachukTask1/CyclicConstructions/Task2QuantityOfDigits/Program.cs +++ /dev/null @@ -1,36 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace Task2QuantityOfDigits -{ - class Program - { - static void Main(string[] args) - { - Console.Write("Введите число : "); - int enteredNum = Convert.ToInt32(Console.ReadLine()); - int num = enteredNum; - int count = 0; - while (num > 0) - { - num = num / 10; - count++; - } - if (count == 1) - { - Console.WriteLine("Число " + enteredNum + " имеет " + count + " разряд"); - } - else if (count >= 2 && count <= 4) - { - Console.WriteLine("Число " + enteredNum + " имеет " + count + " разряда"); - } - else - { - Console.WriteLine("Число " + enteredNum + " имеет " + count + " разрядов"); - } - } - } -} diff --git a/AlexandrTkachukTask1/CyclicConstructions/Task2QuantityOfDigits/Properties/AssemblyInfo.cs b/AlexandrTkachukTask1/CyclicConstructions/Task2QuantityOfDigits/Properties/AssemblyInfo.cs deleted file mode 100644 index a21fea0..0000000 --- a/AlexandrTkachukTask1/CyclicConstructions/Task2QuantityOfDigits/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,36 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -[assembly: AssemblyTitle("Task2QuantityOfDigits")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("Task2QuantityOfDigits")] -[assembly: AssemblyCopyright("Copyright © 2016")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. -[assembly: ComVisible(false)] - -// The following GUID is for the ID of the typelib if this project is exposed to COM -[assembly: Guid("d40e13b3-0f72-48ea-ba6d-1404bb43a7a0")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Build and Revision Numbers -// by using the '*' as shown below: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/AlexandrTkachukTask1/CyclicConstructions/Task2QuantityOfDigits/Task2QuantityOfDigits.csproj b/AlexandrTkachukTask1/CyclicConstructions/Task2QuantityOfDigits/Task2QuantityOfDigits.csproj deleted file mode 100644 index 904af6a..0000000 --- a/AlexandrTkachukTask1/CyclicConstructions/Task2QuantityOfDigits/Task2QuantityOfDigits.csproj +++ /dev/null @@ -1,58 +0,0 @@ - - - - - Debug - AnyCPU - {7EC4D1BA-4514-4BAA-934D-484DBB3E66EB} - Exe - Properties - Task2QuantityOfDigits - Task2QuantityOfDigits - v4.5 - 512 - - - AnyCPU - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - AnyCPU - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/AlexandrTkachukTask1/CyclicConstructions/Task2QuantityOfDigits/bin/Debug/Task2QuantityOfDigits.exe b/AlexandrTkachukTask1/CyclicConstructions/Task2QuantityOfDigits/bin/Debug/Task2QuantityOfDigits.exe deleted file mode 100644 index d973908..0000000 Binary files a/AlexandrTkachukTask1/CyclicConstructions/Task2QuantityOfDigits/bin/Debug/Task2QuantityOfDigits.exe and /dev/null differ diff --git a/AlexandrTkachukTask1/CyclicConstructions/Task2QuantityOfDigits/bin/Debug/Task2QuantityOfDigits.exe.config b/AlexandrTkachukTask1/CyclicConstructions/Task2QuantityOfDigits/bin/Debug/Task2QuantityOfDigits.exe.config deleted file mode 100644 index 8e15646..0000000 --- a/AlexandrTkachukTask1/CyclicConstructions/Task2QuantityOfDigits/bin/Debug/Task2QuantityOfDigits.exe.config +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/AlexandrTkachukTask1/CyclicConstructions/Task2QuantityOfDigits/bin/Debug/Task2QuantityOfDigits.pdb b/AlexandrTkachukTask1/CyclicConstructions/Task2QuantityOfDigits/bin/Debug/Task2QuantityOfDigits.pdb deleted file mode 100644 index 602401b..0000000 Binary files a/AlexandrTkachukTask1/CyclicConstructions/Task2QuantityOfDigits/bin/Debug/Task2QuantityOfDigits.pdb and /dev/null differ diff --git a/AlexandrTkachukTask1/CyclicConstructions/Task2QuantityOfDigits/bin/Debug/Task2QuantityOfDigits.vshost.exe b/AlexandrTkachukTask1/CyclicConstructions/Task2QuantityOfDigits/bin/Debug/Task2QuantityOfDigits.vshost.exe deleted file mode 100644 index 666c0af..0000000 Binary files a/AlexandrTkachukTask1/CyclicConstructions/Task2QuantityOfDigits/bin/Debug/Task2QuantityOfDigits.vshost.exe and /dev/null differ diff --git a/AlexandrTkachukTask1/CyclicConstructions/Task2QuantityOfDigits/bin/Debug/Task2QuantityOfDigits.vshost.exe.config b/AlexandrTkachukTask1/CyclicConstructions/Task2QuantityOfDigits/bin/Debug/Task2QuantityOfDigits.vshost.exe.config deleted file mode 100644 index 8e15646..0000000 --- a/AlexandrTkachukTask1/CyclicConstructions/Task2QuantityOfDigits/bin/Debug/Task2QuantityOfDigits.vshost.exe.config +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/AlexandrTkachukTask1/CyclicConstructions/Task2QuantityOfDigits/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/AlexandrTkachukTask1/CyclicConstructions/Task2QuantityOfDigits/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache deleted file mode 100644 index d77dc21..0000000 Binary files a/AlexandrTkachukTask1/CyclicConstructions/Task2QuantityOfDigits/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache and /dev/null differ diff --git a/AlexandrTkachukTask1/CyclicConstructions/Task2QuantityOfDigits/obj/Debug/Task2QuantityOfDigits.csproj.FileListAbsolute.txt b/AlexandrTkachukTask1/CyclicConstructions/Task2QuantityOfDigits/obj/Debug/Task2QuantityOfDigits.csproj.FileListAbsolute.txt deleted file mode 100644 index 227de9e..0000000 --- a/AlexandrTkachukTask1/CyclicConstructions/Task2QuantityOfDigits/obj/Debug/Task2QuantityOfDigits.csproj.FileListAbsolute.txt +++ /dev/null @@ -1,6 +0,0 @@ -C:\Users\Alexandr\Documents\Visual Studio 2013\Projects\C#\ISD\CyclicConstructions\Task2QuantityOfDigits\bin\Debug\Task2QuantityOfDigits.exe.config -C:\Users\Alexandr\Documents\Visual Studio 2013\Projects\C#\ISD\CyclicConstructions\Task2QuantityOfDigits\bin\Debug\Task2QuantityOfDigits.exe -C:\Users\Alexandr\Documents\Visual Studio 2013\Projects\C#\ISD\CyclicConstructions\Task2QuantityOfDigits\bin\Debug\Task2QuantityOfDigits.pdb -C:\Users\Alexandr\Documents\Visual Studio 2013\Projects\C#\ISD\CyclicConstructions\Task2QuantityOfDigits\obj\Debug\Task2QuantityOfDigits.csprojResolveAssemblyReference.cache -C:\Users\Alexandr\Documents\Visual Studio 2013\Projects\C#\ISD\CyclicConstructions\Task2QuantityOfDigits\obj\Debug\Task2QuantityOfDigits.exe -C:\Users\Alexandr\Documents\Visual Studio 2013\Projects\C#\ISD\CyclicConstructions\Task2QuantityOfDigits\obj\Debug\Task2QuantityOfDigits.pdb diff --git a/AlexandrTkachukTask1/CyclicConstructions/Task2QuantityOfDigits/obj/Debug/Task2QuantityOfDigits.csprojResolveAssemblyReference.cache b/AlexandrTkachukTask1/CyclicConstructions/Task2QuantityOfDigits/obj/Debug/Task2QuantityOfDigits.csprojResolveAssemblyReference.cache deleted file mode 100644 index f84cd4a..0000000 Binary files a/AlexandrTkachukTask1/CyclicConstructions/Task2QuantityOfDigits/obj/Debug/Task2QuantityOfDigits.csprojResolveAssemblyReference.cache and /dev/null differ diff --git a/AlexandrTkachukTask1/CyclicConstructions/Task2QuantityOfDigits/obj/Debug/Task2QuantityOfDigits.exe b/AlexandrTkachukTask1/CyclicConstructions/Task2QuantityOfDigits/obj/Debug/Task2QuantityOfDigits.exe deleted file mode 100644 index d973908..0000000 Binary files a/AlexandrTkachukTask1/CyclicConstructions/Task2QuantityOfDigits/obj/Debug/Task2QuantityOfDigits.exe and /dev/null differ diff --git a/AlexandrTkachukTask1/CyclicConstructions/Task2QuantityOfDigits/obj/Debug/Task2QuantityOfDigits.pdb b/AlexandrTkachukTask1/CyclicConstructions/Task2QuantityOfDigits/obj/Debug/Task2QuantityOfDigits.pdb deleted file mode 100644 index 602401b..0000000 Binary files a/AlexandrTkachukTask1/CyclicConstructions/Task2QuantityOfDigits/obj/Debug/Task2QuantityOfDigits.pdb and /dev/null differ diff --git a/AlexandrTkachukTask1/CyclicConstructions/Task3GuessTheNumber/App.config b/AlexandrTkachukTask1/CyclicConstructions/Task3GuessTheNumber/App.config deleted file mode 100644 index 8e15646..0000000 --- a/AlexandrTkachukTask1/CyclicConstructions/Task3GuessTheNumber/App.config +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/AlexandrTkachukTask1/CyclicConstructions/Task3GuessTheNumber/Program.cs b/AlexandrTkachukTask1/CyclicConstructions/Task3GuessTheNumber/Program.cs deleted file mode 100644 index 535bc3e..0000000 --- a/AlexandrTkachukTask1/CyclicConstructions/Task3GuessTheNumber/Program.cs +++ /dev/null @@ -1,34 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace Task3GuessTheNumber -{ - class Program - { - static void Main(string[] args) - { - Random r = new Random(); - int unknownNum = r.Next(1, 147); - int num = 0; - Console.WriteLine("Загадано число от 1 до 146, попытайтесь угадать"); - do - { - Console.Write("Введите число : "); - num = Convert.ToInt32(Console.ReadLine()); - if (num < unknownNum) - { - Console.WriteLine("Больше"); - } - if (num > unknownNum) - { - Console.WriteLine("Меньше"); - } - } - while (num != unknownNum); - Console.WriteLine("Вы угадали! Загаданное число : " + unknownNum); - } - } -} diff --git a/AlexandrTkachukTask1/CyclicConstructions/Task3GuessTheNumber/Properties/AssemblyInfo.cs b/AlexandrTkachukTask1/CyclicConstructions/Task3GuessTheNumber/Properties/AssemblyInfo.cs deleted file mode 100644 index 7c8a639..0000000 --- a/AlexandrTkachukTask1/CyclicConstructions/Task3GuessTheNumber/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,36 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -[assembly: AssemblyTitle("Task3GuessTheNumber")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("Task3GuessTheNumber")] -[assembly: AssemblyCopyright("Copyright © 2016")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. -[assembly: ComVisible(false)] - -// The following GUID is for the ID of the typelib if this project is exposed to COM -[assembly: Guid("b47a2ec4-c188-4959-b306-c117dc3f50de")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Build and Revision Numbers -// by using the '*' as shown below: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/AlexandrTkachukTask1/CyclicConstructions/Task3GuessTheNumber/Task3GuessTheNumber.csproj b/AlexandrTkachukTask1/CyclicConstructions/Task3GuessTheNumber/Task3GuessTheNumber.csproj deleted file mode 100644 index b1c26f4..0000000 --- a/AlexandrTkachukTask1/CyclicConstructions/Task3GuessTheNumber/Task3GuessTheNumber.csproj +++ /dev/null @@ -1,58 +0,0 @@ - - - - - Debug - AnyCPU - {DBB4C5B0-09D1-4A70-BB1C-1FC5D0F316FF} - Exe - Properties - Task3GuessTheNumber - Task3GuessTheNumber - v4.5 - 512 - - - AnyCPU - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - AnyCPU - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/AlexandrTkachukTask1/CyclicConstructions/Task3GuessTheNumber/bin/Debug/Task3GuessTheNumber.exe b/AlexandrTkachukTask1/CyclicConstructions/Task3GuessTheNumber/bin/Debug/Task3GuessTheNumber.exe deleted file mode 100644 index 2160337..0000000 Binary files a/AlexandrTkachukTask1/CyclicConstructions/Task3GuessTheNumber/bin/Debug/Task3GuessTheNumber.exe and /dev/null differ diff --git a/AlexandrTkachukTask1/CyclicConstructions/Task3GuessTheNumber/bin/Debug/Task3GuessTheNumber.exe.config b/AlexandrTkachukTask1/CyclicConstructions/Task3GuessTheNumber/bin/Debug/Task3GuessTheNumber.exe.config deleted file mode 100644 index 8e15646..0000000 --- a/AlexandrTkachukTask1/CyclicConstructions/Task3GuessTheNumber/bin/Debug/Task3GuessTheNumber.exe.config +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/AlexandrTkachukTask1/CyclicConstructions/Task3GuessTheNumber/bin/Debug/Task3GuessTheNumber.pdb b/AlexandrTkachukTask1/CyclicConstructions/Task3GuessTheNumber/bin/Debug/Task3GuessTheNumber.pdb deleted file mode 100644 index 304e272..0000000 Binary files a/AlexandrTkachukTask1/CyclicConstructions/Task3GuessTheNumber/bin/Debug/Task3GuessTheNumber.pdb and /dev/null differ diff --git a/AlexandrTkachukTask1/CyclicConstructions/Task3GuessTheNumber/bin/Debug/Task3GuessTheNumber.vshost.exe b/AlexandrTkachukTask1/CyclicConstructions/Task3GuessTheNumber/bin/Debug/Task3GuessTheNumber.vshost.exe deleted file mode 100644 index 666c0af..0000000 Binary files a/AlexandrTkachukTask1/CyclicConstructions/Task3GuessTheNumber/bin/Debug/Task3GuessTheNumber.vshost.exe and /dev/null differ diff --git a/AlexandrTkachukTask1/CyclicConstructions/Task3GuessTheNumber/bin/Debug/Task3GuessTheNumber.vshost.exe.config b/AlexandrTkachukTask1/CyclicConstructions/Task3GuessTheNumber/bin/Debug/Task3GuessTheNumber.vshost.exe.config deleted file mode 100644 index 8e15646..0000000 --- a/AlexandrTkachukTask1/CyclicConstructions/Task3GuessTheNumber/bin/Debug/Task3GuessTheNumber.vshost.exe.config +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/AlexandrTkachukTask1/CyclicConstructions/Task3GuessTheNumber/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/AlexandrTkachukTask1/CyclicConstructions/Task3GuessTheNumber/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache deleted file mode 100644 index 195b0cc..0000000 Binary files a/AlexandrTkachukTask1/CyclicConstructions/Task3GuessTheNumber/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache and /dev/null differ diff --git a/AlexandrTkachukTask1/CyclicConstructions/Task3GuessTheNumber/obj/Debug/Task3GuessTheNumber.csproj.FileListAbsolute.txt b/AlexandrTkachukTask1/CyclicConstructions/Task3GuessTheNumber/obj/Debug/Task3GuessTheNumber.csproj.FileListAbsolute.txt deleted file mode 100644 index 6977a4a..0000000 --- a/AlexandrTkachukTask1/CyclicConstructions/Task3GuessTheNumber/obj/Debug/Task3GuessTheNumber.csproj.FileListAbsolute.txt +++ /dev/null @@ -1,6 +0,0 @@ -C:\Users\Alexandr\Documents\Visual Studio 2013\Projects\C#\ISD\CyclicConstructions\Task3GuessTheNumber\bin\Debug\Task3GuessTheNumber.exe.config -C:\Users\Alexandr\Documents\Visual Studio 2013\Projects\C#\ISD\CyclicConstructions\Task3GuessTheNumber\bin\Debug\Task3GuessTheNumber.exe -C:\Users\Alexandr\Documents\Visual Studio 2013\Projects\C#\ISD\CyclicConstructions\Task3GuessTheNumber\bin\Debug\Task3GuessTheNumber.pdb -C:\Users\Alexandr\Documents\Visual Studio 2013\Projects\C#\ISD\CyclicConstructions\Task3GuessTheNumber\obj\Debug\Task3GuessTheNumber.csprojResolveAssemblyReference.cache -C:\Users\Alexandr\Documents\Visual Studio 2013\Projects\C#\ISD\CyclicConstructions\Task3GuessTheNumber\obj\Debug\Task3GuessTheNumber.exe -C:\Users\Alexandr\Documents\Visual Studio 2013\Projects\C#\ISD\CyclicConstructions\Task3GuessTheNumber\obj\Debug\Task3GuessTheNumber.pdb diff --git a/AlexandrTkachukTask1/CyclicConstructions/Task3GuessTheNumber/obj/Debug/Task3GuessTheNumber.csprojResolveAssemblyReference.cache b/AlexandrTkachukTask1/CyclicConstructions/Task3GuessTheNumber/obj/Debug/Task3GuessTheNumber.csprojResolveAssemblyReference.cache deleted file mode 100644 index f84cd4a..0000000 Binary files a/AlexandrTkachukTask1/CyclicConstructions/Task3GuessTheNumber/obj/Debug/Task3GuessTheNumber.csprojResolveAssemblyReference.cache and /dev/null differ diff --git a/AlexandrTkachukTask1/CyclicConstructions/Task3GuessTheNumber/obj/Debug/Task3GuessTheNumber.exe b/AlexandrTkachukTask1/CyclicConstructions/Task3GuessTheNumber/obj/Debug/Task3GuessTheNumber.exe deleted file mode 100644 index 2160337..0000000 Binary files a/AlexandrTkachukTask1/CyclicConstructions/Task3GuessTheNumber/obj/Debug/Task3GuessTheNumber.exe and /dev/null differ diff --git a/AlexandrTkachukTask1/CyclicConstructions/Task3GuessTheNumber/obj/Debug/Task3GuessTheNumber.pdb b/AlexandrTkachukTask1/CyclicConstructions/Task3GuessTheNumber/obj/Debug/Task3GuessTheNumber.pdb deleted file mode 100644 index 304e272..0000000 Binary files a/AlexandrTkachukTask1/CyclicConstructions/Task3GuessTheNumber/obj/Debug/Task3GuessTheNumber.pdb and /dev/null differ diff --git a/AlexandrTkachukTask1/CyclicConstructions/Task4TheSquaresOfTheNumbers/App.config b/AlexandrTkachukTask1/CyclicConstructions/Task4TheSquaresOfTheNumbers/App.config deleted file mode 100644 index 8e15646..0000000 --- a/AlexandrTkachukTask1/CyclicConstructions/Task4TheSquaresOfTheNumbers/App.config +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/AlexandrTkachukTask1/CyclicConstructions/Task4TheSquaresOfTheNumbers/Program.cs b/AlexandrTkachukTask1/CyclicConstructions/Task4TheSquaresOfTheNumbers/Program.cs deleted file mode 100644 index e844322..0000000 --- a/AlexandrTkachukTask1/CyclicConstructions/Task4TheSquaresOfTheNumbers/Program.cs +++ /dev/null @@ -1,26 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace Task4TheSquaresOfTheNumbers -{ - class Program - { - static void Main(string[] args) - { - Console.Write("Введите число : "); - int num = Convert.ToInt32(Console.ReadLine()); - Console.Write("Числа, квадраты которых меньше, чем " + num + " : "); - for (int i = 1; i < num; i++) - { - if (i * i < num) - { - Console.Write(i + "(" + i * i + ") "); - } - } - - } - } -} diff --git a/AlexandrTkachukTask1/CyclicConstructions/Task4TheSquaresOfTheNumbers/Properties/AssemblyInfo.cs b/AlexandrTkachukTask1/CyclicConstructions/Task4TheSquaresOfTheNumbers/Properties/AssemblyInfo.cs deleted file mode 100644 index 05a350f..0000000 --- a/AlexandrTkachukTask1/CyclicConstructions/Task4TheSquaresOfTheNumbers/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,36 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -[assembly: AssemblyTitle("Task4TheSquaresOfTheNumbers")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("Task4TheSquaresOfTheNumbers")] -[assembly: AssemblyCopyright("Copyright © 2016")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. -[assembly: ComVisible(false)] - -// The following GUID is for the ID of the typelib if this project is exposed to COM -[assembly: Guid("2d15ec0b-045c-4de8-80f7-527024dcb30d")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Build and Revision Numbers -// by using the '*' as shown below: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/AlexandrTkachukTask1/CyclicConstructions/Task4TheSquaresOfTheNumbers/Task4TheSquaresOfTheNumbers.csproj b/AlexandrTkachukTask1/CyclicConstructions/Task4TheSquaresOfTheNumbers/Task4TheSquaresOfTheNumbers.csproj deleted file mode 100644 index f80752e..0000000 --- a/AlexandrTkachukTask1/CyclicConstructions/Task4TheSquaresOfTheNumbers/Task4TheSquaresOfTheNumbers.csproj +++ /dev/null @@ -1,58 +0,0 @@ - - - - - Debug - AnyCPU - {42E6F0EC-9931-4222-B047-E6E60E3AC55F} - Exe - Properties - Task4TheSquaresOfTheNumbers - Task4TheSquaresOfTheNumbers - v4.5 - 512 - - - AnyCPU - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - AnyCPU - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/AlexandrTkachukTask1/CyclicConstructions/Task4TheSquaresOfTheNumbers/bin/Debug/Task4TheSquaresOfTheNumbers.exe b/AlexandrTkachukTask1/CyclicConstructions/Task4TheSquaresOfTheNumbers/bin/Debug/Task4TheSquaresOfTheNumbers.exe deleted file mode 100644 index 3eb211c..0000000 Binary files a/AlexandrTkachukTask1/CyclicConstructions/Task4TheSquaresOfTheNumbers/bin/Debug/Task4TheSquaresOfTheNumbers.exe and /dev/null differ diff --git a/AlexandrTkachukTask1/CyclicConstructions/Task4TheSquaresOfTheNumbers/bin/Debug/Task4TheSquaresOfTheNumbers.exe.config b/AlexandrTkachukTask1/CyclicConstructions/Task4TheSquaresOfTheNumbers/bin/Debug/Task4TheSquaresOfTheNumbers.exe.config deleted file mode 100644 index 8e15646..0000000 --- a/AlexandrTkachukTask1/CyclicConstructions/Task4TheSquaresOfTheNumbers/bin/Debug/Task4TheSquaresOfTheNumbers.exe.config +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/AlexandrTkachukTask1/CyclicConstructions/Task4TheSquaresOfTheNumbers/bin/Debug/Task4TheSquaresOfTheNumbers.pdb b/AlexandrTkachukTask1/CyclicConstructions/Task4TheSquaresOfTheNumbers/bin/Debug/Task4TheSquaresOfTheNumbers.pdb deleted file mode 100644 index d3b5da4..0000000 Binary files a/AlexandrTkachukTask1/CyclicConstructions/Task4TheSquaresOfTheNumbers/bin/Debug/Task4TheSquaresOfTheNumbers.pdb and /dev/null differ diff --git a/AlexandrTkachukTask1/CyclicConstructions/Task4TheSquaresOfTheNumbers/bin/Debug/Task4TheSquaresOfTheNumbers.vshost.exe b/AlexandrTkachukTask1/CyclicConstructions/Task4TheSquaresOfTheNumbers/bin/Debug/Task4TheSquaresOfTheNumbers.vshost.exe deleted file mode 100644 index 666c0af..0000000 Binary files a/AlexandrTkachukTask1/CyclicConstructions/Task4TheSquaresOfTheNumbers/bin/Debug/Task4TheSquaresOfTheNumbers.vshost.exe and /dev/null differ diff --git a/AlexandrTkachukTask1/CyclicConstructions/Task4TheSquaresOfTheNumbers/bin/Debug/Task4TheSquaresOfTheNumbers.vshost.exe.config b/AlexandrTkachukTask1/CyclicConstructions/Task4TheSquaresOfTheNumbers/bin/Debug/Task4TheSquaresOfTheNumbers.vshost.exe.config deleted file mode 100644 index 8e15646..0000000 --- a/AlexandrTkachukTask1/CyclicConstructions/Task4TheSquaresOfTheNumbers/bin/Debug/Task4TheSquaresOfTheNumbers.vshost.exe.config +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/AlexandrTkachukTask1/CyclicConstructions/Task4TheSquaresOfTheNumbers/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/AlexandrTkachukTask1/CyclicConstructions/Task4TheSquaresOfTheNumbers/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache deleted file mode 100644 index b06ce39..0000000 Binary files a/AlexandrTkachukTask1/CyclicConstructions/Task4TheSquaresOfTheNumbers/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache and /dev/null differ diff --git a/AlexandrTkachukTask1/CyclicConstructions/Task4TheSquaresOfTheNumbers/obj/Debug/Task4TheSquaresOfTheNumbers.csproj.FileListAbsolute.txt b/AlexandrTkachukTask1/CyclicConstructions/Task4TheSquaresOfTheNumbers/obj/Debug/Task4TheSquaresOfTheNumbers.csproj.FileListAbsolute.txt deleted file mode 100644 index 4b9e64c..0000000 --- a/AlexandrTkachukTask1/CyclicConstructions/Task4TheSquaresOfTheNumbers/obj/Debug/Task4TheSquaresOfTheNumbers.csproj.FileListAbsolute.txt +++ /dev/null @@ -1,6 +0,0 @@ -C:\Users\Alexandr\Documents\Visual Studio 2013\Projects\C#\ISD\CyclicConstructions\Task4TheSquaresOfTheNumbers\bin\Debug\Task4TheSquaresOfTheNumbers.exe.config -C:\Users\Alexandr\Documents\Visual Studio 2013\Projects\C#\ISD\CyclicConstructions\Task4TheSquaresOfTheNumbers\bin\Debug\Task4TheSquaresOfTheNumbers.exe -C:\Users\Alexandr\Documents\Visual Studio 2013\Projects\C#\ISD\CyclicConstructions\Task4TheSquaresOfTheNumbers\bin\Debug\Task4TheSquaresOfTheNumbers.pdb -C:\Users\Alexandr\Documents\Visual Studio 2013\Projects\C#\ISD\CyclicConstructions\Task4TheSquaresOfTheNumbers\obj\Debug\Task4TheSquaresOfTheNumbers.csprojResolveAssemblyReference.cache -C:\Users\Alexandr\Documents\Visual Studio 2013\Projects\C#\ISD\CyclicConstructions\Task4TheSquaresOfTheNumbers\obj\Debug\Task4TheSquaresOfTheNumbers.exe -C:\Users\Alexandr\Documents\Visual Studio 2013\Projects\C#\ISD\CyclicConstructions\Task4TheSquaresOfTheNumbers\obj\Debug\Task4TheSquaresOfTheNumbers.pdb diff --git a/AlexandrTkachukTask1/CyclicConstructions/Task4TheSquaresOfTheNumbers/obj/Debug/Task4TheSquaresOfTheNumbers.csprojResolveAssemblyReference.cache b/AlexandrTkachukTask1/CyclicConstructions/Task4TheSquaresOfTheNumbers/obj/Debug/Task4TheSquaresOfTheNumbers.csprojResolveAssemblyReference.cache deleted file mode 100644 index f84cd4a..0000000 Binary files a/AlexandrTkachukTask1/CyclicConstructions/Task4TheSquaresOfTheNumbers/obj/Debug/Task4TheSquaresOfTheNumbers.csprojResolveAssemblyReference.cache and /dev/null differ diff --git a/AlexandrTkachukTask1/CyclicConstructions/Task4TheSquaresOfTheNumbers/obj/Debug/Task4TheSquaresOfTheNumbers.exe b/AlexandrTkachukTask1/CyclicConstructions/Task4TheSquaresOfTheNumbers/obj/Debug/Task4TheSquaresOfTheNumbers.exe deleted file mode 100644 index 3eb211c..0000000 Binary files a/AlexandrTkachukTask1/CyclicConstructions/Task4TheSquaresOfTheNumbers/obj/Debug/Task4TheSquaresOfTheNumbers.exe and /dev/null differ diff --git a/AlexandrTkachukTask1/CyclicConstructions/Task4TheSquaresOfTheNumbers/obj/Debug/Task4TheSquaresOfTheNumbers.pdb b/AlexandrTkachukTask1/CyclicConstructions/Task4TheSquaresOfTheNumbers/obj/Debug/Task4TheSquaresOfTheNumbers.pdb deleted file mode 100644 index d3b5da4..0000000 Binary files a/AlexandrTkachukTask1/CyclicConstructions/Task4TheSquaresOfTheNumbers/obj/Debug/Task4TheSquaresOfTheNumbers.pdb and /dev/null differ diff --git a/AlexandrTkachukTask1/CyclicConstructions/Task5UsersArithmeticMean/App.config b/AlexandrTkachukTask1/CyclicConstructions/Task5UsersArithmeticMean/App.config deleted file mode 100644 index 8e15646..0000000 --- a/AlexandrTkachukTask1/CyclicConstructions/Task5UsersArithmeticMean/App.config +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/AlexandrTkachukTask1/CyclicConstructions/Task5UsersArithmeticMean/Program.cs b/AlexandrTkachukTask1/CyclicConstructions/Task5UsersArithmeticMean/Program.cs deleted file mode 100644 index 7bf22e1..0000000 --- a/AlexandrTkachukTask1/CyclicConstructions/Task5UsersArithmeticMean/Program.cs +++ /dev/null @@ -1,25 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace Task5UsersArithmeticMean -{ - class Program - { - static void Main(string[] args) - { - int sum = 0; - int[] arr = new int[5]; - for (int i = 0; i < arr.Length; i++) - { - Console.Write("Введите " + (i + 1) + "-е число : "); - arr[i] = Convert.ToInt32(Console.ReadLine()); - Console.WriteLine(); - sum += arr[i]; - } - Console.WriteLine("Среднее арифметическое этих чисел : " + (double)sum / arr.Length); - } - } -} diff --git a/AlexandrTkachukTask1/CyclicConstructions/Task5UsersArithmeticMean/Properties/AssemblyInfo.cs b/AlexandrTkachukTask1/CyclicConstructions/Task5UsersArithmeticMean/Properties/AssemblyInfo.cs deleted file mode 100644 index aa65828..0000000 --- a/AlexandrTkachukTask1/CyclicConstructions/Task5UsersArithmeticMean/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,36 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -[assembly: AssemblyTitle("Task5UsersArithmeticMean")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("Task5UsersArithmeticMean")] -[assembly: AssemblyCopyright("Copyright © 2016")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. -[assembly: ComVisible(false)] - -// The following GUID is for the ID of the typelib if this project is exposed to COM -[assembly: Guid("30462627-2f32-473b-b8f3-625b8355cffd")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Build and Revision Numbers -// by using the '*' as shown below: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/AlexandrTkachukTask1/CyclicConstructions/Task5UsersArithmeticMean/Task5UsersArithmeticMean.csproj b/AlexandrTkachukTask1/CyclicConstructions/Task5UsersArithmeticMean/Task5UsersArithmeticMean.csproj deleted file mode 100644 index 76ad121..0000000 --- a/AlexandrTkachukTask1/CyclicConstructions/Task5UsersArithmeticMean/Task5UsersArithmeticMean.csproj +++ /dev/null @@ -1,58 +0,0 @@ - - - - - Debug - AnyCPU - {25B1B6EF-3F50-419C-A1D4-A7F81CE1CE23} - Exe - Properties - Task5UsersArithmeticMean - Task5UsersArithmeticMean - v4.5 - 512 - - - AnyCPU - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - AnyCPU - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/AlexandrTkachukTask1/CyclicConstructions/Task5UsersArithmeticMean/bin/Debug/Task5UsersArithmeticMean.exe b/AlexandrTkachukTask1/CyclicConstructions/Task5UsersArithmeticMean/bin/Debug/Task5UsersArithmeticMean.exe deleted file mode 100644 index f47358a..0000000 Binary files a/AlexandrTkachukTask1/CyclicConstructions/Task5UsersArithmeticMean/bin/Debug/Task5UsersArithmeticMean.exe and /dev/null differ diff --git a/AlexandrTkachukTask1/CyclicConstructions/Task5UsersArithmeticMean/bin/Debug/Task5UsersArithmeticMean.exe.config b/AlexandrTkachukTask1/CyclicConstructions/Task5UsersArithmeticMean/bin/Debug/Task5UsersArithmeticMean.exe.config deleted file mode 100644 index 8e15646..0000000 --- a/AlexandrTkachukTask1/CyclicConstructions/Task5UsersArithmeticMean/bin/Debug/Task5UsersArithmeticMean.exe.config +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/AlexandrTkachukTask1/CyclicConstructions/Task5UsersArithmeticMean/bin/Debug/Task5UsersArithmeticMean.pdb b/AlexandrTkachukTask1/CyclicConstructions/Task5UsersArithmeticMean/bin/Debug/Task5UsersArithmeticMean.pdb deleted file mode 100644 index 2e658a7..0000000 Binary files a/AlexandrTkachukTask1/CyclicConstructions/Task5UsersArithmeticMean/bin/Debug/Task5UsersArithmeticMean.pdb and /dev/null differ diff --git a/AlexandrTkachukTask1/CyclicConstructions/Task5UsersArithmeticMean/bin/Debug/Task5UsersArithmeticMean.vshost.exe b/AlexandrTkachukTask1/CyclicConstructions/Task5UsersArithmeticMean/bin/Debug/Task5UsersArithmeticMean.vshost.exe deleted file mode 100644 index 666c0af..0000000 Binary files a/AlexandrTkachukTask1/CyclicConstructions/Task5UsersArithmeticMean/bin/Debug/Task5UsersArithmeticMean.vshost.exe and /dev/null differ diff --git a/AlexandrTkachukTask1/CyclicConstructions/Task5UsersArithmeticMean/bin/Debug/Task5UsersArithmeticMean.vshost.exe.config b/AlexandrTkachukTask1/CyclicConstructions/Task5UsersArithmeticMean/bin/Debug/Task5UsersArithmeticMean.vshost.exe.config deleted file mode 100644 index 8e15646..0000000 --- a/AlexandrTkachukTask1/CyclicConstructions/Task5UsersArithmeticMean/bin/Debug/Task5UsersArithmeticMean.vshost.exe.config +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/AlexandrTkachukTask1/CyclicConstructions/Task5UsersArithmeticMean/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/AlexandrTkachukTask1/CyclicConstructions/Task5UsersArithmeticMean/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache deleted file mode 100644 index 159f584..0000000 Binary files a/AlexandrTkachukTask1/CyclicConstructions/Task5UsersArithmeticMean/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache and /dev/null differ diff --git a/AlexandrTkachukTask1/CyclicConstructions/Task5UsersArithmeticMean/obj/Debug/Task5UsersArithmeticMean.csproj.FileListAbsolute.txt b/AlexandrTkachukTask1/CyclicConstructions/Task5UsersArithmeticMean/obj/Debug/Task5UsersArithmeticMean.csproj.FileListAbsolute.txt deleted file mode 100644 index 068223c..0000000 --- a/AlexandrTkachukTask1/CyclicConstructions/Task5UsersArithmeticMean/obj/Debug/Task5UsersArithmeticMean.csproj.FileListAbsolute.txt +++ /dev/null @@ -1,6 +0,0 @@ -C:\Users\Alexandr\Documents\Visual Studio 2013\Projects\C#\ISD\CyclicConstructions\Task5UsersArithmeticMean\bin\Debug\Task5UsersArithmeticMean.exe.config -C:\Users\Alexandr\Documents\Visual Studio 2013\Projects\C#\ISD\CyclicConstructions\Task5UsersArithmeticMean\bin\Debug\Task5UsersArithmeticMean.exe -C:\Users\Alexandr\Documents\Visual Studio 2013\Projects\C#\ISD\CyclicConstructions\Task5UsersArithmeticMean\bin\Debug\Task5UsersArithmeticMean.pdb -C:\Users\Alexandr\Documents\Visual Studio 2013\Projects\C#\ISD\CyclicConstructions\Task5UsersArithmeticMean\obj\Debug\Task5UsersArithmeticMean.csprojResolveAssemblyReference.cache -C:\Users\Alexandr\Documents\Visual Studio 2013\Projects\C#\ISD\CyclicConstructions\Task5UsersArithmeticMean\obj\Debug\Task5UsersArithmeticMean.exe -C:\Users\Alexandr\Documents\Visual Studio 2013\Projects\C#\ISD\CyclicConstructions\Task5UsersArithmeticMean\obj\Debug\Task5UsersArithmeticMean.pdb diff --git a/AlexandrTkachukTask1/CyclicConstructions/Task5UsersArithmeticMean/obj/Debug/Task5UsersArithmeticMean.csprojResolveAssemblyReference.cache b/AlexandrTkachukTask1/CyclicConstructions/Task5UsersArithmeticMean/obj/Debug/Task5UsersArithmeticMean.csprojResolveAssemblyReference.cache deleted file mode 100644 index f84cd4a..0000000 Binary files a/AlexandrTkachukTask1/CyclicConstructions/Task5UsersArithmeticMean/obj/Debug/Task5UsersArithmeticMean.csprojResolveAssemblyReference.cache and /dev/null differ diff --git a/AlexandrTkachukTask1/CyclicConstructions/Task5UsersArithmeticMean/obj/Debug/Task5UsersArithmeticMean.exe b/AlexandrTkachukTask1/CyclicConstructions/Task5UsersArithmeticMean/obj/Debug/Task5UsersArithmeticMean.exe deleted file mode 100644 index f47358a..0000000 Binary files a/AlexandrTkachukTask1/CyclicConstructions/Task5UsersArithmeticMean/obj/Debug/Task5UsersArithmeticMean.exe and /dev/null differ diff --git a/AlexandrTkachukTask1/CyclicConstructions/Task5UsersArithmeticMean/obj/Debug/Task5UsersArithmeticMean.pdb b/AlexandrTkachukTask1/CyclicConstructions/Task5UsersArithmeticMean/obj/Debug/Task5UsersArithmeticMean.pdb deleted file mode 100644 index 2e658a7..0000000 Binary files a/AlexandrTkachukTask1/CyclicConstructions/Task5UsersArithmeticMean/obj/Debug/Task5UsersArithmeticMean.pdb and /dev/null differ diff --git a/AlexandrTkachukTask1/CyclicConstructions/Task6ArithmeticMean/App.config b/AlexandrTkachukTask1/CyclicConstructions/Task6ArithmeticMean/App.config deleted file mode 100644 index 8e15646..0000000 --- a/AlexandrTkachukTask1/CyclicConstructions/Task6ArithmeticMean/App.config +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/AlexandrTkachukTask1/CyclicConstructions/Task6ArithmeticMean/Program.cs b/AlexandrTkachukTask1/CyclicConstructions/Task6ArithmeticMean/Program.cs deleted file mode 100644 index 7d4e68a..0000000 --- a/AlexandrTkachukTask1/CyclicConstructions/Task6ArithmeticMean/Program.cs +++ /dev/null @@ -1,26 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace Task6ArithmeticMean -{ - class Program - { - static void Main(string[] args) - { - Random r = new Random(); - int sum = 0; - int[] arr = { r.Next(0, 50), r.Next(0, 50), r.Next(0, 50), r.Next(0, 50), r.Next(0, 50) }; - Console.Write("Созданы числа : "); - for (int i = 0; i < arr.Length; i++) - { - Console.Write(arr[i] + " "); - sum += arr[i]; - } - Console.WriteLine(); - Console.WriteLine("Среднее арифметическое этих чисел : " + (double)sum / arr.Length); - } - } -} diff --git a/AlexandrTkachukTask1/CyclicConstructions/Task6ArithmeticMean/Properties/AssemblyInfo.cs b/AlexandrTkachukTask1/CyclicConstructions/Task6ArithmeticMean/Properties/AssemblyInfo.cs deleted file mode 100644 index f8128ac..0000000 --- a/AlexandrTkachukTask1/CyclicConstructions/Task6ArithmeticMean/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,36 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -[assembly: AssemblyTitle("Task6ArithmeticMean")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("Task6ArithmeticMean")] -[assembly: AssemblyCopyright("Copyright © 2016")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. -[assembly: ComVisible(false)] - -// The following GUID is for the ID of the typelib if this project is exposed to COM -[assembly: Guid("7bbf8071-ac68-445f-89dc-5172cbe34775")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Build and Revision Numbers -// by using the '*' as shown below: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/AlexandrTkachukTask1/CyclicConstructions/Task6ArithmeticMean/Task6ArithmeticMean.csproj b/AlexandrTkachukTask1/CyclicConstructions/Task6ArithmeticMean/Task6ArithmeticMean.csproj deleted file mode 100644 index 5712660..0000000 --- a/AlexandrTkachukTask1/CyclicConstructions/Task6ArithmeticMean/Task6ArithmeticMean.csproj +++ /dev/null @@ -1,58 +0,0 @@ - - - - - Debug - AnyCPU - {4FC089A3-1159-482A-853F-4526B0E40D76} - Exe - Properties - Task6ArithmeticMean - Task6ArithmeticMean - v4.5 - 512 - - - AnyCPU - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - AnyCPU - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/AlexandrTkachukTask1/CyclicConstructions/Task6ArithmeticMean/bin/Debug/Task6ArithmeticMean.exe b/AlexandrTkachukTask1/CyclicConstructions/Task6ArithmeticMean/bin/Debug/Task6ArithmeticMean.exe deleted file mode 100644 index 1e91822..0000000 Binary files a/AlexandrTkachukTask1/CyclicConstructions/Task6ArithmeticMean/bin/Debug/Task6ArithmeticMean.exe and /dev/null differ diff --git a/AlexandrTkachukTask1/CyclicConstructions/Task6ArithmeticMean/bin/Debug/Task6ArithmeticMean.exe.config b/AlexandrTkachukTask1/CyclicConstructions/Task6ArithmeticMean/bin/Debug/Task6ArithmeticMean.exe.config deleted file mode 100644 index 8e15646..0000000 --- a/AlexandrTkachukTask1/CyclicConstructions/Task6ArithmeticMean/bin/Debug/Task6ArithmeticMean.exe.config +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/AlexandrTkachukTask1/CyclicConstructions/Task6ArithmeticMean/bin/Debug/Task6ArithmeticMean.pdb b/AlexandrTkachukTask1/CyclicConstructions/Task6ArithmeticMean/bin/Debug/Task6ArithmeticMean.pdb deleted file mode 100644 index 1578c8f..0000000 Binary files a/AlexandrTkachukTask1/CyclicConstructions/Task6ArithmeticMean/bin/Debug/Task6ArithmeticMean.pdb and /dev/null differ diff --git a/AlexandrTkachukTask1/CyclicConstructions/Task6ArithmeticMean/bin/Debug/Task6ArithmeticMean.vshost.exe b/AlexandrTkachukTask1/CyclicConstructions/Task6ArithmeticMean/bin/Debug/Task6ArithmeticMean.vshost.exe deleted file mode 100644 index 666c0af..0000000 Binary files a/AlexandrTkachukTask1/CyclicConstructions/Task6ArithmeticMean/bin/Debug/Task6ArithmeticMean.vshost.exe and /dev/null differ diff --git a/AlexandrTkachukTask1/CyclicConstructions/Task6ArithmeticMean/bin/Debug/Task6ArithmeticMean.vshost.exe.config b/AlexandrTkachukTask1/CyclicConstructions/Task6ArithmeticMean/bin/Debug/Task6ArithmeticMean.vshost.exe.config deleted file mode 100644 index 8e15646..0000000 --- a/AlexandrTkachukTask1/CyclicConstructions/Task6ArithmeticMean/bin/Debug/Task6ArithmeticMean.vshost.exe.config +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/AlexandrTkachukTask1/CyclicConstructions/Task6ArithmeticMean/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/AlexandrTkachukTask1/CyclicConstructions/Task6ArithmeticMean/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache deleted file mode 100644 index 2739f98..0000000 Binary files a/AlexandrTkachukTask1/CyclicConstructions/Task6ArithmeticMean/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache and /dev/null differ diff --git a/AlexandrTkachukTask1/CyclicConstructions/Task6ArithmeticMean/obj/Debug/Task6ArithmeticMean.csproj.FileListAbsolute.txt b/AlexandrTkachukTask1/CyclicConstructions/Task6ArithmeticMean/obj/Debug/Task6ArithmeticMean.csproj.FileListAbsolute.txt deleted file mode 100644 index b412ab5..0000000 --- a/AlexandrTkachukTask1/CyclicConstructions/Task6ArithmeticMean/obj/Debug/Task6ArithmeticMean.csproj.FileListAbsolute.txt +++ /dev/null @@ -1,6 +0,0 @@ -C:\Users\Alexandr\Documents\Visual Studio 2013\Projects\C#\ISD\CyclicConstructions\Task6ArithmeticMean\bin\Debug\Task6ArithmeticMean.exe.config -C:\Users\Alexandr\Documents\Visual Studio 2013\Projects\C#\ISD\CyclicConstructions\Task6ArithmeticMean\bin\Debug\Task6ArithmeticMean.exe -C:\Users\Alexandr\Documents\Visual Studio 2013\Projects\C#\ISD\CyclicConstructions\Task6ArithmeticMean\bin\Debug\Task6ArithmeticMean.pdb -C:\Users\Alexandr\Documents\Visual Studio 2013\Projects\C#\ISD\CyclicConstructions\Task6ArithmeticMean\obj\Debug\Task6ArithmeticMean.csprojResolveAssemblyReference.cache -C:\Users\Alexandr\Documents\Visual Studio 2013\Projects\C#\ISD\CyclicConstructions\Task6ArithmeticMean\obj\Debug\Task6ArithmeticMean.exe -C:\Users\Alexandr\Documents\Visual Studio 2013\Projects\C#\ISD\CyclicConstructions\Task6ArithmeticMean\obj\Debug\Task6ArithmeticMean.pdb diff --git a/AlexandrTkachukTask1/CyclicConstructions/Task6ArithmeticMean/obj/Debug/Task6ArithmeticMean.csprojResolveAssemblyReference.cache b/AlexandrTkachukTask1/CyclicConstructions/Task6ArithmeticMean/obj/Debug/Task6ArithmeticMean.csprojResolveAssemblyReference.cache deleted file mode 100644 index f84cd4a..0000000 Binary files a/AlexandrTkachukTask1/CyclicConstructions/Task6ArithmeticMean/obj/Debug/Task6ArithmeticMean.csprojResolveAssemblyReference.cache and /dev/null differ diff --git a/AlexandrTkachukTask1/CyclicConstructions/Task6ArithmeticMean/obj/Debug/Task6ArithmeticMean.exe b/AlexandrTkachukTask1/CyclicConstructions/Task6ArithmeticMean/obj/Debug/Task6ArithmeticMean.exe deleted file mode 100644 index 1e91822..0000000 Binary files a/AlexandrTkachukTask1/CyclicConstructions/Task6ArithmeticMean/obj/Debug/Task6ArithmeticMean.exe and /dev/null differ diff --git a/AlexandrTkachukTask1/CyclicConstructions/Task6ArithmeticMean/obj/Debug/Task6ArithmeticMean.pdb b/AlexandrTkachukTask1/CyclicConstructions/Task6ArithmeticMean/obj/Debug/Task6ArithmeticMean.pdb deleted file mode 100644 index 1578c8f..0000000 Binary files a/AlexandrTkachukTask1/CyclicConstructions/Task6ArithmeticMean/obj/Debug/Task6ArithmeticMean.pdb and /dev/null differ diff --git a/AlexandrTkachukTask1/CyclicConstructions/Task7GeeseAndRabbits/App.config b/AlexandrTkachukTask1/CyclicConstructions/Task7GeeseAndRabbits/App.config deleted file mode 100644 index 8e15646..0000000 --- a/AlexandrTkachukTask1/CyclicConstructions/Task7GeeseAndRabbits/App.config +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/AlexandrTkachukTask1/CyclicConstructions/Task7GeeseAndRabbits/Program.cs b/AlexandrTkachukTask1/CyclicConstructions/Task7GeeseAndRabbits/Program.cs deleted file mode 100644 index c4c6bd7..0000000 --- a/AlexandrTkachukTask1/CyclicConstructions/Task7GeeseAndRabbits/Program.cs +++ /dev/null @@ -1,26 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace Task7GeeseAndRabbits -{ - class Program - { - static void Main(string[] args) - { - Console.WriteLine("У гусей и кроликов вместе 64 лапы. Все возможные сочетания : "); - for (int i = 0; i <= 64; i += 2) - { - for (int j = 0; j <= 64; j += 4) - { - if (i + j == 64) - { - Console.WriteLine(i / 2 + " гусей и " + j / 4 + " кроликов"); - } - } - } - } - } -} diff --git a/AlexandrTkachukTask1/CyclicConstructions/Task7GeeseAndRabbits/Properties/AssemblyInfo.cs b/AlexandrTkachukTask1/CyclicConstructions/Task7GeeseAndRabbits/Properties/AssemblyInfo.cs deleted file mode 100644 index 9fcb45c..0000000 --- a/AlexandrTkachukTask1/CyclicConstructions/Task7GeeseAndRabbits/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,36 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -[assembly: AssemblyTitle("Task7GeeseAndRabbits")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("Task7GeeseAndRabbits")] -[assembly: AssemblyCopyright("Copyright © 2016")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. -[assembly: ComVisible(false)] - -// The following GUID is for the ID of the typelib if this project is exposed to COM -[assembly: Guid("dadcec28-aaec-4900-aadb-4baaacc227b7")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Build and Revision Numbers -// by using the '*' as shown below: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/AlexandrTkachukTask1/CyclicConstructions/Task7GeeseAndRabbits/Task7GeeseAndRabbits.csproj b/AlexandrTkachukTask1/CyclicConstructions/Task7GeeseAndRabbits/Task7GeeseAndRabbits.csproj deleted file mode 100644 index 91845c8..0000000 --- a/AlexandrTkachukTask1/CyclicConstructions/Task7GeeseAndRabbits/Task7GeeseAndRabbits.csproj +++ /dev/null @@ -1,58 +0,0 @@ - - - - - Debug - AnyCPU - {9001D001-7B19-4AFE-835A-B51823497708} - Exe - Properties - Task7GeeseAndRabbits - Task7GeeseAndRabbits - v4.5 - 512 - - - AnyCPU - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - AnyCPU - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/AlexandrTkachukTask1/CyclicConstructions/Task7GeeseAndRabbits/bin/Debug/Task7GeeseAndRabbits.exe b/AlexandrTkachukTask1/CyclicConstructions/Task7GeeseAndRabbits/bin/Debug/Task7GeeseAndRabbits.exe deleted file mode 100644 index 48a27b4..0000000 Binary files a/AlexandrTkachukTask1/CyclicConstructions/Task7GeeseAndRabbits/bin/Debug/Task7GeeseAndRabbits.exe and /dev/null differ diff --git a/AlexandrTkachukTask1/CyclicConstructions/Task7GeeseAndRabbits/bin/Debug/Task7GeeseAndRabbits.exe.config b/AlexandrTkachukTask1/CyclicConstructions/Task7GeeseAndRabbits/bin/Debug/Task7GeeseAndRabbits.exe.config deleted file mode 100644 index 8e15646..0000000 --- a/AlexandrTkachukTask1/CyclicConstructions/Task7GeeseAndRabbits/bin/Debug/Task7GeeseAndRabbits.exe.config +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/AlexandrTkachukTask1/CyclicConstructions/Task7GeeseAndRabbits/bin/Debug/Task7GeeseAndRabbits.pdb b/AlexandrTkachukTask1/CyclicConstructions/Task7GeeseAndRabbits/bin/Debug/Task7GeeseAndRabbits.pdb deleted file mode 100644 index d891098..0000000 Binary files a/AlexandrTkachukTask1/CyclicConstructions/Task7GeeseAndRabbits/bin/Debug/Task7GeeseAndRabbits.pdb and /dev/null differ diff --git a/AlexandrTkachukTask1/CyclicConstructions/Task7GeeseAndRabbits/bin/Debug/Task7GeeseAndRabbits.vshost.exe b/AlexandrTkachukTask1/CyclicConstructions/Task7GeeseAndRabbits/bin/Debug/Task7GeeseAndRabbits.vshost.exe deleted file mode 100644 index 666c0af..0000000 Binary files a/AlexandrTkachukTask1/CyclicConstructions/Task7GeeseAndRabbits/bin/Debug/Task7GeeseAndRabbits.vshost.exe and /dev/null differ diff --git a/AlexandrTkachukTask1/CyclicConstructions/Task7GeeseAndRabbits/bin/Debug/Task7GeeseAndRabbits.vshost.exe.config b/AlexandrTkachukTask1/CyclicConstructions/Task7GeeseAndRabbits/bin/Debug/Task7GeeseAndRabbits.vshost.exe.config deleted file mode 100644 index 8e15646..0000000 --- a/AlexandrTkachukTask1/CyclicConstructions/Task7GeeseAndRabbits/bin/Debug/Task7GeeseAndRabbits.vshost.exe.config +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/AlexandrTkachukTask1/CyclicConstructions/Task7GeeseAndRabbits/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/AlexandrTkachukTask1/CyclicConstructions/Task7GeeseAndRabbits/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache deleted file mode 100644 index bb3b035..0000000 Binary files a/AlexandrTkachukTask1/CyclicConstructions/Task7GeeseAndRabbits/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache and /dev/null differ diff --git a/AlexandrTkachukTask1/CyclicConstructions/Task7GeeseAndRabbits/obj/Debug/Task7GeeseAndRabbits.csproj.FileListAbsolute.txt b/AlexandrTkachukTask1/CyclicConstructions/Task7GeeseAndRabbits/obj/Debug/Task7GeeseAndRabbits.csproj.FileListAbsolute.txt deleted file mode 100644 index f8ead04..0000000 --- a/AlexandrTkachukTask1/CyclicConstructions/Task7GeeseAndRabbits/obj/Debug/Task7GeeseAndRabbits.csproj.FileListAbsolute.txt +++ /dev/null @@ -1,6 +0,0 @@ -C:\Users\Alexandr\Documents\Visual Studio 2013\Projects\C#\ISD\CyclicConstructions\Task7GeeseAndRabbits\bin\Debug\Task7GeeseAndRabbits.exe.config -C:\Users\Alexandr\Documents\Visual Studio 2013\Projects\C#\ISD\CyclicConstructions\Task7GeeseAndRabbits\bin\Debug\Task7GeeseAndRabbits.exe -C:\Users\Alexandr\Documents\Visual Studio 2013\Projects\C#\ISD\CyclicConstructions\Task7GeeseAndRabbits\bin\Debug\Task7GeeseAndRabbits.pdb -C:\Users\Alexandr\Documents\Visual Studio 2013\Projects\C#\ISD\CyclicConstructions\Task7GeeseAndRabbits\obj\Debug\Task7GeeseAndRabbits.csprojResolveAssemblyReference.cache -C:\Users\Alexandr\Documents\Visual Studio 2013\Projects\C#\ISD\CyclicConstructions\Task7GeeseAndRabbits\obj\Debug\Task7GeeseAndRabbits.exe -C:\Users\Alexandr\Documents\Visual Studio 2013\Projects\C#\ISD\CyclicConstructions\Task7GeeseAndRabbits\obj\Debug\Task7GeeseAndRabbits.pdb diff --git a/AlexandrTkachukTask1/CyclicConstructions/Task7GeeseAndRabbits/obj/Debug/Task7GeeseAndRabbits.csprojResolveAssemblyReference.cache b/AlexandrTkachukTask1/CyclicConstructions/Task7GeeseAndRabbits/obj/Debug/Task7GeeseAndRabbits.csprojResolveAssemblyReference.cache deleted file mode 100644 index f84cd4a..0000000 Binary files a/AlexandrTkachukTask1/CyclicConstructions/Task7GeeseAndRabbits/obj/Debug/Task7GeeseAndRabbits.csprojResolveAssemblyReference.cache and /dev/null differ diff --git a/AlexandrTkachukTask1/CyclicConstructions/Task7GeeseAndRabbits/obj/Debug/Task7GeeseAndRabbits.exe b/AlexandrTkachukTask1/CyclicConstructions/Task7GeeseAndRabbits/obj/Debug/Task7GeeseAndRabbits.exe deleted file mode 100644 index 48a27b4..0000000 Binary files a/AlexandrTkachukTask1/CyclicConstructions/Task7GeeseAndRabbits/obj/Debug/Task7GeeseAndRabbits.exe and /dev/null differ diff --git a/AlexandrTkachukTask1/CyclicConstructions/Task7GeeseAndRabbits/obj/Debug/Task7GeeseAndRabbits.pdb b/AlexandrTkachukTask1/CyclicConstructions/Task7GeeseAndRabbits/obj/Debug/Task7GeeseAndRabbits.pdb deleted file mode 100644 index d891098..0000000 Binary files a/AlexandrTkachukTask1/CyclicConstructions/Task7GeeseAndRabbits/obj/Debug/Task7GeeseAndRabbits.pdb and /dev/null differ diff --git a/AlexandrTkachukTask1/CyclicConstructions/Task8CorrectPassword/App.config b/AlexandrTkachukTask1/CyclicConstructions/Task8CorrectPassword/App.config deleted file mode 100644 index 8e15646..0000000 --- a/AlexandrTkachukTask1/CyclicConstructions/Task8CorrectPassword/App.config +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/AlexandrTkachukTask1/CyclicConstructions/Task8CorrectPassword/Program.cs b/AlexandrTkachukTask1/CyclicConstructions/Task8CorrectPassword/Program.cs deleted file mode 100644 index 9b25f6c..0000000 --- a/AlexandrTkachukTask1/CyclicConstructions/Task8CorrectPassword/Program.cs +++ /dev/null @@ -1,24 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace Task8CorrectPassword -{ - class Program - { - static void Main(string[] args) - { - string password = "root"; - Console.Write("Введите пароль : "); - string str = Console.ReadLine(); - while (str != password) - { - Console.Write("Неверный пароль. Попробуйте еще раз : "); - str = Console.ReadLine(); - } - Console.WriteLine("Верный пароль!"); - } - } -} diff --git a/AlexandrTkachukTask1/CyclicConstructions/Task8CorrectPassword/Properties/AssemblyInfo.cs b/AlexandrTkachukTask1/CyclicConstructions/Task8CorrectPassword/Properties/AssemblyInfo.cs deleted file mode 100644 index 680766d..0000000 --- a/AlexandrTkachukTask1/CyclicConstructions/Task8CorrectPassword/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,36 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -[assembly: AssemblyTitle("Task8CorrectPassword")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("Task8CorrectPassword")] -[assembly: AssemblyCopyright("Copyright © 2016")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. -[assembly: ComVisible(false)] - -// The following GUID is for the ID of the typelib if this project is exposed to COM -[assembly: Guid("b7f62c79-b3a6-4d9c-b7f1-e9687e015d92")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Build and Revision Numbers -// by using the '*' as shown below: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/AlexandrTkachukTask1/CyclicConstructions/Task8CorrectPassword/Task8CorrectPassword.csproj b/AlexandrTkachukTask1/CyclicConstructions/Task8CorrectPassword/Task8CorrectPassword.csproj deleted file mode 100644 index 9c5a9a5..0000000 --- a/AlexandrTkachukTask1/CyclicConstructions/Task8CorrectPassword/Task8CorrectPassword.csproj +++ /dev/null @@ -1,58 +0,0 @@ - - - - - Debug - AnyCPU - {7E257C81-9494-443E-9934-89A85381A15A} - Exe - Properties - Task8CorrectPassword - Task8CorrectPassword - v4.5 - 512 - - - AnyCPU - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - AnyCPU - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/AlexandrTkachukTask1/CyclicConstructions/Task8CorrectPassword/bin/Debug/Task8CorrectPassword.exe b/AlexandrTkachukTask1/CyclicConstructions/Task8CorrectPassword/bin/Debug/Task8CorrectPassword.exe deleted file mode 100644 index 0c88c01..0000000 Binary files a/AlexandrTkachukTask1/CyclicConstructions/Task8CorrectPassword/bin/Debug/Task8CorrectPassword.exe and /dev/null differ diff --git a/AlexandrTkachukTask1/CyclicConstructions/Task8CorrectPassword/bin/Debug/Task8CorrectPassword.exe.config b/AlexandrTkachukTask1/CyclicConstructions/Task8CorrectPassword/bin/Debug/Task8CorrectPassword.exe.config deleted file mode 100644 index 8e15646..0000000 --- a/AlexandrTkachukTask1/CyclicConstructions/Task8CorrectPassword/bin/Debug/Task8CorrectPassword.exe.config +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/AlexandrTkachukTask1/CyclicConstructions/Task8CorrectPassword/bin/Debug/Task8CorrectPassword.pdb b/AlexandrTkachukTask1/CyclicConstructions/Task8CorrectPassword/bin/Debug/Task8CorrectPassword.pdb deleted file mode 100644 index f32d4a3..0000000 Binary files a/AlexandrTkachukTask1/CyclicConstructions/Task8CorrectPassword/bin/Debug/Task8CorrectPassword.pdb and /dev/null differ diff --git a/AlexandrTkachukTask1/CyclicConstructions/Task8CorrectPassword/bin/Debug/Task8CorrectPassword.vshost.exe b/AlexandrTkachukTask1/CyclicConstructions/Task8CorrectPassword/bin/Debug/Task8CorrectPassword.vshost.exe deleted file mode 100644 index 666c0af..0000000 Binary files a/AlexandrTkachukTask1/CyclicConstructions/Task8CorrectPassword/bin/Debug/Task8CorrectPassword.vshost.exe and /dev/null differ diff --git a/AlexandrTkachukTask1/CyclicConstructions/Task8CorrectPassword/bin/Debug/Task8CorrectPassword.vshost.exe.config b/AlexandrTkachukTask1/CyclicConstructions/Task8CorrectPassword/bin/Debug/Task8CorrectPassword.vshost.exe.config deleted file mode 100644 index 8e15646..0000000 --- a/AlexandrTkachukTask1/CyclicConstructions/Task8CorrectPassword/bin/Debug/Task8CorrectPassword.vshost.exe.config +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/AlexandrTkachukTask1/CyclicConstructions/Task8CorrectPassword/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/AlexandrTkachukTask1/CyclicConstructions/Task8CorrectPassword/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache deleted file mode 100644 index 94bcc3b..0000000 Binary files a/AlexandrTkachukTask1/CyclicConstructions/Task8CorrectPassword/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache and /dev/null differ diff --git a/AlexandrTkachukTask1/CyclicConstructions/Task8CorrectPassword/obj/Debug/Task8CorrectPassword.csproj.FileListAbsolute.txt b/AlexandrTkachukTask1/CyclicConstructions/Task8CorrectPassword/obj/Debug/Task8CorrectPassword.csproj.FileListAbsolute.txt deleted file mode 100644 index 17036b2..0000000 --- a/AlexandrTkachukTask1/CyclicConstructions/Task8CorrectPassword/obj/Debug/Task8CorrectPassword.csproj.FileListAbsolute.txt +++ /dev/null @@ -1,6 +0,0 @@ -C:\Users\Alexandr\Documents\Visual Studio 2013\Projects\C#\ISD\CyclicConstructions\Task8CorrectPassword\bin\Debug\Task8CorrectPassword.exe.config -C:\Users\Alexandr\Documents\Visual Studio 2013\Projects\C#\ISD\CyclicConstructions\Task8CorrectPassword\bin\Debug\Task8CorrectPassword.exe -C:\Users\Alexandr\Documents\Visual Studio 2013\Projects\C#\ISD\CyclicConstructions\Task8CorrectPassword\bin\Debug\Task8CorrectPassword.pdb -C:\Users\Alexandr\Documents\Visual Studio 2013\Projects\C#\ISD\CyclicConstructions\Task8CorrectPassword\obj\Debug\Task8CorrectPassword.csprojResolveAssemblyReference.cache -C:\Users\Alexandr\Documents\Visual Studio 2013\Projects\C#\ISD\CyclicConstructions\Task8CorrectPassword\obj\Debug\Task8CorrectPassword.exe -C:\Users\Alexandr\Documents\Visual Studio 2013\Projects\C#\ISD\CyclicConstructions\Task8CorrectPassword\obj\Debug\Task8CorrectPassword.pdb diff --git a/AlexandrTkachukTask1/CyclicConstructions/Task8CorrectPassword/obj/Debug/Task8CorrectPassword.csprojResolveAssemblyReference.cache b/AlexandrTkachukTask1/CyclicConstructions/Task8CorrectPassword/obj/Debug/Task8CorrectPassword.csprojResolveAssemblyReference.cache deleted file mode 100644 index f84cd4a..0000000 Binary files a/AlexandrTkachukTask1/CyclicConstructions/Task8CorrectPassword/obj/Debug/Task8CorrectPassword.csprojResolveAssemblyReference.cache and /dev/null differ diff --git a/AlexandrTkachukTask1/CyclicConstructions/Task8CorrectPassword/obj/Debug/Task8CorrectPassword.exe b/AlexandrTkachukTask1/CyclicConstructions/Task8CorrectPassword/obj/Debug/Task8CorrectPassword.exe deleted file mode 100644 index 0c88c01..0000000 Binary files a/AlexandrTkachukTask1/CyclicConstructions/Task8CorrectPassword/obj/Debug/Task8CorrectPassword.exe and /dev/null differ diff --git a/AlexandrTkachukTask1/CyclicConstructions/Task8CorrectPassword/obj/Debug/Task8CorrectPassword.pdb b/AlexandrTkachukTask1/CyclicConstructions/Task8CorrectPassword/obj/Debug/Task8CorrectPassword.pdb deleted file mode 100644 index f32d4a3..0000000 Binary files a/AlexandrTkachukTask1/CyclicConstructions/Task8CorrectPassword/obj/Debug/Task8CorrectPassword.pdb and /dev/null differ diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task1GreaterNumber/App.config" "b/AlexandrTkachukTask1/\320\241onditionalConstructions/Task1GreaterNumber/App.config" deleted file mode 100644 index 8e15646..0000000 --- "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task1GreaterNumber/App.config" +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task1GreaterNumber/Program.cs" "b/AlexandrTkachukTask1/\320\241onditionalConstructions/Task1GreaterNumber/Program.cs" deleted file mode 100644 index 89c6107..0000000 --- "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task1GreaterNumber/Program.cs" +++ /dev/null @@ -1,21 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace Task1GreaterNumber -{ - class Program - { - static void Main(string[] args) - { - Console.Write("Введите первое число : "); - int num1 = Convert.ToInt32(Console.ReadLine()); - Console.Write("Введите второе число : "); - int num2 = Convert.ToInt32(Console.ReadLine()); - int result = num1 > num2 ? num1 : num2; - Console.WriteLine("Наибольшее число : " + result); - } - } -} diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task1GreaterNumber/Properties/AssemblyInfo.cs" "b/AlexandrTkachukTask1/\320\241onditionalConstructions/Task1GreaterNumber/Properties/AssemblyInfo.cs" deleted file mode 100644 index d647883..0000000 --- "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task1GreaterNumber/Properties/AssemblyInfo.cs" +++ /dev/null @@ -1,36 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -[assembly: AssemblyTitle("Task1GreaterNumber")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("Task1GreaterNumber")] -[assembly: AssemblyCopyright("Copyright © 2016")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. -[assembly: ComVisible(false)] - -// The following GUID is for the ID of the typelib if this project is exposed to COM -[assembly: Guid("9fa25545-dff8-478d-bb44-a51168248de8")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Build and Revision Numbers -// by using the '*' as shown below: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task1GreaterNumber/Task1GreaterNumber.csproj" "b/AlexandrTkachukTask1/\320\241onditionalConstructions/Task1GreaterNumber/Task1GreaterNumber.csproj" deleted file mode 100644 index 11b1a36..0000000 --- "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task1GreaterNumber/Task1GreaterNumber.csproj" +++ /dev/null @@ -1,58 +0,0 @@ - - - - - Debug - AnyCPU - {0116D8AE-2138-4E78-8FBC-104DF1A3684B} - Exe - Properties - Task1GreaterNumber - Task1GreaterNumber - v4.5 - 512 - - - AnyCPU - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - AnyCPU - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task1GreaterNumber/bin/Debug/Task1GreaterNumber.exe" "b/AlexandrTkachukTask1/\320\241onditionalConstructions/Task1GreaterNumber/bin/Debug/Task1GreaterNumber.exe" deleted file mode 100644 index d76ec08..0000000 Binary files "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task1GreaterNumber/bin/Debug/Task1GreaterNumber.exe" and /dev/null differ diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task1GreaterNumber/bin/Debug/Task1GreaterNumber.exe.config" "b/AlexandrTkachukTask1/\320\241onditionalConstructions/Task1GreaterNumber/bin/Debug/Task1GreaterNumber.exe.config" deleted file mode 100644 index 8e15646..0000000 --- "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task1GreaterNumber/bin/Debug/Task1GreaterNumber.exe.config" +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task1GreaterNumber/bin/Debug/Task1GreaterNumber.pdb" "b/AlexandrTkachukTask1/\320\241onditionalConstructions/Task1GreaterNumber/bin/Debug/Task1GreaterNumber.pdb" deleted file mode 100644 index 1743f06..0000000 Binary files "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task1GreaterNumber/bin/Debug/Task1GreaterNumber.pdb" and /dev/null differ diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task1GreaterNumber/bin/Debug/Task1GreaterNumber.vshost.exe" "b/AlexandrTkachukTask1/\320\241onditionalConstructions/Task1GreaterNumber/bin/Debug/Task1GreaterNumber.vshost.exe" deleted file mode 100644 index 666c0af..0000000 Binary files "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task1GreaterNumber/bin/Debug/Task1GreaterNumber.vshost.exe" and /dev/null differ diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task1GreaterNumber/bin/Debug/Task1GreaterNumber.vshost.exe.config" "b/AlexandrTkachukTask1/\320\241onditionalConstructions/Task1GreaterNumber/bin/Debug/Task1GreaterNumber.vshost.exe.config" deleted file mode 100644 index 8e15646..0000000 --- "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task1GreaterNumber/bin/Debug/Task1GreaterNumber.vshost.exe.config" +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task1GreaterNumber/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache" "b/AlexandrTkachukTask1/\320\241onditionalConstructions/Task1GreaterNumber/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache" deleted file mode 100644 index 75b9560..0000000 Binary files "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task1GreaterNumber/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache" and /dev/null differ diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task1GreaterNumber/obj/Debug/Task1GreaterNumber.csproj.FileListAbsolute.txt" "b/AlexandrTkachukTask1/\320\241onditionalConstructions/Task1GreaterNumber/obj/Debug/Task1GreaterNumber.csproj.FileListAbsolute.txt" deleted file mode 100644 index 49d1391..0000000 --- "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task1GreaterNumber/obj/Debug/Task1GreaterNumber.csproj.FileListAbsolute.txt" +++ /dev/null @@ -1,6 +0,0 @@ -C:\Users\Alexandr\Documents\Visual Studio 2013\Projects\C#\ISD\СonditionalConstructions\Task1GreaterNumber\bin\Debug\Task1GreaterNumber.exe.config -C:\Users\Alexandr\Documents\Visual Studio 2013\Projects\C#\ISD\СonditionalConstructions\Task1GreaterNumber\bin\Debug\Task1GreaterNumber.exe -C:\Users\Alexandr\Documents\Visual Studio 2013\Projects\C#\ISD\СonditionalConstructions\Task1GreaterNumber\bin\Debug\Task1GreaterNumber.pdb -C:\Users\Alexandr\Documents\Visual Studio 2013\Projects\C#\ISD\СonditionalConstructions\Task1GreaterNumber\obj\Debug\Task1GreaterNumber.csprojResolveAssemblyReference.cache -C:\Users\Alexandr\Documents\Visual Studio 2013\Projects\C#\ISD\СonditionalConstructions\Task1GreaterNumber\obj\Debug\Task1GreaterNumber.exe -C:\Users\Alexandr\Documents\Visual Studio 2013\Projects\C#\ISD\СonditionalConstructions\Task1GreaterNumber\obj\Debug\Task1GreaterNumber.pdb diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task1GreaterNumber/obj/Debug/Task1GreaterNumber.csprojResolveAssemblyReference.cache" "b/AlexandrTkachukTask1/\320\241onditionalConstructions/Task1GreaterNumber/obj/Debug/Task1GreaterNumber.csprojResolveAssemblyReference.cache" deleted file mode 100644 index f84cd4a..0000000 Binary files "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task1GreaterNumber/obj/Debug/Task1GreaterNumber.csprojResolveAssemblyReference.cache" and /dev/null differ diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task1GreaterNumber/obj/Debug/Task1GreaterNumber.exe" "b/AlexandrTkachukTask1/\320\241onditionalConstructions/Task1GreaterNumber/obj/Debug/Task1GreaterNumber.exe" deleted file mode 100644 index d76ec08..0000000 Binary files "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task1GreaterNumber/obj/Debug/Task1GreaterNumber.exe" and /dev/null differ diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task1GreaterNumber/obj/Debug/Task1GreaterNumber.pdb" "b/AlexandrTkachukTask1/\320\241onditionalConstructions/Task1GreaterNumber/obj/Debug/Task1GreaterNumber.pdb" deleted file mode 100644 index 1743f06..0000000 Binary files "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task1GreaterNumber/obj/Debug/Task1GreaterNumber.pdb" and /dev/null differ diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task2CatAndDog/App.config" "b/AlexandrTkachukTask1/\320\241onditionalConstructions/Task2CatAndDog/App.config" deleted file mode 100644 index 8e15646..0000000 --- "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task2CatAndDog/App.config" +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task2CatAndDog/Program.cs" "b/AlexandrTkachukTask1/\320\241onditionalConstructions/Task2CatAndDog/Program.cs" deleted file mode 100644 index 0497add..0000000 --- "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task2CatAndDog/Program.cs" +++ /dev/null @@ -1,29 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace Task2CatAndDog -{ - class Program - { - static void Main(string[] args) - { - Console.Write("Введите слово : "); - string word = Console.ReadLine(); - if (word == "мяу") - { - Console.WriteLine("Покорми кота"); - } - else if (word == "гав") - { - Console.WriteLine("Погуляй с собакой"); - } - else - { - Console.WriteLine("Введено неправильное слово"); - } - } - } -} diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task2CatAndDog/Properties/AssemblyInfo.cs" "b/AlexandrTkachukTask1/\320\241onditionalConstructions/Task2CatAndDog/Properties/AssemblyInfo.cs" deleted file mode 100644 index 61b2dc0..0000000 --- "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task2CatAndDog/Properties/AssemblyInfo.cs" +++ /dev/null @@ -1,36 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -[assembly: AssemblyTitle("Task2CatAndDog")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("Task2CatAndDog")] -[assembly: AssemblyCopyright("Copyright © 2016")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. -[assembly: ComVisible(false)] - -// The following GUID is for the ID of the typelib if this project is exposed to COM -[assembly: Guid("2df71582-e972-4971-b0c6-774e079f5031")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Build and Revision Numbers -// by using the '*' as shown below: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task2CatAndDog/Task2CatAndDog.csproj" "b/AlexandrTkachukTask1/\320\241onditionalConstructions/Task2CatAndDog/Task2CatAndDog.csproj" deleted file mode 100644 index 8632514..0000000 --- "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task2CatAndDog/Task2CatAndDog.csproj" +++ /dev/null @@ -1,58 +0,0 @@ - - - - - Debug - AnyCPU - {C283B085-0FF3-43C9-B4C6-C83780F0A79B} - Exe - Properties - Task2CatAndDog - Task2CatAndDog - v4.5 - 512 - - - AnyCPU - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - AnyCPU - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task2CatAndDog/bin/Debug/Task2CatAndDog.exe" "b/AlexandrTkachukTask1/\320\241onditionalConstructions/Task2CatAndDog/bin/Debug/Task2CatAndDog.exe" deleted file mode 100644 index 4bb204a..0000000 Binary files "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task2CatAndDog/bin/Debug/Task2CatAndDog.exe" and /dev/null differ diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task2CatAndDog/bin/Debug/Task2CatAndDog.exe.config" "b/AlexandrTkachukTask1/\320\241onditionalConstructions/Task2CatAndDog/bin/Debug/Task2CatAndDog.exe.config" deleted file mode 100644 index 8e15646..0000000 --- "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task2CatAndDog/bin/Debug/Task2CatAndDog.exe.config" +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task2CatAndDog/bin/Debug/Task2CatAndDog.pdb" "b/AlexandrTkachukTask1/\320\241onditionalConstructions/Task2CatAndDog/bin/Debug/Task2CatAndDog.pdb" deleted file mode 100644 index a354cd4..0000000 Binary files "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task2CatAndDog/bin/Debug/Task2CatAndDog.pdb" and /dev/null differ diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task2CatAndDog/bin/Debug/Task2CatAndDog.vshost.exe" "b/AlexandrTkachukTask1/\320\241onditionalConstructions/Task2CatAndDog/bin/Debug/Task2CatAndDog.vshost.exe" deleted file mode 100644 index 666c0af..0000000 Binary files "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task2CatAndDog/bin/Debug/Task2CatAndDog.vshost.exe" and /dev/null differ diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task2CatAndDog/bin/Debug/Task2CatAndDog.vshost.exe.config" "b/AlexandrTkachukTask1/\320\241onditionalConstructions/Task2CatAndDog/bin/Debug/Task2CatAndDog.vshost.exe.config" deleted file mode 100644 index 8e15646..0000000 --- "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task2CatAndDog/bin/Debug/Task2CatAndDog.vshost.exe.config" +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task2CatAndDog/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache" "b/AlexandrTkachukTask1/\320\241onditionalConstructions/Task2CatAndDog/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache" deleted file mode 100644 index 0740082..0000000 Binary files "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task2CatAndDog/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache" and /dev/null differ diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task2CatAndDog/obj/Debug/Task2CatAndDog.csproj.FileListAbsolute.txt" "b/AlexandrTkachukTask1/\320\241onditionalConstructions/Task2CatAndDog/obj/Debug/Task2CatAndDog.csproj.FileListAbsolute.txt" deleted file mode 100644 index a7b2477..0000000 --- "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task2CatAndDog/obj/Debug/Task2CatAndDog.csproj.FileListAbsolute.txt" +++ /dev/null @@ -1,6 +0,0 @@ -C:\Users\Alexandr\Documents\Visual Studio 2013\Projects\C#\ISD\СonditionalConstructions\Task2CatAndDog\bin\Debug\Task2CatAndDog.exe.config -C:\Users\Alexandr\Documents\Visual Studio 2013\Projects\C#\ISD\СonditionalConstructions\Task2CatAndDog\bin\Debug\Task2CatAndDog.exe -C:\Users\Alexandr\Documents\Visual Studio 2013\Projects\C#\ISD\СonditionalConstructions\Task2CatAndDog\bin\Debug\Task2CatAndDog.pdb -C:\Users\Alexandr\Documents\Visual Studio 2013\Projects\C#\ISD\СonditionalConstructions\Task2CatAndDog\obj\Debug\Task2CatAndDog.csprojResolveAssemblyReference.cache -C:\Users\Alexandr\Documents\Visual Studio 2013\Projects\C#\ISD\СonditionalConstructions\Task2CatAndDog\obj\Debug\Task2CatAndDog.exe -C:\Users\Alexandr\Documents\Visual Studio 2013\Projects\C#\ISD\СonditionalConstructions\Task2CatAndDog\obj\Debug\Task2CatAndDog.pdb diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task2CatAndDog/obj/Debug/Task2CatAndDog.csprojResolveAssemblyReference.cache" "b/AlexandrTkachukTask1/\320\241onditionalConstructions/Task2CatAndDog/obj/Debug/Task2CatAndDog.csprojResolveAssemblyReference.cache" deleted file mode 100644 index f84cd4a..0000000 Binary files "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task2CatAndDog/obj/Debug/Task2CatAndDog.csprojResolveAssemblyReference.cache" and /dev/null differ diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task2CatAndDog/obj/Debug/Task2CatAndDog.exe" "b/AlexandrTkachukTask1/\320\241onditionalConstructions/Task2CatAndDog/obj/Debug/Task2CatAndDog.exe" deleted file mode 100644 index 4bb204a..0000000 Binary files "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task2CatAndDog/obj/Debug/Task2CatAndDog.exe" and /dev/null differ diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task2CatAndDog/obj/Debug/Task2CatAndDog.pdb" "b/AlexandrTkachukTask1/\320\241onditionalConstructions/Task2CatAndDog/obj/Debug/Task2CatAndDog.pdb" deleted file mode 100644 index a354cd4..0000000 Binary files "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task2CatAndDog/obj/Debug/Task2CatAndDog.pdb" and /dev/null differ diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task3NumberOfMonth/App.config" "b/AlexandrTkachukTask1/\320\241onditionalConstructions/Task3NumberOfMonth/App.config" deleted file mode 100644 index 8e15646..0000000 --- "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task3NumberOfMonth/App.config" +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task3NumberOfMonth/Program.cs" "b/AlexandrTkachukTask1/\320\241onditionalConstructions/Task3NumberOfMonth/Program.cs" deleted file mode 100644 index 2915df1..0000000 --- "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task3NumberOfMonth/Program.cs" +++ /dev/null @@ -1,37 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace Task3NumberOfMonth -{ - class Program - { - static void Main(string[] args) - { - Console.Write("Введите номер месяца : "); - int num = Convert.ToInt32(Console.ReadLine()); - if (num == 1 || num == 2 || num == 12) - { - Console.WriteLine("Зима"); - } - else if (num == 3 || num == 4 || num == 5) - { - Console.WriteLine("Весна"); - } - else if (num == 6 || num == 7 || num == 8) - { - Console.WriteLine("Лето"); - } - else if (num == 9 || num == 10 || num == 11) - { - Console.WriteLine("Осень"); - } - else - { - Console.WriteLine("На этой планете такого месяца нет"); - } - } - } -} diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task3NumberOfMonth/Properties/AssemblyInfo.cs" "b/AlexandrTkachukTask1/\320\241onditionalConstructions/Task3NumberOfMonth/Properties/AssemblyInfo.cs" deleted file mode 100644 index 21ae2e2..0000000 --- "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task3NumberOfMonth/Properties/AssemblyInfo.cs" +++ /dev/null @@ -1,36 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -[assembly: AssemblyTitle("Task3NumberOfMonth")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("Task3NumberOfMonth")] -[assembly: AssemblyCopyright("Copyright © 2016")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. -[assembly: ComVisible(false)] - -// The following GUID is for the ID of the typelib if this project is exposed to COM -[assembly: Guid("98e3c2fa-ed2d-499f-abab-32d94a759114")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Build and Revision Numbers -// by using the '*' as shown below: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task3NumberOfMonth/Task3NumberOfMonth.csproj" "b/AlexandrTkachukTask1/\320\241onditionalConstructions/Task3NumberOfMonth/Task3NumberOfMonth.csproj" deleted file mode 100644 index 73d0dcb..0000000 --- "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task3NumberOfMonth/Task3NumberOfMonth.csproj" +++ /dev/null @@ -1,58 +0,0 @@ - - - - - Debug - AnyCPU - {04454403-D802-4D8F-B607-0248C8CA3522} - Exe - Properties - Task3NumberOfMonth - Task3NumberOfMonth - v4.5 - 512 - - - AnyCPU - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - AnyCPU - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task3NumberOfMonth/bin/Debug/Task3NumberOfMonth.exe" "b/AlexandrTkachukTask1/\320\241onditionalConstructions/Task3NumberOfMonth/bin/Debug/Task3NumberOfMonth.exe" deleted file mode 100644 index ed27a45..0000000 Binary files "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task3NumberOfMonth/bin/Debug/Task3NumberOfMonth.exe" and /dev/null differ diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task3NumberOfMonth/bin/Debug/Task3NumberOfMonth.exe.config" "b/AlexandrTkachukTask1/\320\241onditionalConstructions/Task3NumberOfMonth/bin/Debug/Task3NumberOfMonth.exe.config" deleted file mode 100644 index 8e15646..0000000 --- "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task3NumberOfMonth/bin/Debug/Task3NumberOfMonth.exe.config" +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task3NumberOfMonth/bin/Debug/Task3NumberOfMonth.pdb" "b/AlexandrTkachukTask1/\320\241onditionalConstructions/Task3NumberOfMonth/bin/Debug/Task3NumberOfMonth.pdb" deleted file mode 100644 index 699cbdf..0000000 Binary files "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task3NumberOfMonth/bin/Debug/Task3NumberOfMonth.pdb" and /dev/null differ diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task3NumberOfMonth/bin/Debug/Task3NumberOfMonth.vshost.exe" "b/AlexandrTkachukTask1/\320\241onditionalConstructions/Task3NumberOfMonth/bin/Debug/Task3NumberOfMonth.vshost.exe" deleted file mode 100644 index 666c0af..0000000 Binary files "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task3NumberOfMonth/bin/Debug/Task3NumberOfMonth.vshost.exe" and /dev/null differ diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task3NumberOfMonth/bin/Debug/Task3NumberOfMonth.vshost.exe.config" "b/AlexandrTkachukTask1/\320\241onditionalConstructions/Task3NumberOfMonth/bin/Debug/Task3NumberOfMonth.vshost.exe.config" deleted file mode 100644 index 8e15646..0000000 --- "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task3NumberOfMonth/bin/Debug/Task3NumberOfMonth.vshost.exe.config" +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task3NumberOfMonth/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache" "b/AlexandrTkachukTask1/\320\241onditionalConstructions/Task3NumberOfMonth/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache" deleted file mode 100644 index 941dfad..0000000 Binary files "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task3NumberOfMonth/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache" and /dev/null differ diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task3NumberOfMonth/obj/Debug/Task3NumberOfMonth.csproj.FileListAbsolute.txt" "b/AlexandrTkachukTask1/\320\241onditionalConstructions/Task3NumberOfMonth/obj/Debug/Task3NumberOfMonth.csproj.FileListAbsolute.txt" deleted file mode 100644 index bd26ad5..0000000 --- "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task3NumberOfMonth/obj/Debug/Task3NumberOfMonth.csproj.FileListAbsolute.txt" +++ /dev/null @@ -1,6 +0,0 @@ -C:\Users\Alexandr\Documents\Visual Studio 2013\Projects\C#\ISD\СonditionalConstructions\Task3NumberOfMonth\bin\Debug\Task3NumberOfMonth.exe.config -C:\Users\Alexandr\Documents\Visual Studio 2013\Projects\C#\ISD\СonditionalConstructions\Task3NumberOfMonth\bin\Debug\Task3NumberOfMonth.exe -C:\Users\Alexandr\Documents\Visual Studio 2013\Projects\C#\ISD\СonditionalConstructions\Task3NumberOfMonth\bin\Debug\Task3NumberOfMonth.pdb -C:\Users\Alexandr\Documents\Visual Studio 2013\Projects\C#\ISD\СonditionalConstructions\Task3NumberOfMonth\obj\Debug\Task3NumberOfMonth.csprojResolveAssemblyReference.cache -C:\Users\Alexandr\Documents\Visual Studio 2013\Projects\C#\ISD\СonditionalConstructions\Task3NumberOfMonth\obj\Debug\Task3NumberOfMonth.exe -C:\Users\Alexandr\Documents\Visual Studio 2013\Projects\C#\ISD\СonditionalConstructions\Task3NumberOfMonth\obj\Debug\Task3NumberOfMonth.pdb diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task3NumberOfMonth/obj/Debug/Task3NumberOfMonth.csprojResolveAssemblyReference.cache" "b/AlexandrTkachukTask1/\320\241onditionalConstructions/Task3NumberOfMonth/obj/Debug/Task3NumberOfMonth.csprojResolveAssemblyReference.cache" deleted file mode 100644 index f84cd4a..0000000 Binary files "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task3NumberOfMonth/obj/Debug/Task3NumberOfMonth.csprojResolveAssemblyReference.cache" and /dev/null differ diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task3NumberOfMonth/obj/Debug/Task3NumberOfMonth.exe" "b/AlexandrTkachukTask1/\320\241onditionalConstructions/Task3NumberOfMonth/obj/Debug/Task3NumberOfMonth.exe" deleted file mode 100644 index ed27a45..0000000 Binary files "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task3NumberOfMonth/obj/Debug/Task3NumberOfMonth.exe" and /dev/null differ diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task3NumberOfMonth/obj/Debug/Task3NumberOfMonth.pdb" "b/AlexandrTkachukTask1/\320\241onditionalConstructions/Task3NumberOfMonth/obj/Debug/Task3NumberOfMonth.pdb" deleted file mode 100644 index 699cbdf..0000000 Binary files "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task3NumberOfMonth/obj/Debug/Task3NumberOfMonth.pdb" and /dev/null differ diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task4GoodAndBad/App.config" "b/AlexandrTkachukTask1/\320\241onditionalConstructions/Task4GoodAndBad/App.config" deleted file mode 100644 index 8e15646..0000000 --- "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task4GoodAndBad/App.config" +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task4GoodAndBad/Program.cs" "b/AlexandrTkachukTask1/\320\241onditionalConstructions/Task4GoodAndBad/Program.cs" deleted file mode 100644 index 56f4889..0000000 --- "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task4GoodAndBad/Program.cs" +++ /dev/null @@ -1,18 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace Task4GoodAndBad -{ - class Program - { - static void Main(string[] args) - { - Console.Write("Введите число : "); - int num = Convert.ToInt32(Console.ReadLine()); - Console.WriteLine(num == 1 ? "Хорошо" : num == 0 ? "Плохо" : "Непрвильный ввод"); - } - } -} diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task4GoodAndBad/Properties/AssemblyInfo.cs" "b/AlexandrTkachukTask1/\320\241onditionalConstructions/Task4GoodAndBad/Properties/AssemblyInfo.cs" deleted file mode 100644 index a04bb8c..0000000 --- "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task4GoodAndBad/Properties/AssemblyInfo.cs" +++ /dev/null @@ -1,36 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -[assembly: AssemblyTitle("Task4GoodAndBad")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("Task4GoodAndBad")] -[assembly: AssemblyCopyright("Copyright © 2016")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. -[assembly: ComVisible(false)] - -// The following GUID is for the ID of the typelib if this project is exposed to COM -[assembly: Guid("2113a5bb-ef6e-49ac-9270-890f36f2c3c7")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Build and Revision Numbers -// by using the '*' as shown below: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task4GoodAndBad/Task4GoodAndBad.csproj" "b/AlexandrTkachukTask1/\320\241onditionalConstructions/Task4GoodAndBad/Task4GoodAndBad.csproj" deleted file mode 100644 index 2efdbe3..0000000 --- "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task4GoodAndBad/Task4GoodAndBad.csproj" +++ /dev/null @@ -1,58 +0,0 @@ - - - - - Debug - AnyCPU - {980D73F2-1E81-4F85-B240-549FC49C9B2F} - Exe - Properties - Task4GoodAndBad - Task4GoodAndBad - v4.5 - 512 - - - AnyCPU - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - AnyCPU - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task4GoodAndBad/bin/Debug/Task4GoodAndBad.exe" "b/AlexandrTkachukTask1/\320\241onditionalConstructions/Task4GoodAndBad/bin/Debug/Task4GoodAndBad.exe" deleted file mode 100644 index 95a6047..0000000 Binary files "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task4GoodAndBad/bin/Debug/Task4GoodAndBad.exe" and /dev/null differ diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task4GoodAndBad/bin/Debug/Task4GoodAndBad.exe.config" "b/AlexandrTkachukTask1/\320\241onditionalConstructions/Task4GoodAndBad/bin/Debug/Task4GoodAndBad.exe.config" deleted file mode 100644 index 8e15646..0000000 --- "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task4GoodAndBad/bin/Debug/Task4GoodAndBad.exe.config" +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task4GoodAndBad/bin/Debug/Task4GoodAndBad.pdb" "b/AlexandrTkachukTask1/\320\241onditionalConstructions/Task4GoodAndBad/bin/Debug/Task4GoodAndBad.pdb" deleted file mode 100644 index db8c599..0000000 Binary files "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task4GoodAndBad/bin/Debug/Task4GoodAndBad.pdb" and /dev/null differ diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task4GoodAndBad/bin/Debug/Task4GoodAndBad.vshost.exe" "b/AlexandrTkachukTask1/\320\241onditionalConstructions/Task4GoodAndBad/bin/Debug/Task4GoodAndBad.vshost.exe" deleted file mode 100644 index 666c0af..0000000 Binary files "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task4GoodAndBad/bin/Debug/Task4GoodAndBad.vshost.exe" and /dev/null differ diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task4GoodAndBad/bin/Debug/Task4GoodAndBad.vshost.exe.config" "b/AlexandrTkachukTask1/\320\241onditionalConstructions/Task4GoodAndBad/bin/Debug/Task4GoodAndBad.vshost.exe.config" deleted file mode 100644 index 8e15646..0000000 --- "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task4GoodAndBad/bin/Debug/Task4GoodAndBad.vshost.exe.config" +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task4GoodAndBad/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache" "b/AlexandrTkachukTask1/\320\241onditionalConstructions/Task4GoodAndBad/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache" deleted file mode 100644 index f736614..0000000 Binary files "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task4GoodAndBad/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache" and /dev/null differ diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task4GoodAndBad/obj/Debug/Task4GoodAndBad.csproj.FileListAbsolute.txt" "b/AlexandrTkachukTask1/\320\241onditionalConstructions/Task4GoodAndBad/obj/Debug/Task4GoodAndBad.csproj.FileListAbsolute.txt" deleted file mode 100644 index eb944cf..0000000 --- "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task4GoodAndBad/obj/Debug/Task4GoodAndBad.csproj.FileListAbsolute.txt" +++ /dev/null @@ -1,6 +0,0 @@ -C:\Users\Alexandr\Documents\Visual Studio 2013\Projects\C#\ISD\СonditionalConstructions\Task4GoodAndBad\bin\Debug\Task4GoodAndBad.exe.config -C:\Users\Alexandr\Documents\Visual Studio 2013\Projects\C#\ISD\СonditionalConstructions\Task4GoodAndBad\bin\Debug\Task4GoodAndBad.exe -C:\Users\Alexandr\Documents\Visual Studio 2013\Projects\C#\ISD\СonditionalConstructions\Task4GoodAndBad\bin\Debug\Task4GoodAndBad.pdb -C:\Users\Alexandr\Documents\Visual Studio 2013\Projects\C#\ISD\СonditionalConstructions\Task4GoodAndBad\obj\Debug\Task4GoodAndBad.csprojResolveAssemblyReference.cache -C:\Users\Alexandr\Documents\Visual Studio 2013\Projects\C#\ISD\СonditionalConstructions\Task4GoodAndBad\obj\Debug\Task4GoodAndBad.exe -C:\Users\Alexandr\Documents\Visual Studio 2013\Projects\C#\ISD\СonditionalConstructions\Task4GoodAndBad\obj\Debug\Task4GoodAndBad.pdb diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task4GoodAndBad/obj/Debug/Task4GoodAndBad.csprojResolveAssemblyReference.cache" "b/AlexandrTkachukTask1/\320\241onditionalConstructions/Task4GoodAndBad/obj/Debug/Task4GoodAndBad.csprojResolveAssemblyReference.cache" deleted file mode 100644 index f84cd4a..0000000 Binary files "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task4GoodAndBad/obj/Debug/Task4GoodAndBad.csprojResolveAssemblyReference.cache" and /dev/null differ diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task4GoodAndBad/obj/Debug/Task4GoodAndBad.exe" "b/AlexandrTkachukTask1/\320\241onditionalConstructions/Task4GoodAndBad/obj/Debug/Task4GoodAndBad.exe" deleted file mode 100644 index 95a6047..0000000 Binary files "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task4GoodAndBad/obj/Debug/Task4GoodAndBad.exe" and /dev/null differ diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task4GoodAndBad/obj/Debug/Task4GoodAndBad.pdb" "b/AlexandrTkachukTask1/\320\241onditionalConstructions/Task4GoodAndBad/obj/Debug/Task4GoodAndBad.pdb" deleted file mode 100644 index db8c599..0000000 Binary files "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task4GoodAndBad/obj/Debug/Task4GoodAndBad.pdb" and /dev/null differ diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task5NumberOfDay/App.config" "b/AlexandrTkachukTask1/\320\241onditionalConstructions/Task5NumberOfDay/App.config" deleted file mode 100644 index 8e15646..0000000 --- "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task5NumberOfDay/App.config" +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task5NumberOfDay/Program.cs" "b/AlexandrTkachukTask1/\320\241onditionalConstructions/Task5NumberOfDay/Program.cs" deleted file mode 100644 index 9b784d9..0000000 --- "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task5NumberOfDay/Program.cs" +++ /dev/null @@ -1,46 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace Task5NumberOfDay -{ - class Program - { - static void Main(string[] args) - { - Console.Write("Введите число : "); - int num = Convert.ToInt32(Console.ReadLine()); - switch (num) - { - - case 1: - Console.WriteLine("Понедельник"); - break; - case 2: - Console.WriteLine("Вторник"); - break; - case 3: - Console.WriteLine("Среда"); - break; - case 4: - Console.WriteLine("Четверг"); - break; - case 5: - Console.WriteLine("Пятница"); - break; - case 6: - Console.WriteLine("Суббота"); - break; - case 7: - Console.WriteLine("Воскресенье"); - break; - default: - Console.WriteLine("Дня недели с таким номером не существует"); - break; - - } - } - } -} diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task5NumberOfDay/Properties/AssemblyInfo.cs" "b/AlexandrTkachukTask1/\320\241onditionalConstructions/Task5NumberOfDay/Properties/AssemblyInfo.cs" deleted file mode 100644 index edb5914..0000000 --- "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task5NumberOfDay/Properties/AssemblyInfo.cs" +++ /dev/null @@ -1,36 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -[assembly: AssemblyTitle("Task5NumberOfDay")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("Task5NumberOfDay")] -[assembly: AssemblyCopyright("Copyright © 2016")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. -[assembly: ComVisible(false)] - -// The following GUID is for the ID of the typelib if this project is exposed to COM -[assembly: Guid("aac84937-5fab-41f6-8e39-b63de3fe2ac9")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Build and Revision Numbers -// by using the '*' as shown below: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task5NumberOfDay/Task5NumberOfDay.csproj" "b/AlexandrTkachukTask1/\320\241onditionalConstructions/Task5NumberOfDay/Task5NumberOfDay.csproj" deleted file mode 100644 index 7a373b0..0000000 --- "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task5NumberOfDay/Task5NumberOfDay.csproj" +++ /dev/null @@ -1,58 +0,0 @@ - - - - - Debug - AnyCPU - {4CA91744-6B26-43DD-BA93-85431BA65B22} - Exe - Properties - Task5NumberOfDay - Task5NumberOfDay - v4.5 - 512 - - - AnyCPU - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - AnyCPU - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task5NumberOfDay/bin/Debug/Task5NumberOfDay.exe" "b/AlexandrTkachukTask1/\320\241onditionalConstructions/Task5NumberOfDay/bin/Debug/Task5NumberOfDay.exe" deleted file mode 100644 index 0cfd27a..0000000 Binary files "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task5NumberOfDay/bin/Debug/Task5NumberOfDay.exe" and /dev/null differ diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task5NumberOfDay/bin/Debug/Task5NumberOfDay.exe.config" "b/AlexandrTkachukTask1/\320\241onditionalConstructions/Task5NumberOfDay/bin/Debug/Task5NumberOfDay.exe.config" deleted file mode 100644 index 8e15646..0000000 --- "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task5NumberOfDay/bin/Debug/Task5NumberOfDay.exe.config" +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task5NumberOfDay/bin/Debug/Task5NumberOfDay.pdb" "b/AlexandrTkachukTask1/\320\241onditionalConstructions/Task5NumberOfDay/bin/Debug/Task5NumberOfDay.pdb" deleted file mode 100644 index 54a7341..0000000 Binary files "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task5NumberOfDay/bin/Debug/Task5NumberOfDay.pdb" and /dev/null differ diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task5NumberOfDay/bin/Debug/Task5NumberOfDay.vshost.exe" "b/AlexandrTkachukTask1/\320\241onditionalConstructions/Task5NumberOfDay/bin/Debug/Task5NumberOfDay.vshost.exe" deleted file mode 100644 index 666c0af..0000000 Binary files "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task5NumberOfDay/bin/Debug/Task5NumberOfDay.vshost.exe" and /dev/null differ diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task5NumberOfDay/bin/Debug/Task5NumberOfDay.vshost.exe.config" "b/AlexandrTkachukTask1/\320\241onditionalConstructions/Task5NumberOfDay/bin/Debug/Task5NumberOfDay.vshost.exe.config" deleted file mode 100644 index 8e15646..0000000 --- "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task5NumberOfDay/bin/Debug/Task5NumberOfDay.vshost.exe.config" +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task5NumberOfDay/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache" "b/AlexandrTkachukTask1/\320\241onditionalConstructions/Task5NumberOfDay/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache" deleted file mode 100644 index 49d978f..0000000 Binary files "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task5NumberOfDay/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache" and /dev/null differ diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task5NumberOfDay/obj/Debug/Task5NumberOfDay.csproj.FileListAbsolute.txt" "b/AlexandrTkachukTask1/\320\241onditionalConstructions/Task5NumberOfDay/obj/Debug/Task5NumberOfDay.csproj.FileListAbsolute.txt" deleted file mode 100644 index 3e47f91..0000000 --- "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task5NumberOfDay/obj/Debug/Task5NumberOfDay.csproj.FileListAbsolute.txt" +++ /dev/null @@ -1,6 +0,0 @@ -C:\Users\Alexandr\Documents\Visual Studio 2013\Projects\C#\ISD\СonditionalConstructions\Task5NumberOfDay\bin\Debug\Task5NumberOfDay.exe.config -C:\Users\Alexandr\Documents\Visual Studio 2013\Projects\C#\ISD\СonditionalConstructions\Task5NumberOfDay\bin\Debug\Task5NumberOfDay.exe -C:\Users\Alexandr\Documents\Visual Studio 2013\Projects\C#\ISD\СonditionalConstructions\Task5NumberOfDay\bin\Debug\Task5NumberOfDay.pdb -C:\Users\Alexandr\Documents\Visual Studio 2013\Projects\C#\ISD\СonditionalConstructions\Task5NumberOfDay\obj\Debug\Task5NumberOfDay.csprojResolveAssemblyReference.cache -C:\Users\Alexandr\Documents\Visual Studio 2013\Projects\C#\ISD\СonditionalConstructions\Task5NumberOfDay\obj\Debug\Task5NumberOfDay.exe -C:\Users\Alexandr\Documents\Visual Studio 2013\Projects\C#\ISD\СonditionalConstructions\Task5NumberOfDay\obj\Debug\Task5NumberOfDay.pdb diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task5NumberOfDay/obj/Debug/Task5NumberOfDay.csprojResolveAssemblyReference.cache" "b/AlexandrTkachukTask1/\320\241onditionalConstructions/Task5NumberOfDay/obj/Debug/Task5NumberOfDay.csprojResolveAssemblyReference.cache" deleted file mode 100644 index f84cd4a..0000000 Binary files "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task5NumberOfDay/obj/Debug/Task5NumberOfDay.csprojResolveAssemblyReference.cache" and /dev/null differ diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task5NumberOfDay/obj/Debug/Task5NumberOfDay.exe" "b/AlexandrTkachukTask1/\320\241onditionalConstructions/Task5NumberOfDay/obj/Debug/Task5NumberOfDay.exe" deleted file mode 100644 index 0cfd27a..0000000 Binary files "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task5NumberOfDay/obj/Debug/Task5NumberOfDay.exe" and /dev/null differ diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task5NumberOfDay/obj/Debug/Task5NumberOfDay.pdb" "b/AlexandrTkachukTask1/\320\241onditionalConstructions/Task5NumberOfDay/obj/Debug/Task5NumberOfDay.pdb" deleted file mode 100644 index 54a7341..0000000 Binary files "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task5NumberOfDay/obj/Debug/Task5NumberOfDay.pdb" and /dev/null differ diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task6Taxi/App.config" "b/AlexandrTkachukTask1/\320\241onditionalConstructions/Task6Taxi/App.config" deleted file mode 100644 index 8e15646..0000000 --- "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task6Taxi/App.config" +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task6Taxi/Program.cs" "b/AlexandrTkachukTask1/\320\241onditionalConstructions/Task6Taxi/Program.cs" deleted file mode 100644 index 9e95748..0000000 --- "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task6Taxi/Program.cs" +++ /dev/null @@ -1,30 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace Task6Taxi -{ - class Program - { - static void Main(string[] args) - { - Console.Write("Введите количество километров : "); - int km = Convert.ToInt32(Console.ReadLine()); - Console.Write("Введите количество минут простоя : "); - int min = Convert.ToInt32(Console.ReadLine()); - int result = 0; - if (km <= 5) - { - result = 20 + min; - Console.WriteLine("Вы должны заплатить: " + result + "грн"); - } - else - { - result = 20 + (km - 5) * 3 + min; - Console.WriteLine("Вы должны заплатить: " + result + "грн"); - } - } - } -} diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task6Taxi/Properties/AssemblyInfo.cs" "b/AlexandrTkachukTask1/\320\241onditionalConstructions/Task6Taxi/Properties/AssemblyInfo.cs" deleted file mode 100644 index 1f09b48..0000000 --- "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task6Taxi/Properties/AssemblyInfo.cs" +++ /dev/null @@ -1,36 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -[assembly: AssemblyTitle("Task6Taxi")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("Task6Taxi")] -[assembly: AssemblyCopyright("Copyright © 2016")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. -[assembly: ComVisible(false)] - -// The following GUID is for the ID of the typelib if this project is exposed to COM -[assembly: Guid("bdd308b6-ae11-40b4-a841-685f4f81e659")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Build and Revision Numbers -// by using the '*' as shown below: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task6Taxi/Task6Taxi.csproj" "b/AlexandrTkachukTask1/\320\241onditionalConstructions/Task6Taxi/Task6Taxi.csproj" deleted file mode 100644 index a27a997..0000000 --- "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task6Taxi/Task6Taxi.csproj" +++ /dev/null @@ -1,58 +0,0 @@ - - - - - Debug - AnyCPU - {DB323CE5-80A8-4D80-BD92-E2DC015D4B9A} - Exe - Properties - Task6Taxi - Task6Taxi - v4.5 - 512 - - - AnyCPU - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - AnyCPU - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task6Taxi/bin/Debug/Task6Taxi.exe" "b/AlexandrTkachukTask1/\320\241onditionalConstructions/Task6Taxi/bin/Debug/Task6Taxi.exe" deleted file mode 100644 index d52c8f6..0000000 Binary files "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task6Taxi/bin/Debug/Task6Taxi.exe" and /dev/null differ diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task6Taxi/bin/Debug/Task6Taxi.exe.config" "b/AlexandrTkachukTask1/\320\241onditionalConstructions/Task6Taxi/bin/Debug/Task6Taxi.exe.config" deleted file mode 100644 index 8e15646..0000000 --- "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task6Taxi/bin/Debug/Task6Taxi.exe.config" +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task6Taxi/bin/Debug/Task6Taxi.pdb" "b/AlexandrTkachukTask1/\320\241onditionalConstructions/Task6Taxi/bin/Debug/Task6Taxi.pdb" deleted file mode 100644 index 63a10da..0000000 Binary files "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task6Taxi/bin/Debug/Task6Taxi.pdb" and /dev/null differ diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task6Taxi/bin/Debug/Task6Taxi.vshost.exe" "b/AlexandrTkachukTask1/\320\241onditionalConstructions/Task6Taxi/bin/Debug/Task6Taxi.vshost.exe" deleted file mode 100644 index 666c0af..0000000 Binary files "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task6Taxi/bin/Debug/Task6Taxi.vshost.exe" and /dev/null differ diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task6Taxi/bin/Debug/Task6Taxi.vshost.exe.config" "b/AlexandrTkachukTask1/\320\241onditionalConstructions/Task6Taxi/bin/Debug/Task6Taxi.vshost.exe.config" deleted file mode 100644 index 8e15646..0000000 --- "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task6Taxi/bin/Debug/Task6Taxi.vshost.exe.config" +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task6Taxi/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache" "b/AlexandrTkachukTask1/\320\241onditionalConstructions/Task6Taxi/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache" deleted file mode 100644 index e969dd1..0000000 Binary files "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task6Taxi/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache" and /dev/null differ diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task6Taxi/obj/Debug/Task6Taxi.csproj.FileListAbsolute.txt" "b/AlexandrTkachukTask1/\320\241onditionalConstructions/Task6Taxi/obj/Debug/Task6Taxi.csproj.FileListAbsolute.txt" deleted file mode 100644 index a8812a4..0000000 --- "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task6Taxi/obj/Debug/Task6Taxi.csproj.FileListAbsolute.txt" +++ /dev/null @@ -1,6 +0,0 @@ -C:\Users\Alexandr\Documents\Visual Studio 2013\Projects\C#\ISD\СonditionalConstructions\Task6Taxi\bin\Debug\Task6Taxi.exe.config -C:\Users\Alexandr\Documents\Visual Studio 2013\Projects\C#\ISD\СonditionalConstructions\Task6Taxi\bin\Debug\Task6Taxi.exe -C:\Users\Alexandr\Documents\Visual Studio 2013\Projects\C#\ISD\СonditionalConstructions\Task6Taxi\bin\Debug\Task6Taxi.pdb -C:\Users\Alexandr\Documents\Visual Studio 2013\Projects\C#\ISD\СonditionalConstructions\Task6Taxi\obj\Debug\Task6Taxi.csprojResolveAssemblyReference.cache -C:\Users\Alexandr\Documents\Visual Studio 2013\Projects\C#\ISD\СonditionalConstructions\Task6Taxi\obj\Debug\Task6Taxi.exe -C:\Users\Alexandr\Documents\Visual Studio 2013\Projects\C#\ISD\СonditionalConstructions\Task6Taxi\obj\Debug\Task6Taxi.pdb diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task6Taxi/obj/Debug/Task6Taxi.csprojResolveAssemblyReference.cache" "b/AlexandrTkachukTask1/\320\241onditionalConstructions/Task6Taxi/obj/Debug/Task6Taxi.csprojResolveAssemblyReference.cache" deleted file mode 100644 index f84cd4a..0000000 Binary files "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task6Taxi/obj/Debug/Task6Taxi.csprojResolveAssemblyReference.cache" and /dev/null differ diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task6Taxi/obj/Debug/Task6Taxi.exe" "b/AlexandrTkachukTask1/\320\241onditionalConstructions/Task6Taxi/obj/Debug/Task6Taxi.exe" deleted file mode 100644 index d52c8f6..0000000 Binary files "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task6Taxi/obj/Debug/Task6Taxi.exe" and /dev/null differ diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task6Taxi/obj/Debug/Task6Taxi.pdb" "b/AlexandrTkachukTask1/\320\241onditionalConstructions/Task6Taxi/obj/Debug/Task6Taxi.pdb" deleted file mode 100644 index 63a10da..0000000 Binary files "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task6Taxi/obj/Debug/Task6Taxi.pdb" and /dev/null differ diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task7IsDigitSimple/App.config" "b/AlexandrTkachukTask1/\320\241onditionalConstructions/Task7IsDigitSimple/App.config" deleted file mode 100644 index 8e15646..0000000 --- "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task7IsDigitSimple/App.config" +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task7IsDigitSimple/Program.cs" "b/AlexandrTkachukTask1/\320\241onditionalConstructions/Task7IsDigitSimple/Program.cs" deleted file mode 100644 index 3bb5403..0000000 --- "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task7IsDigitSimple/Program.cs" +++ /dev/null @@ -1,27 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace Task7IsDigitSimple -{ - class Program - { - static void Main(string[] args) - { - Console.Write("Введите число : "); - int num = Convert.ToInt32(Console.ReadLine()); - for (int i = num / 2; i > 1; i--) - { - if (num % i == 0) - { - Console.WriteLine("Число " + num + " не простое"); - return; - } - - } - Console.WriteLine("Число " + num + " простое"); - } - } -} diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task7IsDigitSimple/Properties/AssemblyInfo.cs" "b/AlexandrTkachukTask1/\320\241onditionalConstructions/Task7IsDigitSimple/Properties/AssemblyInfo.cs" deleted file mode 100644 index 153f89a..0000000 --- "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task7IsDigitSimple/Properties/AssemblyInfo.cs" +++ /dev/null @@ -1,36 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -[assembly: AssemblyTitle("Task7IsDigitSimple")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("Task7IsDigitSimple")] -[assembly: AssemblyCopyright("Copyright © 2016")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. -[assembly: ComVisible(false)] - -// The following GUID is for the ID of the typelib if this project is exposed to COM -[assembly: Guid("14eaa848-d3d2-45ca-bffd-0b2b6864552c")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Build and Revision Numbers -// by using the '*' as shown below: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task7IsDigitSimple/Task7IsDigitSimple.csproj" "b/AlexandrTkachukTask1/\320\241onditionalConstructions/Task7IsDigitSimple/Task7IsDigitSimple.csproj" deleted file mode 100644 index 03ca15b..0000000 --- "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task7IsDigitSimple/Task7IsDigitSimple.csproj" +++ /dev/null @@ -1,58 +0,0 @@ - - - - - Debug - AnyCPU - {D9809A78-2E4F-4CB1-9932-D8EBFA7BB294} - Exe - Properties - Task7IsDigitSimple - Task7IsDigitSimple - v4.5 - 512 - - - AnyCPU - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - AnyCPU - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task7IsDigitSimple/bin/Debug/Task7IsDigitSimple.exe" "b/AlexandrTkachukTask1/\320\241onditionalConstructions/Task7IsDigitSimple/bin/Debug/Task7IsDigitSimple.exe" deleted file mode 100644 index b9ac4e3..0000000 Binary files "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task7IsDigitSimple/bin/Debug/Task7IsDigitSimple.exe" and /dev/null differ diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task7IsDigitSimple/bin/Debug/Task7IsDigitSimple.exe.config" "b/AlexandrTkachukTask1/\320\241onditionalConstructions/Task7IsDigitSimple/bin/Debug/Task7IsDigitSimple.exe.config" deleted file mode 100644 index 8e15646..0000000 --- "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task7IsDigitSimple/bin/Debug/Task7IsDigitSimple.exe.config" +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task7IsDigitSimple/bin/Debug/Task7IsDigitSimple.pdb" "b/AlexandrTkachukTask1/\320\241onditionalConstructions/Task7IsDigitSimple/bin/Debug/Task7IsDigitSimple.pdb" deleted file mode 100644 index 06be335..0000000 Binary files "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task7IsDigitSimple/bin/Debug/Task7IsDigitSimple.pdb" and /dev/null differ diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task7IsDigitSimple/bin/Debug/Task7IsDigitSimple.vshost.exe" "b/AlexandrTkachukTask1/\320\241onditionalConstructions/Task7IsDigitSimple/bin/Debug/Task7IsDigitSimple.vshost.exe" deleted file mode 100644 index 666c0af..0000000 Binary files "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task7IsDigitSimple/bin/Debug/Task7IsDigitSimple.vshost.exe" and /dev/null differ diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task7IsDigitSimple/bin/Debug/Task7IsDigitSimple.vshost.exe.config" "b/AlexandrTkachukTask1/\320\241onditionalConstructions/Task7IsDigitSimple/bin/Debug/Task7IsDigitSimple.vshost.exe.config" deleted file mode 100644 index 8e15646..0000000 --- "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task7IsDigitSimple/bin/Debug/Task7IsDigitSimple.vshost.exe.config" +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task7IsDigitSimple/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache" "b/AlexandrTkachukTask1/\320\241onditionalConstructions/Task7IsDigitSimple/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache" deleted file mode 100644 index 39dfcf4..0000000 Binary files "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task7IsDigitSimple/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache" and /dev/null differ diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task7IsDigitSimple/obj/Debug/Task7IsDigitSimple.csproj.FileListAbsolute.txt" "b/AlexandrTkachukTask1/\320\241onditionalConstructions/Task7IsDigitSimple/obj/Debug/Task7IsDigitSimple.csproj.FileListAbsolute.txt" deleted file mode 100644 index 33119cf..0000000 --- "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task7IsDigitSimple/obj/Debug/Task7IsDigitSimple.csproj.FileListAbsolute.txt" +++ /dev/null @@ -1,6 +0,0 @@ -C:\Users\Alexandr\Documents\Visual Studio 2013\Projects\C#\ISD\СonditionalConstructions\Task7IsDigitSimple\bin\Debug\Task7IsDigitSimple.exe.config -C:\Users\Alexandr\Documents\Visual Studio 2013\Projects\C#\ISD\СonditionalConstructions\Task7IsDigitSimple\bin\Debug\Task7IsDigitSimple.exe -C:\Users\Alexandr\Documents\Visual Studio 2013\Projects\C#\ISD\СonditionalConstructions\Task7IsDigitSimple\bin\Debug\Task7IsDigitSimple.pdb -C:\Users\Alexandr\Documents\Visual Studio 2013\Projects\C#\ISD\СonditionalConstructions\Task7IsDigitSimple\obj\Debug\Task7IsDigitSimple.csprojResolveAssemblyReference.cache -C:\Users\Alexandr\Documents\Visual Studio 2013\Projects\C#\ISD\СonditionalConstructions\Task7IsDigitSimple\obj\Debug\Task7IsDigitSimple.exe -C:\Users\Alexandr\Documents\Visual Studio 2013\Projects\C#\ISD\СonditionalConstructions\Task7IsDigitSimple\obj\Debug\Task7IsDigitSimple.pdb diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task7IsDigitSimple/obj/Debug/Task7IsDigitSimple.csprojResolveAssemblyReference.cache" "b/AlexandrTkachukTask1/\320\241onditionalConstructions/Task7IsDigitSimple/obj/Debug/Task7IsDigitSimple.csprojResolveAssemblyReference.cache" deleted file mode 100644 index f84cd4a..0000000 Binary files "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task7IsDigitSimple/obj/Debug/Task7IsDigitSimple.csprojResolveAssemblyReference.cache" and /dev/null differ diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task7IsDigitSimple/obj/Debug/Task7IsDigitSimple.exe" "b/AlexandrTkachukTask1/\320\241onditionalConstructions/Task7IsDigitSimple/obj/Debug/Task7IsDigitSimple.exe" deleted file mode 100644 index b9ac4e3..0000000 Binary files "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task7IsDigitSimple/obj/Debug/Task7IsDigitSimple.exe" and /dev/null differ diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task7IsDigitSimple/obj/Debug/Task7IsDigitSimple.pdb" "b/AlexandrTkachukTask1/\320\241onditionalConstructions/Task7IsDigitSimple/obj/Debug/Task7IsDigitSimple.pdb" deleted file mode 100644 index 06be335..0000000 Binary files "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task7IsDigitSimple/obj/Debug/Task7IsDigitSimple.pdb" and /dev/null differ diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task8Lottery/App.config" "b/AlexandrTkachukTask1/\320\241onditionalConstructions/Task8Lottery/App.config" deleted file mode 100644 index 8e15646..0000000 --- "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task8Lottery/App.config" +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task8Lottery/Program.cs" "b/AlexandrTkachukTask1/\320\241onditionalConstructions/Task8Lottery/Program.cs" deleted file mode 100644 index ebbca85..0000000 --- "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task8Lottery/Program.cs" +++ /dev/null @@ -1,64 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace Task8Lottery -{ - class Program - { - static void Main(string[] args) - { - Random r = new Random(); - int num; - Console.WriteLine("Условия лотереи : "); - Console.WriteLine("Если выпадают значениея от 1 до 5, то вы проиграли."); - Console.WriteLine("Если выпадают значениея от 6 до 8, то вы получаете ставку обратно."); - Console.WriteLine("Если выпадают значениея от 9 до 11, то ваша ставка удваивается."); - Console.WriteLine("Если выпадает 12, то ваша ставка увеличивается в 10 раз."); - Console.WriteLine(); - Console.Write("Сделайте ставку : "); - int bet = Convert.ToInt32(Console.ReadLine()); - for (; ; ) - { - Console.WriteLine(); - num = r.Next(1, 13); - if (num >= 1 && num <= 5) - { - Console.WriteLine("Выпало число : " + num + " Вы проиграли"); - Console.WriteLine("Игра закончена"); - return; - } - else if (num >= 6 && num <= 8) - { - Console.WriteLine("Выпало число : " + num + " Вы получаете вашу ставку обратно"); - } - else if (num >= 9 && num <= 11) - { - Console.WriteLine("Выпало число : " + num + " Ваша ставка удваивается"); - bet *= 2; - } - else - { - Console.WriteLine("Выпало число : " + num + " Ваша ставка ставка увеличивается в 10 раз!!!"); - bet *= 10; - } - if (bet != 0) - { - Console.WriteLine("Ваша ставка равна : " + bet); - Console.Write("Вы хотите играть дальше?. Если хотите, то введите слово \"да\", если не хотите, то нажмите любую кнопку : "); - if (Console.ReadLine() != "да") - { - Console.WriteLine("Игра закончена"); - Console.ReadKey(); - return; - } - - } - - - } - } - } -} diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task8Lottery/Properties/AssemblyInfo.cs" "b/AlexandrTkachukTask1/\320\241onditionalConstructions/Task8Lottery/Properties/AssemblyInfo.cs" deleted file mode 100644 index c3b2890..0000000 --- "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task8Lottery/Properties/AssemblyInfo.cs" +++ /dev/null @@ -1,36 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -[assembly: AssemblyTitle("Task8Lottery")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("Task8Lottery")] -[assembly: AssemblyCopyright("Copyright © 2016")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. -[assembly: ComVisible(false)] - -// The following GUID is for the ID of the typelib if this project is exposed to COM -[assembly: Guid("e8dc5960-4297-47b6-8304-8460942f79a6")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Build and Revision Numbers -// by using the '*' as shown below: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task8Lottery/Task8Lottery.csproj" "b/AlexandrTkachukTask1/\320\241onditionalConstructions/Task8Lottery/Task8Lottery.csproj" deleted file mode 100644 index fc2f184..0000000 --- "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task8Lottery/Task8Lottery.csproj" +++ /dev/null @@ -1,58 +0,0 @@ - - - - - Debug - AnyCPU - {7D47E871-F420-443A-8D16-B7840914F3FD} - Exe - Properties - Task8Lottery - Task8Lottery - v4.5 - 512 - - - AnyCPU - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - AnyCPU - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task8Lottery/bin/Debug/Task8Lottery.exe" "b/AlexandrTkachukTask1/\320\241onditionalConstructions/Task8Lottery/bin/Debug/Task8Lottery.exe" deleted file mode 100644 index fa5429f..0000000 Binary files "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task8Lottery/bin/Debug/Task8Lottery.exe" and /dev/null differ diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task8Lottery/bin/Debug/Task8Lottery.exe.config" "b/AlexandrTkachukTask1/\320\241onditionalConstructions/Task8Lottery/bin/Debug/Task8Lottery.exe.config" deleted file mode 100644 index 8e15646..0000000 --- "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task8Lottery/bin/Debug/Task8Lottery.exe.config" +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task8Lottery/bin/Debug/Task8Lottery.pdb" "b/AlexandrTkachukTask1/\320\241onditionalConstructions/Task8Lottery/bin/Debug/Task8Lottery.pdb" deleted file mode 100644 index 946908b..0000000 Binary files "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task8Lottery/bin/Debug/Task8Lottery.pdb" and /dev/null differ diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task8Lottery/bin/Debug/Task8Lottery.vshost.exe" "b/AlexandrTkachukTask1/\320\241onditionalConstructions/Task8Lottery/bin/Debug/Task8Lottery.vshost.exe" deleted file mode 100644 index 666c0af..0000000 Binary files "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task8Lottery/bin/Debug/Task8Lottery.vshost.exe" and /dev/null differ diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task8Lottery/bin/Debug/Task8Lottery.vshost.exe.config" "b/AlexandrTkachukTask1/\320\241onditionalConstructions/Task8Lottery/bin/Debug/Task8Lottery.vshost.exe.config" deleted file mode 100644 index 8e15646..0000000 --- "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task8Lottery/bin/Debug/Task8Lottery.vshost.exe.config" +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task8Lottery/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache" "b/AlexandrTkachukTask1/\320\241onditionalConstructions/Task8Lottery/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache" deleted file mode 100644 index f3dcdbf..0000000 Binary files "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task8Lottery/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache" and /dev/null differ diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task8Lottery/obj/Debug/Task8Lottery.csproj.FileListAbsolute.txt" "b/AlexandrTkachukTask1/\320\241onditionalConstructions/Task8Lottery/obj/Debug/Task8Lottery.csproj.FileListAbsolute.txt" deleted file mode 100644 index 1f67d09..0000000 --- "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task8Lottery/obj/Debug/Task8Lottery.csproj.FileListAbsolute.txt" +++ /dev/null @@ -1,6 +0,0 @@ -C:\Users\Alexandr\Documents\Visual Studio 2013\Projects\C#\ISD\СonditionalConstructions\Task8Lottery\bin\Debug\Task8Lottery.exe.config -C:\Users\Alexandr\Documents\Visual Studio 2013\Projects\C#\ISD\СonditionalConstructions\Task8Lottery\bin\Debug\Task8Lottery.exe -C:\Users\Alexandr\Documents\Visual Studio 2013\Projects\C#\ISD\СonditionalConstructions\Task8Lottery\bin\Debug\Task8Lottery.pdb -C:\Users\Alexandr\Documents\Visual Studio 2013\Projects\C#\ISD\СonditionalConstructions\Task8Lottery\obj\Debug\Task8Lottery.csprojResolveAssemblyReference.cache -C:\Users\Alexandr\Documents\Visual Studio 2013\Projects\C#\ISD\СonditionalConstructions\Task8Lottery\obj\Debug\Task8Lottery.exe -C:\Users\Alexandr\Documents\Visual Studio 2013\Projects\C#\ISD\СonditionalConstructions\Task8Lottery\obj\Debug\Task8Lottery.pdb diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task8Lottery/obj/Debug/Task8Lottery.csprojResolveAssemblyReference.cache" "b/AlexandrTkachukTask1/\320\241onditionalConstructions/Task8Lottery/obj/Debug/Task8Lottery.csprojResolveAssemblyReference.cache" deleted file mode 100644 index f84cd4a..0000000 Binary files "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task8Lottery/obj/Debug/Task8Lottery.csprojResolveAssemblyReference.cache" and /dev/null differ diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task8Lottery/obj/Debug/Task8Lottery.exe" "b/AlexandrTkachukTask1/\320\241onditionalConstructions/Task8Lottery/obj/Debug/Task8Lottery.exe" deleted file mode 100644 index fa5429f..0000000 Binary files "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task8Lottery/obj/Debug/Task8Lottery.exe" and /dev/null differ diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task8Lottery/obj/Debug/Task8Lottery.pdb" "b/AlexandrTkachukTask1/\320\241onditionalConstructions/Task8Lottery/obj/Debug/Task8Lottery.pdb" deleted file mode 100644 index 946908b..0000000 Binary files "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task8Lottery/obj/Debug/Task8Lottery.pdb" and /dev/null differ diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task9CurrencyConverter/App.config" "b/AlexandrTkachukTask1/\320\241onditionalConstructions/Task9CurrencyConverter/App.config" deleted file mode 100644 index 8e15646..0000000 --- "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task9CurrencyConverter/App.config" +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task9CurrencyConverter/Program.cs" "b/AlexandrTkachukTask1/\320\241onditionalConstructions/Task9CurrencyConverter/Program.cs" deleted file mode 100644 index 13ec53a..0000000 --- "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task9CurrencyConverter/Program.cs" +++ /dev/null @@ -1,34 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace Task9CurrencyConverter -{ - class Program - { - static void Main(string[] args) - { - Console.Write("Введите сумму : "); - double amount = Convert.ToInt32(Console.ReadLine()); - Console.Write("Выберите валюту, в которой вы вводите сумму. Доллары - 1, Евро - 2, Гривны - 3: "); - int currency = Convert.ToInt32(Console.ReadLine()); - switch (currency) - { - case 1: - Console.WriteLine(amount + " долларов = " + amount * 0.89 + " евро = " + amount * 25.83 + " гривен."); - break; - case 2: - Console.WriteLine(amount + " евро = " + amount * 1.12 + " долларов = " + amount * 28.98 + " гривен."); - break; - case 3: - Console.WriteLine(amount + " гривен = " + amount * 0.0387 + " долларов = " + amount * 0.0345 + " евро."); - break; - default: - Console.WriteLine("Неправильно введена валюта"); - break; - } - } - } -} diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task9CurrencyConverter/Properties/AssemblyInfo.cs" "b/AlexandrTkachukTask1/\320\241onditionalConstructions/Task9CurrencyConverter/Properties/AssemblyInfo.cs" deleted file mode 100644 index ba6e3fc..0000000 --- "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task9CurrencyConverter/Properties/AssemblyInfo.cs" +++ /dev/null @@ -1,36 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -[assembly: AssemblyTitle("Task9CurrencyConverter")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("Task9CurrencyConverter")] -[assembly: AssemblyCopyright("Copyright © 2016")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. -[assembly: ComVisible(false)] - -// The following GUID is for the ID of the typelib if this project is exposed to COM -[assembly: Guid("b0c181b6-3ec6-480d-af9d-13defde645bc")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Build and Revision Numbers -// by using the '*' as shown below: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task9CurrencyConverter/Task9CurrencyConverter.csproj" "b/AlexandrTkachukTask1/\320\241onditionalConstructions/Task9CurrencyConverter/Task9CurrencyConverter.csproj" deleted file mode 100644 index 1f6defb..0000000 --- "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task9CurrencyConverter/Task9CurrencyConverter.csproj" +++ /dev/null @@ -1,58 +0,0 @@ - - - - - Debug - AnyCPU - {FFB09837-4705-41D7-883A-62AF358BC1F3} - Exe - Properties - Task9CurrencyConverter - Task9CurrencyConverter - v4.5 - 512 - - - AnyCPU - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - AnyCPU - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task9CurrencyConverter/bin/Debug/Task9CurrencyConverter.exe" "b/AlexandrTkachukTask1/\320\241onditionalConstructions/Task9CurrencyConverter/bin/Debug/Task9CurrencyConverter.exe" deleted file mode 100644 index 3b72ee1..0000000 Binary files "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task9CurrencyConverter/bin/Debug/Task9CurrencyConverter.exe" and /dev/null differ diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task9CurrencyConverter/bin/Debug/Task9CurrencyConverter.exe.config" "b/AlexandrTkachukTask1/\320\241onditionalConstructions/Task9CurrencyConverter/bin/Debug/Task9CurrencyConverter.exe.config" deleted file mode 100644 index 8e15646..0000000 --- "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task9CurrencyConverter/bin/Debug/Task9CurrencyConverter.exe.config" +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task9CurrencyConverter/bin/Debug/Task9CurrencyConverter.pdb" "b/AlexandrTkachukTask1/\320\241onditionalConstructions/Task9CurrencyConverter/bin/Debug/Task9CurrencyConverter.pdb" deleted file mode 100644 index debaa6b..0000000 Binary files "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task9CurrencyConverter/bin/Debug/Task9CurrencyConverter.pdb" and /dev/null differ diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task9CurrencyConverter/bin/Debug/Task9CurrencyConverter.vshost.exe" "b/AlexandrTkachukTask1/\320\241onditionalConstructions/Task9CurrencyConverter/bin/Debug/Task9CurrencyConverter.vshost.exe" deleted file mode 100644 index 666c0af..0000000 Binary files "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task9CurrencyConverter/bin/Debug/Task9CurrencyConverter.vshost.exe" and /dev/null differ diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task9CurrencyConverter/bin/Debug/Task9CurrencyConverter.vshost.exe.config" "b/AlexandrTkachukTask1/\320\241onditionalConstructions/Task9CurrencyConverter/bin/Debug/Task9CurrencyConverter.vshost.exe.config" deleted file mode 100644 index 8e15646..0000000 --- "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task9CurrencyConverter/bin/Debug/Task9CurrencyConverter.vshost.exe.config" +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task9CurrencyConverter/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache" "b/AlexandrTkachukTask1/\320\241onditionalConstructions/Task9CurrencyConverter/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache" deleted file mode 100644 index 581421e..0000000 Binary files "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task9CurrencyConverter/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache" and /dev/null differ diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task9CurrencyConverter/obj/Debug/Task9CurrencyConverter.csproj.FileListAbsolute.txt" "b/AlexandrTkachukTask1/\320\241onditionalConstructions/Task9CurrencyConverter/obj/Debug/Task9CurrencyConverter.csproj.FileListAbsolute.txt" deleted file mode 100644 index a981c14..0000000 --- "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task9CurrencyConverter/obj/Debug/Task9CurrencyConverter.csproj.FileListAbsolute.txt" +++ /dev/null @@ -1,6 +0,0 @@ -C:\Users\Alexandr\Documents\Visual Studio 2013\Projects\C#\ISD\СonditionalConstructions\Task9CurrencyConverter\bin\Debug\Task9CurrencyConverter.exe.config -C:\Users\Alexandr\Documents\Visual Studio 2013\Projects\C#\ISD\СonditionalConstructions\Task9CurrencyConverter\bin\Debug\Task9CurrencyConverter.exe -C:\Users\Alexandr\Documents\Visual Studio 2013\Projects\C#\ISD\СonditionalConstructions\Task9CurrencyConverter\bin\Debug\Task9CurrencyConverter.pdb -C:\Users\Alexandr\Documents\Visual Studio 2013\Projects\C#\ISD\СonditionalConstructions\Task9CurrencyConverter\obj\Debug\Task9CurrencyConverter.csprojResolveAssemblyReference.cache -C:\Users\Alexandr\Documents\Visual Studio 2013\Projects\C#\ISD\СonditionalConstructions\Task9CurrencyConverter\obj\Debug\Task9CurrencyConverter.exe -C:\Users\Alexandr\Documents\Visual Studio 2013\Projects\C#\ISD\СonditionalConstructions\Task9CurrencyConverter\obj\Debug\Task9CurrencyConverter.pdb diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task9CurrencyConverter/obj/Debug/Task9CurrencyConverter.csprojResolveAssemblyReference.cache" "b/AlexandrTkachukTask1/\320\241onditionalConstructions/Task9CurrencyConverter/obj/Debug/Task9CurrencyConverter.csprojResolveAssemblyReference.cache" deleted file mode 100644 index f84cd4a..0000000 Binary files "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task9CurrencyConverter/obj/Debug/Task9CurrencyConverter.csprojResolveAssemblyReference.cache" and /dev/null differ diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task9CurrencyConverter/obj/Debug/Task9CurrencyConverter.exe" "b/AlexandrTkachukTask1/\320\241onditionalConstructions/Task9CurrencyConverter/obj/Debug/Task9CurrencyConverter.exe" deleted file mode 100644 index 3b72ee1..0000000 Binary files "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task9CurrencyConverter/obj/Debug/Task9CurrencyConverter.exe" and /dev/null differ diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task9CurrencyConverter/obj/Debug/Task9CurrencyConverter.pdb" "b/AlexandrTkachukTask1/\320\241onditionalConstructions/Task9CurrencyConverter/obj/Debug/Task9CurrencyConverter.pdb" deleted file mode 100644 index debaa6b..0000000 Binary files "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task9CurrencyConverter/obj/Debug/Task9CurrencyConverter.pdb" and /dev/null differ diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/\320\241onditionalConstructions.sln" "b/AlexandrTkachukTask1/\320\241onditionalConstructions/\320\241onditionalConstructions.sln" deleted file mode 100644 index 811c7f7..0000000 --- "a/AlexandrTkachukTask1/\320\241onditionalConstructions/\320\241onditionalConstructions.sln" +++ /dev/null @@ -1,70 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 2013 -VisualStudioVersion = 12.0.31101.0 -MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Task1GreaterNumber", "Task1GreaterNumber\Task1GreaterNumber.csproj", "{0116D8AE-2138-4E78-8FBC-104DF1A3684B}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Task2CatAndDog", "Task2CatAndDog\Task2CatAndDog.csproj", "{C283B085-0FF3-43C9-B4C6-C83780F0A79B}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Task3NumberOfMonth", "Task3NumberOfMonth\Task3NumberOfMonth.csproj", "{04454403-D802-4D8F-B607-0248C8CA3522}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Task4GoodAndBad", "Task4GoodAndBad\Task4GoodAndBad.csproj", "{980D73F2-1E81-4F85-B240-549FC49C9B2F}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Task5NumberOfDay", "Task5NumberOfDay\Task5NumberOfDay.csproj", "{4CA91744-6B26-43DD-BA93-85431BA65B22}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Task6Taxi", "Task6Taxi\Task6Taxi.csproj", "{DB323CE5-80A8-4D80-BD92-E2DC015D4B9A}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Task7IsDigitSimple", "Task7IsDigitSimple\Task7IsDigitSimple.csproj", "{D9809A78-2E4F-4CB1-9932-D8EBFA7BB294}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Task8Lottery", "Task8Lottery\Task8Lottery.csproj", "{7D47E871-F420-443A-8D16-B7840914F3FD}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Task9CurrencyConverter", "Task9CurrencyConverter\Task9CurrencyConverter.csproj", "{FFB09837-4705-41D7-883A-62AF358BC1F3}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Release|Any CPU = Release|Any CPU - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {0116D8AE-2138-4E78-8FBC-104DF1A3684B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {0116D8AE-2138-4E78-8FBC-104DF1A3684B}.Debug|Any CPU.Build.0 = Debug|Any CPU - {0116D8AE-2138-4E78-8FBC-104DF1A3684B}.Release|Any CPU.ActiveCfg = Release|Any CPU - {0116D8AE-2138-4E78-8FBC-104DF1A3684B}.Release|Any CPU.Build.0 = Release|Any CPU - {C283B085-0FF3-43C9-B4C6-C83780F0A79B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {C283B085-0FF3-43C9-B4C6-C83780F0A79B}.Debug|Any CPU.Build.0 = Debug|Any CPU - {C283B085-0FF3-43C9-B4C6-C83780F0A79B}.Release|Any CPU.ActiveCfg = Release|Any CPU - {C283B085-0FF3-43C9-B4C6-C83780F0A79B}.Release|Any CPU.Build.0 = Release|Any CPU - {04454403-D802-4D8F-B607-0248C8CA3522}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {04454403-D802-4D8F-B607-0248C8CA3522}.Debug|Any CPU.Build.0 = Debug|Any CPU - {04454403-D802-4D8F-B607-0248C8CA3522}.Release|Any CPU.ActiveCfg = Release|Any CPU - {04454403-D802-4D8F-B607-0248C8CA3522}.Release|Any CPU.Build.0 = Release|Any CPU - {980D73F2-1E81-4F85-B240-549FC49C9B2F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {980D73F2-1E81-4F85-B240-549FC49C9B2F}.Debug|Any CPU.Build.0 = Debug|Any CPU - {980D73F2-1E81-4F85-B240-549FC49C9B2F}.Release|Any CPU.ActiveCfg = Release|Any CPU - {980D73F2-1E81-4F85-B240-549FC49C9B2F}.Release|Any CPU.Build.0 = Release|Any CPU - {4CA91744-6B26-43DD-BA93-85431BA65B22}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {4CA91744-6B26-43DD-BA93-85431BA65B22}.Debug|Any CPU.Build.0 = Debug|Any CPU - {4CA91744-6B26-43DD-BA93-85431BA65B22}.Release|Any CPU.ActiveCfg = Release|Any CPU - {4CA91744-6B26-43DD-BA93-85431BA65B22}.Release|Any CPU.Build.0 = Release|Any CPU - {DB323CE5-80A8-4D80-BD92-E2DC015D4B9A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {DB323CE5-80A8-4D80-BD92-E2DC015D4B9A}.Debug|Any CPU.Build.0 = Debug|Any CPU - {DB323CE5-80A8-4D80-BD92-E2DC015D4B9A}.Release|Any CPU.ActiveCfg = Release|Any CPU - {DB323CE5-80A8-4D80-BD92-E2DC015D4B9A}.Release|Any CPU.Build.0 = Release|Any CPU - {D9809A78-2E4F-4CB1-9932-D8EBFA7BB294}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {D9809A78-2E4F-4CB1-9932-D8EBFA7BB294}.Debug|Any CPU.Build.0 = Debug|Any CPU - {D9809A78-2E4F-4CB1-9932-D8EBFA7BB294}.Release|Any CPU.ActiveCfg = Release|Any CPU - {D9809A78-2E4F-4CB1-9932-D8EBFA7BB294}.Release|Any CPU.Build.0 = Release|Any CPU - {7D47E871-F420-443A-8D16-B7840914F3FD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {7D47E871-F420-443A-8D16-B7840914F3FD}.Debug|Any CPU.Build.0 = Debug|Any CPU - {7D47E871-F420-443A-8D16-B7840914F3FD}.Release|Any CPU.ActiveCfg = Release|Any CPU - {7D47E871-F420-443A-8D16-B7840914F3FD}.Release|Any CPU.Build.0 = Release|Any CPU - {FFB09837-4705-41D7-883A-62AF358BC1F3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {FFB09837-4705-41D7-883A-62AF358BC1F3}.Debug|Any CPU.Build.0 = Debug|Any CPU - {FFB09837-4705-41D7-883A-62AF358BC1F3}.Release|Any CPU.ActiveCfg = Release|Any CPU - {FFB09837-4705-41D7-883A-62AF358BC1F3}.Release|Any CPU.Build.0 = Release|Any CPU - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/\320\241onditionalConstructions.v12.suo" "b/AlexandrTkachukTask1/\320\241onditionalConstructions/\320\241onditionalConstructions.v12.suo" deleted file mode 100644 index 8586a4d..0000000 Binary files "a/AlexandrTkachukTask1/\320\241onditionalConstructions/\320\241onditionalConstructions.v12.suo" and /dev/null differ diff --git a/Task_1_Basics/.vs/Task_1_Basics/v14/.suo b/Task_1_Basics/.vs/Task_1_Basics/v14/.suo deleted file mode 100644 index 7c58bd2..0000000 Binary files a/Task_1_Basics/.vs/Task_1_Basics/v14/.suo and /dev/null differ diff --git a/Task_1_Basics/1_Strings/1_Console.csproj b/Task_1_Basics/1_Strings/1_Console.csproj deleted file mode 100644 index 0b8982b..0000000 --- a/Task_1_Basics/1_Strings/1_Console.csproj +++ /dev/null @@ -1,62 +0,0 @@ - - - - - Debug - AnyCPU - {0B845B55-E717-4D70-98E8-C856AFEA69BC} - Exe - Properties - _1_Strings - 1_Strings - v4.5.2 - 512 - true - - - AnyCPU - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - AnyCPU - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/Task_1_Basics/1_Strings/FIO.cs b/Task_1_Basics/1_Strings/FIO.cs deleted file mode 100644 index 3a3b162..0000000 --- a/Task_1_Basics/1_Strings/FIO.cs +++ /dev/null @@ -1,29 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace _1_Console -{ - sealed class FIO : IFIO - { - private readonly string surname; - private readonly string name; - private readonly string patronimic; - public FIO(string surname, string name, string patronimic) - { - this.surname = surname; - this.name = name; - this.patronimic = patronimic; - } - public void Introduce() - { - string fio = surname + " " + name + " " + patronimic; - int length = fio.Length; - Console.WriteLine("+{0}+", new string('-', length)); - Console.WriteLine("|{0}|", fio); - Console.WriteLine("+{0}+", new string('-', length)); - } - } -} diff --git a/Task_1_Basics/1_Strings/IFIO.cs b/Task_1_Basics/1_Strings/IFIO.cs deleted file mode 100644 index 7c17b63..0000000 --- a/Task_1_Basics/1_Strings/IFIO.cs +++ /dev/null @@ -1,13 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace _1_Console -{ - interface IFIO - { - void Introduce(); - } -} diff --git a/Task_1_Basics/1_Strings/Program.cs b/Task_1_Basics/1_Strings/Program.cs deleted file mode 100644 index 55365eb..0000000 --- a/Task_1_Basics/1_Strings/Program.cs +++ /dev/null @@ -1,18 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace _1_Console -{ - class Program - { - static void Main(string[] args) - { - IFIO fio = new FIO("Golovko", "Gregory", "Nickolaevich"); - fio.Introduce(); - Console.ReadKey(); - } - } -} diff --git a/Task_1_Basics/1_Strings/Properties/AssemblyInfo.cs b/Task_1_Basics/1_Strings/Properties/AssemblyInfo.cs deleted file mode 100644 index 725c51e..0000000 --- a/Task_1_Basics/1_Strings/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,36 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// Управление общими сведениями о сборке осуществляется с помощью -// набора атрибутов. Измените значения этих атрибутов, чтобы изменить сведения, -// связанные со сборкой. -[assembly: AssemblyTitle("1_Strings")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("1_Strings")] -[assembly: AssemblyCopyright("Copyright © 2016")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// Параметр ComVisible со значением FALSE делает типы в сборке невидимыми -// для COM-компонентов. Если требуется обратиться к типу в этой сборке через -// COM, задайте атрибуту ComVisible значение TRUE для этого типа. -[assembly: ComVisible(false)] - -// Следующий GUID служит для идентификации библиотеки типов, если этот проект будет видимым для COM -[assembly: Guid("0b845b55-e717-4d70-98e8-c856afea69bc")] - -// Сведения о версии сборки состоят из следующих четырех значений: -// -// Основной номер версии -// Дополнительный номер версии -// Номер сборки -// Редакция -// -// Можно задать все значения или принять номера сборки и редакции по умолчанию -// используя "*", как показано ниже: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/Task_1_Basics/1_Strings/bin/Debug/1_Strings.exe b/Task_1_Basics/1_Strings/bin/Debug/1_Strings.exe deleted file mode 100644 index 33a86b0..0000000 Binary files a/Task_1_Basics/1_Strings/bin/Debug/1_Strings.exe and /dev/null differ diff --git a/Task_1_Basics/1_Strings/bin/Debug/1_Strings.pdb b/Task_1_Basics/1_Strings/bin/Debug/1_Strings.pdb deleted file mode 100644 index 54f35fb..0000000 Binary files a/Task_1_Basics/1_Strings/bin/Debug/1_Strings.pdb and /dev/null differ diff --git a/Task_1_Basics/1_Strings/bin/Release/1_Strings.exe b/Task_1_Basics/1_Strings/bin/Release/1_Strings.exe deleted file mode 100644 index 171ba5c..0000000 Binary files a/Task_1_Basics/1_Strings/bin/Release/1_Strings.exe and /dev/null differ diff --git a/Task_1_Basics/1_Strings/bin/Release/1_Strings.pdb b/Task_1_Basics/1_Strings/bin/Release/1_Strings.pdb deleted file mode 100644 index 4ea5250..0000000 Binary files a/Task_1_Basics/1_Strings/bin/Release/1_Strings.pdb and /dev/null differ diff --git a/Task_1_Basics/1_Strings/obj/Debug/1_Console.csproj.FileListAbsolute.txt b/Task_1_Basics/1_Strings/obj/Debug/1_Console.csproj.FileListAbsolute.txt deleted file mode 100644 index 9d61fe0..0000000 --- a/Task_1_Basics/1_Strings/obj/Debug/1_Console.csproj.FileListAbsolute.txt +++ /dev/null @@ -1,11 +0,0 @@ -c:\users\головко\documents\visual studio 2015\Projects\Task_1_Basics\1_Strings\bin\Debug\1_Strings.exe.config -c:\users\головко\documents\visual studio 2015\Projects\Task_1_Basics\1_Strings\bin\Debug\1_Strings.exe -c:\users\головко\documents\visual studio 2015\Projects\Task_1_Basics\1_Strings\bin\Debug\1_Strings.pdb -c:\users\головко\documents\visual studio 2015\Projects\Task_1_Basics\1_Strings\obj\Debug\1_Console.csprojResolveAssemblyReference.cache -c:\users\головко\documents\visual studio 2015\Projects\Task_1_Basics\1_Strings\obj\Debug\1_Strings.exe -c:\users\головко\documents\visual studio 2015\Projects\Task_1_Basics\1_Strings\obj\Debug\1_Strings.pdb -C:\Users\Головко\Desktop\Task_1_Basics\1_Strings\bin\Debug\1_Strings.exe.config -C:\Users\Головко\Desktop\Task_1_Basics\1_Strings\bin\Debug\1_Strings.exe -C:\Users\Головко\Desktop\Task_1_Basics\1_Strings\bin\Debug\1_Strings.pdb -C:\Users\Головко\Desktop\Task_1_Basics\1_Strings\obj\Debug\1_Strings.exe -C:\Users\Головко\Desktop\Task_1_Basics\1_Strings\obj\Debug\1_Strings.pdb diff --git a/Task_1_Basics/1_Strings/obj/Debug/1_Strings.csproj.FileListAbsolute.txt b/Task_1_Basics/1_Strings/obj/Debug/1_Strings.csproj.FileListAbsolute.txt deleted file mode 100644 index ccfaf49..0000000 --- a/Task_1_Basics/1_Strings/obj/Debug/1_Strings.csproj.FileListAbsolute.txt +++ /dev/null @@ -1 +0,0 @@ -c:\users\головко\documents\visual studio 2015\Projects\Task_1_Basics\1_Strings\bin\Debug\1_Strings.exe.config diff --git a/Task_1_Basics/1_Strings/obj/Debug/1_Strings.exe b/Task_1_Basics/1_Strings/obj/Debug/1_Strings.exe deleted file mode 100644 index 33a86b0..0000000 Binary files a/Task_1_Basics/1_Strings/obj/Debug/1_Strings.exe and /dev/null differ diff --git a/Task_1_Basics/1_Strings/obj/Debug/1_Strings.pdb b/Task_1_Basics/1_Strings/obj/Debug/1_Strings.pdb deleted file mode 100644 index 54f35fb..0000000 Binary files a/Task_1_Basics/1_Strings/obj/Debug/1_Strings.pdb and /dev/null differ diff --git a/Task_1_Basics/1_Strings/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/Task_1_Basics/1_Strings/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache deleted file mode 100644 index d3ba901..0000000 Binary files a/Task_1_Basics/1_Strings/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache and /dev/null differ diff --git a/Task_1_Basics/1_Strings/obj/Release/1_Console.csproj.FileListAbsolute.txt b/Task_1_Basics/1_Strings/obj/Release/1_Console.csproj.FileListAbsolute.txt deleted file mode 100644 index a882eb8..0000000 --- a/Task_1_Basics/1_Strings/obj/Release/1_Console.csproj.FileListAbsolute.txt +++ /dev/null @@ -1,5 +0,0 @@ -c:\users\головко\documents\visual studio 2015\Projects\Task_1_Basics\1_Strings\bin\Release\1_Strings.exe.config -c:\users\головко\documents\visual studio 2015\Projects\Task_1_Basics\1_Strings\bin\Release\1_Strings.exe -c:\users\головко\documents\visual studio 2015\Projects\Task_1_Basics\1_Strings\bin\Release\1_Strings.pdb -c:\users\головко\documents\visual studio 2015\Projects\Task_1_Basics\1_Strings\obj\Release\1_Strings.exe -c:\users\головко\documents\visual studio 2015\Projects\Task_1_Basics\1_Strings\obj\Release\1_Strings.pdb diff --git a/Task_1_Basics/1_Strings/obj/Release/1_Strings.exe b/Task_1_Basics/1_Strings/obj/Release/1_Strings.exe deleted file mode 100644 index 171ba5c..0000000 Binary files a/Task_1_Basics/1_Strings/obj/Release/1_Strings.exe and /dev/null differ diff --git a/Task_1_Basics/1_Strings/obj/Release/1_Strings.pdb b/Task_1_Basics/1_Strings/obj/Release/1_Strings.pdb deleted file mode 100644 index 4ea5250..0000000 Binary files a/Task_1_Basics/1_Strings/obj/Release/1_Strings.pdb and /dev/null differ diff --git a/Task_1_Basics/1_Strings/obj/Release/DesignTimeResolveAssemblyReferencesInput.cache b/Task_1_Basics/1_Strings/obj/Release/DesignTimeResolveAssemblyReferencesInput.cache deleted file mode 100644 index 45b0e98..0000000 Binary files a/Task_1_Basics/1_Strings/obj/Release/DesignTimeResolveAssemblyReferencesInput.cache and /dev/null differ diff --git a/Task_1_Basics/2_1_Comparation/2_1_Comparation.csproj b/Task_1_Basics/2_1_Comparation/2_1_Comparation.csproj deleted file mode 100644 index c370e16..0000000 --- a/Task_1_Basics/2_1_Comparation/2_1_Comparation.csproj +++ /dev/null @@ -1,62 +0,0 @@ - - - - - Debug - AnyCPU - {82D8CACC-C707-4772-A6B3-F4DDFFB0E404} - Exe - Properties - _2_1_Comparation - 2_1_Comparation - v4.5.2 - 512 - true - - - AnyCPU - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - AnyCPU - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/Task_1_Basics/2_1_Comparation/Comparer.cs b/Task_1_Basics/2_1_Comparation/Comparer.cs deleted file mode 100644 index 1ff4722..0000000 --- a/Task_1_Basics/2_1_Comparation/Comparer.cs +++ /dev/null @@ -1,23 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace _2_1_Comparation -{ - struct Comparer: IComparer - { - private readonly double a; - private readonly double b; - public double Max - { - get { return a > b ? a : b; } - } - public Comparer(double a, double b) - { - this.a = a; - this.b = b; - } - } -} diff --git a/Task_1_Basics/2_1_Comparation/IComparer.cs b/Task_1_Basics/2_1_Comparation/IComparer.cs deleted file mode 100644 index a639ff6..0000000 --- a/Task_1_Basics/2_1_Comparation/IComparer.cs +++ /dev/null @@ -1,13 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace _2_1_Comparation -{ - interface IComparer - { - double Max { get; } - } -} diff --git a/Task_1_Basics/2_1_Comparation/Program.cs b/Task_1_Basics/2_1_Comparation/Program.cs deleted file mode 100644 index 1e6ccf0..0000000 --- a/Task_1_Basics/2_1_Comparation/Program.cs +++ /dev/null @@ -1,18 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace _2_1_Comparation -{ - class Program - { - static void Main(string[] args) - { - IComparer comp = new Comparer(96, 84); - Console.WriteLine("The max value is {0}", comp.Max); - Console.ReadKey(); - } - } -} diff --git a/Task_1_Basics/2_1_Comparation/Properties/AssemblyInfo.cs b/Task_1_Basics/2_1_Comparation/Properties/AssemblyInfo.cs deleted file mode 100644 index f08777c..0000000 --- a/Task_1_Basics/2_1_Comparation/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,36 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// Управление общими сведениями о сборке осуществляется с помощью -// набора атрибутов. Измените значения этих атрибутов, чтобы изменить сведения, -// связанные со сборкой. -[assembly: AssemblyTitle("2_1_Comparation")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("2_1_Comparation")] -[assembly: AssemblyCopyright("Copyright © 2016")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// Параметр ComVisible со значением FALSE делает типы в сборке невидимыми -// для COM-компонентов. Если требуется обратиться к типу в этой сборке через -// COM, задайте атрибуту ComVisible значение TRUE для этого типа. -[assembly: ComVisible(false)] - -// Следующий GUID служит для идентификации библиотеки типов, если этот проект будет видимым для COM -[assembly: Guid("82d8cacc-c707-4772-a6b3-f4ddffb0e404")] - -// Сведения о версии сборки состоят из следующих четырех значений: -// -// Основной номер версии -// Дополнительный номер версии -// Номер сборки -// Редакция -// -// Можно задать все значения или принять номера сборки и редакции по умолчанию -// используя "*", как показано ниже: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/Task_1_Basics/2_1_Comparation/bin/Debug/2_1_Comparation.exe b/Task_1_Basics/2_1_Comparation/bin/Debug/2_1_Comparation.exe deleted file mode 100644 index 468e73f..0000000 Binary files a/Task_1_Basics/2_1_Comparation/bin/Debug/2_1_Comparation.exe and /dev/null differ diff --git a/Task_1_Basics/2_1_Comparation/bin/Debug/2_1_Comparation.pdb b/Task_1_Basics/2_1_Comparation/bin/Debug/2_1_Comparation.pdb deleted file mode 100644 index 85f3466..0000000 Binary files a/Task_1_Basics/2_1_Comparation/bin/Debug/2_1_Comparation.pdb and /dev/null differ diff --git a/Task_1_Basics/2_1_Comparation/obj/Debug/2_1_Comparation.csproj.FileListAbsolute.txt b/Task_1_Basics/2_1_Comparation/obj/Debug/2_1_Comparation.csproj.FileListAbsolute.txt deleted file mode 100644 index 8adb3b7..0000000 --- a/Task_1_Basics/2_1_Comparation/obj/Debug/2_1_Comparation.csproj.FileListAbsolute.txt +++ /dev/null @@ -1,10 +0,0 @@ -c:\users\головко\documents\visual studio 2015\Projects\Task_1_Basics\2_1_Comparation\bin\Debug\2_1_Comparation.exe.config -c:\users\головко\documents\visual studio 2015\Projects\Task_1_Basics\2_1_Comparation\bin\Debug\2_1_Comparation.exe -c:\users\головко\documents\visual studio 2015\Projects\Task_1_Basics\2_1_Comparation\bin\Debug\2_1_Comparation.pdb -c:\users\головко\documents\visual studio 2015\Projects\Task_1_Basics\2_1_Comparation\obj\Debug\2_1_Comparation.exe -c:\users\головко\documents\visual studio 2015\Projects\Task_1_Basics\2_1_Comparation\obj\Debug\2_1_Comparation.pdb -C:\Users\Головко\Desktop\Task_1_Basics\2_1_Comparation\bin\Debug\2_1_Comparation.exe.config -C:\Users\Головко\Desktop\Task_1_Basics\2_1_Comparation\bin\Debug\2_1_Comparation.exe -C:\Users\Головко\Desktop\Task_1_Basics\2_1_Comparation\bin\Debug\2_1_Comparation.pdb -C:\Users\Головко\Desktop\Task_1_Basics\2_1_Comparation\obj\Debug\2_1_Comparation.exe -C:\Users\Головко\Desktop\Task_1_Basics\2_1_Comparation\obj\Debug\2_1_Comparation.pdb diff --git a/Task_1_Basics/2_1_Comparation/obj/Debug/2_1_Comparation.exe b/Task_1_Basics/2_1_Comparation/obj/Debug/2_1_Comparation.exe deleted file mode 100644 index 468e73f..0000000 Binary files a/Task_1_Basics/2_1_Comparation/obj/Debug/2_1_Comparation.exe and /dev/null differ diff --git a/Task_1_Basics/2_1_Comparation/obj/Debug/2_1_Comparation.pdb b/Task_1_Basics/2_1_Comparation/obj/Debug/2_1_Comparation.pdb deleted file mode 100644 index 85f3466..0000000 Binary files a/Task_1_Basics/2_1_Comparation/obj/Debug/2_1_Comparation.pdb and /dev/null differ diff --git a/Task_1_Basics/2_1_Comparation/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/Task_1_Basics/2_1_Comparation/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache deleted file mode 100644 index 36079e2..0000000 Binary files a/Task_1_Basics/2_1_Comparation/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache and /dev/null differ diff --git a/Task_1_Basics/2_2_MauGau/2_2_MauGau.csproj b/Task_1_Basics/2_2_MauGau/2_2_MauGau.csproj deleted file mode 100644 index 6cac4d2..0000000 --- a/Task_1_Basics/2_2_MauGau/2_2_MauGau.csproj +++ /dev/null @@ -1,62 +0,0 @@ - - - - - Debug - AnyCPU - {E0D35179-5819-4A8E-9ABB-8CF445923351} - Exe - Properties - _2_2_MauGau - 2_2_MauGau - v4.5.2 - 512 - true - - - AnyCPU - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - AnyCPU - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/Task_1_Basics/2_2_MauGau/Act.cs b/Task_1_Basics/2_2_MauGau/Act.cs deleted file mode 100644 index fcdc82d..0000000 --- a/Task_1_Basics/2_2_MauGau/Act.cs +++ /dev/null @@ -1,20 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace _2_2_MauGau -{ - class Act : IAct - { - public string MakeAct(string cmd) - { - string result; - if (cmd == "Gau") result = "Lets walk with the dog"; - else if (cmd == "Mau") result = "Lets feed the cat"; - else result = "Unknown command"; - return result; - } - } -} diff --git a/Task_1_Basics/2_2_MauGau/IAct.cs b/Task_1_Basics/2_2_MauGau/IAct.cs deleted file mode 100644 index c29b711..0000000 --- a/Task_1_Basics/2_2_MauGau/IAct.cs +++ /dev/null @@ -1,13 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace _2_2_MauGau -{ - interface IAct - { - string MakeAct(string cmd); - } -} diff --git a/Task_1_Basics/2_2_MauGau/Program.cs b/Task_1_Basics/2_2_MauGau/Program.cs deleted file mode 100644 index b4aed52..0000000 --- a/Task_1_Basics/2_2_MauGau/Program.cs +++ /dev/null @@ -1,20 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace _2_2_MauGau -{ - class Program - { - static void Main(string[] args) - { - IAct act = new Act(); - Console.WriteLine("Enter the command, please (Gau/Mau):"); - Console.Write("- "); - Console.WriteLine("- {0}", act.MakeAct(Console.ReadLine())); - Console.ReadKey(); - } - } -} diff --git a/Task_1_Basics/2_2_MauGau/Properties/AssemblyInfo.cs b/Task_1_Basics/2_2_MauGau/Properties/AssemblyInfo.cs deleted file mode 100644 index 4a59410..0000000 --- a/Task_1_Basics/2_2_MauGau/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,36 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// Управление общими сведениями о сборке осуществляется с помощью -// набора атрибутов. Измените значения этих атрибутов, чтобы изменить сведения, -// связанные со сборкой. -[assembly: AssemblyTitle("2_2_MauGau")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("2_2_MauGau")] -[assembly: AssemblyCopyright("Copyright © 2016")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// Параметр ComVisible со значением FALSE делает типы в сборке невидимыми -// для COM-компонентов. Если требуется обратиться к типу в этой сборке через -// COM, задайте атрибуту ComVisible значение TRUE для этого типа. -[assembly: ComVisible(false)] - -// Следующий GUID служит для идентификации библиотеки типов, если этот проект будет видимым для COM -[assembly: Guid("e0d35179-5819-4a8e-9abb-8cf445923351")] - -// Сведения о версии сборки состоят из следующих четырех значений: -// -// Основной номер версии -// Дополнительный номер версии -// Номер сборки -// Редакция -// -// Можно задать все значения или принять номера сборки и редакции по умолчанию -// используя "*", как показано ниже: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/Task_1_Basics/2_2_MauGau/bin/Debug/2_2_MauGau.exe b/Task_1_Basics/2_2_MauGau/bin/Debug/2_2_MauGau.exe deleted file mode 100644 index 5bab7db..0000000 Binary files a/Task_1_Basics/2_2_MauGau/bin/Debug/2_2_MauGau.exe and /dev/null differ diff --git a/Task_1_Basics/2_2_MauGau/bin/Debug/2_2_MauGau.pdb b/Task_1_Basics/2_2_MauGau/bin/Debug/2_2_MauGau.pdb deleted file mode 100644 index 3e2fc0c..0000000 Binary files a/Task_1_Basics/2_2_MauGau/bin/Debug/2_2_MauGau.pdb and /dev/null differ diff --git a/Task_1_Basics/2_2_MauGau/obj/Debug/2_2_MauGau.csproj.FileListAbsolute.txt b/Task_1_Basics/2_2_MauGau/obj/Debug/2_2_MauGau.csproj.FileListAbsolute.txt deleted file mode 100644 index 5321ee3..0000000 --- a/Task_1_Basics/2_2_MauGau/obj/Debug/2_2_MauGau.csproj.FileListAbsolute.txt +++ /dev/null @@ -1,11 +0,0 @@ -c:\users\головко\documents\visual studio 2015\Projects\Task_1_Basics\2_2_MauGau\bin\Debug\2_2_MauGau.exe.config -c:\users\головко\documents\visual studio 2015\Projects\Task_1_Basics\2_2_MauGau\bin\Debug\2_2_MauGau.exe -c:\users\головко\documents\visual studio 2015\Projects\Task_1_Basics\2_2_MauGau\bin\Debug\2_2_MauGau.pdb -c:\users\головко\documents\visual studio 2015\Projects\Task_1_Basics\2_2_MauGau\obj\Debug\2_2_MauGau.csprojResolveAssemblyReference.cache -c:\users\головко\documents\visual studio 2015\Projects\Task_1_Basics\2_2_MauGau\obj\Debug\2_2_MauGau.exe -c:\users\головко\documents\visual studio 2015\Projects\Task_1_Basics\2_2_MauGau\obj\Debug\2_2_MauGau.pdb -C:\Users\Головко\Desktop\Task_1_Basics\2_2_MauGau\bin\Debug\2_2_MauGau.exe.config -C:\Users\Головко\Desktop\Task_1_Basics\2_2_MauGau\bin\Debug\2_2_MauGau.exe -C:\Users\Головко\Desktop\Task_1_Basics\2_2_MauGau\bin\Debug\2_2_MauGau.pdb -C:\Users\Головко\Desktop\Task_1_Basics\2_2_MauGau\obj\Debug\2_2_MauGau.exe -C:\Users\Головко\Desktop\Task_1_Basics\2_2_MauGau\obj\Debug\2_2_MauGau.pdb diff --git a/Task_1_Basics/2_2_MauGau/obj/Debug/2_2_MauGau.exe b/Task_1_Basics/2_2_MauGau/obj/Debug/2_2_MauGau.exe deleted file mode 100644 index 5bab7db..0000000 Binary files a/Task_1_Basics/2_2_MauGau/obj/Debug/2_2_MauGau.exe and /dev/null differ diff --git a/Task_1_Basics/2_2_MauGau/obj/Debug/2_2_MauGau.pdb b/Task_1_Basics/2_2_MauGau/obj/Debug/2_2_MauGau.pdb deleted file mode 100644 index 3e2fc0c..0000000 Binary files a/Task_1_Basics/2_2_MauGau/obj/Debug/2_2_MauGau.pdb and /dev/null differ diff --git a/Task_1_Basics/2_2_MauGau/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/Task_1_Basics/2_2_MauGau/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache deleted file mode 100644 index 71dadc2..0000000 Binary files a/Task_1_Basics/2_2_MauGau/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache and /dev/null differ diff --git a/Task_1_Basics/2_3_Season/2_3_Season.csproj b/Task_1_Basics/2_3_Season/2_3_Season.csproj deleted file mode 100644 index 7551565..0000000 --- a/Task_1_Basics/2_3_Season/2_3_Season.csproj +++ /dev/null @@ -1,63 +0,0 @@ - - - - - Debug - AnyCPU - {A701592F-747C-4671-9DDF-73F502E35924} - Exe - Properties - _2_3_Season - 2_3_Season - v4.5.2 - 512 - true - - - AnyCPU - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - AnyCPU - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/Task_1_Basics/2_3_Season/ISeason.cs b/Task_1_Basics/2_3_Season/ISeason.cs deleted file mode 100644 index ba7f75c..0000000 --- a/Task_1_Basics/2_3_Season/ISeason.cs +++ /dev/null @@ -1,13 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace _2_3_Season -{ - interface ISeason - { - string GetSeason(Month month); - } -} diff --git a/Task_1_Basics/2_3_Season/Month.cs b/Task_1_Basics/2_3_Season/Month.cs deleted file mode 100644 index 2f2661f..0000000 --- a/Task_1_Basics/2_3_Season/Month.cs +++ /dev/null @@ -1,24 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace _2_3_Season -{ - enum Month : byte - { - Jenuary = 1, - February, - March, - April, - May, - June, - July, - August, - September, - October, - November, - December - } -} diff --git a/Task_1_Basics/2_3_Season/Program.cs b/Task_1_Basics/2_3_Season/Program.cs deleted file mode 100644 index 4eae345..0000000 --- a/Task_1_Basics/2_3_Season/Program.cs +++ /dev/null @@ -1,19 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace _2_3_Season -{ - class Program - { - static void Main(string[] args) - { - ISeason season = new Season(); - Console.WriteLine("Enter the month number, please:"); - Console.WriteLine(season.GetSeason((Month)Convert.ToByte(Console.ReadLine()))); - Console.ReadKey(); - } - } -} diff --git a/Task_1_Basics/2_3_Season/Properties/AssemblyInfo.cs b/Task_1_Basics/2_3_Season/Properties/AssemblyInfo.cs deleted file mode 100644 index 2895bca..0000000 --- a/Task_1_Basics/2_3_Season/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,36 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// Управление общими сведениями о сборке осуществляется с помощью -// набора атрибутов. Измените значения этих атрибутов, чтобы изменить сведения, -// связанные со сборкой. -[assembly: AssemblyTitle("2_3_Season")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("2_3_Season")] -[assembly: AssemblyCopyright("Copyright © 2016")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// Параметр ComVisible со значением FALSE делает типы в сборке невидимыми -// для COM-компонентов. Если требуется обратиться к типу в этой сборке через -// COM, задайте атрибуту ComVisible значение TRUE для этого типа. -[assembly: ComVisible(false)] - -// Следующий GUID служит для идентификации библиотеки типов, если этот проект будет видимым для COM -[assembly: Guid("a701592f-747c-4671-9ddf-73f502e35924")] - -// Сведения о версии сборки состоят из следующих четырех значений: -// -// Основной номер версии -// Дополнительный номер версии -// Номер сборки -// Редакция -// -// Можно задать все значения или принять номера сборки и редакции по умолчанию -// используя "*", как показано ниже: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/Task_1_Basics/2_3_Season/Season.cs b/Task_1_Basics/2_3_Season/Season.cs deleted file mode 100644 index 2e598f2..0000000 --- a/Task_1_Basics/2_3_Season/Season.cs +++ /dev/null @@ -1,43 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace _2_3_Season -{ - class Season : ISeason - { - public string GetSeason(Month month) - { - string result; - switch (month) - { - case Month.December: - case Month.Jenuary: - case Month.February: - result = "Winter"; - break; - case Month.March: - case Month.April: - case Month.May: - result = "Spring"; - break; - case Month.June: - case Month.July: - case Month.August: - result = "Summer"; - break; - case Month.September: - case Month.October: - case Month.November: - result = "Autumn"; - break; - default: - result = "This month doesn't exist in our planet"; - break; - } - return result; - } - } -} diff --git a/Task_1_Basics/2_3_Season/bin/Debug/2_3_Season.exe b/Task_1_Basics/2_3_Season/bin/Debug/2_3_Season.exe deleted file mode 100644 index b8938e9..0000000 Binary files a/Task_1_Basics/2_3_Season/bin/Debug/2_3_Season.exe and /dev/null differ diff --git a/Task_1_Basics/2_3_Season/bin/Debug/2_3_Season.pdb b/Task_1_Basics/2_3_Season/bin/Debug/2_3_Season.pdb deleted file mode 100644 index 21bf85a..0000000 Binary files a/Task_1_Basics/2_3_Season/bin/Debug/2_3_Season.pdb and /dev/null differ diff --git a/Task_1_Basics/2_3_Season/obj/Debug/2_3_Season.csproj.FileListAbsolute.txt b/Task_1_Basics/2_3_Season/obj/Debug/2_3_Season.csproj.FileListAbsolute.txt deleted file mode 100644 index 99c7c79..0000000 --- a/Task_1_Basics/2_3_Season/obj/Debug/2_3_Season.csproj.FileListAbsolute.txt +++ /dev/null @@ -1,10 +0,0 @@ -c:\users\головко\documents\visual studio 2015\Projects\Task_1_Basics\2_3_Season\bin\Debug\2_3_Season.exe.config -c:\users\головко\documents\visual studio 2015\Projects\Task_1_Basics\2_3_Season\bin\Debug\2_3_Season.exe -c:\users\головко\documents\visual studio 2015\Projects\Task_1_Basics\2_3_Season\bin\Debug\2_3_Season.pdb -c:\users\головко\documents\visual studio 2015\Projects\Task_1_Basics\2_3_Season\obj\Debug\2_3_Season.exe -c:\users\головко\documents\visual studio 2015\Projects\Task_1_Basics\2_3_Season\obj\Debug\2_3_Season.pdb -C:\Users\Головко\Desktop\Task_1_Basics\2_3_Season\bin\Debug\2_3_Season.exe.config -C:\Users\Головко\Desktop\Task_1_Basics\2_3_Season\bin\Debug\2_3_Season.exe -C:\Users\Головко\Desktop\Task_1_Basics\2_3_Season\bin\Debug\2_3_Season.pdb -C:\Users\Головко\Desktop\Task_1_Basics\2_3_Season\obj\Debug\2_3_Season.exe -C:\Users\Головко\Desktop\Task_1_Basics\2_3_Season\obj\Debug\2_3_Season.pdb diff --git a/Task_1_Basics/2_3_Season/obj/Debug/2_3_Season.exe b/Task_1_Basics/2_3_Season/obj/Debug/2_3_Season.exe deleted file mode 100644 index b8938e9..0000000 Binary files a/Task_1_Basics/2_3_Season/obj/Debug/2_3_Season.exe and /dev/null differ diff --git a/Task_1_Basics/2_3_Season/obj/Debug/2_3_Season.pdb b/Task_1_Basics/2_3_Season/obj/Debug/2_3_Season.pdb deleted file mode 100644 index 21bf85a..0000000 Binary files a/Task_1_Basics/2_3_Season/obj/Debug/2_3_Season.pdb and /dev/null differ diff --git a/Task_1_Basics/2_3_Season/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/Task_1_Basics/2_3_Season/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache deleted file mode 100644 index 101659c..0000000 Binary files a/Task_1_Basics/2_3_Season/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache and /dev/null differ diff --git a/Task_1_Basics/2_4_GoodVsBad/2_4_GoodVsBad.csproj b/Task_1_Basics/2_4_GoodVsBad/2_4_GoodVsBad.csproj deleted file mode 100644 index 3f8779c..0000000 --- a/Task_1_Basics/2_4_GoodVsBad/2_4_GoodVsBad.csproj +++ /dev/null @@ -1,60 +0,0 @@ - - - - - Debug - AnyCPU - {3C2F7651-8F57-42B0-A50B-1CF6ABB15360} - Exe - Properties - _2_4_GoodVsBad - 2_4_GoodVsBad - v4.5.2 - 512 - true - - - AnyCPU - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - AnyCPU - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/Task_1_Basics/2_4_GoodVsBad/Program.cs b/Task_1_Basics/2_4_GoodVsBad/Program.cs deleted file mode 100644 index a606fc5..0000000 --- a/Task_1_Basics/2_4_GoodVsBad/Program.cs +++ /dev/null @@ -1,18 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace _2_4_GoodVsBad -{ - class Program - { - static void Main(string[] args) - { - Console.WriteLine("Enter 1 - Good or 0 - Bad:"); - Console.WriteLine(Convert.ToByte(Console.ReadLine()) == 1 ? "Good" : "Bad"); - Console.ReadKey(); - } - } -} diff --git a/Task_1_Basics/2_4_GoodVsBad/Properties/AssemblyInfo.cs b/Task_1_Basics/2_4_GoodVsBad/Properties/AssemblyInfo.cs deleted file mode 100644 index 3084825..0000000 --- a/Task_1_Basics/2_4_GoodVsBad/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,36 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// Управление общими сведениями о сборке осуществляется с помощью -// набора атрибутов. Измените значения этих атрибутов, чтобы изменить сведения, -// связанные со сборкой. -[assembly: AssemblyTitle("2_4_GoodVsBad")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("2_4_GoodVsBad")] -[assembly: AssemblyCopyright("Copyright © 2016")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// Параметр ComVisible со значением FALSE делает типы в сборке невидимыми -// для COM-компонентов. Если требуется обратиться к типу в этой сборке через -// COM, задайте атрибуту ComVisible значение TRUE для этого типа. -[assembly: ComVisible(false)] - -// Следующий GUID служит для идентификации библиотеки типов, если этот проект будет видимым для COM -[assembly: Guid("3c2f7651-8f57-42b0-a50b-1cf6abb15360")] - -// Сведения о версии сборки состоят из следующих четырех значений: -// -// Основной номер версии -// Дополнительный номер версии -// Номер сборки -// Редакция -// -// Можно задать все значения или принять номера сборки и редакции по умолчанию -// используя "*", как показано ниже: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/Task_1_Basics/2_4_GoodVsBad/bin/Debug/2_4_GoodVsBad.exe b/Task_1_Basics/2_4_GoodVsBad/bin/Debug/2_4_GoodVsBad.exe deleted file mode 100644 index 1dff08f..0000000 Binary files a/Task_1_Basics/2_4_GoodVsBad/bin/Debug/2_4_GoodVsBad.exe and /dev/null differ diff --git a/Task_1_Basics/2_4_GoodVsBad/bin/Debug/2_4_GoodVsBad.pdb b/Task_1_Basics/2_4_GoodVsBad/bin/Debug/2_4_GoodVsBad.pdb deleted file mode 100644 index 3e5355a..0000000 Binary files a/Task_1_Basics/2_4_GoodVsBad/bin/Debug/2_4_GoodVsBad.pdb and /dev/null differ diff --git a/Task_1_Basics/2_4_GoodVsBad/obj/Debug/2_4_GoodVsBad.csproj.FileListAbsolute.txt b/Task_1_Basics/2_4_GoodVsBad/obj/Debug/2_4_GoodVsBad.csproj.FileListAbsolute.txt deleted file mode 100644 index 9e219ac..0000000 --- a/Task_1_Basics/2_4_GoodVsBad/obj/Debug/2_4_GoodVsBad.csproj.FileListAbsolute.txt +++ /dev/null @@ -1,10 +0,0 @@ -c:\users\головко\documents\visual studio 2015\Projects\Task_1_Basics\2_4_GoodVsBad\bin\Debug\2_4_GoodVsBad.exe.config -c:\users\головко\documents\visual studio 2015\Projects\Task_1_Basics\2_4_GoodVsBad\bin\Debug\2_4_GoodVsBad.exe -c:\users\головко\documents\visual studio 2015\Projects\Task_1_Basics\2_4_GoodVsBad\bin\Debug\2_4_GoodVsBad.pdb -c:\users\головко\documents\visual studio 2015\Projects\Task_1_Basics\2_4_GoodVsBad\obj\Debug\2_4_GoodVsBad.exe -c:\users\головко\documents\visual studio 2015\Projects\Task_1_Basics\2_4_GoodVsBad\obj\Debug\2_4_GoodVsBad.pdb -C:\Users\Головко\Desktop\Task_1_Basics\2_4_GoodVsBad\bin\Debug\2_4_GoodVsBad.exe.config -C:\Users\Головко\Desktop\Task_1_Basics\2_4_GoodVsBad\bin\Debug\2_4_GoodVsBad.exe -C:\Users\Головко\Desktop\Task_1_Basics\2_4_GoodVsBad\bin\Debug\2_4_GoodVsBad.pdb -C:\Users\Головко\Desktop\Task_1_Basics\2_4_GoodVsBad\obj\Debug\2_4_GoodVsBad.exe -C:\Users\Головко\Desktop\Task_1_Basics\2_4_GoodVsBad\obj\Debug\2_4_GoodVsBad.pdb diff --git a/Task_1_Basics/2_4_GoodVsBad/obj/Debug/2_4_GoodVsBad.exe b/Task_1_Basics/2_4_GoodVsBad/obj/Debug/2_4_GoodVsBad.exe deleted file mode 100644 index 1dff08f..0000000 Binary files a/Task_1_Basics/2_4_GoodVsBad/obj/Debug/2_4_GoodVsBad.exe and /dev/null differ diff --git a/Task_1_Basics/2_4_GoodVsBad/obj/Debug/2_4_GoodVsBad.pdb b/Task_1_Basics/2_4_GoodVsBad/obj/Debug/2_4_GoodVsBad.pdb deleted file mode 100644 index 3e5355a..0000000 Binary files a/Task_1_Basics/2_4_GoodVsBad/obj/Debug/2_4_GoodVsBad.pdb and /dev/null differ diff --git a/Task_1_Basics/2_4_GoodVsBad/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/Task_1_Basics/2_4_GoodVsBad/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache deleted file mode 100644 index caf036d..0000000 Binary files a/Task_1_Basics/2_4_GoodVsBad/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache and /dev/null differ diff --git a/Task_1_Basics/2_5_DayOfWeek/2_5_DayOfWeek.csproj b/Task_1_Basics/2_5_DayOfWeek/2_5_DayOfWeek.csproj deleted file mode 100644 index b93ffb8..0000000 --- a/Task_1_Basics/2_5_DayOfWeek/2_5_DayOfWeek.csproj +++ /dev/null @@ -1,63 +0,0 @@ - - - - - Debug - AnyCPU - {2989914B-6552-40E8-AE52-6C2E61117EE8} - Exe - Properties - _2_5_DayOfWeek - 2_5_DayOfWeek - v4.5.2 - 512 - true - - - AnyCPU - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - AnyCPU - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/Task_1_Basics/2_5_DayOfWeek/Day.cs b/Task_1_Basics/2_5_DayOfWeek/Day.cs deleted file mode 100644 index cff15d9..0000000 --- a/Task_1_Basics/2_5_DayOfWeek/Day.cs +++ /dev/null @@ -1,17 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace _2_5_DayOfWeek -{ - class Day : IDay - { - public string GetName(DayName day) - { - if ((byte)day < 1 || (byte)day > 7 ) return "This day name doesn't exist"; - return day.ToString(); - } - } -} diff --git a/Task_1_Basics/2_5_DayOfWeek/DayName.cs b/Task_1_Basics/2_5_DayOfWeek/DayName.cs deleted file mode 100644 index bd42880..0000000 --- a/Task_1_Basics/2_5_DayOfWeek/DayName.cs +++ /dev/null @@ -1,19 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace _2_5_DayOfWeek -{ - enum DayName : byte - { - Monday = 1, - Tuesday, - Wednesday, - Thursday, - Friday, - Seturday, - Sunday - } -} diff --git a/Task_1_Basics/2_5_DayOfWeek/IDay.cs b/Task_1_Basics/2_5_DayOfWeek/IDay.cs deleted file mode 100644 index 6ee7181..0000000 --- a/Task_1_Basics/2_5_DayOfWeek/IDay.cs +++ /dev/null @@ -1,13 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace _2_5_DayOfWeek -{ - interface IDay - { - string GetName(DayName day); - } -} diff --git a/Task_1_Basics/2_5_DayOfWeek/Program.cs b/Task_1_Basics/2_5_DayOfWeek/Program.cs deleted file mode 100644 index d5c38db..0000000 --- a/Task_1_Basics/2_5_DayOfWeek/Program.cs +++ /dev/null @@ -1,19 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace _2_5_DayOfWeek -{ - class Program - { - static void Main(string[] args) - { - IDay day = new Day(); - Console.WriteLine("Enter the week's day number:"); - Console.WriteLine("This is {0}", day.GetName((DayName)Convert.ToByte(Console.ReadLine()))); - Console.ReadKey(); - } - } -} diff --git a/Task_1_Basics/2_5_DayOfWeek/Properties/AssemblyInfo.cs b/Task_1_Basics/2_5_DayOfWeek/Properties/AssemblyInfo.cs deleted file mode 100644 index 7bb04ae..0000000 --- a/Task_1_Basics/2_5_DayOfWeek/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,36 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// Управление общими сведениями о сборке осуществляется с помощью -// набора атрибутов. Измените значения этих атрибутов, чтобы изменить сведения, -// связанные со сборкой. -[assembly: AssemblyTitle("2_5_DayOfWeek")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("2_5_DayOfWeek")] -[assembly: AssemblyCopyright("Copyright © 2016")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// Параметр ComVisible со значением FALSE делает типы в сборке невидимыми -// для COM-компонентов. Если требуется обратиться к типу в этой сборке через -// COM, задайте атрибуту ComVisible значение TRUE для этого типа. -[assembly: ComVisible(false)] - -// Следующий GUID служит для идентификации библиотеки типов, если этот проект будет видимым для COM -[assembly: Guid("2989914b-6552-40e8-ae52-6c2e61117ee8")] - -// Сведения о версии сборки состоят из следующих четырех значений: -// -// Основной номер версии -// Дополнительный номер версии -// Номер сборки -// Редакция -// -// Можно задать все значения или принять номера сборки и редакции по умолчанию -// используя "*", как показано ниже: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/Task_1_Basics/2_5_DayOfWeek/bin/Debug/2_5_DayOfWeek.exe b/Task_1_Basics/2_5_DayOfWeek/bin/Debug/2_5_DayOfWeek.exe deleted file mode 100644 index 18f0119..0000000 Binary files a/Task_1_Basics/2_5_DayOfWeek/bin/Debug/2_5_DayOfWeek.exe and /dev/null differ diff --git a/Task_1_Basics/2_5_DayOfWeek/bin/Debug/2_5_DayOfWeek.pdb b/Task_1_Basics/2_5_DayOfWeek/bin/Debug/2_5_DayOfWeek.pdb deleted file mode 100644 index 9cf393e..0000000 Binary files a/Task_1_Basics/2_5_DayOfWeek/bin/Debug/2_5_DayOfWeek.pdb and /dev/null differ diff --git a/Task_1_Basics/2_5_DayOfWeek/obj/Debug/2_5_DayOfWeek.csproj.FileListAbsolute.txt b/Task_1_Basics/2_5_DayOfWeek/obj/Debug/2_5_DayOfWeek.csproj.FileListAbsolute.txt deleted file mode 100644 index 3cff242..0000000 --- a/Task_1_Basics/2_5_DayOfWeek/obj/Debug/2_5_DayOfWeek.csproj.FileListAbsolute.txt +++ /dev/null @@ -1,10 +0,0 @@ -c:\users\головко\documents\visual studio 2015\Projects\Task_1_Basics\2_5_DayOfWeek\bin\Debug\2_5_DayOfWeek.exe.config -c:\users\головко\documents\visual studio 2015\Projects\Task_1_Basics\2_5_DayOfWeek\bin\Debug\2_5_DayOfWeek.exe -c:\users\головко\documents\visual studio 2015\Projects\Task_1_Basics\2_5_DayOfWeek\bin\Debug\2_5_DayOfWeek.pdb -c:\users\головко\documents\visual studio 2015\Projects\Task_1_Basics\2_5_DayOfWeek\obj\Debug\2_5_DayOfWeek.exe -c:\users\головко\documents\visual studio 2015\Projects\Task_1_Basics\2_5_DayOfWeek\obj\Debug\2_5_DayOfWeek.pdb -C:\Users\Головко\Desktop\Task_1_Basics\2_5_DayOfWeek\bin\Debug\2_5_DayOfWeek.exe.config -C:\Users\Головко\Desktop\Task_1_Basics\2_5_DayOfWeek\obj\Debug\2_5_DayOfWeek.exe -C:\Users\Головко\Desktop\Task_1_Basics\2_5_DayOfWeek\obj\Debug\2_5_DayOfWeek.pdb -C:\Users\Головко\Desktop\Task_1_Basics\2_5_DayOfWeek\bin\Debug\2_5_DayOfWeek.exe -C:\Users\Головко\Desktop\Task_1_Basics\2_5_DayOfWeek\bin\Debug\2_5_DayOfWeek.pdb diff --git a/Task_1_Basics/2_5_DayOfWeek/obj/Debug/2_5_DayOfWeek.exe b/Task_1_Basics/2_5_DayOfWeek/obj/Debug/2_5_DayOfWeek.exe deleted file mode 100644 index 18f0119..0000000 Binary files a/Task_1_Basics/2_5_DayOfWeek/obj/Debug/2_5_DayOfWeek.exe and /dev/null differ diff --git a/Task_1_Basics/2_5_DayOfWeek/obj/Debug/2_5_DayOfWeek.pdb b/Task_1_Basics/2_5_DayOfWeek/obj/Debug/2_5_DayOfWeek.pdb deleted file mode 100644 index 9cf393e..0000000 Binary files a/Task_1_Basics/2_5_DayOfWeek/obj/Debug/2_5_DayOfWeek.pdb and /dev/null differ diff --git a/Task_1_Basics/2_5_DayOfWeek/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/Task_1_Basics/2_5_DayOfWeek/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache deleted file mode 100644 index 7e30cf0..0000000 Binary files a/Task_1_Basics/2_5_DayOfWeek/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache and /dev/null differ diff --git a/Task_1_Basics/2_6_Taxi/2_6_Taxi.csproj b/Task_1_Basics/2_6_Taxi/2_6_Taxi.csproj deleted file mode 100644 index cd652c2..0000000 --- a/Task_1_Basics/2_6_Taxi/2_6_Taxi.csproj +++ /dev/null @@ -1,64 +0,0 @@ - - - - - Debug - AnyCPU - {722B5DF2-2531-44FD-B8D2-D535CB8F9137} - Exe - Properties - _2_6_Taxi - 2_6_Taxi - v4.5.2 - 512 - true - - - AnyCPU - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - AnyCPU - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/Task_1_Basics/2_6_Taxi/ITarif.cs b/Task_1_Basics/2_6_Taxi/ITarif.cs deleted file mode 100644 index d071f11..0000000 --- a/Task_1_Basics/2_6_Taxi/ITarif.cs +++ /dev/null @@ -1,16 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace _2_6_Taxi -{ - interface ITarif - { - double MaxPaidDistance { get; set; } - double MaxPaidTarif { get; set; } - double PaidTarif { get; set; } - double DelayTarif { get; set; } - } -} diff --git a/Task_1_Basics/2_6_Taxi/ITaxi.cs b/Task_1_Basics/2_6_Taxi/ITaxi.cs deleted file mode 100644 index f9dffbc..0000000 --- a/Task_1_Basics/2_6_Taxi/ITaxi.cs +++ /dev/null @@ -1,16 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace _2_6_Taxi -{ - interface ITaxi - { - double Distance { get; set; } - double Delay { get; set; } - Tarif Tarif { get; } - double Payment { get; } - } -} diff --git a/Task_1_Basics/2_6_Taxi/Program.cs b/Task_1_Basics/2_6_Taxi/Program.cs deleted file mode 100644 index d00f751..0000000 --- a/Task_1_Basics/2_6_Taxi/Program.cs +++ /dev/null @@ -1,23 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace _2_6_Taxi -{ - class Program - { - static void Main(string[] args) - { - ITarif tarif = new Tarif(5, 20, 3, 1); - Console.WriteLine("Enter the distance, please:"); - double distance = double.Parse(Console.ReadLine()); - Console.WriteLine("Enter the delay, please:"); - double delay = double.Parse(Console.ReadLine()); - ITaxi taxi = new Taxi(distance, delay, (Tarif)tarif); - Console.WriteLine("Your payment for taxi using is {0} uah", taxi.Payment); - Console.ReadKey(); - } - } -} diff --git a/Task_1_Basics/2_6_Taxi/Properties/AssemblyInfo.cs b/Task_1_Basics/2_6_Taxi/Properties/AssemblyInfo.cs deleted file mode 100644 index 9ade4c4..0000000 --- a/Task_1_Basics/2_6_Taxi/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,36 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -[assembly: AssemblyTitle("2_6_Taxi")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("2_6_Taxi")] -[assembly: AssemblyCopyright("Copyright © 2016")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. -[assembly: ComVisible(false)] - -// The following GUID is for the ID of the typelib if this project is exposed to COM -[assembly: Guid("722b5df2-2531-44fd-b8d2-d535cb8f9137")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Build and Revision Numbers -// by using the '*' as shown below: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/Task_1_Basics/2_6_Taxi/Tarif.cs b/Task_1_Basics/2_6_Taxi/Tarif.cs deleted file mode 100644 index 4c4000a..0000000 --- a/Task_1_Basics/2_6_Taxi/Tarif.cs +++ /dev/null @@ -1,23 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace _2_6_Taxi -{ - struct Tarif : ITarif - { - public double MaxPaidDistance { get; set; } - public double MaxPaidTarif { get; set; } - public double PaidTarif { get; set; } - public double DelayTarif { get; set; } - public Tarif(double maxPaidDistance, double maxPaidTarif, double paidTarif, double delayTarif) - { - this.MaxPaidDistance = maxPaidDistance; - this.MaxPaidTarif = maxPaidTarif; - this.PaidTarif = paidTarif; - this.DelayTarif = delayTarif; - } - } -} diff --git a/Task_1_Basics/2_6_Taxi/Taxi.cs b/Task_1_Basics/2_6_Taxi/Taxi.cs deleted file mode 100644 index e6add56..0000000 --- a/Task_1_Basics/2_6_Taxi/Taxi.cs +++ /dev/null @@ -1,30 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace _2_6_Taxi -{ - class Taxi : ITaxi - { - public double Distance { get; set; } - public double Delay { get; set; } - public Tarif Tarif { get; } - public double Payment - { - get - { - return Distance > Tarif.MaxPaidDistance ? - Tarif.MaxPaidDistance * Tarif.MaxPaidTarif + (Distance - Tarif.MaxPaidDistance) * Tarif.PaidTarif + Delay * Tarif.DelayTarif : - Distance * Tarif.MaxPaidTarif + Delay * Tarif.DelayTarif; - } - } - public Taxi(double distance, double delay, Tarif tarif) - { - this.Distance = distance; - this.Delay = delay; - this.Tarif = tarif; - } - } -} diff --git a/Task_1_Basics/2_6_Taxi/bin/Debug/2_6_Taxi.exe b/Task_1_Basics/2_6_Taxi/bin/Debug/2_6_Taxi.exe deleted file mode 100644 index fb56ffb..0000000 Binary files a/Task_1_Basics/2_6_Taxi/bin/Debug/2_6_Taxi.exe and /dev/null differ diff --git a/Task_1_Basics/2_6_Taxi/bin/Debug/2_6_Taxi.pdb b/Task_1_Basics/2_6_Taxi/bin/Debug/2_6_Taxi.pdb deleted file mode 100644 index 9e05707..0000000 Binary files a/Task_1_Basics/2_6_Taxi/bin/Debug/2_6_Taxi.pdb and /dev/null differ diff --git a/Task_1_Basics/2_6_Taxi/obj/Debug/2_6_Taxi.csproj.FileListAbsolute.txt b/Task_1_Basics/2_6_Taxi/obj/Debug/2_6_Taxi.csproj.FileListAbsolute.txt deleted file mode 100644 index e6ff30e..0000000 --- a/Task_1_Basics/2_6_Taxi/obj/Debug/2_6_Taxi.csproj.FileListAbsolute.txt +++ /dev/null @@ -1,5 +0,0 @@ -C:\Users\Головко\Desktop\Task_1_Basics\2_6_Taxi\bin\Debug\2_6_Taxi.exe.config -C:\Users\Головко\Desktop\Task_1_Basics\2_6_Taxi\bin\Debug\2_6_Taxi.exe -C:\Users\Головко\Desktop\Task_1_Basics\2_6_Taxi\bin\Debug\2_6_Taxi.pdb -C:\Users\Головко\Desktop\Task_1_Basics\2_6_Taxi\obj\Debug\2_6_Taxi.exe -C:\Users\Головко\Desktop\Task_1_Basics\2_6_Taxi\obj\Debug\2_6_Taxi.pdb diff --git a/Task_1_Basics/2_6_Taxi/obj/Debug/2_6_Taxi.exe b/Task_1_Basics/2_6_Taxi/obj/Debug/2_6_Taxi.exe deleted file mode 100644 index fb56ffb..0000000 Binary files a/Task_1_Basics/2_6_Taxi/obj/Debug/2_6_Taxi.exe and /dev/null differ diff --git a/Task_1_Basics/2_6_Taxi/obj/Debug/2_6_Taxi.pdb b/Task_1_Basics/2_6_Taxi/obj/Debug/2_6_Taxi.pdb deleted file mode 100644 index 9e05707..0000000 Binary files a/Task_1_Basics/2_6_Taxi/obj/Debug/2_6_Taxi.pdb and /dev/null differ diff --git a/Task_1_Basics/2_6_Taxi/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/Task_1_Basics/2_6_Taxi/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache deleted file mode 100644 index c501599..0000000 Binary files a/Task_1_Basics/2_6_Taxi/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache and /dev/null differ diff --git a/Task_1_Basics/2_7_SimpleNumber/2_7_SimpleNumber.csproj b/Task_1_Basics/2_7_SimpleNumber/2_7_SimpleNumber.csproj deleted file mode 100644 index 10fced0..0000000 --- a/Task_1_Basics/2_7_SimpleNumber/2_7_SimpleNumber.csproj +++ /dev/null @@ -1,62 +0,0 @@ - - - - - Debug - AnyCPU - {40F4F834-264B-48D1-BAB5-F3877771B9FA} - Exe - Properties - _2_7_SimpleNumber - 2_7_SimpleNumber - v4.5.2 - 512 - true - - - AnyCPU - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - AnyCPU - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/Task_1_Basics/2_7_SimpleNumber/INaturalNumber.cs b/Task_1_Basics/2_7_SimpleNumber/INaturalNumber.cs deleted file mode 100644 index 6c34865..0000000 --- a/Task_1_Basics/2_7_SimpleNumber/INaturalNumber.cs +++ /dev/null @@ -1,14 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace _2_7_SimpleNumber -{ - interface INaturalNumber - { - int Number { get; set; } - bool IsSimple(); - } -} diff --git a/Task_1_Basics/2_7_SimpleNumber/NaturalNumber.cs b/Task_1_Basics/2_7_SimpleNumber/NaturalNumber.cs deleted file mode 100644 index fd0f8bf..0000000 --- a/Task_1_Basics/2_7_SimpleNumber/NaturalNumber.cs +++ /dev/null @@ -1,30 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace _2_7_SimpleNumber -{ - class NaturalNumber : INaturalNumber - { - public int Number {get; set;} - public NaturalNumber(int number) - { - this.Number = number; - } - public bool IsSimple() - { - bool isSimple = true; - for (int i = 2; i < Number / 2; i++) - { - if (Number % i == 0) - { - isSimple = false; - break; - } - } - return isSimple; - } - } -} diff --git a/Task_1_Basics/2_7_SimpleNumber/Program.cs b/Task_1_Basics/2_7_SimpleNumber/Program.cs deleted file mode 100644 index 09d9429..0000000 --- a/Task_1_Basics/2_7_SimpleNumber/Program.cs +++ /dev/null @@ -1,20 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace _2_7_SimpleNumber -{ - class Program - { - static void Main(string[] args) - { - Console.WriteLine("Enter natural number, please:"); - int number = int.Parse(Console.ReadLine()); - INaturalNumber natNumber = new NaturalNumber(number); - Console.WriteLine(natNumber.IsSimple() ? "The number is simple" : "The number isn't simple"); - Console.ReadLine(); - } - } -} diff --git a/Task_1_Basics/2_7_SimpleNumber/Properties/AssemblyInfo.cs b/Task_1_Basics/2_7_SimpleNumber/Properties/AssemblyInfo.cs deleted file mode 100644 index 55b811a..0000000 --- a/Task_1_Basics/2_7_SimpleNumber/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,36 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -[assembly: AssemblyTitle("2_7_SimpleNumber")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("2_7_SimpleNumber")] -[assembly: AssemblyCopyright("Copyright © 2016")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. -[assembly: ComVisible(false)] - -// The following GUID is for the ID of the typelib if this project is exposed to COM -[assembly: Guid("40f4f834-264b-48d1-bab5-f3877771b9fa")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Build and Revision Numbers -// by using the '*' as shown below: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/Task_1_Basics/2_7_SimpleNumber/bin/Debug/2_7_SimpleNumber.exe b/Task_1_Basics/2_7_SimpleNumber/bin/Debug/2_7_SimpleNumber.exe deleted file mode 100644 index 43e04e8..0000000 Binary files a/Task_1_Basics/2_7_SimpleNumber/bin/Debug/2_7_SimpleNumber.exe and /dev/null differ diff --git a/Task_1_Basics/2_7_SimpleNumber/bin/Debug/2_7_SimpleNumber.pdb b/Task_1_Basics/2_7_SimpleNumber/bin/Debug/2_7_SimpleNumber.pdb deleted file mode 100644 index 3680f74..0000000 Binary files a/Task_1_Basics/2_7_SimpleNumber/bin/Debug/2_7_SimpleNumber.pdb and /dev/null differ diff --git a/Task_1_Basics/2_7_SimpleNumber/obj/Debug/2_7_SimpleNumber.csproj.FileListAbsolute.txt b/Task_1_Basics/2_7_SimpleNumber/obj/Debug/2_7_SimpleNumber.csproj.FileListAbsolute.txt deleted file mode 100644 index 6d75208..0000000 --- a/Task_1_Basics/2_7_SimpleNumber/obj/Debug/2_7_SimpleNumber.csproj.FileListAbsolute.txt +++ /dev/null @@ -1,5 +0,0 @@ -C:\Users\Головко\Desktop\Task_1_Basics\2_7_SimpleNumber\bin\Debug\2_7_SimpleNumber.exe.config -C:\Users\Головко\Desktop\Task_1_Basics\2_7_SimpleNumber\bin\Debug\2_7_SimpleNumber.exe -C:\Users\Головко\Desktop\Task_1_Basics\2_7_SimpleNumber\bin\Debug\2_7_SimpleNumber.pdb -C:\Users\Головко\Desktop\Task_1_Basics\2_7_SimpleNumber\obj\Debug\2_7_SimpleNumber.exe -C:\Users\Головко\Desktop\Task_1_Basics\2_7_SimpleNumber\obj\Debug\2_7_SimpleNumber.pdb diff --git a/Task_1_Basics/2_7_SimpleNumber/obj/Debug/2_7_SimpleNumber.exe b/Task_1_Basics/2_7_SimpleNumber/obj/Debug/2_7_SimpleNumber.exe deleted file mode 100644 index 43e04e8..0000000 Binary files a/Task_1_Basics/2_7_SimpleNumber/obj/Debug/2_7_SimpleNumber.exe and /dev/null differ diff --git a/Task_1_Basics/2_7_SimpleNumber/obj/Debug/2_7_SimpleNumber.pdb b/Task_1_Basics/2_7_SimpleNumber/obj/Debug/2_7_SimpleNumber.pdb deleted file mode 100644 index 3680f74..0000000 Binary files a/Task_1_Basics/2_7_SimpleNumber/obj/Debug/2_7_SimpleNumber.pdb and /dev/null differ diff --git a/Task_1_Basics/2_7_SimpleNumber/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/Task_1_Basics/2_7_SimpleNumber/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache deleted file mode 100644 index 69b6f54..0000000 Binary files a/Task_1_Basics/2_7_SimpleNumber/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache and /dev/null differ diff --git a/Task_1_Basics/2_8_Lottery/2_8_Lottery.csproj b/Task_1_Basics/2_8_Lottery/2_8_Lottery.csproj deleted file mode 100644 index 819b52f..0000000 --- a/Task_1_Basics/2_8_Lottery/2_8_Lottery.csproj +++ /dev/null @@ -1,65 +0,0 @@ - - - - - Debug - AnyCPU - {A068AC42-233C-4473-A202-7C0AEB185AC8} - Exe - Properties - _2_8_Lottery - 2_8_Lottery - v4.5.2 - 512 - true - - - AnyCPU - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - AnyCPU - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/Task_1_Basics/2_8_Lottery/Cube.cs b/Task_1_Basics/2_8_Lottery/Cube.cs deleted file mode 100644 index a4e123f..0000000 --- a/Task_1_Basics/2_8_Lottery/Cube.cs +++ /dev/null @@ -1,21 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace _2_8_Lottery -{ - class Cube : ICube - { - private readonly int grainsCount; - public Cube(int grainsCount) - { - this.grainsCount = grainsCount; - } - public int Throw() - { - return Generator.Generate(1, grainsCount); - } - } -} diff --git a/Task_1_Basics/2_8_Lottery/Game.cs b/Task_1_Basics/2_8_Lottery/Game.cs deleted file mode 100644 index 6a73bfa..0000000 --- a/Task_1_Basics/2_8_Lottery/Game.cs +++ /dev/null @@ -1,30 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace _2_8_Lottery -{ - class Game : IGame - { - private const int grains = 12; - private readonly ICube cube; - public int Rate { get; } - public Game(int rate) - { - this.Rate = rate; - cube = new Cube(grains); - } - public string Play() - { - string result; - int points = cube.Throw(); - if (points < 6) result = points + " points. You won 0 uah. Game over."; - else if (points < 9) result = points + " points. You won " + Rate + " uah"; - else if (points < 12) result = points + " points. You won " + 2 * Rate + " uah"; - else result = points + " points. You won " + 10 * Rate + " uah"; - return result; - } - } -} diff --git a/Task_1_Basics/2_8_Lottery/Generator.cs b/Task_1_Basics/2_8_Lottery/Generator.cs deleted file mode 100644 index 22d5bd1..0000000 --- a/Task_1_Basics/2_8_Lottery/Generator.cs +++ /dev/null @@ -1,26 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace _2_8_Lottery -{ - static class Generator - { - private static readonly Random rnd; - private static readonly object syncLocker; - static Generator() - { - rnd = new Random(DateTime.Now.Millisecond); - syncLocker = new object(); - } - public static int Generate(int min, int max) - { - lock(syncLocker) - { - return rnd.Next(min, max); - } - } - } -} diff --git a/Task_1_Basics/2_8_Lottery/ICube.cs b/Task_1_Basics/2_8_Lottery/ICube.cs deleted file mode 100644 index 7c56a25..0000000 --- a/Task_1_Basics/2_8_Lottery/ICube.cs +++ /dev/null @@ -1,13 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace _2_8_Lottery -{ - interface ICube - { - int Throw(); - } -} diff --git a/Task_1_Basics/2_8_Lottery/IGame.cs b/Task_1_Basics/2_8_Lottery/IGame.cs deleted file mode 100644 index 07187cb..0000000 --- a/Task_1_Basics/2_8_Lottery/IGame.cs +++ /dev/null @@ -1,14 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace _2_8_Lottery -{ - interface IGame - { - int Rate { get; } - string Play(); - } -} diff --git a/Task_1_Basics/2_8_Lottery/Program.cs b/Task_1_Basics/2_8_Lottery/Program.cs deleted file mode 100644 index 85f5720..0000000 --- a/Task_1_Basics/2_8_Lottery/Program.cs +++ /dev/null @@ -1,20 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace _2_8_Lottery -{ - class Program - { - static void Main(string[] args) - { - Console.WriteLine("Make your RATE:"); - int rate = int.Parse(Console.ReadLine()); - IGame game = new Game(rate); - Console.WriteLine(game.Play()); - Console.ReadKey(); - } - } -} diff --git a/Task_1_Basics/2_8_Lottery/Properties/AssemblyInfo.cs b/Task_1_Basics/2_8_Lottery/Properties/AssemblyInfo.cs deleted file mode 100644 index 1efbd26..0000000 --- a/Task_1_Basics/2_8_Lottery/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,36 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -[assembly: AssemblyTitle("2_8_Lottery")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("2_8_Lottery")] -[assembly: AssemblyCopyright("Copyright © 2016")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. -[assembly: ComVisible(false)] - -// The following GUID is for the ID of the typelib if this project is exposed to COM -[assembly: Guid("a068ac42-233c-4473-a202-7c0aeb185ac8")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Build and Revision Numbers -// by using the '*' as shown below: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/Task_1_Basics/2_8_Lottery/bin/Debug/2_8_Lottery.exe b/Task_1_Basics/2_8_Lottery/bin/Debug/2_8_Lottery.exe deleted file mode 100644 index 4563b8e..0000000 Binary files a/Task_1_Basics/2_8_Lottery/bin/Debug/2_8_Lottery.exe and /dev/null differ diff --git a/Task_1_Basics/2_8_Lottery/bin/Debug/2_8_Lottery.pdb b/Task_1_Basics/2_8_Lottery/bin/Debug/2_8_Lottery.pdb deleted file mode 100644 index d9e1385..0000000 Binary files a/Task_1_Basics/2_8_Lottery/bin/Debug/2_8_Lottery.pdb and /dev/null differ diff --git a/Task_1_Basics/2_8_Lottery/obj/Debug/2_8_Lottery.csproj.FileListAbsolute.txt b/Task_1_Basics/2_8_Lottery/obj/Debug/2_8_Lottery.csproj.FileListAbsolute.txt deleted file mode 100644 index c2a2645..0000000 --- a/Task_1_Basics/2_8_Lottery/obj/Debug/2_8_Lottery.csproj.FileListAbsolute.txt +++ /dev/null @@ -1,5 +0,0 @@ -C:\Users\Головко\Desktop\Task_1_Basics\2_8_Lottery\bin\Debug\2_8_Lottery.exe.config -C:\Users\Головко\Desktop\Task_1_Basics\2_8_Lottery\bin\Debug\2_8_Lottery.exe -C:\Users\Головко\Desktop\Task_1_Basics\2_8_Lottery\bin\Debug\2_8_Lottery.pdb -C:\Users\Головко\Desktop\Task_1_Basics\2_8_Lottery\obj\Debug\2_8_Lottery.exe -C:\Users\Головко\Desktop\Task_1_Basics\2_8_Lottery\obj\Debug\2_8_Lottery.pdb diff --git a/Task_1_Basics/2_8_Lottery/obj/Debug/2_8_Lottery.exe b/Task_1_Basics/2_8_Lottery/obj/Debug/2_8_Lottery.exe deleted file mode 100644 index 4563b8e..0000000 Binary files a/Task_1_Basics/2_8_Lottery/obj/Debug/2_8_Lottery.exe and /dev/null differ diff --git a/Task_1_Basics/2_8_Lottery/obj/Debug/2_8_Lottery.pdb b/Task_1_Basics/2_8_Lottery/obj/Debug/2_8_Lottery.pdb deleted file mode 100644 index d9e1385..0000000 Binary files a/Task_1_Basics/2_8_Lottery/obj/Debug/2_8_Lottery.pdb and /dev/null differ diff --git a/Task_1_Basics/2_8_Lottery/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/Task_1_Basics/2_8_Lottery/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache deleted file mode 100644 index 3750f86..0000000 Binary files a/Task_1_Basics/2_8_Lottery/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache and /dev/null differ diff --git a/Task_1_Basics/2_9_CurrencyExchanger/2_9_CurrencyExchanger.csproj b/Task_1_Basics/2_9_CurrencyExchanger/2_9_CurrencyExchanger.csproj deleted file mode 100644 index 8540493..0000000 --- a/Task_1_Basics/2_9_CurrencyExchanger/2_9_CurrencyExchanger.csproj +++ /dev/null @@ -1,66 +0,0 @@ - - - - - Debug - AnyCPU - {04D1A851-6A61-414B-965E-6D83B9C020BA} - Exe - Properties - _2_9_CurrencyExchanger - 2_9_CurrencyExchanger - v4.5.2 - 512 - true - - - AnyCPU - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - AnyCPU - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/Task_1_Basics/2_9_CurrencyExchanger/Currency.cs b/Task_1_Basics/2_9_CurrencyExchanger/Currency.cs deleted file mode 100644 index e461932..0000000 --- a/Task_1_Basics/2_9_CurrencyExchanger/Currency.cs +++ /dev/null @@ -1,21 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace _2_9_CurrencyExchanger -{ - class Currency : ICurrency - { - public string Name { get; } - public double Buy { get; } - public double Sell { get; } - public Currency(string name, double buy, double sell) - { - this.Name = name; - this.Buy = buy; - this.Sell = sell; - } - } -} diff --git a/Task_1_Basics/2_9_CurrencyExchanger/Exchanger.cs b/Task_1_Basics/2_9_CurrencyExchanger/Exchanger.cs deleted file mode 100644 index 074c5df..0000000 --- a/Task_1_Basics/2_9_CurrencyExchanger/Exchanger.cs +++ /dev/null @@ -1,16 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace _2_9_CurrencyExchanger -{ - static class Exchanger - { - public static double Exchange(Currency currencyFrom, Currency currencyTo, double volume, Type type) - { - return type > 0 ? volume * currencyFrom.Buy / currencyTo.Buy : volume * currencyFrom.Sell / currencyTo.Sell; - } - } -} diff --git a/Task_1_Basics/2_9_CurrencyExchanger/ICurrency.cs b/Task_1_Basics/2_9_CurrencyExchanger/ICurrency.cs deleted file mode 100644 index 9e351a3..0000000 --- a/Task_1_Basics/2_9_CurrencyExchanger/ICurrency.cs +++ /dev/null @@ -1,15 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace _2_9_CurrencyExchanger -{ - interface ICurrency - { - string Name { get; } - double Sell { get; } - double Buy { get; } - } -} diff --git a/Task_1_Basics/2_9_CurrencyExchanger/IMoneyExchanger.cs b/Task_1_Basics/2_9_CurrencyExchanger/IMoneyExchanger.cs deleted file mode 100644 index 5e9911c..0000000 --- a/Task_1_Basics/2_9_CurrencyExchanger/IMoneyExchanger.cs +++ /dev/null @@ -1,15 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace _2_9_CurrencyExchanger -{ - interface IMoneyExchanger - { - void Add(Currency currency); - void Exchange(Currency currency, double volume, Type type); - Currency GetCurrencyByName(string name); - } -} diff --git a/Task_1_Basics/2_9_CurrencyExchanger/MoneyExchanger.cs b/Task_1_Basics/2_9_CurrencyExchanger/MoneyExchanger.cs deleted file mode 100644 index 8ee3274..0000000 --- a/Task_1_Basics/2_9_CurrencyExchanger/MoneyExchanger.cs +++ /dev/null @@ -1,40 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace _2_9_CurrencyExchanger -{ - class MoneyExchanger : IMoneyExchanger - { - private readonly List currencies; - public MoneyExchanger() - { - currencies = new List(); - } - public void Add(Currency currency) - { - currencies.Add(currency); - } - public void Exchange(Currency currency, double volume, Type type) - { - foreach (Currency curr in currencies) - { - if (currency.Name == curr.Name) continue; - Console.WriteLine("{0} -> {1} = {2}", currency.Name, curr.Name, Exchanger.Exchange(currency, curr, volume, type)); - } - } - public Currency GetCurrencyByName(string name) - { - Currency resCurrency = null; - foreach (Currency currency in currencies) - { - if (currency.Name == name) resCurrency = currency; - } - return resCurrency; - } - - - } -} diff --git a/Task_1_Basics/2_9_CurrencyExchanger/Program.cs b/Task_1_Basics/2_9_CurrencyExchanger/Program.cs deleted file mode 100644 index 1d41129..0000000 --- a/Task_1_Basics/2_9_CurrencyExchanger/Program.cs +++ /dev/null @@ -1,30 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace _2_9_CurrencyExchanger -{ - class Program - { - static void Main(string[] args) - { - IMoneyExchanger exchanger = new MoneyExchanger(); - exchanger.Add(new Currency("UAH", 1, 1)); - exchanger.Add(new Currency("USD", 26.11, 26.38)); - exchanger.Add(new Currency("EUR", 29.25, 29.52)); - Console.WriteLine("Enter the currency (UAH, USD, EUR):"); - Currency baseCurrency = exchanger.GetCurrencyByName(Console.ReadLine()); - if (baseCurrency == null) - Console.WriteLine("Currency isn't exist"); - else - { - Console.WriteLine("Enter the volume:"); - double volume = double.Parse(Console.ReadLine()); - exchanger.Exchange(baseCurrency, volume, Type.Sell); - } - Console.ReadKey(); - } - } -} diff --git a/Task_1_Basics/2_9_CurrencyExchanger/Properties/AssemblyInfo.cs b/Task_1_Basics/2_9_CurrencyExchanger/Properties/AssemblyInfo.cs deleted file mode 100644 index 18cca54..0000000 --- a/Task_1_Basics/2_9_CurrencyExchanger/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,36 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -[assembly: AssemblyTitle("2_9_CurrencyExchanger")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("2_9_CurrencyExchanger")] -[assembly: AssemblyCopyright("Copyright © 2016")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. -[assembly: ComVisible(false)] - -// The following GUID is for the ID of the typelib if this project is exposed to COM -[assembly: Guid("04d1a851-6a61-414b-965e-6d83b9c020ba")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Build and Revision Numbers -// by using the '*' as shown below: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/Task_1_Basics/2_9_CurrencyExchanger/Type.cs b/Task_1_Basics/2_9_CurrencyExchanger/Type.cs deleted file mode 100644 index 88f59d2..0000000 --- a/Task_1_Basics/2_9_CurrencyExchanger/Type.cs +++ /dev/null @@ -1,14 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace _2_9_CurrencyExchanger -{ - enum Type : byte - { - Sell, - Buy - } -} diff --git a/Task_1_Basics/2_9_CurrencyExchanger/bin/Debug/2_9_CurrencyExchanger.exe b/Task_1_Basics/2_9_CurrencyExchanger/bin/Debug/2_9_CurrencyExchanger.exe deleted file mode 100644 index 6257ff2..0000000 Binary files a/Task_1_Basics/2_9_CurrencyExchanger/bin/Debug/2_9_CurrencyExchanger.exe and /dev/null differ diff --git a/Task_1_Basics/2_9_CurrencyExchanger/bin/Debug/2_9_CurrencyExchanger.pdb b/Task_1_Basics/2_9_CurrencyExchanger/bin/Debug/2_9_CurrencyExchanger.pdb deleted file mode 100644 index 51d43c1..0000000 Binary files a/Task_1_Basics/2_9_CurrencyExchanger/bin/Debug/2_9_CurrencyExchanger.pdb and /dev/null differ diff --git a/Task_1_Basics/2_9_CurrencyExchanger/obj/Debug/2_9_CurrencyExchanger.csproj.FileListAbsolute.txt b/Task_1_Basics/2_9_CurrencyExchanger/obj/Debug/2_9_CurrencyExchanger.csproj.FileListAbsolute.txt deleted file mode 100644 index 760714d..0000000 --- a/Task_1_Basics/2_9_CurrencyExchanger/obj/Debug/2_9_CurrencyExchanger.csproj.FileListAbsolute.txt +++ /dev/null @@ -1,5 +0,0 @@ -C:\Users\Головко\Desktop\Task_1_Basics\2_9_CurrencyExchanger\bin\Debug\2_9_CurrencyExchanger.exe.config -C:\Users\Головко\Desktop\Task_1_Basics\2_9_CurrencyExchanger\bin\Debug\2_9_CurrencyExchanger.exe -C:\Users\Головко\Desktop\Task_1_Basics\2_9_CurrencyExchanger\bin\Debug\2_9_CurrencyExchanger.pdb -C:\Users\Головко\Desktop\Task_1_Basics\2_9_CurrencyExchanger\obj\Debug\2_9_CurrencyExchanger.exe -C:\Users\Головко\Desktop\Task_1_Basics\2_9_CurrencyExchanger\obj\Debug\2_9_CurrencyExchanger.pdb diff --git a/Task_1_Basics/2_9_CurrencyExchanger/obj/Debug/2_9_CurrencyExchanger.exe b/Task_1_Basics/2_9_CurrencyExchanger/obj/Debug/2_9_CurrencyExchanger.exe deleted file mode 100644 index 6257ff2..0000000 Binary files a/Task_1_Basics/2_9_CurrencyExchanger/obj/Debug/2_9_CurrencyExchanger.exe and /dev/null differ diff --git a/Task_1_Basics/2_9_CurrencyExchanger/obj/Debug/2_9_CurrencyExchanger.pdb b/Task_1_Basics/2_9_CurrencyExchanger/obj/Debug/2_9_CurrencyExchanger.pdb deleted file mode 100644 index 51d43c1..0000000 Binary files a/Task_1_Basics/2_9_CurrencyExchanger/obj/Debug/2_9_CurrencyExchanger.pdb and /dev/null differ diff --git a/Task_1_Basics/2_9_CurrencyExchanger/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/Task_1_Basics/2_9_CurrencyExchanger/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache deleted file mode 100644 index 50626aa..0000000 Binary files a/Task_1_Basics/2_9_CurrencyExchanger/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache and /dev/null differ diff --git a/Task_1_Basics/3_1_MultiplyTable/3_1_MultiplyTable.csproj b/Task_1_Basics/3_1_MultiplyTable/3_1_MultiplyTable.csproj deleted file mode 100644 index 8a05190..0000000 --- a/Task_1_Basics/3_1_MultiplyTable/3_1_MultiplyTable.csproj +++ /dev/null @@ -1,62 +0,0 @@ - - - - - Debug - AnyCPU - {00CF51DD-5B4D-4F72-9A74-A8067F8D6B98} - Exe - Properties - _3_1_MultiplyTable - 3_1_MultiplyTable - v4.5.2 - 512 - true - - - AnyCPU - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - AnyCPU - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/Task_1_Basics/3_1_MultiplyTable/IMultiplyTable.cs b/Task_1_Basics/3_1_MultiplyTable/IMultiplyTable.cs deleted file mode 100644 index 59d90c8..0000000 --- a/Task_1_Basics/3_1_MultiplyTable/IMultiplyTable.cs +++ /dev/null @@ -1,13 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace _3_1_MultiplyTable -{ - interface IMultiplyTable - { - void ToBuild(int multiplier); - } -} diff --git a/Task_1_Basics/3_1_MultiplyTable/MultiplyTable.cs b/Task_1_Basics/3_1_MultiplyTable/MultiplyTable.cs deleted file mode 100644 index d31cbb6..0000000 --- a/Task_1_Basics/3_1_MultiplyTable/MultiplyTable.cs +++ /dev/null @@ -1,24 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace _3_1_MultiplyTable -{ - class MultiplyTable : IMultiplyTable - { - private readonly int range; - public MultiplyTable(int range) - { - this.range = range; - } - public void ToBuild(int multiplier) - { - for (int i = 1; i <= range; i++) - { - Console.WriteLine("{0} x {1} = {2}", i, multiplier, i * multiplier); - } - } - } -} diff --git a/Task_1_Basics/3_1_MultiplyTable/Program.cs b/Task_1_Basics/3_1_MultiplyTable/Program.cs deleted file mode 100644 index 1b94500..0000000 --- a/Task_1_Basics/3_1_MultiplyTable/Program.cs +++ /dev/null @@ -1,20 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace _3_1_MultiplyTable -{ - class Program - { - static void Main(string[] args) - { - IMultiplyTable table = new MultiplyTable(20); - Console.WriteLine("Enter the number for multiplying:"); - int multilier = int.Parse(Console.ReadLine()); - table.ToBuild(multilier); - Console.ReadKey(); - } - } -} diff --git a/Task_1_Basics/3_1_MultiplyTable/Properties/AssemblyInfo.cs b/Task_1_Basics/3_1_MultiplyTable/Properties/AssemblyInfo.cs deleted file mode 100644 index 1d3ca2f..0000000 --- a/Task_1_Basics/3_1_MultiplyTable/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,36 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -[assembly: AssemblyTitle("3_1_MultiplyTable")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("3_1_MultiplyTable")] -[assembly: AssemblyCopyright("Copyright © 2016")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. -[assembly: ComVisible(false)] - -// The following GUID is for the ID of the typelib if this project is exposed to COM -[assembly: Guid("00cf51dd-5b4d-4f72-9a74-a8067f8d6b98")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Build and Revision Numbers -// by using the '*' as shown below: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/Task_1_Basics/3_1_MultiplyTable/bin/Debug/3_1_MultiplyTable.exe b/Task_1_Basics/3_1_MultiplyTable/bin/Debug/3_1_MultiplyTable.exe deleted file mode 100644 index 5b02c70..0000000 Binary files a/Task_1_Basics/3_1_MultiplyTable/bin/Debug/3_1_MultiplyTable.exe and /dev/null differ diff --git a/Task_1_Basics/3_1_MultiplyTable/bin/Debug/3_1_MultiplyTable.pdb b/Task_1_Basics/3_1_MultiplyTable/bin/Debug/3_1_MultiplyTable.pdb deleted file mode 100644 index 9eb8b93..0000000 Binary files a/Task_1_Basics/3_1_MultiplyTable/bin/Debug/3_1_MultiplyTable.pdb and /dev/null differ diff --git a/Task_1_Basics/3_1_MultiplyTable/obj/Debug/3_1_MultiplyTable.csproj.FileListAbsolute.txt b/Task_1_Basics/3_1_MultiplyTable/obj/Debug/3_1_MultiplyTable.csproj.FileListAbsolute.txt deleted file mode 100644 index 470ee75..0000000 --- a/Task_1_Basics/3_1_MultiplyTable/obj/Debug/3_1_MultiplyTable.csproj.FileListAbsolute.txt +++ /dev/null @@ -1,5 +0,0 @@ -C:\Users\Головко\Desktop\Task_1_Basics\3_1_MultiplyTable\bin\Debug\3_1_MultiplyTable.exe.config -C:\Users\Головко\Desktop\Task_1_Basics\3_1_MultiplyTable\bin\Debug\3_1_MultiplyTable.exe -C:\Users\Головко\Desktop\Task_1_Basics\3_1_MultiplyTable\bin\Debug\3_1_MultiplyTable.pdb -C:\Users\Головко\Desktop\Task_1_Basics\3_1_MultiplyTable\obj\Debug\3_1_MultiplyTable.exe -C:\Users\Головко\Desktop\Task_1_Basics\3_1_MultiplyTable\obj\Debug\3_1_MultiplyTable.pdb diff --git a/Task_1_Basics/3_1_MultiplyTable/obj/Debug/3_1_MultiplyTable.exe b/Task_1_Basics/3_1_MultiplyTable/obj/Debug/3_1_MultiplyTable.exe deleted file mode 100644 index 5b02c70..0000000 Binary files a/Task_1_Basics/3_1_MultiplyTable/obj/Debug/3_1_MultiplyTable.exe and /dev/null differ diff --git a/Task_1_Basics/3_1_MultiplyTable/obj/Debug/3_1_MultiplyTable.pdb b/Task_1_Basics/3_1_MultiplyTable/obj/Debug/3_1_MultiplyTable.pdb deleted file mode 100644 index 9eb8b93..0000000 Binary files a/Task_1_Basics/3_1_MultiplyTable/obj/Debug/3_1_MultiplyTable.pdb and /dev/null differ diff --git a/Task_1_Basics/3_1_MultiplyTable/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/Task_1_Basics/3_1_MultiplyTable/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache deleted file mode 100644 index a2ac331..0000000 Binary files a/Task_1_Basics/3_1_MultiplyTable/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache and /dev/null differ diff --git a/Task_1_Basics/3_2_NumberRange/3_2_NumberRange.csproj b/Task_1_Basics/3_2_NumberRange/3_2_NumberRange.csproj deleted file mode 100644 index a7f590e..0000000 --- a/Task_1_Basics/3_2_NumberRange/3_2_NumberRange.csproj +++ /dev/null @@ -1,62 +0,0 @@ - - - - - Debug - AnyCPU - {79DF1B8F-1A1F-4EF8-BE3C-5CD1BBFC9DDF} - Exe - Properties - _3_2_NumberRange - 3_2_NumberRange - v4.5.2 - 512 - true - - - AnyCPU - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - AnyCPU - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/Task_1_Basics/3_2_NumberRange/INumber.cs b/Task_1_Basics/3_2_NumberRange/INumber.cs deleted file mode 100644 index 5449d47..0000000 --- a/Task_1_Basics/3_2_NumberRange/INumber.cs +++ /dev/null @@ -1,13 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace _3_2_NumberRange -{ - interface INumber - { - int GetRange(int number); - } -} diff --git a/Task_1_Basics/3_2_NumberRange/Number.cs b/Task_1_Basics/3_2_NumberRange/Number.cs deleted file mode 100644 index 2f55d71..0000000 --- a/Task_1_Basics/3_2_NumberRange/Number.cs +++ /dev/null @@ -1,18 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace _3_2_NumberRange -{ - class Number : INumber - { - public int GetRange(int number) - { - int range = 0; - while (Math.Truncate((decimal)(number / Math.Pow(10, ++range))) > 0) ; - return range; - } - } -} diff --git a/Task_1_Basics/3_2_NumberRange/Program.cs b/Task_1_Basics/3_2_NumberRange/Program.cs deleted file mode 100644 index c3a7fb8..0000000 --- a/Task_1_Basics/3_2_NumberRange/Program.cs +++ /dev/null @@ -1,20 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace _3_2_NumberRange -{ - class Program - { - static void Main(string[] args) - { - INumber number = new Number(); - Console.WriteLine("Enter the number, please:"); - int n = int.Parse(Console.ReadLine()); - Console.WriteLine("The number has {0} ranges", number.GetRange(n)); - Console.ReadKey(); - } - } -} diff --git a/Task_1_Basics/3_2_NumberRange/Properties/AssemblyInfo.cs b/Task_1_Basics/3_2_NumberRange/Properties/AssemblyInfo.cs deleted file mode 100644 index 1333bb4..0000000 --- a/Task_1_Basics/3_2_NumberRange/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,36 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -[assembly: AssemblyTitle("3_2_NumberRange")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("3_2_NumberRange")] -[assembly: AssemblyCopyright("Copyright © 2016")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. -[assembly: ComVisible(false)] - -// The following GUID is for the ID of the typelib if this project is exposed to COM -[assembly: Guid("79df1b8f-1a1f-4ef8-be3c-5cd1bbfc9ddf")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Build and Revision Numbers -// by using the '*' as shown below: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/Task_1_Basics/3_2_NumberRange/bin/Debug/3_2_NumberRange.exe b/Task_1_Basics/3_2_NumberRange/bin/Debug/3_2_NumberRange.exe deleted file mode 100644 index eea335f..0000000 Binary files a/Task_1_Basics/3_2_NumberRange/bin/Debug/3_2_NumberRange.exe and /dev/null differ diff --git a/Task_1_Basics/3_2_NumberRange/bin/Debug/3_2_NumberRange.pdb b/Task_1_Basics/3_2_NumberRange/bin/Debug/3_2_NumberRange.pdb deleted file mode 100644 index f5bb306..0000000 Binary files a/Task_1_Basics/3_2_NumberRange/bin/Debug/3_2_NumberRange.pdb and /dev/null differ diff --git a/Task_1_Basics/3_2_NumberRange/obj/Debug/3_2_NumberRange.csproj.FileListAbsolute.txt b/Task_1_Basics/3_2_NumberRange/obj/Debug/3_2_NumberRange.csproj.FileListAbsolute.txt deleted file mode 100644 index c0653d9..0000000 --- a/Task_1_Basics/3_2_NumberRange/obj/Debug/3_2_NumberRange.csproj.FileListAbsolute.txt +++ /dev/null @@ -1,5 +0,0 @@ -C:\Users\Головко\Desktop\Task_1_Basics\3_2_NumberRange\bin\Debug\3_2_NumberRange.exe.config -C:\Users\Головко\Desktop\Task_1_Basics\3_2_NumberRange\bin\Debug\3_2_NumberRange.exe -C:\Users\Головко\Desktop\Task_1_Basics\3_2_NumberRange\bin\Debug\3_2_NumberRange.pdb -C:\Users\Головко\Desktop\Task_1_Basics\3_2_NumberRange\obj\Debug\3_2_NumberRange.exe -C:\Users\Головко\Desktop\Task_1_Basics\3_2_NumberRange\obj\Debug\3_2_NumberRange.pdb diff --git a/Task_1_Basics/3_2_NumberRange/obj/Debug/3_2_NumberRange.exe b/Task_1_Basics/3_2_NumberRange/obj/Debug/3_2_NumberRange.exe deleted file mode 100644 index eea335f..0000000 Binary files a/Task_1_Basics/3_2_NumberRange/obj/Debug/3_2_NumberRange.exe and /dev/null differ diff --git a/Task_1_Basics/3_2_NumberRange/obj/Debug/3_2_NumberRange.pdb b/Task_1_Basics/3_2_NumberRange/obj/Debug/3_2_NumberRange.pdb deleted file mode 100644 index f5bb306..0000000 Binary files a/Task_1_Basics/3_2_NumberRange/obj/Debug/3_2_NumberRange.pdb and /dev/null differ diff --git a/Task_1_Basics/3_2_NumberRange/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/Task_1_Basics/3_2_NumberRange/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache deleted file mode 100644 index 5ff34c7..0000000 Binary files a/Task_1_Basics/3_2_NumberRange/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache and /dev/null differ diff --git a/Task_1_Basics/3_3_WhatNumber/3_3_WhatNumber.csproj b/Task_1_Basics/3_3_WhatNumber/3_3_WhatNumber.csproj deleted file mode 100644 index 35045c9..0000000 --- a/Task_1_Basics/3_3_WhatNumber/3_3_WhatNumber.csproj +++ /dev/null @@ -1,63 +0,0 @@ - - - - - Debug - AnyCPU - {28A30B0E-6195-474D-BAB8-00E08F1A5BE2} - Exe - Properties - _3_3_WhatNumber - 3_3_WhatNumber - v4.5.2 - 512 - true - - - AnyCPU - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - AnyCPU - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/Task_1_Basics/3_3_WhatNumber/Game.cs b/Task_1_Basics/3_3_WhatNumber/Game.cs deleted file mode 100644 index f1eaa8e..0000000 --- a/Task_1_Basics/3_3_WhatNumber/Game.cs +++ /dev/null @@ -1,33 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace _3_3_WhatNumber -{ - class Game : IGame - { - private readonly int numberMin; - private readonly int numberMax; - public Game(int numberMin, int numberMax) - { - this.numberMin = numberMin; - this.numberMax = numberMax; - } - public void Play() - { - int number = Generator.Generate(numberMin, numberMax); - int result; - int count = 1; - do - { - Console.WriteLine("Try number {0}. Let's guess the number:", count++); - result = int.Parse(Console.ReadLine()); - Console.WriteLine(result > number ? "less <" : "more >"); - } - while (number != result); - Console.WriteLine("Try number {0}. You guess!!!", count); - } - } -} diff --git a/Task_1_Basics/3_3_WhatNumber/Generator.cs b/Task_1_Basics/3_3_WhatNumber/Generator.cs deleted file mode 100644 index 6aab18c..0000000 --- a/Task_1_Basics/3_3_WhatNumber/Generator.cs +++ /dev/null @@ -1,26 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace _3_3_WhatNumber -{ - static class Generator - { - private static readonly Random rnd; - private static readonly object syncLocker; - static Generator() - { - rnd = new Random(DateTime.Now.Millisecond); - syncLocker = new object(); - } - public static int Generate(int min, int max) - { - lock(syncLocker) - { - return rnd.Next(min, max); - } - } - } -} diff --git a/Task_1_Basics/3_3_WhatNumber/IGame.cs b/Task_1_Basics/3_3_WhatNumber/IGame.cs deleted file mode 100644 index 79a34c0..0000000 --- a/Task_1_Basics/3_3_WhatNumber/IGame.cs +++ /dev/null @@ -1,13 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace _3_3_WhatNumber -{ - interface IGame - { - void Play(); - } -} diff --git a/Task_1_Basics/3_3_WhatNumber/Program.cs b/Task_1_Basics/3_3_WhatNumber/Program.cs deleted file mode 100644 index 748215c..0000000 --- a/Task_1_Basics/3_3_WhatNumber/Program.cs +++ /dev/null @@ -1,18 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace _3_3_WhatNumber -{ - class Program - { - static void Main(string[] args) - { - IGame game = new Game(1, 146); - game.Play(); - Console.ReadKey(); - } - } -} diff --git a/Task_1_Basics/3_3_WhatNumber/Properties/AssemblyInfo.cs b/Task_1_Basics/3_3_WhatNumber/Properties/AssemblyInfo.cs deleted file mode 100644 index 5518bd5..0000000 --- a/Task_1_Basics/3_3_WhatNumber/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,36 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -[assembly: AssemblyTitle("3_3_WhatNumber")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("3_3_WhatNumber")] -[assembly: AssemblyCopyright("Copyright © 2016")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. -[assembly: ComVisible(false)] - -// The following GUID is for the ID of the typelib if this project is exposed to COM -[assembly: Guid("28a30b0e-6195-474d-bab8-00e08f1a5be2")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Build and Revision Numbers -// by using the '*' as shown below: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/Task_1_Basics/3_3_WhatNumber/bin/Debug/3_3_WhatNumber.exe b/Task_1_Basics/3_3_WhatNumber/bin/Debug/3_3_WhatNumber.exe deleted file mode 100644 index c421362..0000000 Binary files a/Task_1_Basics/3_3_WhatNumber/bin/Debug/3_3_WhatNumber.exe and /dev/null differ diff --git a/Task_1_Basics/3_3_WhatNumber/bin/Debug/3_3_WhatNumber.pdb b/Task_1_Basics/3_3_WhatNumber/bin/Debug/3_3_WhatNumber.pdb deleted file mode 100644 index e4b898a..0000000 Binary files a/Task_1_Basics/3_3_WhatNumber/bin/Debug/3_3_WhatNumber.pdb and /dev/null differ diff --git a/Task_1_Basics/3_3_WhatNumber/obj/Debug/3_3_WhatNumber.csproj.FileListAbsolute.txt b/Task_1_Basics/3_3_WhatNumber/obj/Debug/3_3_WhatNumber.csproj.FileListAbsolute.txt deleted file mode 100644 index 9fcbe64..0000000 --- a/Task_1_Basics/3_3_WhatNumber/obj/Debug/3_3_WhatNumber.csproj.FileListAbsolute.txt +++ /dev/null @@ -1,5 +0,0 @@ -C:\Users\Головко\Desktop\Task_1_Basics\3_3_WhatNumber\bin\Debug\3_3_WhatNumber.exe.config -C:\Users\Головко\Desktop\Task_1_Basics\3_3_WhatNumber\bin\Debug\3_3_WhatNumber.exe -C:\Users\Головко\Desktop\Task_1_Basics\3_3_WhatNumber\bin\Debug\3_3_WhatNumber.pdb -C:\Users\Головко\Desktop\Task_1_Basics\3_3_WhatNumber\obj\Debug\3_3_WhatNumber.exe -C:\Users\Головко\Desktop\Task_1_Basics\3_3_WhatNumber\obj\Debug\3_3_WhatNumber.pdb diff --git a/Task_1_Basics/3_3_WhatNumber/obj/Debug/3_3_WhatNumber.exe b/Task_1_Basics/3_3_WhatNumber/obj/Debug/3_3_WhatNumber.exe deleted file mode 100644 index c421362..0000000 Binary files a/Task_1_Basics/3_3_WhatNumber/obj/Debug/3_3_WhatNumber.exe and /dev/null differ diff --git a/Task_1_Basics/3_3_WhatNumber/obj/Debug/3_3_WhatNumber.pdb b/Task_1_Basics/3_3_WhatNumber/obj/Debug/3_3_WhatNumber.pdb deleted file mode 100644 index e4b898a..0000000 Binary files a/Task_1_Basics/3_3_WhatNumber/obj/Debug/3_3_WhatNumber.pdb and /dev/null differ diff --git a/Task_1_Basics/3_3_WhatNumber/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/Task_1_Basics/3_3_WhatNumber/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache deleted file mode 100644 index ca2e3ca..0000000 Binary files a/Task_1_Basics/3_3_WhatNumber/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache and /dev/null differ diff --git a/Task_1_Basics/3_4_SquareNumbers/3_4_SquareNumbers.csproj b/Task_1_Basics/3_4_SquareNumbers/3_4_SquareNumbers.csproj deleted file mode 100644 index 9c96d9b..0000000 --- a/Task_1_Basics/3_4_SquareNumbers/3_4_SquareNumbers.csproj +++ /dev/null @@ -1,62 +0,0 @@ - - - - - Debug - AnyCPU - {8C82D2FF-4A44-4B24-8785-423CC503EC13} - Exe - Properties - _3_4_SquareNumbers - 3_4_SquareNumbers - v4.5.2 - 512 - true - - - AnyCPU - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - AnyCPU - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/Task_1_Basics/3_4_SquareNumbers/ISquareNumber.cs b/Task_1_Basics/3_4_SquareNumbers/ISquareNumber.cs deleted file mode 100644 index 35c9ab2..0000000 --- a/Task_1_Basics/3_4_SquareNumbers/ISquareNumber.cs +++ /dev/null @@ -1,13 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace _3_4_SquareNumbers -{ - interface ISquareNumber - { - void GetSquares(); - } -} diff --git a/Task_1_Basics/3_4_SquareNumbers/Program.cs b/Task_1_Basics/3_4_SquareNumbers/Program.cs deleted file mode 100644 index 7b42e93..0000000 --- a/Task_1_Basics/3_4_SquareNumbers/Program.cs +++ /dev/null @@ -1,20 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace _3_4_SquareNumbers -{ - class Program - { - static void Main(string[] args) - { - Console.WriteLine("Enter the limit of square numbers:"); - int limit = int.Parse(Console.ReadLine()); - ISquareNumber squares = new SquareNumber(limit); - squares.GetSquares(); - Console.ReadKey(); - } - } -} diff --git a/Task_1_Basics/3_4_SquareNumbers/Properties/AssemblyInfo.cs b/Task_1_Basics/3_4_SquareNumbers/Properties/AssemblyInfo.cs deleted file mode 100644 index 5e73325..0000000 --- a/Task_1_Basics/3_4_SquareNumbers/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,36 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -[assembly: AssemblyTitle("3_4_SquareNumbers")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("3_4_SquareNumbers")] -[assembly: AssemblyCopyright("Copyright © 2016")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. -[assembly: ComVisible(false)] - -// The following GUID is for the ID of the typelib if this project is exposed to COM -[assembly: Guid("8c82d2ff-4a44-4b24-8785-423cc503ec13")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Build and Revision Numbers -// by using the '*' as shown below: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/Task_1_Basics/3_4_SquareNumbers/SquareNumber.cs b/Task_1_Basics/3_4_SquareNumbers/SquareNumber.cs deleted file mode 100644 index 4d2146d..0000000 --- a/Task_1_Basics/3_4_SquareNumbers/SquareNumber.cs +++ /dev/null @@ -1,26 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace _3_4_SquareNumbers -{ - class SquareNumber : ISquareNumber - { - private readonly int limit; - public SquareNumber(int limit) - { - this.limit = limit; - } - public void GetSquares() - { - int number = 1; - int square; - while ((square = (int)Math.Pow(++number, 2)) < limit) - { - Console.WriteLine("{0}^2 = {1}", number, square); - } - } - } -} diff --git a/Task_1_Basics/3_4_SquareNumbers/bin/Debug/3_4_SquareNumbers.exe b/Task_1_Basics/3_4_SquareNumbers/bin/Debug/3_4_SquareNumbers.exe deleted file mode 100644 index 4638b0b..0000000 Binary files a/Task_1_Basics/3_4_SquareNumbers/bin/Debug/3_4_SquareNumbers.exe and /dev/null differ diff --git a/Task_1_Basics/3_4_SquareNumbers/bin/Debug/3_4_SquareNumbers.pdb b/Task_1_Basics/3_4_SquareNumbers/bin/Debug/3_4_SquareNumbers.pdb deleted file mode 100644 index e200932..0000000 Binary files a/Task_1_Basics/3_4_SquareNumbers/bin/Debug/3_4_SquareNumbers.pdb and /dev/null differ diff --git a/Task_1_Basics/3_4_SquareNumbers/obj/Debug/3_4_SquareNumbers.csproj.FileListAbsolute.txt b/Task_1_Basics/3_4_SquareNumbers/obj/Debug/3_4_SquareNumbers.csproj.FileListAbsolute.txt deleted file mode 100644 index 9e8e2db..0000000 --- a/Task_1_Basics/3_4_SquareNumbers/obj/Debug/3_4_SquareNumbers.csproj.FileListAbsolute.txt +++ /dev/null @@ -1,5 +0,0 @@ -C:\Users\Головко\Desktop\Task_1_Basics\3_4_SquareNumbers\bin\Debug\3_4_SquareNumbers.exe.config -C:\Users\Головко\Desktop\Task_1_Basics\3_4_SquareNumbers\bin\Debug\3_4_SquareNumbers.exe -C:\Users\Головко\Desktop\Task_1_Basics\3_4_SquareNumbers\bin\Debug\3_4_SquareNumbers.pdb -C:\Users\Головко\Desktop\Task_1_Basics\3_4_SquareNumbers\obj\Debug\3_4_SquareNumbers.exe -C:\Users\Головко\Desktop\Task_1_Basics\3_4_SquareNumbers\obj\Debug\3_4_SquareNumbers.pdb diff --git a/Task_1_Basics/3_4_SquareNumbers/obj/Debug/3_4_SquareNumbers.exe b/Task_1_Basics/3_4_SquareNumbers/obj/Debug/3_4_SquareNumbers.exe deleted file mode 100644 index 4638b0b..0000000 Binary files a/Task_1_Basics/3_4_SquareNumbers/obj/Debug/3_4_SquareNumbers.exe and /dev/null differ diff --git a/Task_1_Basics/3_4_SquareNumbers/obj/Debug/3_4_SquareNumbers.pdb b/Task_1_Basics/3_4_SquareNumbers/obj/Debug/3_4_SquareNumbers.pdb deleted file mode 100644 index e200932..0000000 Binary files a/Task_1_Basics/3_4_SquareNumbers/obj/Debug/3_4_SquareNumbers.pdb and /dev/null differ diff --git a/Task_1_Basics/3_4_SquareNumbers/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/Task_1_Basics/3_4_SquareNumbers/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache deleted file mode 100644 index b3e61d0..0000000 Binary files a/Task_1_Basics/3_4_SquareNumbers/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache and /dev/null differ diff --git a/Task_1_Basics/3_5_MiddleArifmeticInput/3_5_MiddleArifmeticInput.csproj b/Task_1_Basics/3_5_MiddleArifmeticInput/3_5_MiddleArifmeticInput.csproj deleted file mode 100644 index 274eedc..0000000 --- a/Task_1_Basics/3_5_MiddleArifmeticInput/3_5_MiddleArifmeticInput.csproj +++ /dev/null @@ -1,62 +0,0 @@ - - - - - Debug - AnyCPU - {3AEA8C2A-0348-4F7D-A8E9-902DDA3F2314} - Exe - Properties - _3_5_MiddleArifmeticInput - 3_5_MiddleArifmeticInput - v4.5.2 - 512 - true - - - AnyCPU - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - AnyCPU - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/Task_1_Basics/3_5_MiddleArifmeticInput/INumber.cs b/Task_1_Basics/3_5_MiddleArifmeticInput/INumber.cs deleted file mode 100644 index f15bcb8..0000000 --- a/Task_1_Basics/3_5_MiddleArifmeticInput/INumber.cs +++ /dev/null @@ -1,13 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace _3_5_MiddleArifmeticInput -{ - interface INumber - { - decimal GetMiddleArifmetic(); - } -} diff --git a/Task_1_Basics/3_5_MiddleArifmeticInput/Number.cs b/Task_1_Basics/3_5_MiddleArifmeticInput/Number.cs deleted file mode 100644 index 9390a9b..0000000 --- a/Task_1_Basics/3_5_MiddleArifmeticInput/Number.cs +++ /dev/null @@ -1,26 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace _3_5_MiddleArifmeticInput -{ - class Number : INumber - { - private readonly int[] numbers; - public Number(int[] numbers) - { - this.numbers = numbers; - } - public decimal GetMiddleArifmetic() - { - int sum = 0; - for (int i = 0; i < numbers.Length; i++) - { - sum += numbers[i]; - } - return Math.Round((decimal)sum / numbers.Length, 2); - } - } -} diff --git a/Task_1_Basics/3_5_MiddleArifmeticInput/Program.cs b/Task_1_Basics/3_5_MiddleArifmeticInput/Program.cs deleted file mode 100644 index ceb3885..0000000 --- a/Task_1_Basics/3_5_MiddleArifmeticInput/Program.cs +++ /dev/null @@ -1,23 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace _3_5_MiddleArifmeticInput -{ - class Program - { - static void Main(string[] args) - { - Console.WriteLine("Enter the count of numbers:"); - int count = int.Parse(Console.ReadLine()); - int[] numbers = new int[count]; - for (int i = 0; i < count; i++) - numbers[i] = int.Parse(Console.ReadLine()); - INumber number = new Number(numbers); - Console.WriteLine("Middle arifmetic is {0}", number.GetMiddleArifmetic()); - Console.ReadKey(); - } - } -} diff --git a/Task_1_Basics/3_5_MiddleArifmeticInput/Properties/AssemblyInfo.cs b/Task_1_Basics/3_5_MiddleArifmeticInput/Properties/AssemblyInfo.cs deleted file mode 100644 index ece8de9..0000000 --- a/Task_1_Basics/3_5_MiddleArifmeticInput/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,36 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -[assembly: AssemblyTitle("3_5_MiddleArifmeticInput")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("3_5_MiddleArifmeticInput")] -[assembly: AssemblyCopyright("Copyright © 2016")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. -[assembly: ComVisible(false)] - -// The following GUID is for the ID of the typelib if this project is exposed to COM -[assembly: Guid("3aea8c2a-0348-4f7d-a8e9-902dda3f2314")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Build and Revision Numbers -// by using the '*' as shown below: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/Task_1_Basics/3_5_MiddleArifmeticInput/bin/Debug/3_5_MiddleArifmeticInput.exe b/Task_1_Basics/3_5_MiddleArifmeticInput/bin/Debug/3_5_MiddleArifmeticInput.exe deleted file mode 100644 index 10b644f..0000000 Binary files a/Task_1_Basics/3_5_MiddleArifmeticInput/bin/Debug/3_5_MiddleArifmeticInput.exe and /dev/null differ diff --git a/Task_1_Basics/3_5_MiddleArifmeticInput/bin/Debug/3_5_MiddleArifmeticInput.pdb b/Task_1_Basics/3_5_MiddleArifmeticInput/bin/Debug/3_5_MiddleArifmeticInput.pdb deleted file mode 100644 index 35f7b93..0000000 Binary files a/Task_1_Basics/3_5_MiddleArifmeticInput/bin/Debug/3_5_MiddleArifmeticInput.pdb and /dev/null differ diff --git a/Task_1_Basics/3_5_MiddleArifmeticInput/obj/Debug/3_5_MiddleArifmeticInput.csproj.FileListAbsolute.txt b/Task_1_Basics/3_5_MiddleArifmeticInput/obj/Debug/3_5_MiddleArifmeticInput.csproj.FileListAbsolute.txt deleted file mode 100644 index bd830b3..0000000 --- a/Task_1_Basics/3_5_MiddleArifmeticInput/obj/Debug/3_5_MiddleArifmeticInput.csproj.FileListAbsolute.txt +++ /dev/null @@ -1,5 +0,0 @@ -C:\Users\Головко\Desktop\Task_1_Basics\3_5_MiddleArifmeticInput\bin\Debug\3_5_MiddleArifmeticInput.exe.config -C:\Users\Головко\Desktop\Task_1_Basics\3_5_MiddleArifmeticInput\bin\Debug\3_5_MiddleArifmeticInput.exe -C:\Users\Головко\Desktop\Task_1_Basics\3_5_MiddleArifmeticInput\bin\Debug\3_5_MiddleArifmeticInput.pdb -C:\Users\Головко\Desktop\Task_1_Basics\3_5_MiddleArifmeticInput\obj\Debug\3_5_MiddleArifmeticInput.exe -C:\Users\Головко\Desktop\Task_1_Basics\3_5_MiddleArifmeticInput\obj\Debug\3_5_MiddleArifmeticInput.pdb diff --git a/Task_1_Basics/3_5_MiddleArifmeticInput/obj/Debug/3_5_MiddleArifmeticInput.exe b/Task_1_Basics/3_5_MiddleArifmeticInput/obj/Debug/3_5_MiddleArifmeticInput.exe deleted file mode 100644 index 10b644f..0000000 Binary files a/Task_1_Basics/3_5_MiddleArifmeticInput/obj/Debug/3_5_MiddleArifmeticInput.exe and /dev/null differ diff --git a/Task_1_Basics/3_5_MiddleArifmeticInput/obj/Debug/3_5_MiddleArifmeticInput.pdb b/Task_1_Basics/3_5_MiddleArifmeticInput/obj/Debug/3_5_MiddleArifmeticInput.pdb deleted file mode 100644 index 35f7b93..0000000 Binary files a/Task_1_Basics/3_5_MiddleArifmeticInput/obj/Debug/3_5_MiddleArifmeticInput.pdb and /dev/null differ diff --git a/Task_1_Basics/3_5_MiddleArifmeticInput/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/Task_1_Basics/3_5_MiddleArifmeticInput/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache deleted file mode 100644 index deb84ba..0000000 Binary files a/Task_1_Basics/3_5_MiddleArifmeticInput/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache and /dev/null differ diff --git a/Task_1_Basics/3_6_MiddleArifmeticRnd/3_6_MiddleArifmeticRnd.csproj b/Task_1_Basics/3_6_MiddleArifmeticRnd/3_6_MiddleArifmeticRnd.csproj deleted file mode 100644 index 5d82ce7..0000000 --- a/Task_1_Basics/3_6_MiddleArifmeticRnd/3_6_MiddleArifmeticRnd.csproj +++ /dev/null @@ -1,63 +0,0 @@ - - - - - Debug - AnyCPU - {7AEBF815-1581-4F0F-A7A0-143F464B69CD} - Exe - Properties - _3_6_MiddleArifmeticRnd - 3_6_MiddleArifmeticRnd - v4.5.2 - 512 - true - - - AnyCPU - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - AnyCPU - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/Task_1_Basics/3_6_MiddleArifmeticRnd/Generator.cs b/Task_1_Basics/3_6_MiddleArifmeticRnd/Generator.cs deleted file mode 100644 index f53263c..0000000 --- a/Task_1_Basics/3_6_MiddleArifmeticRnd/Generator.cs +++ /dev/null @@ -1,26 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace _3_6_MiddleArifmeticRnd -{ - static class Generator - { - private static readonly Random rnd; - private static readonly object syncLocker; - static Generator() - { - rnd = new Random(DateTime.Now.Millisecond); - syncLocker = new object(); - } - public static int Generate(int min, int max) - { - lock(syncLocker) - { - return rnd.Next(min, max); - } - } - } -} diff --git a/Task_1_Basics/3_6_MiddleArifmeticRnd/INumber.cs b/Task_1_Basics/3_6_MiddleArifmeticRnd/INumber.cs deleted file mode 100644 index 400093a..0000000 --- a/Task_1_Basics/3_6_MiddleArifmeticRnd/INumber.cs +++ /dev/null @@ -1,13 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace _3_6_MiddleArifmeticRnd -{ - interface INumber - { - decimal GetMiddleArifmetic(); - } -} diff --git a/Task_1_Basics/3_6_MiddleArifmeticRnd/Number.cs b/Task_1_Basics/3_6_MiddleArifmeticRnd/Number.cs deleted file mode 100644 index f4ffb94..0000000 --- a/Task_1_Basics/3_6_MiddleArifmeticRnd/Number.cs +++ /dev/null @@ -1,31 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace _3_6_MiddleArifmeticRnd -{ - class Number : INumber - { - private readonly int[] numbers; - public Number(int min, int max, int count) - { - numbers = new int[count]; - for (int i = 0; i < count; i++) - { - numbers[i] = Generator.Generate(min, max); - Console.WriteLine("Generate number[{0}] = {1}", i + 1, numbers[i]); - } - } - public decimal GetMiddleArifmetic() - { - int sum = 0; - for (int i = 0; i < numbers.Length; i++) - { - sum += numbers[i]; - } - return Math.Round((decimal)sum / numbers.Length, 2); - } - } -} diff --git a/Task_1_Basics/3_6_MiddleArifmeticRnd/Program.cs b/Task_1_Basics/3_6_MiddleArifmeticRnd/Program.cs deleted file mode 100644 index 7db03e3..0000000 --- a/Task_1_Basics/3_6_MiddleArifmeticRnd/Program.cs +++ /dev/null @@ -1,18 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace _3_6_MiddleArifmeticRnd -{ - class Program - { - static void Main(string[] args) - { - INumber numbers = new Number(1, 100, 5); - Console.WriteLine("Middle arifmetic is {0}", numbers.GetMiddleArifmetic()); - Console.ReadKey(); - } - } -} diff --git a/Task_1_Basics/3_6_MiddleArifmeticRnd/Properties/AssemblyInfo.cs b/Task_1_Basics/3_6_MiddleArifmeticRnd/Properties/AssemblyInfo.cs deleted file mode 100644 index 31324f3..0000000 --- a/Task_1_Basics/3_6_MiddleArifmeticRnd/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,36 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -[assembly: AssemblyTitle("3_6_MiddleArifmeticRnd")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("3_6_MiddleArifmeticRnd")] -[assembly: AssemblyCopyright("Copyright © 2016")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. -[assembly: ComVisible(false)] - -// The following GUID is for the ID of the typelib if this project is exposed to COM -[assembly: Guid("7aebf815-1581-4f0f-a7a0-143f464b69cd")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Build and Revision Numbers -// by using the '*' as shown below: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/Task_1_Basics/3_6_MiddleArifmeticRnd/bin/Debug/3_6_MiddleArifmeticRnd.exe b/Task_1_Basics/3_6_MiddleArifmeticRnd/bin/Debug/3_6_MiddleArifmeticRnd.exe deleted file mode 100644 index c381599..0000000 Binary files a/Task_1_Basics/3_6_MiddleArifmeticRnd/bin/Debug/3_6_MiddleArifmeticRnd.exe and /dev/null differ diff --git a/Task_1_Basics/3_6_MiddleArifmeticRnd/bin/Debug/3_6_MiddleArifmeticRnd.pdb b/Task_1_Basics/3_6_MiddleArifmeticRnd/bin/Debug/3_6_MiddleArifmeticRnd.pdb deleted file mode 100644 index 385c7f0..0000000 Binary files a/Task_1_Basics/3_6_MiddleArifmeticRnd/bin/Debug/3_6_MiddleArifmeticRnd.pdb and /dev/null differ diff --git a/Task_1_Basics/3_6_MiddleArifmeticRnd/obj/Debug/3_6_MiddleArifmeticRnd.csproj.FileListAbsolute.txt b/Task_1_Basics/3_6_MiddleArifmeticRnd/obj/Debug/3_6_MiddleArifmeticRnd.csproj.FileListAbsolute.txt deleted file mode 100644 index 90fdc27..0000000 --- a/Task_1_Basics/3_6_MiddleArifmeticRnd/obj/Debug/3_6_MiddleArifmeticRnd.csproj.FileListAbsolute.txt +++ /dev/null @@ -1,5 +0,0 @@ -C:\Users\Головко\Desktop\Task_1_Basics\3_6_MiddleArifmeticRnd\bin\Debug\3_6_MiddleArifmeticRnd.exe.config -C:\Users\Головко\Desktop\Task_1_Basics\3_6_MiddleArifmeticRnd\bin\Debug\3_6_MiddleArifmeticRnd.exe -C:\Users\Головко\Desktop\Task_1_Basics\3_6_MiddleArifmeticRnd\bin\Debug\3_6_MiddleArifmeticRnd.pdb -C:\Users\Головко\Desktop\Task_1_Basics\3_6_MiddleArifmeticRnd\obj\Debug\3_6_MiddleArifmeticRnd.exe -C:\Users\Головко\Desktop\Task_1_Basics\3_6_MiddleArifmeticRnd\obj\Debug\3_6_MiddleArifmeticRnd.pdb diff --git a/Task_1_Basics/3_6_MiddleArifmeticRnd/obj/Debug/3_6_MiddleArifmeticRnd.exe b/Task_1_Basics/3_6_MiddleArifmeticRnd/obj/Debug/3_6_MiddleArifmeticRnd.exe deleted file mode 100644 index c381599..0000000 Binary files a/Task_1_Basics/3_6_MiddleArifmeticRnd/obj/Debug/3_6_MiddleArifmeticRnd.exe and /dev/null differ diff --git a/Task_1_Basics/3_6_MiddleArifmeticRnd/obj/Debug/3_6_MiddleArifmeticRnd.pdb b/Task_1_Basics/3_6_MiddleArifmeticRnd/obj/Debug/3_6_MiddleArifmeticRnd.pdb deleted file mode 100644 index 385c7f0..0000000 Binary files a/Task_1_Basics/3_6_MiddleArifmeticRnd/obj/Debug/3_6_MiddleArifmeticRnd.pdb and /dev/null differ diff --git a/Task_1_Basics/3_6_MiddleArifmeticRnd/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/Task_1_Basics/3_6_MiddleArifmeticRnd/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache deleted file mode 100644 index 35f035f..0000000 Binary files a/Task_1_Basics/3_6_MiddleArifmeticRnd/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache and /dev/null differ diff --git a/Task_1_Basics/3_7_RabbitsVsGooses/3_7_RabbitsVsGooses.csproj b/Task_1_Basics/3_7_RabbitsVsGooses/3_7_RabbitsVsGooses.csproj deleted file mode 100644 index 1dc1173..0000000 --- a/Task_1_Basics/3_7_RabbitsVsGooses/3_7_RabbitsVsGooses.csproj +++ /dev/null @@ -1,62 +0,0 @@ - - - - - Debug - AnyCPU - {EB787D0A-8E3F-4BCD-821E-DFE18D5ED7B0} - Exe - Properties - _3_7_RabbitsVsGooses - 3_7_RabbitsVsGooses - v4.5.2 - 512 - true - - - AnyCPU - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - AnyCPU - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/Task_1_Basics/3_7_RabbitsVsGooses/IlegsCounter.cs b/Task_1_Basics/3_7_RabbitsVsGooses/IlegsCounter.cs deleted file mode 100644 index b1345b8..0000000 --- a/Task_1_Basics/3_7_RabbitsVsGooses/IlegsCounter.cs +++ /dev/null @@ -1,13 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace _3_7_RabbitsVsGooses -{ - interface IlegsCounter - { - void GetLegsCount(); - } -} diff --git a/Task_1_Basics/3_7_RabbitsVsGooses/LegsCounter.cs b/Task_1_Basics/3_7_RabbitsVsGooses/LegsCounter.cs deleted file mode 100644 index 267c02b..0000000 --- a/Task_1_Basics/3_7_RabbitsVsGooses/LegsCounter.cs +++ /dev/null @@ -1,30 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace _3_7_RabbitsVsGooses -{ - class LegsCounter : IlegsCounter - { - private readonly int count; - public LegsCounter(int count) - { - this.count = count; - } - public void GetLegsCount() - { - for (int i = 0; i <= count; i++) - { - for (int j = 0; j <= count; j++) - { - if (2 * i + 4 * j == count) - { - Console.WriteLine("{0} gooses and {1} rabbits", i, j); - } - } - } - } - } -} diff --git a/Task_1_Basics/3_7_RabbitsVsGooses/Program.cs b/Task_1_Basics/3_7_RabbitsVsGooses/Program.cs deleted file mode 100644 index 8537a86..0000000 --- a/Task_1_Basics/3_7_RabbitsVsGooses/Program.cs +++ /dev/null @@ -1,18 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace _3_7_RabbitsVsGooses -{ - class Program - { - static void Main(string[] args) - { - IlegsCounter counter = new LegsCounter(64); - counter.GetLegsCount(); - Console.ReadKey(); - } - } -} diff --git a/Task_1_Basics/3_7_RabbitsVsGooses/Properties/AssemblyInfo.cs b/Task_1_Basics/3_7_RabbitsVsGooses/Properties/AssemblyInfo.cs deleted file mode 100644 index a536b6e..0000000 --- a/Task_1_Basics/3_7_RabbitsVsGooses/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,36 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -[assembly: AssemblyTitle("3_7_RabbitsVsGooses")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("3_7_RabbitsVsGooses")] -[assembly: AssemblyCopyright("Copyright © 2016")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. -[assembly: ComVisible(false)] - -// The following GUID is for the ID of the typelib if this project is exposed to COM -[assembly: Guid("eb787d0a-8e3f-4bcd-821e-dfe18d5ed7b0")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Build and Revision Numbers -// by using the '*' as shown below: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/Task_1_Basics/3_7_RabbitsVsGooses/bin/Debug/3_7_RabbitsVsGooses.exe b/Task_1_Basics/3_7_RabbitsVsGooses/bin/Debug/3_7_RabbitsVsGooses.exe deleted file mode 100644 index fca14ac..0000000 Binary files a/Task_1_Basics/3_7_RabbitsVsGooses/bin/Debug/3_7_RabbitsVsGooses.exe and /dev/null differ diff --git a/Task_1_Basics/3_7_RabbitsVsGooses/bin/Debug/3_7_RabbitsVsGooses.pdb b/Task_1_Basics/3_7_RabbitsVsGooses/bin/Debug/3_7_RabbitsVsGooses.pdb deleted file mode 100644 index 0a9eef2..0000000 Binary files a/Task_1_Basics/3_7_RabbitsVsGooses/bin/Debug/3_7_RabbitsVsGooses.pdb and /dev/null differ diff --git a/Task_1_Basics/3_7_RabbitsVsGooses/obj/Debug/3_7_RabbitsVsGooses.csproj.FileListAbsolute.txt b/Task_1_Basics/3_7_RabbitsVsGooses/obj/Debug/3_7_RabbitsVsGooses.csproj.FileListAbsolute.txt deleted file mode 100644 index 0fdd0bb..0000000 --- a/Task_1_Basics/3_7_RabbitsVsGooses/obj/Debug/3_7_RabbitsVsGooses.csproj.FileListAbsolute.txt +++ /dev/null @@ -1,5 +0,0 @@ -C:\Users\Головко\Desktop\Task_1_Basics\3_7_RabbitsVsGooses\bin\Debug\3_7_RabbitsVsGooses.exe.config -C:\Users\Головко\Desktop\Task_1_Basics\3_7_RabbitsVsGooses\bin\Debug\3_7_RabbitsVsGooses.exe -C:\Users\Головко\Desktop\Task_1_Basics\3_7_RabbitsVsGooses\bin\Debug\3_7_RabbitsVsGooses.pdb -C:\Users\Головко\Desktop\Task_1_Basics\3_7_RabbitsVsGooses\obj\Debug\3_7_RabbitsVsGooses.exe -C:\Users\Головко\Desktop\Task_1_Basics\3_7_RabbitsVsGooses\obj\Debug\3_7_RabbitsVsGooses.pdb diff --git a/Task_1_Basics/3_7_RabbitsVsGooses/obj/Debug/3_7_RabbitsVsGooses.exe b/Task_1_Basics/3_7_RabbitsVsGooses/obj/Debug/3_7_RabbitsVsGooses.exe deleted file mode 100644 index fca14ac..0000000 Binary files a/Task_1_Basics/3_7_RabbitsVsGooses/obj/Debug/3_7_RabbitsVsGooses.exe and /dev/null differ diff --git a/Task_1_Basics/3_7_RabbitsVsGooses/obj/Debug/3_7_RabbitsVsGooses.pdb b/Task_1_Basics/3_7_RabbitsVsGooses/obj/Debug/3_7_RabbitsVsGooses.pdb deleted file mode 100644 index 0a9eef2..0000000 Binary files a/Task_1_Basics/3_7_RabbitsVsGooses/obj/Debug/3_7_RabbitsVsGooses.pdb and /dev/null differ diff --git a/Task_1_Basics/3_7_RabbitsVsGooses/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/Task_1_Basics/3_7_RabbitsVsGooses/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache deleted file mode 100644 index 31c21ca..0000000 Binary files a/Task_1_Basics/3_7_RabbitsVsGooses/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache and /dev/null differ diff --git a/Task_1_Basics/3_8_Password/3_8_Password.csproj b/Task_1_Basics/3_8_Password/3_8_Password.csproj deleted file mode 100644 index 16429fb..0000000 --- a/Task_1_Basics/3_8_Password/3_8_Password.csproj +++ /dev/null @@ -1,62 +0,0 @@ - - - - - Debug - AnyCPU - {3A2BCE3F-FAF9-4822-934F-C344E1B87FF0} - Exe - Properties - _3_8_Password - 3_8_Password - v4.5.2 - 512 - true - - - AnyCPU - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - AnyCPU - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/Task_1_Basics/3_8_Password/Auth.cs b/Task_1_Basics/3_8_Password/Auth.cs deleted file mode 100644 index 9b039a6..0000000 --- a/Task_1_Basics/3_8_Password/Auth.cs +++ /dev/null @@ -1,17 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace _3_8_Password -{ - class Auth : IAuth - { - private const string password = "root"; - public bool GetAccess(string pass) - { - return pass == password; - } - } -} diff --git a/Task_1_Basics/3_8_Password/IAuth.cs b/Task_1_Basics/3_8_Password/IAuth.cs deleted file mode 100644 index ab13220..0000000 --- a/Task_1_Basics/3_8_Password/IAuth.cs +++ /dev/null @@ -1,13 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace _3_8_Password -{ - interface IAuth - { - bool GetAccess(string pass); - } -} diff --git a/Task_1_Basics/3_8_Password/Program.cs b/Task_1_Basics/3_8_Password/Program.cs deleted file mode 100644 index 476f2f4..0000000 --- a/Task_1_Basics/3_8_Password/Program.cs +++ /dev/null @@ -1,23 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace _3_8_Password -{ - class Program - { - static void Main(string[] args) - { - IAuth auth = new Auth(); - Console.WriteLine("Enter the password:"); - while (!auth.GetAccess(Console.ReadLine())) - { - Console.WriteLine("Access denied. Wrong Password. Try again."); - } - Console.WriteLine("Welcome to system!"); - Console.ReadKey(); - } - } -} diff --git a/Task_1_Basics/3_8_Password/Properties/AssemblyInfo.cs b/Task_1_Basics/3_8_Password/Properties/AssemblyInfo.cs deleted file mode 100644 index 70d8b28..0000000 --- a/Task_1_Basics/3_8_Password/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,36 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -[assembly: AssemblyTitle("3_8_Password")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("3_8_Password")] -[assembly: AssemblyCopyright("Copyright © 2016")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. -[assembly: ComVisible(false)] - -// The following GUID is for the ID of the typelib if this project is exposed to COM -[assembly: Guid("3a2bce3f-faf9-4822-934f-c344e1b87ff0")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Build and Revision Numbers -// by using the '*' as shown below: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/Task_1_Basics/3_8_Password/bin/Debug/3_8_Password.exe b/Task_1_Basics/3_8_Password/bin/Debug/3_8_Password.exe deleted file mode 100644 index 11dd4de..0000000 Binary files a/Task_1_Basics/3_8_Password/bin/Debug/3_8_Password.exe and /dev/null differ diff --git a/Task_1_Basics/3_8_Password/bin/Debug/3_8_Password.pdb b/Task_1_Basics/3_8_Password/bin/Debug/3_8_Password.pdb deleted file mode 100644 index 35e2c43..0000000 Binary files a/Task_1_Basics/3_8_Password/bin/Debug/3_8_Password.pdb and /dev/null differ diff --git a/Task_1_Basics/3_8_Password/obj/Debug/3_8_Password.csproj.FileListAbsolute.txt b/Task_1_Basics/3_8_Password/obj/Debug/3_8_Password.csproj.FileListAbsolute.txt deleted file mode 100644 index 3094fef..0000000 --- a/Task_1_Basics/3_8_Password/obj/Debug/3_8_Password.csproj.FileListAbsolute.txt +++ /dev/null @@ -1,5 +0,0 @@ -C:\Users\Головко\Desktop\Task_1_Basics\3_8_Password\bin\Debug\3_8_Password.exe.config -C:\Users\Головко\Desktop\Task_1_Basics\3_8_Password\bin\Debug\3_8_Password.exe -C:\Users\Головко\Desktop\Task_1_Basics\3_8_Password\bin\Debug\3_8_Password.pdb -C:\Users\Головко\Desktop\Task_1_Basics\3_8_Password\obj\Debug\3_8_Password.exe -C:\Users\Головко\Desktop\Task_1_Basics\3_8_Password\obj\Debug\3_8_Password.pdb diff --git a/Task_1_Basics/3_8_Password/obj/Debug/3_8_Password.exe b/Task_1_Basics/3_8_Password/obj/Debug/3_8_Password.exe deleted file mode 100644 index 11dd4de..0000000 Binary files a/Task_1_Basics/3_8_Password/obj/Debug/3_8_Password.exe and /dev/null differ diff --git a/Task_1_Basics/3_8_Password/obj/Debug/3_8_Password.pdb b/Task_1_Basics/3_8_Password/obj/Debug/3_8_Password.pdb deleted file mode 100644 index 35e2c43..0000000 Binary files a/Task_1_Basics/3_8_Password/obj/Debug/3_8_Password.pdb and /dev/null differ diff --git a/Task_1_Basics/3_8_Password/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/Task_1_Basics/3_8_Password/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache deleted file mode 100644 index 4bc4262..0000000 Binary files a/Task_1_Basics/3_8_Password/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache and /dev/null differ diff --git a/Task_1_Basics/Task_1_Basics.sln b/Task_1_Basics/Task_1_Basics.sln deleted file mode 100644 index 0721c7a..0000000 --- a/Task_1_Basics/Task_1_Basics.sln +++ /dev/null @@ -1,124 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 14 -VisualStudioVersion = 14.0.23107.0 -MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "1_Console", "1_Strings\1_Console.csproj", "{0B845B55-E717-4D70-98E8-C856AFEA69BC}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "2_1_Comparation", "2_1_Comparation\2_1_Comparation.csproj", "{82D8CACC-C707-4772-A6B3-F4DDFFB0E404}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "2_2_MauGau", "2_2_MauGau\2_2_MauGau.csproj", "{E0D35179-5819-4A8E-9ABB-8CF445923351}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "2_3_Season", "2_3_Season\2_3_Season.csproj", "{A701592F-747C-4671-9DDF-73F502E35924}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "2_4_GoodVsBad", "2_4_GoodVsBad\2_4_GoodVsBad.csproj", "{3C2F7651-8F57-42B0-A50B-1CF6ABB15360}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "2_5_DayOfWeek", "2_5_DayOfWeek\2_5_DayOfWeek.csproj", "{2989914B-6552-40E8-AE52-6C2E61117EE8}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "2_6_Taxi", "2_6_Taxi\2_6_Taxi.csproj", "{722B5DF2-2531-44FD-B8D2-D535CB8F9137}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "2_7_SimpleNumber", "2_7_SimpleNumber\2_7_SimpleNumber.csproj", "{40F4F834-264B-48D1-BAB5-F3877771B9FA}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "2_8_Lottery", "2_8_Lottery\2_8_Lottery.csproj", "{A068AC42-233C-4473-A202-7C0AEB185AC8}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "2_9_CurrencyExchanger", "2_9_CurrencyExchanger\2_9_CurrencyExchanger.csproj", "{04D1A851-6A61-414B-965E-6D83B9C020BA}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "3_1_MultiplyTable", "3_1_MultiplyTable\3_1_MultiplyTable.csproj", "{00CF51DD-5B4D-4F72-9A74-A8067F8D6B98}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "3_2_NumberRange", "3_2_NumberRange\3_2_NumberRange.csproj", "{79DF1B8F-1A1F-4EF8-BE3C-5CD1BBFC9DDF}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "3_3_WhatNumber", "3_3_WhatNumber\3_3_WhatNumber.csproj", "{28A30B0E-6195-474D-BAB8-00E08F1A5BE2}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "3_4_SquareNumbers", "3_4_SquareNumbers\3_4_SquareNumbers.csproj", "{8C82D2FF-4A44-4B24-8785-423CC503EC13}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "3_5_MiddleArifmeticInput", "3_5_MiddleArifmeticInput\3_5_MiddleArifmeticInput.csproj", "{3AEA8C2A-0348-4F7D-A8E9-902DDA3F2314}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "3_6_MiddleArifmeticRnd", "3_6_MiddleArifmeticRnd\3_6_MiddleArifmeticRnd.csproj", "{7AEBF815-1581-4F0F-A7A0-143F464B69CD}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "3_7_RabbitsVsGooses", "3_7_RabbitsVsGooses\3_7_RabbitsVsGooses.csproj", "{EB787D0A-8E3F-4BCD-821E-DFE18D5ED7B0}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "3_8_Password", "3_8_Password\3_8_Password.csproj", "{3A2BCE3F-FAF9-4822-934F-C344E1B87FF0}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Release|Any CPU = Release|Any CPU - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {0B845B55-E717-4D70-98E8-C856AFEA69BC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {0B845B55-E717-4D70-98E8-C856AFEA69BC}.Debug|Any CPU.Build.0 = Debug|Any CPU - {0B845B55-E717-4D70-98E8-C856AFEA69BC}.Release|Any CPU.ActiveCfg = Release|Any CPU - {0B845B55-E717-4D70-98E8-C856AFEA69BC}.Release|Any CPU.Build.0 = Release|Any CPU - {82D8CACC-C707-4772-A6B3-F4DDFFB0E404}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {82D8CACC-C707-4772-A6B3-F4DDFFB0E404}.Debug|Any CPU.Build.0 = Debug|Any CPU - {82D8CACC-C707-4772-A6B3-F4DDFFB0E404}.Release|Any CPU.ActiveCfg = Release|Any CPU - {82D8CACC-C707-4772-A6B3-F4DDFFB0E404}.Release|Any CPU.Build.0 = Release|Any CPU - {E0D35179-5819-4A8E-9ABB-8CF445923351}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {E0D35179-5819-4A8E-9ABB-8CF445923351}.Debug|Any CPU.Build.0 = Debug|Any CPU - {E0D35179-5819-4A8E-9ABB-8CF445923351}.Release|Any CPU.ActiveCfg = Release|Any CPU - {E0D35179-5819-4A8E-9ABB-8CF445923351}.Release|Any CPU.Build.0 = Release|Any CPU - {A701592F-747C-4671-9DDF-73F502E35924}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {A701592F-747C-4671-9DDF-73F502E35924}.Debug|Any CPU.Build.0 = Debug|Any CPU - {A701592F-747C-4671-9DDF-73F502E35924}.Release|Any CPU.ActiveCfg = Release|Any CPU - {A701592F-747C-4671-9DDF-73F502E35924}.Release|Any CPU.Build.0 = Release|Any CPU - {3C2F7651-8F57-42B0-A50B-1CF6ABB15360}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {3C2F7651-8F57-42B0-A50B-1CF6ABB15360}.Debug|Any CPU.Build.0 = Debug|Any CPU - {3C2F7651-8F57-42B0-A50B-1CF6ABB15360}.Release|Any CPU.ActiveCfg = Release|Any CPU - {3C2F7651-8F57-42B0-A50B-1CF6ABB15360}.Release|Any CPU.Build.0 = Release|Any CPU - {2989914B-6552-40E8-AE52-6C2E61117EE8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {2989914B-6552-40E8-AE52-6C2E61117EE8}.Debug|Any CPU.Build.0 = Debug|Any CPU - {2989914B-6552-40E8-AE52-6C2E61117EE8}.Release|Any CPU.ActiveCfg = Release|Any CPU - {2989914B-6552-40E8-AE52-6C2E61117EE8}.Release|Any CPU.Build.0 = Release|Any CPU - {722B5DF2-2531-44FD-B8D2-D535CB8F9137}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {722B5DF2-2531-44FD-B8D2-D535CB8F9137}.Debug|Any CPU.Build.0 = Debug|Any CPU - {722B5DF2-2531-44FD-B8D2-D535CB8F9137}.Release|Any CPU.ActiveCfg = Release|Any CPU - {722B5DF2-2531-44FD-B8D2-D535CB8F9137}.Release|Any CPU.Build.0 = Release|Any CPU - {40F4F834-264B-48D1-BAB5-F3877771B9FA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {40F4F834-264B-48D1-BAB5-F3877771B9FA}.Debug|Any CPU.Build.0 = Debug|Any CPU - {40F4F834-264B-48D1-BAB5-F3877771B9FA}.Release|Any CPU.ActiveCfg = Release|Any CPU - {40F4F834-264B-48D1-BAB5-F3877771B9FA}.Release|Any CPU.Build.0 = Release|Any CPU - {A068AC42-233C-4473-A202-7C0AEB185AC8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {A068AC42-233C-4473-A202-7C0AEB185AC8}.Debug|Any CPU.Build.0 = Debug|Any CPU - {A068AC42-233C-4473-A202-7C0AEB185AC8}.Release|Any CPU.ActiveCfg = Release|Any CPU - {A068AC42-233C-4473-A202-7C0AEB185AC8}.Release|Any CPU.Build.0 = Release|Any CPU - {04D1A851-6A61-414B-965E-6D83B9C020BA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {04D1A851-6A61-414B-965E-6D83B9C020BA}.Debug|Any CPU.Build.0 = Debug|Any CPU - {04D1A851-6A61-414B-965E-6D83B9C020BA}.Release|Any CPU.ActiveCfg = Release|Any CPU - {04D1A851-6A61-414B-965E-6D83B9C020BA}.Release|Any CPU.Build.0 = Release|Any CPU - {00CF51DD-5B4D-4F72-9A74-A8067F8D6B98}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {00CF51DD-5B4D-4F72-9A74-A8067F8D6B98}.Debug|Any CPU.Build.0 = Debug|Any CPU - {00CF51DD-5B4D-4F72-9A74-A8067F8D6B98}.Release|Any CPU.ActiveCfg = Release|Any CPU - {00CF51DD-5B4D-4F72-9A74-A8067F8D6B98}.Release|Any CPU.Build.0 = Release|Any CPU - {79DF1B8F-1A1F-4EF8-BE3C-5CD1BBFC9DDF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {79DF1B8F-1A1F-4EF8-BE3C-5CD1BBFC9DDF}.Debug|Any CPU.Build.0 = Debug|Any CPU - {79DF1B8F-1A1F-4EF8-BE3C-5CD1BBFC9DDF}.Release|Any CPU.ActiveCfg = Release|Any CPU - {79DF1B8F-1A1F-4EF8-BE3C-5CD1BBFC9DDF}.Release|Any CPU.Build.0 = Release|Any CPU - {28A30B0E-6195-474D-BAB8-00E08F1A5BE2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {28A30B0E-6195-474D-BAB8-00E08F1A5BE2}.Debug|Any CPU.Build.0 = Debug|Any CPU - {28A30B0E-6195-474D-BAB8-00E08F1A5BE2}.Release|Any CPU.ActiveCfg = Release|Any CPU - {28A30B0E-6195-474D-BAB8-00E08F1A5BE2}.Release|Any CPU.Build.0 = Release|Any CPU - {8C82D2FF-4A44-4B24-8785-423CC503EC13}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {8C82D2FF-4A44-4B24-8785-423CC503EC13}.Debug|Any CPU.Build.0 = Debug|Any CPU - {8C82D2FF-4A44-4B24-8785-423CC503EC13}.Release|Any CPU.ActiveCfg = Release|Any CPU - {8C82D2FF-4A44-4B24-8785-423CC503EC13}.Release|Any CPU.Build.0 = Release|Any CPU - {3AEA8C2A-0348-4F7D-A8E9-902DDA3F2314}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {3AEA8C2A-0348-4F7D-A8E9-902DDA3F2314}.Debug|Any CPU.Build.0 = Debug|Any CPU - {3AEA8C2A-0348-4F7D-A8E9-902DDA3F2314}.Release|Any CPU.ActiveCfg = Release|Any CPU - {3AEA8C2A-0348-4F7D-A8E9-902DDA3F2314}.Release|Any CPU.Build.0 = Release|Any CPU - {7AEBF815-1581-4F0F-A7A0-143F464B69CD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {7AEBF815-1581-4F0F-A7A0-143F464B69CD}.Debug|Any CPU.Build.0 = Debug|Any CPU - {7AEBF815-1581-4F0F-A7A0-143F464B69CD}.Release|Any CPU.ActiveCfg = Release|Any CPU - {7AEBF815-1581-4F0F-A7A0-143F464B69CD}.Release|Any CPU.Build.0 = Release|Any CPU - {EB787D0A-8E3F-4BCD-821E-DFE18D5ED7B0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {EB787D0A-8E3F-4BCD-821E-DFE18D5ED7B0}.Debug|Any CPU.Build.0 = Debug|Any CPU - {EB787D0A-8E3F-4BCD-821E-DFE18D5ED7B0}.Release|Any CPU.ActiveCfg = Release|Any CPU - {EB787D0A-8E3F-4BCD-821E-DFE18D5ED7B0}.Release|Any CPU.Build.0 = Release|Any CPU - {3A2BCE3F-FAF9-4822-934F-C344E1B87FF0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {3A2BCE3F-FAF9-4822-934F-C344E1B87FF0}.Debug|Any CPU.Build.0 = Debug|Any CPU - {3A2BCE3F-FAF9-4822-934F-C344E1B87FF0}.Release|Any CPU.ActiveCfg = Release|Any CPU - {3A2BCE3F-FAF9-4822-934F-C344E1B87FF0}.Release|Any CPU.Build.0 = Release|Any CPU - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/golovko.greg/Task_1_Basics/.vs/Task_1_Basics/v14/.suo b/golovko.greg/Task_1_Basics/.vs/Task_1_Basics/v14/.suo deleted file mode 100644 index 7c58bd2..0000000 Binary files a/golovko.greg/Task_1_Basics/.vs/Task_1_Basics/v14/.suo and /dev/null differ diff --git a/golovko.greg/Task_1_Basics/1_Strings/1_Console.csproj b/golovko.greg/Task_1_Basics/1_Strings/1_Console.csproj deleted file mode 100644 index 0b8982b..0000000 --- a/golovko.greg/Task_1_Basics/1_Strings/1_Console.csproj +++ /dev/null @@ -1,62 +0,0 @@ - - - - - Debug - AnyCPU - {0B845B55-E717-4D70-98E8-C856AFEA69BC} - Exe - Properties - _1_Strings - 1_Strings - v4.5.2 - 512 - true - - - AnyCPU - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - AnyCPU - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/golovko.greg/Task_1_Basics/1_Strings/FIO.cs b/golovko.greg/Task_1_Basics/1_Strings/FIO.cs deleted file mode 100644 index 3a3b162..0000000 --- a/golovko.greg/Task_1_Basics/1_Strings/FIO.cs +++ /dev/null @@ -1,29 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace _1_Console -{ - sealed class FIO : IFIO - { - private readonly string surname; - private readonly string name; - private readonly string patronimic; - public FIO(string surname, string name, string patronimic) - { - this.surname = surname; - this.name = name; - this.patronimic = patronimic; - } - public void Introduce() - { - string fio = surname + " " + name + " " + patronimic; - int length = fio.Length; - Console.WriteLine("+{0}+", new string('-', length)); - Console.WriteLine("|{0}|", fio); - Console.WriteLine("+{0}+", new string('-', length)); - } - } -} diff --git a/golovko.greg/Task_1_Basics/1_Strings/IFIO.cs b/golovko.greg/Task_1_Basics/1_Strings/IFIO.cs deleted file mode 100644 index 7c17b63..0000000 --- a/golovko.greg/Task_1_Basics/1_Strings/IFIO.cs +++ /dev/null @@ -1,13 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace _1_Console -{ - interface IFIO - { - void Introduce(); - } -} diff --git a/golovko.greg/Task_1_Basics/1_Strings/Program.cs b/golovko.greg/Task_1_Basics/1_Strings/Program.cs deleted file mode 100644 index 55365eb..0000000 --- a/golovko.greg/Task_1_Basics/1_Strings/Program.cs +++ /dev/null @@ -1,18 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace _1_Console -{ - class Program - { - static void Main(string[] args) - { - IFIO fio = new FIO("Golovko", "Gregory", "Nickolaevich"); - fio.Introduce(); - Console.ReadKey(); - } - } -} diff --git a/golovko.greg/Task_1_Basics/1_Strings/Properties/AssemblyInfo.cs b/golovko.greg/Task_1_Basics/1_Strings/Properties/AssemblyInfo.cs deleted file mode 100644 index 725c51e..0000000 --- a/golovko.greg/Task_1_Basics/1_Strings/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,36 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// Управление общими сведениями о сборке осуществляется с помощью -// набора атрибутов. Измените значения этих атрибутов, чтобы изменить сведения, -// связанные со сборкой. -[assembly: AssemblyTitle("1_Strings")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("1_Strings")] -[assembly: AssemblyCopyright("Copyright © 2016")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// Параметр ComVisible со значением FALSE делает типы в сборке невидимыми -// для COM-компонентов. Если требуется обратиться к типу в этой сборке через -// COM, задайте атрибуту ComVisible значение TRUE для этого типа. -[assembly: ComVisible(false)] - -// Следующий GUID служит для идентификации библиотеки типов, если этот проект будет видимым для COM -[assembly: Guid("0b845b55-e717-4d70-98e8-c856afea69bc")] - -// Сведения о версии сборки состоят из следующих четырех значений: -// -// Основной номер версии -// Дополнительный номер версии -// Номер сборки -// Редакция -// -// Можно задать все значения или принять номера сборки и редакции по умолчанию -// используя "*", как показано ниже: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/golovko.greg/Task_1_Basics/1_Strings/bin/Debug/1_Strings.exe b/golovko.greg/Task_1_Basics/1_Strings/bin/Debug/1_Strings.exe deleted file mode 100644 index 33a86b0..0000000 Binary files a/golovko.greg/Task_1_Basics/1_Strings/bin/Debug/1_Strings.exe and /dev/null differ diff --git a/golovko.greg/Task_1_Basics/1_Strings/bin/Debug/1_Strings.pdb b/golovko.greg/Task_1_Basics/1_Strings/bin/Debug/1_Strings.pdb deleted file mode 100644 index 54f35fb..0000000 Binary files a/golovko.greg/Task_1_Basics/1_Strings/bin/Debug/1_Strings.pdb and /dev/null differ diff --git a/golovko.greg/Task_1_Basics/1_Strings/bin/Release/1_Strings.exe b/golovko.greg/Task_1_Basics/1_Strings/bin/Release/1_Strings.exe deleted file mode 100644 index 171ba5c..0000000 Binary files a/golovko.greg/Task_1_Basics/1_Strings/bin/Release/1_Strings.exe and /dev/null differ diff --git a/golovko.greg/Task_1_Basics/1_Strings/bin/Release/1_Strings.pdb b/golovko.greg/Task_1_Basics/1_Strings/bin/Release/1_Strings.pdb deleted file mode 100644 index 4ea5250..0000000 Binary files a/golovko.greg/Task_1_Basics/1_Strings/bin/Release/1_Strings.pdb and /dev/null differ diff --git a/golovko.greg/Task_1_Basics/1_Strings/obj/Debug/1_Console.csproj.FileListAbsolute.txt b/golovko.greg/Task_1_Basics/1_Strings/obj/Debug/1_Console.csproj.FileListAbsolute.txt deleted file mode 100644 index 9d61fe0..0000000 --- a/golovko.greg/Task_1_Basics/1_Strings/obj/Debug/1_Console.csproj.FileListAbsolute.txt +++ /dev/null @@ -1,11 +0,0 @@ -c:\users\головко\documents\visual studio 2015\Projects\Task_1_Basics\1_Strings\bin\Debug\1_Strings.exe.config -c:\users\головко\documents\visual studio 2015\Projects\Task_1_Basics\1_Strings\bin\Debug\1_Strings.exe -c:\users\головко\documents\visual studio 2015\Projects\Task_1_Basics\1_Strings\bin\Debug\1_Strings.pdb -c:\users\головко\documents\visual studio 2015\Projects\Task_1_Basics\1_Strings\obj\Debug\1_Console.csprojResolveAssemblyReference.cache -c:\users\головко\documents\visual studio 2015\Projects\Task_1_Basics\1_Strings\obj\Debug\1_Strings.exe -c:\users\головко\documents\visual studio 2015\Projects\Task_1_Basics\1_Strings\obj\Debug\1_Strings.pdb -C:\Users\Головко\Desktop\Task_1_Basics\1_Strings\bin\Debug\1_Strings.exe.config -C:\Users\Головко\Desktop\Task_1_Basics\1_Strings\bin\Debug\1_Strings.exe -C:\Users\Головко\Desktop\Task_1_Basics\1_Strings\bin\Debug\1_Strings.pdb -C:\Users\Головко\Desktop\Task_1_Basics\1_Strings\obj\Debug\1_Strings.exe -C:\Users\Головко\Desktop\Task_1_Basics\1_Strings\obj\Debug\1_Strings.pdb diff --git a/golovko.greg/Task_1_Basics/1_Strings/obj/Debug/1_Strings.csproj.FileListAbsolute.txt b/golovko.greg/Task_1_Basics/1_Strings/obj/Debug/1_Strings.csproj.FileListAbsolute.txt deleted file mode 100644 index ccfaf49..0000000 --- a/golovko.greg/Task_1_Basics/1_Strings/obj/Debug/1_Strings.csproj.FileListAbsolute.txt +++ /dev/null @@ -1 +0,0 @@ -c:\users\головко\documents\visual studio 2015\Projects\Task_1_Basics\1_Strings\bin\Debug\1_Strings.exe.config diff --git a/golovko.greg/Task_1_Basics/1_Strings/obj/Debug/1_Strings.exe b/golovko.greg/Task_1_Basics/1_Strings/obj/Debug/1_Strings.exe deleted file mode 100644 index 33a86b0..0000000 Binary files a/golovko.greg/Task_1_Basics/1_Strings/obj/Debug/1_Strings.exe and /dev/null differ diff --git a/golovko.greg/Task_1_Basics/1_Strings/obj/Debug/1_Strings.pdb b/golovko.greg/Task_1_Basics/1_Strings/obj/Debug/1_Strings.pdb deleted file mode 100644 index 54f35fb..0000000 Binary files a/golovko.greg/Task_1_Basics/1_Strings/obj/Debug/1_Strings.pdb and /dev/null differ diff --git a/golovko.greg/Task_1_Basics/1_Strings/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/golovko.greg/Task_1_Basics/1_Strings/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache deleted file mode 100644 index d3ba901..0000000 Binary files a/golovko.greg/Task_1_Basics/1_Strings/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache and /dev/null differ diff --git a/golovko.greg/Task_1_Basics/1_Strings/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs b/golovko.greg/Task_1_Basics/1_Strings/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs deleted file mode 100644 index e69de29..0000000 diff --git a/golovko.greg/Task_1_Basics/1_Strings/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs b/golovko.greg/Task_1_Basics/1_Strings/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs deleted file mode 100644 index e69de29..0000000 diff --git a/golovko.greg/Task_1_Basics/1_Strings/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs b/golovko.greg/Task_1_Basics/1_Strings/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs deleted file mode 100644 index e69de29..0000000 diff --git a/golovko.greg/Task_1_Basics/1_Strings/obj/Release/1_Console.csproj.FileListAbsolute.txt b/golovko.greg/Task_1_Basics/1_Strings/obj/Release/1_Console.csproj.FileListAbsolute.txt deleted file mode 100644 index a882eb8..0000000 --- a/golovko.greg/Task_1_Basics/1_Strings/obj/Release/1_Console.csproj.FileListAbsolute.txt +++ /dev/null @@ -1,5 +0,0 @@ -c:\users\головко\documents\visual studio 2015\Projects\Task_1_Basics\1_Strings\bin\Release\1_Strings.exe.config -c:\users\головко\documents\visual studio 2015\Projects\Task_1_Basics\1_Strings\bin\Release\1_Strings.exe -c:\users\головко\documents\visual studio 2015\Projects\Task_1_Basics\1_Strings\bin\Release\1_Strings.pdb -c:\users\головко\documents\visual studio 2015\Projects\Task_1_Basics\1_Strings\obj\Release\1_Strings.exe -c:\users\головко\documents\visual studio 2015\Projects\Task_1_Basics\1_Strings\obj\Release\1_Strings.pdb diff --git a/golovko.greg/Task_1_Basics/1_Strings/obj/Release/1_Strings.exe b/golovko.greg/Task_1_Basics/1_Strings/obj/Release/1_Strings.exe deleted file mode 100644 index 171ba5c..0000000 Binary files a/golovko.greg/Task_1_Basics/1_Strings/obj/Release/1_Strings.exe and /dev/null differ diff --git a/golovko.greg/Task_1_Basics/1_Strings/obj/Release/1_Strings.pdb b/golovko.greg/Task_1_Basics/1_Strings/obj/Release/1_Strings.pdb deleted file mode 100644 index 4ea5250..0000000 Binary files a/golovko.greg/Task_1_Basics/1_Strings/obj/Release/1_Strings.pdb and /dev/null differ diff --git a/golovko.greg/Task_1_Basics/1_Strings/obj/Release/DesignTimeResolveAssemblyReferencesInput.cache b/golovko.greg/Task_1_Basics/1_Strings/obj/Release/DesignTimeResolveAssemblyReferencesInput.cache deleted file mode 100644 index 45b0e98..0000000 Binary files a/golovko.greg/Task_1_Basics/1_Strings/obj/Release/DesignTimeResolveAssemblyReferencesInput.cache and /dev/null differ diff --git a/golovko.greg/Task_1_Basics/1_Strings/obj/Release/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs b/golovko.greg/Task_1_Basics/1_Strings/obj/Release/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs deleted file mode 100644 index e69de29..0000000 diff --git a/golovko.greg/Task_1_Basics/1_Strings/obj/Release/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs b/golovko.greg/Task_1_Basics/1_Strings/obj/Release/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs deleted file mode 100644 index e69de29..0000000 diff --git a/golovko.greg/Task_1_Basics/1_Strings/obj/Release/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs b/golovko.greg/Task_1_Basics/1_Strings/obj/Release/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs deleted file mode 100644 index e69de29..0000000 diff --git a/golovko.greg/Task_1_Basics/2_1_Comparation/2_1_Comparation.csproj b/golovko.greg/Task_1_Basics/2_1_Comparation/2_1_Comparation.csproj deleted file mode 100644 index c370e16..0000000 --- a/golovko.greg/Task_1_Basics/2_1_Comparation/2_1_Comparation.csproj +++ /dev/null @@ -1,62 +0,0 @@ - - - - - Debug - AnyCPU - {82D8CACC-C707-4772-A6B3-F4DDFFB0E404} - Exe - Properties - _2_1_Comparation - 2_1_Comparation - v4.5.2 - 512 - true - - - AnyCPU - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - AnyCPU - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/golovko.greg/Task_1_Basics/2_1_Comparation/Comparer.cs b/golovko.greg/Task_1_Basics/2_1_Comparation/Comparer.cs deleted file mode 100644 index 1ff4722..0000000 --- a/golovko.greg/Task_1_Basics/2_1_Comparation/Comparer.cs +++ /dev/null @@ -1,23 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace _2_1_Comparation -{ - struct Comparer: IComparer - { - private readonly double a; - private readonly double b; - public double Max - { - get { return a > b ? a : b; } - } - public Comparer(double a, double b) - { - this.a = a; - this.b = b; - } - } -} diff --git a/golovko.greg/Task_1_Basics/2_1_Comparation/IComparer.cs b/golovko.greg/Task_1_Basics/2_1_Comparation/IComparer.cs deleted file mode 100644 index a639ff6..0000000 --- a/golovko.greg/Task_1_Basics/2_1_Comparation/IComparer.cs +++ /dev/null @@ -1,13 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace _2_1_Comparation -{ - interface IComparer - { - double Max { get; } - } -} diff --git a/golovko.greg/Task_1_Basics/2_1_Comparation/Program.cs b/golovko.greg/Task_1_Basics/2_1_Comparation/Program.cs deleted file mode 100644 index 1e6ccf0..0000000 --- a/golovko.greg/Task_1_Basics/2_1_Comparation/Program.cs +++ /dev/null @@ -1,18 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace _2_1_Comparation -{ - class Program - { - static void Main(string[] args) - { - IComparer comp = new Comparer(96, 84); - Console.WriteLine("The max value is {0}", comp.Max); - Console.ReadKey(); - } - } -} diff --git a/golovko.greg/Task_1_Basics/2_1_Comparation/Properties/AssemblyInfo.cs b/golovko.greg/Task_1_Basics/2_1_Comparation/Properties/AssemblyInfo.cs deleted file mode 100644 index f08777c..0000000 --- a/golovko.greg/Task_1_Basics/2_1_Comparation/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,36 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// Управление общими сведениями о сборке осуществляется с помощью -// набора атрибутов. Измените значения этих атрибутов, чтобы изменить сведения, -// связанные со сборкой. -[assembly: AssemblyTitle("2_1_Comparation")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("2_1_Comparation")] -[assembly: AssemblyCopyright("Copyright © 2016")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// Параметр ComVisible со значением FALSE делает типы в сборке невидимыми -// для COM-компонентов. Если требуется обратиться к типу в этой сборке через -// COM, задайте атрибуту ComVisible значение TRUE для этого типа. -[assembly: ComVisible(false)] - -// Следующий GUID служит для идентификации библиотеки типов, если этот проект будет видимым для COM -[assembly: Guid("82d8cacc-c707-4772-a6b3-f4ddffb0e404")] - -// Сведения о версии сборки состоят из следующих четырех значений: -// -// Основной номер версии -// Дополнительный номер версии -// Номер сборки -// Редакция -// -// Можно задать все значения или принять номера сборки и редакции по умолчанию -// используя "*", как показано ниже: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/golovko.greg/Task_1_Basics/2_1_Comparation/bin/Debug/2_1_Comparation.exe b/golovko.greg/Task_1_Basics/2_1_Comparation/bin/Debug/2_1_Comparation.exe deleted file mode 100644 index 468e73f..0000000 Binary files a/golovko.greg/Task_1_Basics/2_1_Comparation/bin/Debug/2_1_Comparation.exe and /dev/null differ diff --git a/golovko.greg/Task_1_Basics/2_1_Comparation/bin/Debug/2_1_Comparation.pdb b/golovko.greg/Task_1_Basics/2_1_Comparation/bin/Debug/2_1_Comparation.pdb deleted file mode 100644 index 85f3466..0000000 Binary files a/golovko.greg/Task_1_Basics/2_1_Comparation/bin/Debug/2_1_Comparation.pdb and /dev/null differ diff --git a/golovko.greg/Task_1_Basics/2_1_Comparation/obj/Debug/2_1_Comparation.csproj.FileListAbsolute.txt b/golovko.greg/Task_1_Basics/2_1_Comparation/obj/Debug/2_1_Comparation.csproj.FileListAbsolute.txt deleted file mode 100644 index 8adb3b7..0000000 --- a/golovko.greg/Task_1_Basics/2_1_Comparation/obj/Debug/2_1_Comparation.csproj.FileListAbsolute.txt +++ /dev/null @@ -1,10 +0,0 @@ -c:\users\головко\documents\visual studio 2015\Projects\Task_1_Basics\2_1_Comparation\bin\Debug\2_1_Comparation.exe.config -c:\users\головко\documents\visual studio 2015\Projects\Task_1_Basics\2_1_Comparation\bin\Debug\2_1_Comparation.exe -c:\users\головко\documents\visual studio 2015\Projects\Task_1_Basics\2_1_Comparation\bin\Debug\2_1_Comparation.pdb -c:\users\головко\documents\visual studio 2015\Projects\Task_1_Basics\2_1_Comparation\obj\Debug\2_1_Comparation.exe -c:\users\головко\documents\visual studio 2015\Projects\Task_1_Basics\2_1_Comparation\obj\Debug\2_1_Comparation.pdb -C:\Users\Головко\Desktop\Task_1_Basics\2_1_Comparation\bin\Debug\2_1_Comparation.exe.config -C:\Users\Головко\Desktop\Task_1_Basics\2_1_Comparation\bin\Debug\2_1_Comparation.exe -C:\Users\Головко\Desktop\Task_1_Basics\2_1_Comparation\bin\Debug\2_1_Comparation.pdb -C:\Users\Головко\Desktop\Task_1_Basics\2_1_Comparation\obj\Debug\2_1_Comparation.exe -C:\Users\Головко\Desktop\Task_1_Basics\2_1_Comparation\obj\Debug\2_1_Comparation.pdb diff --git a/golovko.greg/Task_1_Basics/2_1_Comparation/obj/Debug/2_1_Comparation.exe b/golovko.greg/Task_1_Basics/2_1_Comparation/obj/Debug/2_1_Comparation.exe deleted file mode 100644 index 468e73f..0000000 Binary files a/golovko.greg/Task_1_Basics/2_1_Comparation/obj/Debug/2_1_Comparation.exe and /dev/null differ diff --git a/golovko.greg/Task_1_Basics/2_1_Comparation/obj/Debug/2_1_Comparation.pdb b/golovko.greg/Task_1_Basics/2_1_Comparation/obj/Debug/2_1_Comparation.pdb deleted file mode 100644 index 85f3466..0000000 Binary files a/golovko.greg/Task_1_Basics/2_1_Comparation/obj/Debug/2_1_Comparation.pdb and /dev/null differ diff --git a/golovko.greg/Task_1_Basics/2_1_Comparation/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/golovko.greg/Task_1_Basics/2_1_Comparation/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache deleted file mode 100644 index 36079e2..0000000 Binary files a/golovko.greg/Task_1_Basics/2_1_Comparation/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache and /dev/null differ diff --git a/golovko.greg/Task_1_Basics/2_1_Comparation/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs b/golovko.greg/Task_1_Basics/2_1_Comparation/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs deleted file mode 100644 index e69de29..0000000 diff --git a/golovko.greg/Task_1_Basics/2_1_Comparation/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs b/golovko.greg/Task_1_Basics/2_1_Comparation/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs deleted file mode 100644 index e69de29..0000000 diff --git a/golovko.greg/Task_1_Basics/2_1_Comparation/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs b/golovko.greg/Task_1_Basics/2_1_Comparation/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs deleted file mode 100644 index e69de29..0000000 diff --git a/golovko.greg/Task_1_Basics/2_2_MauGau/2_2_MauGau.csproj b/golovko.greg/Task_1_Basics/2_2_MauGau/2_2_MauGau.csproj deleted file mode 100644 index 6cac4d2..0000000 --- a/golovko.greg/Task_1_Basics/2_2_MauGau/2_2_MauGau.csproj +++ /dev/null @@ -1,62 +0,0 @@ - - - - - Debug - AnyCPU - {E0D35179-5819-4A8E-9ABB-8CF445923351} - Exe - Properties - _2_2_MauGau - 2_2_MauGau - v4.5.2 - 512 - true - - - AnyCPU - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - AnyCPU - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/golovko.greg/Task_1_Basics/2_2_MauGau/Act.cs b/golovko.greg/Task_1_Basics/2_2_MauGau/Act.cs deleted file mode 100644 index fcdc82d..0000000 --- a/golovko.greg/Task_1_Basics/2_2_MauGau/Act.cs +++ /dev/null @@ -1,20 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace _2_2_MauGau -{ - class Act : IAct - { - public string MakeAct(string cmd) - { - string result; - if (cmd == "Gau") result = "Lets walk with the dog"; - else if (cmd == "Mau") result = "Lets feed the cat"; - else result = "Unknown command"; - return result; - } - } -} diff --git a/golovko.greg/Task_1_Basics/2_2_MauGau/IAct.cs b/golovko.greg/Task_1_Basics/2_2_MauGau/IAct.cs deleted file mode 100644 index c29b711..0000000 --- a/golovko.greg/Task_1_Basics/2_2_MauGau/IAct.cs +++ /dev/null @@ -1,13 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace _2_2_MauGau -{ - interface IAct - { - string MakeAct(string cmd); - } -} diff --git a/golovko.greg/Task_1_Basics/2_2_MauGau/Program.cs b/golovko.greg/Task_1_Basics/2_2_MauGau/Program.cs deleted file mode 100644 index b4aed52..0000000 --- a/golovko.greg/Task_1_Basics/2_2_MauGau/Program.cs +++ /dev/null @@ -1,20 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace _2_2_MauGau -{ - class Program - { - static void Main(string[] args) - { - IAct act = new Act(); - Console.WriteLine("Enter the command, please (Gau/Mau):"); - Console.Write("- "); - Console.WriteLine("- {0}", act.MakeAct(Console.ReadLine())); - Console.ReadKey(); - } - } -} diff --git a/golovko.greg/Task_1_Basics/2_2_MauGau/Properties/AssemblyInfo.cs b/golovko.greg/Task_1_Basics/2_2_MauGau/Properties/AssemblyInfo.cs deleted file mode 100644 index 4a59410..0000000 --- a/golovko.greg/Task_1_Basics/2_2_MauGau/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,36 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// Управление общими сведениями о сборке осуществляется с помощью -// набора атрибутов. Измените значения этих атрибутов, чтобы изменить сведения, -// связанные со сборкой. -[assembly: AssemblyTitle("2_2_MauGau")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("2_2_MauGau")] -[assembly: AssemblyCopyright("Copyright © 2016")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// Параметр ComVisible со значением FALSE делает типы в сборке невидимыми -// для COM-компонентов. Если требуется обратиться к типу в этой сборке через -// COM, задайте атрибуту ComVisible значение TRUE для этого типа. -[assembly: ComVisible(false)] - -// Следующий GUID служит для идентификации библиотеки типов, если этот проект будет видимым для COM -[assembly: Guid("e0d35179-5819-4a8e-9abb-8cf445923351")] - -// Сведения о версии сборки состоят из следующих четырех значений: -// -// Основной номер версии -// Дополнительный номер версии -// Номер сборки -// Редакция -// -// Можно задать все значения или принять номера сборки и редакции по умолчанию -// используя "*", как показано ниже: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/golovko.greg/Task_1_Basics/2_2_MauGau/bin/Debug/2_2_MauGau.exe b/golovko.greg/Task_1_Basics/2_2_MauGau/bin/Debug/2_2_MauGau.exe deleted file mode 100644 index 5bab7db..0000000 Binary files a/golovko.greg/Task_1_Basics/2_2_MauGau/bin/Debug/2_2_MauGau.exe and /dev/null differ diff --git a/golovko.greg/Task_1_Basics/2_2_MauGau/bin/Debug/2_2_MauGau.pdb b/golovko.greg/Task_1_Basics/2_2_MauGau/bin/Debug/2_2_MauGau.pdb deleted file mode 100644 index 3e2fc0c..0000000 Binary files a/golovko.greg/Task_1_Basics/2_2_MauGau/bin/Debug/2_2_MauGau.pdb and /dev/null differ diff --git a/golovko.greg/Task_1_Basics/2_2_MauGau/obj/Debug/2_2_MauGau.csproj.FileListAbsolute.txt b/golovko.greg/Task_1_Basics/2_2_MauGau/obj/Debug/2_2_MauGau.csproj.FileListAbsolute.txt deleted file mode 100644 index 5321ee3..0000000 --- a/golovko.greg/Task_1_Basics/2_2_MauGau/obj/Debug/2_2_MauGau.csproj.FileListAbsolute.txt +++ /dev/null @@ -1,11 +0,0 @@ -c:\users\головко\documents\visual studio 2015\Projects\Task_1_Basics\2_2_MauGau\bin\Debug\2_2_MauGau.exe.config -c:\users\головко\documents\visual studio 2015\Projects\Task_1_Basics\2_2_MauGau\bin\Debug\2_2_MauGau.exe -c:\users\головко\documents\visual studio 2015\Projects\Task_1_Basics\2_2_MauGau\bin\Debug\2_2_MauGau.pdb -c:\users\головко\documents\visual studio 2015\Projects\Task_1_Basics\2_2_MauGau\obj\Debug\2_2_MauGau.csprojResolveAssemblyReference.cache -c:\users\головко\documents\visual studio 2015\Projects\Task_1_Basics\2_2_MauGau\obj\Debug\2_2_MauGau.exe -c:\users\головко\documents\visual studio 2015\Projects\Task_1_Basics\2_2_MauGau\obj\Debug\2_2_MauGau.pdb -C:\Users\Головко\Desktop\Task_1_Basics\2_2_MauGau\bin\Debug\2_2_MauGau.exe.config -C:\Users\Головко\Desktop\Task_1_Basics\2_2_MauGau\bin\Debug\2_2_MauGau.exe -C:\Users\Головко\Desktop\Task_1_Basics\2_2_MauGau\bin\Debug\2_2_MauGau.pdb -C:\Users\Головко\Desktop\Task_1_Basics\2_2_MauGau\obj\Debug\2_2_MauGau.exe -C:\Users\Головко\Desktop\Task_1_Basics\2_2_MauGau\obj\Debug\2_2_MauGau.pdb diff --git a/golovko.greg/Task_1_Basics/2_2_MauGau/obj/Debug/2_2_MauGau.exe b/golovko.greg/Task_1_Basics/2_2_MauGau/obj/Debug/2_2_MauGau.exe deleted file mode 100644 index 5bab7db..0000000 Binary files a/golovko.greg/Task_1_Basics/2_2_MauGau/obj/Debug/2_2_MauGau.exe and /dev/null differ diff --git a/golovko.greg/Task_1_Basics/2_2_MauGau/obj/Debug/2_2_MauGau.pdb b/golovko.greg/Task_1_Basics/2_2_MauGau/obj/Debug/2_2_MauGau.pdb deleted file mode 100644 index 3e2fc0c..0000000 Binary files a/golovko.greg/Task_1_Basics/2_2_MauGau/obj/Debug/2_2_MauGau.pdb and /dev/null differ diff --git a/golovko.greg/Task_1_Basics/2_2_MauGau/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/golovko.greg/Task_1_Basics/2_2_MauGau/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache deleted file mode 100644 index 71dadc2..0000000 Binary files a/golovko.greg/Task_1_Basics/2_2_MauGau/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache and /dev/null differ diff --git a/golovko.greg/Task_1_Basics/2_2_MauGau/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs b/golovko.greg/Task_1_Basics/2_2_MauGau/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs deleted file mode 100644 index e69de29..0000000 diff --git a/golovko.greg/Task_1_Basics/2_2_MauGau/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs b/golovko.greg/Task_1_Basics/2_2_MauGau/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs deleted file mode 100644 index e69de29..0000000 diff --git a/golovko.greg/Task_1_Basics/2_2_MauGau/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs b/golovko.greg/Task_1_Basics/2_2_MauGau/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs deleted file mode 100644 index e69de29..0000000 diff --git a/golovko.greg/Task_1_Basics/2_3_Season/2_3_Season.csproj b/golovko.greg/Task_1_Basics/2_3_Season/2_3_Season.csproj deleted file mode 100644 index 7551565..0000000 --- a/golovko.greg/Task_1_Basics/2_3_Season/2_3_Season.csproj +++ /dev/null @@ -1,63 +0,0 @@ - - - - - Debug - AnyCPU - {A701592F-747C-4671-9DDF-73F502E35924} - Exe - Properties - _2_3_Season - 2_3_Season - v4.5.2 - 512 - true - - - AnyCPU - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - AnyCPU - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/golovko.greg/Task_1_Basics/2_3_Season/ISeason.cs b/golovko.greg/Task_1_Basics/2_3_Season/ISeason.cs deleted file mode 100644 index ba7f75c..0000000 --- a/golovko.greg/Task_1_Basics/2_3_Season/ISeason.cs +++ /dev/null @@ -1,13 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace _2_3_Season -{ - interface ISeason - { - string GetSeason(Month month); - } -} diff --git a/golovko.greg/Task_1_Basics/2_3_Season/Month.cs b/golovko.greg/Task_1_Basics/2_3_Season/Month.cs deleted file mode 100644 index 2f2661f..0000000 --- a/golovko.greg/Task_1_Basics/2_3_Season/Month.cs +++ /dev/null @@ -1,24 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace _2_3_Season -{ - enum Month : byte - { - Jenuary = 1, - February, - March, - April, - May, - June, - July, - August, - September, - October, - November, - December - } -} diff --git a/golovko.greg/Task_1_Basics/2_3_Season/Program.cs b/golovko.greg/Task_1_Basics/2_3_Season/Program.cs deleted file mode 100644 index 4eae345..0000000 --- a/golovko.greg/Task_1_Basics/2_3_Season/Program.cs +++ /dev/null @@ -1,19 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace _2_3_Season -{ - class Program - { - static void Main(string[] args) - { - ISeason season = new Season(); - Console.WriteLine("Enter the month number, please:"); - Console.WriteLine(season.GetSeason((Month)Convert.ToByte(Console.ReadLine()))); - Console.ReadKey(); - } - } -} diff --git a/golovko.greg/Task_1_Basics/2_3_Season/Properties/AssemblyInfo.cs b/golovko.greg/Task_1_Basics/2_3_Season/Properties/AssemblyInfo.cs deleted file mode 100644 index 2895bca..0000000 --- a/golovko.greg/Task_1_Basics/2_3_Season/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,36 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// Управление общими сведениями о сборке осуществляется с помощью -// набора атрибутов. Измените значения этих атрибутов, чтобы изменить сведения, -// связанные со сборкой. -[assembly: AssemblyTitle("2_3_Season")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("2_3_Season")] -[assembly: AssemblyCopyright("Copyright © 2016")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// Параметр ComVisible со значением FALSE делает типы в сборке невидимыми -// для COM-компонентов. Если требуется обратиться к типу в этой сборке через -// COM, задайте атрибуту ComVisible значение TRUE для этого типа. -[assembly: ComVisible(false)] - -// Следующий GUID служит для идентификации библиотеки типов, если этот проект будет видимым для COM -[assembly: Guid("a701592f-747c-4671-9ddf-73f502e35924")] - -// Сведения о версии сборки состоят из следующих четырех значений: -// -// Основной номер версии -// Дополнительный номер версии -// Номер сборки -// Редакция -// -// Можно задать все значения или принять номера сборки и редакции по умолчанию -// используя "*", как показано ниже: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/golovko.greg/Task_1_Basics/2_3_Season/Season.cs b/golovko.greg/Task_1_Basics/2_3_Season/Season.cs deleted file mode 100644 index 2e598f2..0000000 --- a/golovko.greg/Task_1_Basics/2_3_Season/Season.cs +++ /dev/null @@ -1,43 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace _2_3_Season -{ - class Season : ISeason - { - public string GetSeason(Month month) - { - string result; - switch (month) - { - case Month.December: - case Month.Jenuary: - case Month.February: - result = "Winter"; - break; - case Month.March: - case Month.April: - case Month.May: - result = "Spring"; - break; - case Month.June: - case Month.July: - case Month.August: - result = "Summer"; - break; - case Month.September: - case Month.October: - case Month.November: - result = "Autumn"; - break; - default: - result = "This month doesn't exist in our planet"; - break; - } - return result; - } - } -} diff --git a/golovko.greg/Task_1_Basics/2_3_Season/bin/Debug/2_3_Season.exe b/golovko.greg/Task_1_Basics/2_3_Season/bin/Debug/2_3_Season.exe deleted file mode 100644 index b8938e9..0000000 Binary files a/golovko.greg/Task_1_Basics/2_3_Season/bin/Debug/2_3_Season.exe and /dev/null differ diff --git a/golovko.greg/Task_1_Basics/2_3_Season/bin/Debug/2_3_Season.pdb b/golovko.greg/Task_1_Basics/2_3_Season/bin/Debug/2_3_Season.pdb deleted file mode 100644 index 21bf85a..0000000 Binary files a/golovko.greg/Task_1_Basics/2_3_Season/bin/Debug/2_3_Season.pdb and /dev/null differ diff --git a/golovko.greg/Task_1_Basics/2_3_Season/obj/Debug/2_3_Season.csproj.FileListAbsolute.txt b/golovko.greg/Task_1_Basics/2_3_Season/obj/Debug/2_3_Season.csproj.FileListAbsolute.txt deleted file mode 100644 index 99c7c79..0000000 --- a/golovko.greg/Task_1_Basics/2_3_Season/obj/Debug/2_3_Season.csproj.FileListAbsolute.txt +++ /dev/null @@ -1,10 +0,0 @@ -c:\users\головко\documents\visual studio 2015\Projects\Task_1_Basics\2_3_Season\bin\Debug\2_3_Season.exe.config -c:\users\головко\documents\visual studio 2015\Projects\Task_1_Basics\2_3_Season\bin\Debug\2_3_Season.exe -c:\users\головко\documents\visual studio 2015\Projects\Task_1_Basics\2_3_Season\bin\Debug\2_3_Season.pdb -c:\users\головко\documents\visual studio 2015\Projects\Task_1_Basics\2_3_Season\obj\Debug\2_3_Season.exe -c:\users\головко\documents\visual studio 2015\Projects\Task_1_Basics\2_3_Season\obj\Debug\2_3_Season.pdb -C:\Users\Головко\Desktop\Task_1_Basics\2_3_Season\bin\Debug\2_3_Season.exe.config -C:\Users\Головко\Desktop\Task_1_Basics\2_3_Season\bin\Debug\2_3_Season.exe -C:\Users\Головко\Desktop\Task_1_Basics\2_3_Season\bin\Debug\2_3_Season.pdb -C:\Users\Головко\Desktop\Task_1_Basics\2_3_Season\obj\Debug\2_3_Season.exe -C:\Users\Головко\Desktop\Task_1_Basics\2_3_Season\obj\Debug\2_3_Season.pdb diff --git a/golovko.greg/Task_1_Basics/2_3_Season/obj/Debug/2_3_Season.exe b/golovko.greg/Task_1_Basics/2_3_Season/obj/Debug/2_3_Season.exe deleted file mode 100644 index b8938e9..0000000 Binary files a/golovko.greg/Task_1_Basics/2_3_Season/obj/Debug/2_3_Season.exe and /dev/null differ diff --git a/golovko.greg/Task_1_Basics/2_3_Season/obj/Debug/2_3_Season.pdb b/golovko.greg/Task_1_Basics/2_3_Season/obj/Debug/2_3_Season.pdb deleted file mode 100644 index 21bf85a..0000000 Binary files a/golovko.greg/Task_1_Basics/2_3_Season/obj/Debug/2_3_Season.pdb and /dev/null differ diff --git a/golovko.greg/Task_1_Basics/2_3_Season/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/golovko.greg/Task_1_Basics/2_3_Season/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache deleted file mode 100644 index 101659c..0000000 Binary files a/golovko.greg/Task_1_Basics/2_3_Season/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache and /dev/null differ diff --git a/golovko.greg/Task_1_Basics/2_3_Season/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs b/golovko.greg/Task_1_Basics/2_3_Season/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs deleted file mode 100644 index e69de29..0000000 diff --git a/golovko.greg/Task_1_Basics/2_3_Season/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs b/golovko.greg/Task_1_Basics/2_3_Season/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs deleted file mode 100644 index e69de29..0000000 diff --git a/golovko.greg/Task_1_Basics/2_3_Season/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs b/golovko.greg/Task_1_Basics/2_3_Season/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs deleted file mode 100644 index e69de29..0000000 diff --git a/golovko.greg/Task_1_Basics/2_4_GoodVsBad/2_4_GoodVsBad.csproj b/golovko.greg/Task_1_Basics/2_4_GoodVsBad/2_4_GoodVsBad.csproj deleted file mode 100644 index 3f8779c..0000000 --- a/golovko.greg/Task_1_Basics/2_4_GoodVsBad/2_4_GoodVsBad.csproj +++ /dev/null @@ -1,60 +0,0 @@ - - - - - Debug - AnyCPU - {3C2F7651-8F57-42B0-A50B-1CF6ABB15360} - Exe - Properties - _2_4_GoodVsBad - 2_4_GoodVsBad - v4.5.2 - 512 - true - - - AnyCPU - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - AnyCPU - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/golovko.greg/Task_1_Basics/2_4_GoodVsBad/Program.cs b/golovko.greg/Task_1_Basics/2_4_GoodVsBad/Program.cs deleted file mode 100644 index a606fc5..0000000 --- a/golovko.greg/Task_1_Basics/2_4_GoodVsBad/Program.cs +++ /dev/null @@ -1,18 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace _2_4_GoodVsBad -{ - class Program - { - static void Main(string[] args) - { - Console.WriteLine("Enter 1 - Good or 0 - Bad:"); - Console.WriteLine(Convert.ToByte(Console.ReadLine()) == 1 ? "Good" : "Bad"); - Console.ReadKey(); - } - } -} diff --git a/golovko.greg/Task_1_Basics/2_4_GoodVsBad/Properties/AssemblyInfo.cs b/golovko.greg/Task_1_Basics/2_4_GoodVsBad/Properties/AssemblyInfo.cs deleted file mode 100644 index 3084825..0000000 --- a/golovko.greg/Task_1_Basics/2_4_GoodVsBad/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,36 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// Управление общими сведениями о сборке осуществляется с помощью -// набора атрибутов. Измените значения этих атрибутов, чтобы изменить сведения, -// связанные со сборкой. -[assembly: AssemblyTitle("2_4_GoodVsBad")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("2_4_GoodVsBad")] -[assembly: AssemblyCopyright("Copyright © 2016")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// Параметр ComVisible со значением FALSE делает типы в сборке невидимыми -// для COM-компонентов. Если требуется обратиться к типу в этой сборке через -// COM, задайте атрибуту ComVisible значение TRUE для этого типа. -[assembly: ComVisible(false)] - -// Следующий GUID служит для идентификации библиотеки типов, если этот проект будет видимым для COM -[assembly: Guid("3c2f7651-8f57-42b0-a50b-1cf6abb15360")] - -// Сведения о версии сборки состоят из следующих четырех значений: -// -// Основной номер версии -// Дополнительный номер версии -// Номер сборки -// Редакция -// -// Можно задать все значения или принять номера сборки и редакции по умолчанию -// используя "*", как показано ниже: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/golovko.greg/Task_1_Basics/2_4_GoodVsBad/bin/Debug/2_4_GoodVsBad.exe b/golovko.greg/Task_1_Basics/2_4_GoodVsBad/bin/Debug/2_4_GoodVsBad.exe deleted file mode 100644 index 1dff08f..0000000 Binary files a/golovko.greg/Task_1_Basics/2_4_GoodVsBad/bin/Debug/2_4_GoodVsBad.exe and /dev/null differ diff --git a/golovko.greg/Task_1_Basics/2_4_GoodVsBad/bin/Debug/2_4_GoodVsBad.pdb b/golovko.greg/Task_1_Basics/2_4_GoodVsBad/bin/Debug/2_4_GoodVsBad.pdb deleted file mode 100644 index 3e5355a..0000000 Binary files a/golovko.greg/Task_1_Basics/2_4_GoodVsBad/bin/Debug/2_4_GoodVsBad.pdb and /dev/null differ diff --git a/golovko.greg/Task_1_Basics/2_4_GoodVsBad/obj/Debug/2_4_GoodVsBad.csproj.FileListAbsolute.txt b/golovko.greg/Task_1_Basics/2_4_GoodVsBad/obj/Debug/2_4_GoodVsBad.csproj.FileListAbsolute.txt deleted file mode 100644 index 9e219ac..0000000 --- a/golovko.greg/Task_1_Basics/2_4_GoodVsBad/obj/Debug/2_4_GoodVsBad.csproj.FileListAbsolute.txt +++ /dev/null @@ -1,10 +0,0 @@ -c:\users\головко\documents\visual studio 2015\Projects\Task_1_Basics\2_4_GoodVsBad\bin\Debug\2_4_GoodVsBad.exe.config -c:\users\головко\documents\visual studio 2015\Projects\Task_1_Basics\2_4_GoodVsBad\bin\Debug\2_4_GoodVsBad.exe -c:\users\головко\documents\visual studio 2015\Projects\Task_1_Basics\2_4_GoodVsBad\bin\Debug\2_4_GoodVsBad.pdb -c:\users\головко\documents\visual studio 2015\Projects\Task_1_Basics\2_4_GoodVsBad\obj\Debug\2_4_GoodVsBad.exe -c:\users\головко\documents\visual studio 2015\Projects\Task_1_Basics\2_4_GoodVsBad\obj\Debug\2_4_GoodVsBad.pdb -C:\Users\Головко\Desktop\Task_1_Basics\2_4_GoodVsBad\bin\Debug\2_4_GoodVsBad.exe.config -C:\Users\Головко\Desktop\Task_1_Basics\2_4_GoodVsBad\bin\Debug\2_4_GoodVsBad.exe -C:\Users\Головко\Desktop\Task_1_Basics\2_4_GoodVsBad\bin\Debug\2_4_GoodVsBad.pdb -C:\Users\Головко\Desktop\Task_1_Basics\2_4_GoodVsBad\obj\Debug\2_4_GoodVsBad.exe -C:\Users\Головко\Desktop\Task_1_Basics\2_4_GoodVsBad\obj\Debug\2_4_GoodVsBad.pdb diff --git a/golovko.greg/Task_1_Basics/2_4_GoodVsBad/obj/Debug/2_4_GoodVsBad.exe b/golovko.greg/Task_1_Basics/2_4_GoodVsBad/obj/Debug/2_4_GoodVsBad.exe deleted file mode 100644 index 1dff08f..0000000 Binary files a/golovko.greg/Task_1_Basics/2_4_GoodVsBad/obj/Debug/2_4_GoodVsBad.exe and /dev/null differ diff --git a/golovko.greg/Task_1_Basics/2_4_GoodVsBad/obj/Debug/2_4_GoodVsBad.pdb b/golovko.greg/Task_1_Basics/2_4_GoodVsBad/obj/Debug/2_4_GoodVsBad.pdb deleted file mode 100644 index 3e5355a..0000000 Binary files a/golovko.greg/Task_1_Basics/2_4_GoodVsBad/obj/Debug/2_4_GoodVsBad.pdb and /dev/null differ diff --git a/golovko.greg/Task_1_Basics/2_4_GoodVsBad/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/golovko.greg/Task_1_Basics/2_4_GoodVsBad/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache deleted file mode 100644 index caf036d..0000000 Binary files a/golovko.greg/Task_1_Basics/2_4_GoodVsBad/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache and /dev/null differ diff --git a/golovko.greg/Task_1_Basics/2_4_GoodVsBad/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs b/golovko.greg/Task_1_Basics/2_4_GoodVsBad/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs deleted file mode 100644 index e69de29..0000000 diff --git a/golovko.greg/Task_1_Basics/2_4_GoodVsBad/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs b/golovko.greg/Task_1_Basics/2_4_GoodVsBad/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs deleted file mode 100644 index e69de29..0000000 diff --git a/golovko.greg/Task_1_Basics/2_4_GoodVsBad/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs b/golovko.greg/Task_1_Basics/2_4_GoodVsBad/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs deleted file mode 100644 index e69de29..0000000 diff --git a/golovko.greg/Task_1_Basics/2_5_DayOfWeek/2_5_DayOfWeek.csproj b/golovko.greg/Task_1_Basics/2_5_DayOfWeek/2_5_DayOfWeek.csproj deleted file mode 100644 index b93ffb8..0000000 --- a/golovko.greg/Task_1_Basics/2_5_DayOfWeek/2_5_DayOfWeek.csproj +++ /dev/null @@ -1,63 +0,0 @@ - - - - - Debug - AnyCPU - {2989914B-6552-40E8-AE52-6C2E61117EE8} - Exe - Properties - _2_5_DayOfWeek - 2_5_DayOfWeek - v4.5.2 - 512 - true - - - AnyCPU - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - AnyCPU - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/golovko.greg/Task_1_Basics/2_5_DayOfWeek/Day.cs b/golovko.greg/Task_1_Basics/2_5_DayOfWeek/Day.cs deleted file mode 100644 index cff15d9..0000000 --- a/golovko.greg/Task_1_Basics/2_5_DayOfWeek/Day.cs +++ /dev/null @@ -1,17 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace _2_5_DayOfWeek -{ - class Day : IDay - { - public string GetName(DayName day) - { - if ((byte)day < 1 || (byte)day > 7 ) return "This day name doesn't exist"; - return day.ToString(); - } - } -} diff --git a/golovko.greg/Task_1_Basics/2_5_DayOfWeek/DayName.cs b/golovko.greg/Task_1_Basics/2_5_DayOfWeek/DayName.cs deleted file mode 100644 index bd42880..0000000 --- a/golovko.greg/Task_1_Basics/2_5_DayOfWeek/DayName.cs +++ /dev/null @@ -1,19 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace _2_5_DayOfWeek -{ - enum DayName : byte - { - Monday = 1, - Tuesday, - Wednesday, - Thursday, - Friday, - Seturday, - Sunday - } -} diff --git a/golovko.greg/Task_1_Basics/2_5_DayOfWeek/IDay.cs b/golovko.greg/Task_1_Basics/2_5_DayOfWeek/IDay.cs deleted file mode 100644 index 6ee7181..0000000 --- a/golovko.greg/Task_1_Basics/2_5_DayOfWeek/IDay.cs +++ /dev/null @@ -1,13 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace _2_5_DayOfWeek -{ - interface IDay - { - string GetName(DayName day); - } -} diff --git a/golovko.greg/Task_1_Basics/2_5_DayOfWeek/Program.cs b/golovko.greg/Task_1_Basics/2_5_DayOfWeek/Program.cs deleted file mode 100644 index d5c38db..0000000 --- a/golovko.greg/Task_1_Basics/2_5_DayOfWeek/Program.cs +++ /dev/null @@ -1,19 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace _2_5_DayOfWeek -{ - class Program - { - static void Main(string[] args) - { - IDay day = new Day(); - Console.WriteLine("Enter the week's day number:"); - Console.WriteLine("This is {0}", day.GetName((DayName)Convert.ToByte(Console.ReadLine()))); - Console.ReadKey(); - } - } -} diff --git a/golovko.greg/Task_1_Basics/2_5_DayOfWeek/Properties/AssemblyInfo.cs b/golovko.greg/Task_1_Basics/2_5_DayOfWeek/Properties/AssemblyInfo.cs deleted file mode 100644 index 7bb04ae..0000000 --- a/golovko.greg/Task_1_Basics/2_5_DayOfWeek/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,36 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// Управление общими сведениями о сборке осуществляется с помощью -// набора атрибутов. Измените значения этих атрибутов, чтобы изменить сведения, -// связанные со сборкой. -[assembly: AssemblyTitle("2_5_DayOfWeek")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("2_5_DayOfWeek")] -[assembly: AssemblyCopyright("Copyright © 2016")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// Параметр ComVisible со значением FALSE делает типы в сборке невидимыми -// для COM-компонентов. Если требуется обратиться к типу в этой сборке через -// COM, задайте атрибуту ComVisible значение TRUE для этого типа. -[assembly: ComVisible(false)] - -// Следующий GUID служит для идентификации библиотеки типов, если этот проект будет видимым для COM -[assembly: Guid("2989914b-6552-40e8-ae52-6c2e61117ee8")] - -// Сведения о версии сборки состоят из следующих четырех значений: -// -// Основной номер версии -// Дополнительный номер версии -// Номер сборки -// Редакция -// -// Можно задать все значения или принять номера сборки и редакции по умолчанию -// используя "*", как показано ниже: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/golovko.greg/Task_1_Basics/2_5_DayOfWeek/bin/Debug/2_5_DayOfWeek.exe b/golovko.greg/Task_1_Basics/2_5_DayOfWeek/bin/Debug/2_5_DayOfWeek.exe deleted file mode 100644 index 18f0119..0000000 Binary files a/golovko.greg/Task_1_Basics/2_5_DayOfWeek/bin/Debug/2_5_DayOfWeek.exe and /dev/null differ diff --git a/golovko.greg/Task_1_Basics/2_5_DayOfWeek/bin/Debug/2_5_DayOfWeek.pdb b/golovko.greg/Task_1_Basics/2_5_DayOfWeek/bin/Debug/2_5_DayOfWeek.pdb deleted file mode 100644 index 9cf393e..0000000 Binary files a/golovko.greg/Task_1_Basics/2_5_DayOfWeek/bin/Debug/2_5_DayOfWeek.pdb and /dev/null differ diff --git a/golovko.greg/Task_1_Basics/2_5_DayOfWeek/obj/Debug/2_5_DayOfWeek.csproj.FileListAbsolute.txt b/golovko.greg/Task_1_Basics/2_5_DayOfWeek/obj/Debug/2_5_DayOfWeek.csproj.FileListAbsolute.txt deleted file mode 100644 index 3cff242..0000000 --- a/golovko.greg/Task_1_Basics/2_5_DayOfWeek/obj/Debug/2_5_DayOfWeek.csproj.FileListAbsolute.txt +++ /dev/null @@ -1,10 +0,0 @@ -c:\users\головко\documents\visual studio 2015\Projects\Task_1_Basics\2_5_DayOfWeek\bin\Debug\2_5_DayOfWeek.exe.config -c:\users\головко\documents\visual studio 2015\Projects\Task_1_Basics\2_5_DayOfWeek\bin\Debug\2_5_DayOfWeek.exe -c:\users\головко\documents\visual studio 2015\Projects\Task_1_Basics\2_5_DayOfWeek\bin\Debug\2_5_DayOfWeek.pdb -c:\users\головко\documents\visual studio 2015\Projects\Task_1_Basics\2_5_DayOfWeek\obj\Debug\2_5_DayOfWeek.exe -c:\users\головко\documents\visual studio 2015\Projects\Task_1_Basics\2_5_DayOfWeek\obj\Debug\2_5_DayOfWeek.pdb -C:\Users\Головко\Desktop\Task_1_Basics\2_5_DayOfWeek\bin\Debug\2_5_DayOfWeek.exe.config -C:\Users\Головко\Desktop\Task_1_Basics\2_5_DayOfWeek\obj\Debug\2_5_DayOfWeek.exe -C:\Users\Головко\Desktop\Task_1_Basics\2_5_DayOfWeek\obj\Debug\2_5_DayOfWeek.pdb -C:\Users\Головко\Desktop\Task_1_Basics\2_5_DayOfWeek\bin\Debug\2_5_DayOfWeek.exe -C:\Users\Головко\Desktop\Task_1_Basics\2_5_DayOfWeek\bin\Debug\2_5_DayOfWeek.pdb diff --git a/golovko.greg/Task_1_Basics/2_5_DayOfWeek/obj/Debug/2_5_DayOfWeek.exe b/golovko.greg/Task_1_Basics/2_5_DayOfWeek/obj/Debug/2_5_DayOfWeek.exe deleted file mode 100644 index 18f0119..0000000 Binary files a/golovko.greg/Task_1_Basics/2_5_DayOfWeek/obj/Debug/2_5_DayOfWeek.exe and /dev/null differ diff --git a/golovko.greg/Task_1_Basics/2_5_DayOfWeek/obj/Debug/2_5_DayOfWeek.pdb b/golovko.greg/Task_1_Basics/2_5_DayOfWeek/obj/Debug/2_5_DayOfWeek.pdb deleted file mode 100644 index 9cf393e..0000000 Binary files a/golovko.greg/Task_1_Basics/2_5_DayOfWeek/obj/Debug/2_5_DayOfWeek.pdb and /dev/null differ diff --git a/golovko.greg/Task_1_Basics/2_5_DayOfWeek/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/golovko.greg/Task_1_Basics/2_5_DayOfWeek/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache deleted file mode 100644 index 7e30cf0..0000000 Binary files a/golovko.greg/Task_1_Basics/2_5_DayOfWeek/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache and /dev/null differ diff --git a/golovko.greg/Task_1_Basics/2_5_DayOfWeek/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs b/golovko.greg/Task_1_Basics/2_5_DayOfWeek/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs deleted file mode 100644 index e69de29..0000000 diff --git a/golovko.greg/Task_1_Basics/2_5_DayOfWeek/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs b/golovko.greg/Task_1_Basics/2_5_DayOfWeek/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs deleted file mode 100644 index e69de29..0000000 diff --git a/golovko.greg/Task_1_Basics/2_5_DayOfWeek/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs b/golovko.greg/Task_1_Basics/2_5_DayOfWeek/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs deleted file mode 100644 index e69de29..0000000 diff --git a/golovko.greg/Task_1_Basics/2_6_Taxi/2_6_Taxi.csproj b/golovko.greg/Task_1_Basics/2_6_Taxi/2_6_Taxi.csproj deleted file mode 100644 index cd652c2..0000000 --- a/golovko.greg/Task_1_Basics/2_6_Taxi/2_6_Taxi.csproj +++ /dev/null @@ -1,64 +0,0 @@ - - - - - Debug - AnyCPU - {722B5DF2-2531-44FD-B8D2-D535CB8F9137} - Exe - Properties - _2_6_Taxi - 2_6_Taxi - v4.5.2 - 512 - true - - - AnyCPU - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - AnyCPU - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/golovko.greg/Task_1_Basics/2_6_Taxi/ITarif.cs b/golovko.greg/Task_1_Basics/2_6_Taxi/ITarif.cs deleted file mode 100644 index d071f11..0000000 --- a/golovko.greg/Task_1_Basics/2_6_Taxi/ITarif.cs +++ /dev/null @@ -1,16 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace _2_6_Taxi -{ - interface ITarif - { - double MaxPaidDistance { get; set; } - double MaxPaidTarif { get; set; } - double PaidTarif { get; set; } - double DelayTarif { get; set; } - } -} diff --git a/golovko.greg/Task_1_Basics/2_6_Taxi/ITaxi.cs b/golovko.greg/Task_1_Basics/2_6_Taxi/ITaxi.cs deleted file mode 100644 index f9dffbc..0000000 --- a/golovko.greg/Task_1_Basics/2_6_Taxi/ITaxi.cs +++ /dev/null @@ -1,16 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace _2_6_Taxi -{ - interface ITaxi - { - double Distance { get; set; } - double Delay { get; set; } - Tarif Tarif { get; } - double Payment { get; } - } -} diff --git a/golovko.greg/Task_1_Basics/2_6_Taxi/Program.cs b/golovko.greg/Task_1_Basics/2_6_Taxi/Program.cs deleted file mode 100644 index d00f751..0000000 --- a/golovko.greg/Task_1_Basics/2_6_Taxi/Program.cs +++ /dev/null @@ -1,23 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace _2_6_Taxi -{ - class Program - { - static void Main(string[] args) - { - ITarif tarif = new Tarif(5, 20, 3, 1); - Console.WriteLine("Enter the distance, please:"); - double distance = double.Parse(Console.ReadLine()); - Console.WriteLine("Enter the delay, please:"); - double delay = double.Parse(Console.ReadLine()); - ITaxi taxi = new Taxi(distance, delay, (Tarif)tarif); - Console.WriteLine("Your payment for taxi using is {0} uah", taxi.Payment); - Console.ReadKey(); - } - } -} diff --git a/golovko.greg/Task_1_Basics/2_6_Taxi/Properties/AssemblyInfo.cs b/golovko.greg/Task_1_Basics/2_6_Taxi/Properties/AssemblyInfo.cs deleted file mode 100644 index 9ade4c4..0000000 --- a/golovko.greg/Task_1_Basics/2_6_Taxi/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,36 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -[assembly: AssemblyTitle("2_6_Taxi")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("2_6_Taxi")] -[assembly: AssemblyCopyright("Copyright © 2016")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. -[assembly: ComVisible(false)] - -// The following GUID is for the ID of the typelib if this project is exposed to COM -[assembly: Guid("722b5df2-2531-44fd-b8d2-d535cb8f9137")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Build and Revision Numbers -// by using the '*' as shown below: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/golovko.greg/Task_1_Basics/2_6_Taxi/Tarif.cs b/golovko.greg/Task_1_Basics/2_6_Taxi/Tarif.cs deleted file mode 100644 index 4c4000a..0000000 --- a/golovko.greg/Task_1_Basics/2_6_Taxi/Tarif.cs +++ /dev/null @@ -1,23 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace _2_6_Taxi -{ - struct Tarif : ITarif - { - public double MaxPaidDistance { get; set; } - public double MaxPaidTarif { get; set; } - public double PaidTarif { get; set; } - public double DelayTarif { get; set; } - public Tarif(double maxPaidDistance, double maxPaidTarif, double paidTarif, double delayTarif) - { - this.MaxPaidDistance = maxPaidDistance; - this.MaxPaidTarif = maxPaidTarif; - this.PaidTarif = paidTarif; - this.DelayTarif = delayTarif; - } - } -} diff --git a/golovko.greg/Task_1_Basics/2_6_Taxi/Taxi.cs b/golovko.greg/Task_1_Basics/2_6_Taxi/Taxi.cs deleted file mode 100644 index e6add56..0000000 --- a/golovko.greg/Task_1_Basics/2_6_Taxi/Taxi.cs +++ /dev/null @@ -1,30 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace _2_6_Taxi -{ - class Taxi : ITaxi - { - public double Distance { get; set; } - public double Delay { get; set; } - public Tarif Tarif { get; } - public double Payment - { - get - { - return Distance > Tarif.MaxPaidDistance ? - Tarif.MaxPaidDistance * Tarif.MaxPaidTarif + (Distance - Tarif.MaxPaidDistance) * Tarif.PaidTarif + Delay * Tarif.DelayTarif : - Distance * Tarif.MaxPaidTarif + Delay * Tarif.DelayTarif; - } - } - public Taxi(double distance, double delay, Tarif tarif) - { - this.Distance = distance; - this.Delay = delay; - this.Tarif = tarif; - } - } -} diff --git a/golovko.greg/Task_1_Basics/2_6_Taxi/bin/Debug/2_6_Taxi.exe b/golovko.greg/Task_1_Basics/2_6_Taxi/bin/Debug/2_6_Taxi.exe deleted file mode 100644 index fb56ffb..0000000 Binary files a/golovko.greg/Task_1_Basics/2_6_Taxi/bin/Debug/2_6_Taxi.exe and /dev/null differ diff --git a/golovko.greg/Task_1_Basics/2_6_Taxi/bin/Debug/2_6_Taxi.pdb b/golovko.greg/Task_1_Basics/2_6_Taxi/bin/Debug/2_6_Taxi.pdb deleted file mode 100644 index 9e05707..0000000 Binary files a/golovko.greg/Task_1_Basics/2_6_Taxi/bin/Debug/2_6_Taxi.pdb and /dev/null differ diff --git a/golovko.greg/Task_1_Basics/2_6_Taxi/obj/Debug/2_6_Taxi.csproj.FileListAbsolute.txt b/golovko.greg/Task_1_Basics/2_6_Taxi/obj/Debug/2_6_Taxi.csproj.FileListAbsolute.txt deleted file mode 100644 index e6ff30e..0000000 --- a/golovko.greg/Task_1_Basics/2_6_Taxi/obj/Debug/2_6_Taxi.csproj.FileListAbsolute.txt +++ /dev/null @@ -1,5 +0,0 @@ -C:\Users\Головко\Desktop\Task_1_Basics\2_6_Taxi\bin\Debug\2_6_Taxi.exe.config -C:\Users\Головко\Desktop\Task_1_Basics\2_6_Taxi\bin\Debug\2_6_Taxi.exe -C:\Users\Головко\Desktop\Task_1_Basics\2_6_Taxi\bin\Debug\2_6_Taxi.pdb -C:\Users\Головко\Desktop\Task_1_Basics\2_6_Taxi\obj\Debug\2_6_Taxi.exe -C:\Users\Головко\Desktop\Task_1_Basics\2_6_Taxi\obj\Debug\2_6_Taxi.pdb diff --git a/golovko.greg/Task_1_Basics/2_6_Taxi/obj/Debug/2_6_Taxi.exe b/golovko.greg/Task_1_Basics/2_6_Taxi/obj/Debug/2_6_Taxi.exe deleted file mode 100644 index fb56ffb..0000000 Binary files a/golovko.greg/Task_1_Basics/2_6_Taxi/obj/Debug/2_6_Taxi.exe and /dev/null differ diff --git a/golovko.greg/Task_1_Basics/2_6_Taxi/obj/Debug/2_6_Taxi.pdb b/golovko.greg/Task_1_Basics/2_6_Taxi/obj/Debug/2_6_Taxi.pdb deleted file mode 100644 index 9e05707..0000000 Binary files a/golovko.greg/Task_1_Basics/2_6_Taxi/obj/Debug/2_6_Taxi.pdb and /dev/null differ diff --git a/golovko.greg/Task_1_Basics/2_6_Taxi/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/golovko.greg/Task_1_Basics/2_6_Taxi/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache deleted file mode 100644 index c501599..0000000 Binary files a/golovko.greg/Task_1_Basics/2_6_Taxi/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache and /dev/null differ diff --git a/golovko.greg/Task_1_Basics/2_6_Taxi/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs b/golovko.greg/Task_1_Basics/2_6_Taxi/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs deleted file mode 100644 index e69de29..0000000 diff --git a/golovko.greg/Task_1_Basics/2_6_Taxi/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs b/golovko.greg/Task_1_Basics/2_6_Taxi/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs deleted file mode 100644 index e69de29..0000000 diff --git a/golovko.greg/Task_1_Basics/2_6_Taxi/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs b/golovko.greg/Task_1_Basics/2_6_Taxi/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs deleted file mode 100644 index e69de29..0000000 diff --git a/golovko.greg/Task_1_Basics/2_7_SimpleNumber/2_7_SimpleNumber.csproj b/golovko.greg/Task_1_Basics/2_7_SimpleNumber/2_7_SimpleNumber.csproj deleted file mode 100644 index 10fced0..0000000 --- a/golovko.greg/Task_1_Basics/2_7_SimpleNumber/2_7_SimpleNumber.csproj +++ /dev/null @@ -1,62 +0,0 @@ - - - - - Debug - AnyCPU - {40F4F834-264B-48D1-BAB5-F3877771B9FA} - Exe - Properties - _2_7_SimpleNumber - 2_7_SimpleNumber - v4.5.2 - 512 - true - - - AnyCPU - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - AnyCPU - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/golovko.greg/Task_1_Basics/2_7_SimpleNumber/INaturalNumber.cs b/golovko.greg/Task_1_Basics/2_7_SimpleNumber/INaturalNumber.cs deleted file mode 100644 index 6c34865..0000000 --- a/golovko.greg/Task_1_Basics/2_7_SimpleNumber/INaturalNumber.cs +++ /dev/null @@ -1,14 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace _2_7_SimpleNumber -{ - interface INaturalNumber - { - int Number { get; set; } - bool IsSimple(); - } -} diff --git a/golovko.greg/Task_1_Basics/2_7_SimpleNumber/NaturalNumber.cs b/golovko.greg/Task_1_Basics/2_7_SimpleNumber/NaturalNumber.cs deleted file mode 100644 index fd0f8bf..0000000 --- a/golovko.greg/Task_1_Basics/2_7_SimpleNumber/NaturalNumber.cs +++ /dev/null @@ -1,30 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace _2_7_SimpleNumber -{ - class NaturalNumber : INaturalNumber - { - public int Number {get; set;} - public NaturalNumber(int number) - { - this.Number = number; - } - public bool IsSimple() - { - bool isSimple = true; - for (int i = 2; i < Number / 2; i++) - { - if (Number % i == 0) - { - isSimple = false; - break; - } - } - return isSimple; - } - } -} diff --git a/golovko.greg/Task_1_Basics/2_7_SimpleNumber/Program.cs b/golovko.greg/Task_1_Basics/2_7_SimpleNumber/Program.cs deleted file mode 100644 index 09d9429..0000000 --- a/golovko.greg/Task_1_Basics/2_7_SimpleNumber/Program.cs +++ /dev/null @@ -1,20 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace _2_7_SimpleNumber -{ - class Program - { - static void Main(string[] args) - { - Console.WriteLine("Enter natural number, please:"); - int number = int.Parse(Console.ReadLine()); - INaturalNumber natNumber = new NaturalNumber(number); - Console.WriteLine(natNumber.IsSimple() ? "The number is simple" : "The number isn't simple"); - Console.ReadLine(); - } - } -} diff --git a/golovko.greg/Task_1_Basics/2_7_SimpleNumber/Properties/AssemblyInfo.cs b/golovko.greg/Task_1_Basics/2_7_SimpleNumber/Properties/AssemblyInfo.cs deleted file mode 100644 index 55b811a..0000000 --- a/golovko.greg/Task_1_Basics/2_7_SimpleNumber/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,36 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -[assembly: AssemblyTitle("2_7_SimpleNumber")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("2_7_SimpleNumber")] -[assembly: AssemblyCopyright("Copyright © 2016")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. -[assembly: ComVisible(false)] - -// The following GUID is for the ID of the typelib if this project is exposed to COM -[assembly: Guid("40f4f834-264b-48d1-bab5-f3877771b9fa")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Build and Revision Numbers -// by using the '*' as shown below: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/golovko.greg/Task_1_Basics/2_7_SimpleNumber/bin/Debug/2_7_SimpleNumber.exe b/golovko.greg/Task_1_Basics/2_7_SimpleNumber/bin/Debug/2_7_SimpleNumber.exe deleted file mode 100644 index 43e04e8..0000000 Binary files a/golovko.greg/Task_1_Basics/2_7_SimpleNumber/bin/Debug/2_7_SimpleNumber.exe and /dev/null differ diff --git a/golovko.greg/Task_1_Basics/2_7_SimpleNumber/bin/Debug/2_7_SimpleNumber.pdb b/golovko.greg/Task_1_Basics/2_7_SimpleNumber/bin/Debug/2_7_SimpleNumber.pdb deleted file mode 100644 index 3680f74..0000000 Binary files a/golovko.greg/Task_1_Basics/2_7_SimpleNumber/bin/Debug/2_7_SimpleNumber.pdb and /dev/null differ diff --git a/golovko.greg/Task_1_Basics/2_7_SimpleNumber/obj/Debug/2_7_SimpleNumber.csproj.FileListAbsolute.txt b/golovko.greg/Task_1_Basics/2_7_SimpleNumber/obj/Debug/2_7_SimpleNumber.csproj.FileListAbsolute.txt deleted file mode 100644 index 6d75208..0000000 --- a/golovko.greg/Task_1_Basics/2_7_SimpleNumber/obj/Debug/2_7_SimpleNumber.csproj.FileListAbsolute.txt +++ /dev/null @@ -1,5 +0,0 @@ -C:\Users\Головко\Desktop\Task_1_Basics\2_7_SimpleNumber\bin\Debug\2_7_SimpleNumber.exe.config -C:\Users\Головко\Desktop\Task_1_Basics\2_7_SimpleNumber\bin\Debug\2_7_SimpleNumber.exe -C:\Users\Головко\Desktop\Task_1_Basics\2_7_SimpleNumber\bin\Debug\2_7_SimpleNumber.pdb -C:\Users\Головко\Desktop\Task_1_Basics\2_7_SimpleNumber\obj\Debug\2_7_SimpleNumber.exe -C:\Users\Головко\Desktop\Task_1_Basics\2_7_SimpleNumber\obj\Debug\2_7_SimpleNumber.pdb diff --git a/golovko.greg/Task_1_Basics/2_7_SimpleNumber/obj/Debug/2_7_SimpleNumber.exe b/golovko.greg/Task_1_Basics/2_7_SimpleNumber/obj/Debug/2_7_SimpleNumber.exe deleted file mode 100644 index 43e04e8..0000000 Binary files a/golovko.greg/Task_1_Basics/2_7_SimpleNumber/obj/Debug/2_7_SimpleNumber.exe and /dev/null differ diff --git a/golovko.greg/Task_1_Basics/2_7_SimpleNumber/obj/Debug/2_7_SimpleNumber.pdb b/golovko.greg/Task_1_Basics/2_7_SimpleNumber/obj/Debug/2_7_SimpleNumber.pdb deleted file mode 100644 index 3680f74..0000000 Binary files a/golovko.greg/Task_1_Basics/2_7_SimpleNumber/obj/Debug/2_7_SimpleNumber.pdb and /dev/null differ diff --git a/golovko.greg/Task_1_Basics/2_7_SimpleNumber/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/golovko.greg/Task_1_Basics/2_7_SimpleNumber/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache deleted file mode 100644 index 69b6f54..0000000 Binary files a/golovko.greg/Task_1_Basics/2_7_SimpleNumber/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache and /dev/null differ diff --git a/golovko.greg/Task_1_Basics/2_7_SimpleNumber/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs b/golovko.greg/Task_1_Basics/2_7_SimpleNumber/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs deleted file mode 100644 index e69de29..0000000 diff --git a/golovko.greg/Task_1_Basics/2_7_SimpleNumber/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs b/golovko.greg/Task_1_Basics/2_7_SimpleNumber/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs deleted file mode 100644 index e69de29..0000000 diff --git a/golovko.greg/Task_1_Basics/2_7_SimpleNumber/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs b/golovko.greg/Task_1_Basics/2_7_SimpleNumber/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs deleted file mode 100644 index e69de29..0000000 diff --git a/golovko.greg/Task_1_Basics/2_8_Lottery/2_8_Lottery.csproj b/golovko.greg/Task_1_Basics/2_8_Lottery/2_8_Lottery.csproj deleted file mode 100644 index 819b52f..0000000 --- a/golovko.greg/Task_1_Basics/2_8_Lottery/2_8_Lottery.csproj +++ /dev/null @@ -1,65 +0,0 @@ - - - - - Debug - AnyCPU - {A068AC42-233C-4473-A202-7C0AEB185AC8} - Exe - Properties - _2_8_Lottery - 2_8_Lottery - v4.5.2 - 512 - true - - - AnyCPU - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - AnyCPU - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/golovko.greg/Task_1_Basics/2_8_Lottery/Cube.cs b/golovko.greg/Task_1_Basics/2_8_Lottery/Cube.cs deleted file mode 100644 index a4e123f..0000000 --- a/golovko.greg/Task_1_Basics/2_8_Lottery/Cube.cs +++ /dev/null @@ -1,21 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace _2_8_Lottery -{ - class Cube : ICube - { - private readonly int grainsCount; - public Cube(int grainsCount) - { - this.grainsCount = grainsCount; - } - public int Throw() - { - return Generator.Generate(1, grainsCount); - } - } -} diff --git a/golovko.greg/Task_1_Basics/2_8_Lottery/Game.cs b/golovko.greg/Task_1_Basics/2_8_Lottery/Game.cs deleted file mode 100644 index 6a73bfa..0000000 --- a/golovko.greg/Task_1_Basics/2_8_Lottery/Game.cs +++ /dev/null @@ -1,30 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace _2_8_Lottery -{ - class Game : IGame - { - private const int grains = 12; - private readonly ICube cube; - public int Rate { get; } - public Game(int rate) - { - this.Rate = rate; - cube = new Cube(grains); - } - public string Play() - { - string result; - int points = cube.Throw(); - if (points < 6) result = points + " points. You won 0 uah. Game over."; - else if (points < 9) result = points + " points. You won " + Rate + " uah"; - else if (points < 12) result = points + " points. You won " + 2 * Rate + " uah"; - else result = points + " points. You won " + 10 * Rate + " uah"; - return result; - } - } -} diff --git a/golovko.greg/Task_1_Basics/2_8_Lottery/Generator.cs b/golovko.greg/Task_1_Basics/2_8_Lottery/Generator.cs deleted file mode 100644 index 22d5bd1..0000000 --- a/golovko.greg/Task_1_Basics/2_8_Lottery/Generator.cs +++ /dev/null @@ -1,26 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace _2_8_Lottery -{ - static class Generator - { - private static readonly Random rnd; - private static readonly object syncLocker; - static Generator() - { - rnd = new Random(DateTime.Now.Millisecond); - syncLocker = new object(); - } - public static int Generate(int min, int max) - { - lock(syncLocker) - { - return rnd.Next(min, max); - } - } - } -} diff --git a/golovko.greg/Task_1_Basics/2_8_Lottery/ICube.cs b/golovko.greg/Task_1_Basics/2_8_Lottery/ICube.cs deleted file mode 100644 index 7c56a25..0000000 --- a/golovko.greg/Task_1_Basics/2_8_Lottery/ICube.cs +++ /dev/null @@ -1,13 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace _2_8_Lottery -{ - interface ICube - { - int Throw(); - } -} diff --git a/golovko.greg/Task_1_Basics/2_8_Lottery/IGame.cs b/golovko.greg/Task_1_Basics/2_8_Lottery/IGame.cs deleted file mode 100644 index 07187cb..0000000 --- a/golovko.greg/Task_1_Basics/2_8_Lottery/IGame.cs +++ /dev/null @@ -1,14 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace _2_8_Lottery -{ - interface IGame - { - int Rate { get; } - string Play(); - } -} diff --git a/golovko.greg/Task_1_Basics/2_8_Lottery/Program.cs b/golovko.greg/Task_1_Basics/2_8_Lottery/Program.cs deleted file mode 100644 index 85f5720..0000000 --- a/golovko.greg/Task_1_Basics/2_8_Lottery/Program.cs +++ /dev/null @@ -1,20 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace _2_8_Lottery -{ - class Program - { - static void Main(string[] args) - { - Console.WriteLine("Make your RATE:"); - int rate = int.Parse(Console.ReadLine()); - IGame game = new Game(rate); - Console.WriteLine(game.Play()); - Console.ReadKey(); - } - } -} diff --git a/golovko.greg/Task_1_Basics/2_8_Lottery/Properties/AssemblyInfo.cs b/golovko.greg/Task_1_Basics/2_8_Lottery/Properties/AssemblyInfo.cs deleted file mode 100644 index 1efbd26..0000000 --- a/golovko.greg/Task_1_Basics/2_8_Lottery/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,36 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -[assembly: AssemblyTitle("2_8_Lottery")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("2_8_Lottery")] -[assembly: AssemblyCopyright("Copyright © 2016")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. -[assembly: ComVisible(false)] - -// The following GUID is for the ID of the typelib if this project is exposed to COM -[assembly: Guid("a068ac42-233c-4473-a202-7c0aeb185ac8")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Build and Revision Numbers -// by using the '*' as shown below: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/golovko.greg/Task_1_Basics/2_8_Lottery/bin/Debug/2_8_Lottery.exe b/golovko.greg/Task_1_Basics/2_8_Lottery/bin/Debug/2_8_Lottery.exe deleted file mode 100644 index 4563b8e..0000000 Binary files a/golovko.greg/Task_1_Basics/2_8_Lottery/bin/Debug/2_8_Lottery.exe and /dev/null differ diff --git a/golovko.greg/Task_1_Basics/2_8_Lottery/bin/Debug/2_8_Lottery.pdb b/golovko.greg/Task_1_Basics/2_8_Lottery/bin/Debug/2_8_Lottery.pdb deleted file mode 100644 index d9e1385..0000000 Binary files a/golovko.greg/Task_1_Basics/2_8_Lottery/bin/Debug/2_8_Lottery.pdb and /dev/null differ diff --git a/golovko.greg/Task_1_Basics/2_8_Lottery/obj/Debug/2_8_Lottery.csproj.FileListAbsolute.txt b/golovko.greg/Task_1_Basics/2_8_Lottery/obj/Debug/2_8_Lottery.csproj.FileListAbsolute.txt deleted file mode 100644 index c2a2645..0000000 --- a/golovko.greg/Task_1_Basics/2_8_Lottery/obj/Debug/2_8_Lottery.csproj.FileListAbsolute.txt +++ /dev/null @@ -1,5 +0,0 @@ -C:\Users\Головко\Desktop\Task_1_Basics\2_8_Lottery\bin\Debug\2_8_Lottery.exe.config -C:\Users\Головко\Desktop\Task_1_Basics\2_8_Lottery\bin\Debug\2_8_Lottery.exe -C:\Users\Головко\Desktop\Task_1_Basics\2_8_Lottery\bin\Debug\2_8_Lottery.pdb -C:\Users\Головко\Desktop\Task_1_Basics\2_8_Lottery\obj\Debug\2_8_Lottery.exe -C:\Users\Головко\Desktop\Task_1_Basics\2_8_Lottery\obj\Debug\2_8_Lottery.pdb diff --git a/golovko.greg/Task_1_Basics/2_8_Lottery/obj/Debug/2_8_Lottery.exe b/golovko.greg/Task_1_Basics/2_8_Lottery/obj/Debug/2_8_Lottery.exe deleted file mode 100644 index 4563b8e..0000000 Binary files a/golovko.greg/Task_1_Basics/2_8_Lottery/obj/Debug/2_8_Lottery.exe and /dev/null differ diff --git a/golovko.greg/Task_1_Basics/2_8_Lottery/obj/Debug/2_8_Lottery.pdb b/golovko.greg/Task_1_Basics/2_8_Lottery/obj/Debug/2_8_Lottery.pdb deleted file mode 100644 index d9e1385..0000000 Binary files a/golovko.greg/Task_1_Basics/2_8_Lottery/obj/Debug/2_8_Lottery.pdb and /dev/null differ diff --git a/golovko.greg/Task_1_Basics/2_8_Lottery/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/golovko.greg/Task_1_Basics/2_8_Lottery/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache deleted file mode 100644 index 3750f86..0000000 Binary files a/golovko.greg/Task_1_Basics/2_8_Lottery/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache and /dev/null differ diff --git a/golovko.greg/Task_1_Basics/2_8_Lottery/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs b/golovko.greg/Task_1_Basics/2_8_Lottery/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs deleted file mode 100644 index e69de29..0000000 diff --git a/golovko.greg/Task_1_Basics/2_8_Lottery/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs b/golovko.greg/Task_1_Basics/2_8_Lottery/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs deleted file mode 100644 index e69de29..0000000 diff --git a/golovko.greg/Task_1_Basics/2_8_Lottery/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs b/golovko.greg/Task_1_Basics/2_8_Lottery/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs deleted file mode 100644 index e69de29..0000000 diff --git a/golovko.greg/Task_1_Basics/2_9_CurrencyExchanger/2_9_CurrencyExchanger.csproj b/golovko.greg/Task_1_Basics/2_9_CurrencyExchanger/2_9_CurrencyExchanger.csproj deleted file mode 100644 index 8540493..0000000 --- a/golovko.greg/Task_1_Basics/2_9_CurrencyExchanger/2_9_CurrencyExchanger.csproj +++ /dev/null @@ -1,66 +0,0 @@ - - - - - Debug - AnyCPU - {04D1A851-6A61-414B-965E-6D83B9C020BA} - Exe - Properties - _2_9_CurrencyExchanger - 2_9_CurrencyExchanger - v4.5.2 - 512 - true - - - AnyCPU - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - AnyCPU - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/golovko.greg/Task_1_Basics/2_9_CurrencyExchanger/Currency.cs b/golovko.greg/Task_1_Basics/2_9_CurrencyExchanger/Currency.cs deleted file mode 100644 index e461932..0000000 --- a/golovko.greg/Task_1_Basics/2_9_CurrencyExchanger/Currency.cs +++ /dev/null @@ -1,21 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace _2_9_CurrencyExchanger -{ - class Currency : ICurrency - { - public string Name { get; } - public double Buy { get; } - public double Sell { get; } - public Currency(string name, double buy, double sell) - { - this.Name = name; - this.Buy = buy; - this.Sell = sell; - } - } -} diff --git a/golovko.greg/Task_1_Basics/2_9_CurrencyExchanger/Exchanger.cs b/golovko.greg/Task_1_Basics/2_9_CurrencyExchanger/Exchanger.cs deleted file mode 100644 index 074c5df..0000000 --- a/golovko.greg/Task_1_Basics/2_9_CurrencyExchanger/Exchanger.cs +++ /dev/null @@ -1,16 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace _2_9_CurrencyExchanger -{ - static class Exchanger - { - public static double Exchange(Currency currencyFrom, Currency currencyTo, double volume, Type type) - { - return type > 0 ? volume * currencyFrom.Buy / currencyTo.Buy : volume * currencyFrom.Sell / currencyTo.Sell; - } - } -} diff --git a/golovko.greg/Task_1_Basics/2_9_CurrencyExchanger/ICurrency.cs b/golovko.greg/Task_1_Basics/2_9_CurrencyExchanger/ICurrency.cs deleted file mode 100644 index 9e351a3..0000000 --- a/golovko.greg/Task_1_Basics/2_9_CurrencyExchanger/ICurrency.cs +++ /dev/null @@ -1,15 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace _2_9_CurrencyExchanger -{ - interface ICurrency - { - string Name { get; } - double Sell { get; } - double Buy { get; } - } -} diff --git a/golovko.greg/Task_1_Basics/2_9_CurrencyExchanger/IMoneyExchanger.cs b/golovko.greg/Task_1_Basics/2_9_CurrencyExchanger/IMoneyExchanger.cs deleted file mode 100644 index 5e9911c..0000000 --- a/golovko.greg/Task_1_Basics/2_9_CurrencyExchanger/IMoneyExchanger.cs +++ /dev/null @@ -1,15 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace _2_9_CurrencyExchanger -{ - interface IMoneyExchanger - { - void Add(Currency currency); - void Exchange(Currency currency, double volume, Type type); - Currency GetCurrencyByName(string name); - } -} diff --git a/golovko.greg/Task_1_Basics/2_9_CurrencyExchanger/MoneyExchanger.cs b/golovko.greg/Task_1_Basics/2_9_CurrencyExchanger/MoneyExchanger.cs deleted file mode 100644 index 8ee3274..0000000 --- a/golovko.greg/Task_1_Basics/2_9_CurrencyExchanger/MoneyExchanger.cs +++ /dev/null @@ -1,40 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace _2_9_CurrencyExchanger -{ - class MoneyExchanger : IMoneyExchanger - { - private readonly List currencies; - public MoneyExchanger() - { - currencies = new List(); - } - public void Add(Currency currency) - { - currencies.Add(currency); - } - public void Exchange(Currency currency, double volume, Type type) - { - foreach (Currency curr in currencies) - { - if (currency.Name == curr.Name) continue; - Console.WriteLine("{0} -> {1} = {2}", currency.Name, curr.Name, Exchanger.Exchange(currency, curr, volume, type)); - } - } - public Currency GetCurrencyByName(string name) - { - Currency resCurrency = null; - foreach (Currency currency in currencies) - { - if (currency.Name == name) resCurrency = currency; - } - return resCurrency; - } - - - } -} diff --git a/golovko.greg/Task_1_Basics/2_9_CurrencyExchanger/Program.cs b/golovko.greg/Task_1_Basics/2_9_CurrencyExchanger/Program.cs deleted file mode 100644 index 1d41129..0000000 --- a/golovko.greg/Task_1_Basics/2_9_CurrencyExchanger/Program.cs +++ /dev/null @@ -1,30 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace _2_9_CurrencyExchanger -{ - class Program - { - static void Main(string[] args) - { - IMoneyExchanger exchanger = new MoneyExchanger(); - exchanger.Add(new Currency("UAH", 1, 1)); - exchanger.Add(new Currency("USD", 26.11, 26.38)); - exchanger.Add(new Currency("EUR", 29.25, 29.52)); - Console.WriteLine("Enter the currency (UAH, USD, EUR):"); - Currency baseCurrency = exchanger.GetCurrencyByName(Console.ReadLine()); - if (baseCurrency == null) - Console.WriteLine("Currency isn't exist"); - else - { - Console.WriteLine("Enter the volume:"); - double volume = double.Parse(Console.ReadLine()); - exchanger.Exchange(baseCurrency, volume, Type.Sell); - } - Console.ReadKey(); - } - } -} diff --git a/golovko.greg/Task_1_Basics/2_9_CurrencyExchanger/Properties/AssemblyInfo.cs b/golovko.greg/Task_1_Basics/2_9_CurrencyExchanger/Properties/AssemblyInfo.cs deleted file mode 100644 index 18cca54..0000000 --- a/golovko.greg/Task_1_Basics/2_9_CurrencyExchanger/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,36 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -[assembly: AssemblyTitle("2_9_CurrencyExchanger")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("2_9_CurrencyExchanger")] -[assembly: AssemblyCopyright("Copyright © 2016")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. -[assembly: ComVisible(false)] - -// The following GUID is for the ID of the typelib if this project is exposed to COM -[assembly: Guid("04d1a851-6a61-414b-965e-6d83b9c020ba")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Build and Revision Numbers -// by using the '*' as shown below: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/golovko.greg/Task_1_Basics/2_9_CurrencyExchanger/Type.cs b/golovko.greg/Task_1_Basics/2_9_CurrencyExchanger/Type.cs deleted file mode 100644 index 88f59d2..0000000 --- a/golovko.greg/Task_1_Basics/2_9_CurrencyExchanger/Type.cs +++ /dev/null @@ -1,14 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace _2_9_CurrencyExchanger -{ - enum Type : byte - { - Sell, - Buy - } -} diff --git a/golovko.greg/Task_1_Basics/2_9_CurrencyExchanger/bin/Debug/2_9_CurrencyExchanger.exe b/golovko.greg/Task_1_Basics/2_9_CurrencyExchanger/bin/Debug/2_9_CurrencyExchanger.exe deleted file mode 100644 index 6257ff2..0000000 Binary files a/golovko.greg/Task_1_Basics/2_9_CurrencyExchanger/bin/Debug/2_9_CurrencyExchanger.exe and /dev/null differ diff --git a/golovko.greg/Task_1_Basics/2_9_CurrencyExchanger/bin/Debug/2_9_CurrencyExchanger.pdb b/golovko.greg/Task_1_Basics/2_9_CurrencyExchanger/bin/Debug/2_9_CurrencyExchanger.pdb deleted file mode 100644 index 51d43c1..0000000 Binary files a/golovko.greg/Task_1_Basics/2_9_CurrencyExchanger/bin/Debug/2_9_CurrencyExchanger.pdb and /dev/null differ diff --git a/golovko.greg/Task_1_Basics/2_9_CurrencyExchanger/obj/Debug/2_9_CurrencyExchanger.csproj.FileListAbsolute.txt b/golovko.greg/Task_1_Basics/2_9_CurrencyExchanger/obj/Debug/2_9_CurrencyExchanger.csproj.FileListAbsolute.txt deleted file mode 100644 index 760714d..0000000 --- a/golovko.greg/Task_1_Basics/2_9_CurrencyExchanger/obj/Debug/2_9_CurrencyExchanger.csproj.FileListAbsolute.txt +++ /dev/null @@ -1,5 +0,0 @@ -C:\Users\Головко\Desktop\Task_1_Basics\2_9_CurrencyExchanger\bin\Debug\2_9_CurrencyExchanger.exe.config -C:\Users\Головко\Desktop\Task_1_Basics\2_9_CurrencyExchanger\bin\Debug\2_9_CurrencyExchanger.exe -C:\Users\Головко\Desktop\Task_1_Basics\2_9_CurrencyExchanger\bin\Debug\2_9_CurrencyExchanger.pdb -C:\Users\Головко\Desktop\Task_1_Basics\2_9_CurrencyExchanger\obj\Debug\2_9_CurrencyExchanger.exe -C:\Users\Головко\Desktop\Task_1_Basics\2_9_CurrencyExchanger\obj\Debug\2_9_CurrencyExchanger.pdb diff --git a/golovko.greg/Task_1_Basics/2_9_CurrencyExchanger/obj/Debug/2_9_CurrencyExchanger.exe b/golovko.greg/Task_1_Basics/2_9_CurrencyExchanger/obj/Debug/2_9_CurrencyExchanger.exe deleted file mode 100644 index 6257ff2..0000000 Binary files a/golovko.greg/Task_1_Basics/2_9_CurrencyExchanger/obj/Debug/2_9_CurrencyExchanger.exe and /dev/null differ diff --git a/golovko.greg/Task_1_Basics/2_9_CurrencyExchanger/obj/Debug/2_9_CurrencyExchanger.pdb b/golovko.greg/Task_1_Basics/2_9_CurrencyExchanger/obj/Debug/2_9_CurrencyExchanger.pdb deleted file mode 100644 index 51d43c1..0000000 Binary files a/golovko.greg/Task_1_Basics/2_9_CurrencyExchanger/obj/Debug/2_9_CurrencyExchanger.pdb and /dev/null differ diff --git a/golovko.greg/Task_1_Basics/2_9_CurrencyExchanger/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/golovko.greg/Task_1_Basics/2_9_CurrencyExchanger/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache deleted file mode 100644 index 50626aa..0000000 Binary files a/golovko.greg/Task_1_Basics/2_9_CurrencyExchanger/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache and /dev/null differ diff --git a/golovko.greg/Task_1_Basics/2_9_CurrencyExchanger/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs b/golovko.greg/Task_1_Basics/2_9_CurrencyExchanger/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs deleted file mode 100644 index e69de29..0000000 diff --git a/golovko.greg/Task_1_Basics/2_9_CurrencyExchanger/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs b/golovko.greg/Task_1_Basics/2_9_CurrencyExchanger/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs deleted file mode 100644 index e69de29..0000000 diff --git a/golovko.greg/Task_1_Basics/2_9_CurrencyExchanger/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs b/golovko.greg/Task_1_Basics/2_9_CurrencyExchanger/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs deleted file mode 100644 index e69de29..0000000 diff --git a/golovko.greg/Task_1_Basics/3_1_MultiplyTable/3_1_MultiplyTable.csproj b/golovko.greg/Task_1_Basics/3_1_MultiplyTable/3_1_MultiplyTable.csproj deleted file mode 100644 index 8a05190..0000000 --- a/golovko.greg/Task_1_Basics/3_1_MultiplyTable/3_1_MultiplyTable.csproj +++ /dev/null @@ -1,62 +0,0 @@ - - - - - Debug - AnyCPU - {00CF51DD-5B4D-4F72-9A74-A8067F8D6B98} - Exe - Properties - _3_1_MultiplyTable - 3_1_MultiplyTable - v4.5.2 - 512 - true - - - AnyCPU - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - AnyCPU - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/golovko.greg/Task_1_Basics/3_1_MultiplyTable/IMultiplyTable.cs b/golovko.greg/Task_1_Basics/3_1_MultiplyTable/IMultiplyTable.cs deleted file mode 100644 index 59d90c8..0000000 --- a/golovko.greg/Task_1_Basics/3_1_MultiplyTable/IMultiplyTable.cs +++ /dev/null @@ -1,13 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace _3_1_MultiplyTable -{ - interface IMultiplyTable - { - void ToBuild(int multiplier); - } -} diff --git a/golovko.greg/Task_1_Basics/3_1_MultiplyTable/MultiplyTable.cs b/golovko.greg/Task_1_Basics/3_1_MultiplyTable/MultiplyTable.cs deleted file mode 100644 index d31cbb6..0000000 --- a/golovko.greg/Task_1_Basics/3_1_MultiplyTable/MultiplyTable.cs +++ /dev/null @@ -1,24 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace _3_1_MultiplyTable -{ - class MultiplyTable : IMultiplyTable - { - private readonly int range; - public MultiplyTable(int range) - { - this.range = range; - } - public void ToBuild(int multiplier) - { - for (int i = 1; i <= range; i++) - { - Console.WriteLine("{0} x {1} = {2}", i, multiplier, i * multiplier); - } - } - } -} diff --git a/golovko.greg/Task_1_Basics/3_1_MultiplyTable/Program.cs b/golovko.greg/Task_1_Basics/3_1_MultiplyTable/Program.cs deleted file mode 100644 index 1b94500..0000000 --- a/golovko.greg/Task_1_Basics/3_1_MultiplyTable/Program.cs +++ /dev/null @@ -1,20 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace _3_1_MultiplyTable -{ - class Program - { - static void Main(string[] args) - { - IMultiplyTable table = new MultiplyTable(20); - Console.WriteLine("Enter the number for multiplying:"); - int multilier = int.Parse(Console.ReadLine()); - table.ToBuild(multilier); - Console.ReadKey(); - } - } -} diff --git a/golovko.greg/Task_1_Basics/3_1_MultiplyTable/Properties/AssemblyInfo.cs b/golovko.greg/Task_1_Basics/3_1_MultiplyTable/Properties/AssemblyInfo.cs deleted file mode 100644 index 1d3ca2f..0000000 --- a/golovko.greg/Task_1_Basics/3_1_MultiplyTable/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,36 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -[assembly: AssemblyTitle("3_1_MultiplyTable")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("3_1_MultiplyTable")] -[assembly: AssemblyCopyright("Copyright © 2016")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. -[assembly: ComVisible(false)] - -// The following GUID is for the ID of the typelib if this project is exposed to COM -[assembly: Guid("00cf51dd-5b4d-4f72-9a74-a8067f8d6b98")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Build and Revision Numbers -// by using the '*' as shown below: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/golovko.greg/Task_1_Basics/3_1_MultiplyTable/bin/Debug/3_1_MultiplyTable.exe b/golovko.greg/Task_1_Basics/3_1_MultiplyTable/bin/Debug/3_1_MultiplyTable.exe deleted file mode 100644 index 5b02c70..0000000 Binary files a/golovko.greg/Task_1_Basics/3_1_MultiplyTable/bin/Debug/3_1_MultiplyTable.exe and /dev/null differ diff --git a/golovko.greg/Task_1_Basics/3_1_MultiplyTable/bin/Debug/3_1_MultiplyTable.pdb b/golovko.greg/Task_1_Basics/3_1_MultiplyTable/bin/Debug/3_1_MultiplyTable.pdb deleted file mode 100644 index 9eb8b93..0000000 Binary files a/golovko.greg/Task_1_Basics/3_1_MultiplyTable/bin/Debug/3_1_MultiplyTable.pdb and /dev/null differ diff --git a/golovko.greg/Task_1_Basics/3_1_MultiplyTable/obj/Debug/3_1_MultiplyTable.csproj.FileListAbsolute.txt b/golovko.greg/Task_1_Basics/3_1_MultiplyTable/obj/Debug/3_1_MultiplyTable.csproj.FileListAbsolute.txt deleted file mode 100644 index 470ee75..0000000 --- a/golovko.greg/Task_1_Basics/3_1_MultiplyTable/obj/Debug/3_1_MultiplyTable.csproj.FileListAbsolute.txt +++ /dev/null @@ -1,5 +0,0 @@ -C:\Users\Головко\Desktop\Task_1_Basics\3_1_MultiplyTable\bin\Debug\3_1_MultiplyTable.exe.config -C:\Users\Головко\Desktop\Task_1_Basics\3_1_MultiplyTable\bin\Debug\3_1_MultiplyTable.exe -C:\Users\Головко\Desktop\Task_1_Basics\3_1_MultiplyTable\bin\Debug\3_1_MultiplyTable.pdb -C:\Users\Головко\Desktop\Task_1_Basics\3_1_MultiplyTable\obj\Debug\3_1_MultiplyTable.exe -C:\Users\Головко\Desktop\Task_1_Basics\3_1_MultiplyTable\obj\Debug\3_1_MultiplyTable.pdb diff --git a/golovko.greg/Task_1_Basics/3_1_MultiplyTable/obj/Debug/3_1_MultiplyTable.exe b/golovko.greg/Task_1_Basics/3_1_MultiplyTable/obj/Debug/3_1_MultiplyTable.exe deleted file mode 100644 index 5b02c70..0000000 Binary files a/golovko.greg/Task_1_Basics/3_1_MultiplyTable/obj/Debug/3_1_MultiplyTable.exe and /dev/null differ diff --git a/golovko.greg/Task_1_Basics/3_1_MultiplyTable/obj/Debug/3_1_MultiplyTable.pdb b/golovko.greg/Task_1_Basics/3_1_MultiplyTable/obj/Debug/3_1_MultiplyTable.pdb deleted file mode 100644 index 9eb8b93..0000000 Binary files a/golovko.greg/Task_1_Basics/3_1_MultiplyTable/obj/Debug/3_1_MultiplyTable.pdb and /dev/null differ diff --git a/golovko.greg/Task_1_Basics/3_1_MultiplyTable/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/golovko.greg/Task_1_Basics/3_1_MultiplyTable/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache deleted file mode 100644 index a2ac331..0000000 Binary files a/golovko.greg/Task_1_Basics/3_1_MultiplyTable/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache and /dev/null differ diff --git a/golovko.greg/Task_1_Basics/3_1_MultiplyTable/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs b/golovko.greg/Task_1_Basics/3_1_MultiplyTable/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs deleted file mode 100644 index e69de29..0000000 diff --git a/golovko.greg/Task_1_Basics/3_1_MultiplyTable/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs b/golovko.greg/Task_1_Basics/3_1_MultiplyTable/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs deleted file mode 100644 index e69de29..0000000 diff --git a/golovko.greg/Task_1_Basics/3_1_MultiplyTable/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs b/golovko.greg/Task_1_Basics/3_1_MultiplyTable/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs deleted file mode 100644 index e69de29..0000000 diff --git a/golovko.greg/Task_1_Basics/3_2_NumberRange/3_2_NumberRange.csproj b/golovko.greg/Task_1_Basics/3_2_NumberRange/3_2_NumberRange.csproj deleted file mode 100644 index a7f590e..0000000 --- a/golovko.greg/Task_1_Basics/3_2_NumberRange/3_2_NumberRange.csproj +++ /dev/null @@ -1,62 +0,0 @@ - - - - - Debug - AnyCPU - {79DF1B8F-1A1F-4EF8-BE3C-5CD1BBFC9DDF} - Exe - Properties - _3_2_NumberRange - 3_2_NumberRange - v4.5.2 - 512 - true - - - AnyCPU - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - AnyCPU - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/golovko.greg/Task_1_Basics/3_2_NumberRange/INumber.cs b/golovko.greg/Task_1_Basics/3_2_NumberRange/INumber.cs deleted file mode 100644 index 5449d47..0000000 --- a/golovko.greg/Task_1_Basics/3_2_NumberRange/INumber.cs +++ /dev/null @@ -1,13 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace _3_2_NumberRange -{ - interface INumber - { - int GetRange(int number); - } -} diff --git a/golovko.greg/Task_1_Basics/3_2_NumberRange/Number.cs b/golovko.greg/Task_1_Basics/3_2_NumberRange/Number.cs deleted file mode 100644 index 2f55d71..0000000 --- a/golovko.greg/Task_1_Basics/3_2_NumberRange/Number.cs +++ /dev/null @@ -1,18 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace _3_2_NumberRange -{ - class Number : INumber - { - public int GetRange(int number) - { - int range = 0; - while (Math.Truncate((decimal)(number / Math.Pow(10, ++range))) > 0) ; - return range; - } - } -} diff --git a/golovko.greg/Task_1_Basics/3_2_NumberRange/Program.cs b/golovko.greg/Task_1_Basics/3_2_NumberRange/Program.cs deleted file mode 100644 index c3a7fb8..0000000 --- a/golovko.greg/Task_1_Basics/3_2_NumberRange/Program.cs +++ /dev/null @@ -1,20 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace _3_2_NumberRange -{ - class Program - { - static void Main(string[] args) - { - INumber number = new Number(); - Console.WriteLine("Enter the number, please:"); - int n = int.Parse(Console.ReadLine()); - Console.WriteLine("The number has {0} ranges", number.GetRange(n)); - Console.ReadKey(); - } - } -} diff --git a/golovko.greg/Task_1_Basics/3_2_NumberRange/Properties/AssemblyInfo.cs b/golovko.greg/Task_1_Basics/3_2_NumberRange/Properties/AssemblyInfo.cs deleted file mode 100644 index 1333bb4..0000000 --- a/golovko.greg/Task_1_Basics/3_2_NumberRange/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,36 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -[assembly: AssemblyTitle("3_2_NumberRange")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("3_2_NumberRange")] -[assembly: AssemblyCopyright("Copyright © 2016")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. -[assembly: ComVisible(false)] - -// The following GUID is for the ID of the typelib if this project is exposed to COM -[assembly: Guid("79df1b8f-1a1f-4ef8-be3c-5cd1bbfc9ddf")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Build and Revision Numbers -// by using the '*' as shown below: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/golovko.greg/Task_1_Basics/3_2_NumberRange/bin/Debug/3_2_NumberRange.exe b/golovko.greg/Task_1_Basics/3_2_NumberRange/bin/Debug/3_2_NumberRange.exe deleted file mode 100644 index eea335f..0000000 Binary files a/golovko.greg/Task_1_Basics/3_2_NumberRange/bin/Debug/3_2_NumberRange.exe and /dev/null differ diff --git a/golovko.greg/Task_1_Basics/3_2_NumberRange/bin/Debug/3_2_NumberRange.pdb b/golovko.greg/Task_1_Basics/3_2_NumberRange/bin/Debug/3_2_NumberRange.pdb deleted file mode 100644 index f5bb306..0000000 Binary files a/golovko.greg/Task_1_Basics/3_2_NumberRange/bin/Debug/3_2_NumberRange.pdb and /dev/null differ diff --git a/golovko.greg/Task_1_Basics/3_2_NumberRange/obj/Debug/3_2_NumberRange.csproj.FileListAbsolute.txt b/golovko.greg/Task_1_Basics/3_2_NumberRange/obj/Debug/3_2_NumberRange.csproj.FileListAbsolute.txt deleted file mode 100644 index c0653d9..0000000 --- a/golovko.greg/Task_1_Basics/3_2_NumberRange/obj/Debug/3_2_NumberRange.csproj.FileListAbsolute.txt +++ /dev/null @@ -1,5 +0,0 @@ -C:\Users\Головко\Desktop\Task_1_Basics\3_2_NumberRange\bin\Debug\3_2_NumberRange.exe.config -C:\Users\Головко\Desktop\Task_1_Basics\3_2_NumberRange\bin\Debug\3_2_NumberRange.exe -C:\Users\Головко\Desktop\Task_1_Basics\3_2_NumberRange\bin\Debug\3_2_NumberRange.pdb -C:\Users\Головко\Desktop\Task_1_Basics\3_2_NumberRange\obj\Debug\3_2_NumberRange.exe -C:\Users\Головко\Desktop\Task_1_Basics\3_2_NumberRange\obj\Debug\3_2_NumberRange.pdb diff --git a/golovko.greg/Task_1_Basics/3_2_NumberRange/obj/Debug/3_2_NumberRange.exe b/golovko.greg/Task_1_Basics/3_2_NumberRange/obj/Debug/3_2_NumberRange.exe deleted file mode 100644 index eea335f..0000000 Binary files a/golovko.greg/Task_1_Basics/3_2_NumberRange/obj/Debug/3_2_NumberRange.exe and /dev/null differ diff --git a/golovko.greg/Task_1_Basics/3_2_NumberRange/obj/Debug/3_2_NumberRange.pdb b/golovko.greg/Task_1_Basics/3_2_NumberRange/obj/Debug/3_2_NumberRange.pdb deleted file mode 100644 index f5bb306..0000000 Binary files a/golovko.greg/Task_1_Basics/3_2_NumberRange/obj/Debug/3_2_NumberRange.pdb and /dev/null differ diff --git a/golovko.greg/Task_1_Basics/3_2_NumberRange/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/golovko.greg/Task_1_Basics/3_2_NumberRange/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache deleted file mode 100644 index 5ff34c7..0000000 Binary files a/golovko.greg/Task_1_Basics/3_2_NumberRange/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache and /dev/null differ diff --git a/golovko.greg/Task_1_Basics/3_2_NumberRange/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs b/golovko.greg/Task_1_Basics/3_2_NumberRange/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs deleted file mode 100644 index e69de29..0000000 diff --git a/golovko.greg/Task_1_Basics/3_2_NumberRange/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs b/golovko.greg/Task_1_Basics/3_2_NumberRange/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs deleted file mode 100644 index e69de29..0000000 diff --git a/golovko.greg/Task_1_Basics/3_2_NumberRange/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs b/golovko.greg/Task_1_Basics/3_2_NumberRange/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs deleted file mode 100644 index e69de29..0000000 diff --git a/golovko.greg/Task_1_Basics/3_3_WhatNumber/3_3_WhatNumber.csproj b/golovko.greg/Task_1_Basics/3_3_WhatNumber/3_3_WhatNumber.csproj deleted file mode 100644 index 35045c9..0000000 --- a/golovko.greg/Task_1_Basics/3_3_WhatNumber/3_3_WhatNumber.csproj +++ /dev/null @@ -1,63 +0,0 @@ - - - - - Debug - AnyCPU - {28A30B0E-6195-474D-BAB8-00E08F1A5BE2} - Exe - Properties - _3_3_WhatNumber - 3_3_WhatNumber - v4.5.2 - 512 - true - - - AnyCPU - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - AnyCPU - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/golovko.greg/Task_1_Basics/3_3_WhatNumber/Game.cs b/golovko.greg/Task_1_Basics/3_3_WhatNumber/Game.cs deleted file mode 100644 index f1eaa8e..0000000 --- a/golovko.greg/Task_1_Basics/3_3_WhatNumber/Game.cs +++ /dev/null @@ -1,33 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace _3_3_WhatNumber -{ - class Game : IGame - { - private readonly int numberMin; - private readonly int numberMax; - public Game(int numberMin, int numberMax) - { - this.numberMin = numberMin; - this.numberMax = numberMax; - } - public void Play() - { - int number = Generator.Generate(numberMin, numberMax); - int result; - int count = 1; - do - { - Console.WriteLine("Try number {0}. Let's guess the number:", count++); - result = int.Parse(Console.ReadLine()); - Console.WriteLine(result > number ? "less <" : "more >"); - } - while (number != result); - Console.WriteLine("Try number {0}. You guess!!!", count); - } - } -} diff --git a/golovko.greg/Task_1_Basics/3_3_WhatNumber/Generator.cs b/golovko.greg/Task_1_Basics/3_3_WhatNumber/Generator.cs deleted file mode 100644 index 6aab18c..0000000 --- a/golovko.greg/Task_1_Basics/3_3_WhatNumber/Generator.cs +++ /dev/null @@ -1,26 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace _3_3_WhatNumber -{ - static class Generator - { - private static readonly Random rnd; - private static readonly object syncLocker; - static Generator() - { - rnd = new Random(DateTime.Now.Millisecond); - syncLocker = new object(); - } - public static int Generate(int min, int max) - { - lock(syncLocker) - { - return rnd.Next(min, max); - } - } - } -} diff --git a/golovko.greg/Task_1_Basics/3_3_WhatNumber/IGame.cs b/golovko.greg/Task_1_Basics/3_3_WhatNumber/IGame.cs deleted file mode 100644 index 79a34c0..0000000 --- a/golovko.greg/Task_1_Basics/3_3_WhatNumber/IGame.cs +++ /dev/null @@ -1,13 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace _3_3_WhatNumber -{ - interface IGame - { - void Play(); - } -} diff --git a/golovko.greg/Task_1_Basics/3_3_WhatNumber/Program.cs b/golovko.greg/Task_1_Basics/3_3_WhatNumber/Program.cs deleted file mode 100644 index 748215c..0000000 --- a/golovko.greg/Task_1_Basics/3_3_WhatNumber/Program.cs +++ /dev/null @@ -1,18 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace _3_3_WhatNumber -{ - class Program - { - static void Main(string[] args) - { - IGame game = new Game(1, 146); - game.Play(); - Console.ReadKey(); - } - } -} diff --git a/golovko.greg/Task_1_Basics/3_3_WhatNumber/Properties/AssemblyInfo.cs b/golovko.greg/Task_1_Basics/3_3_WhatNumber/Properties/AssemblyInfo.cs deleted file mode 100644 index 5518bd5..0000000 --- a/golovko.greg/Task_1_Basics/3_3_WhatNumber/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,36 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -[assembly: AssemblyTitle("3_3_WhatNumber")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("3_3_WhatNumber")] -[assembly: AssemblyCopyright("Copyright © 2016")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. -[assembly: ComVisible(false)] - -// The following GUID is for the ID of the typelib if this project is exposed to COM -[assembly: Guid("28a30b0e-6195-474d-bab8-00e08f1a5be2")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Build and Revision Numbers -// by using the '*' as shown below: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/golovko.greg/Task_1_Basics/3_3_WhatNumber/bin/Debug/3_3_WhatNumber.exe b/golovko.greg/Task_1_Basics/3_3_WhatNumber/bin/Debug/3_3_WhatNumber.exe deleted file mode 100644 index c421362..0000000 Binary files a/golovko.greg/Task_1_Basics/3_3_WhatNumber/bin/Debug/3_3_WhatNumber.exe and /dev/null differ diff --git a/golovko.greg/Task_1_Basics/3_3_WhatNumber/bin/Debug/3_3_WhatNumber.pdb b/golovko.greg/Task_1_Basics/3_3_WhatNumber/bin/Debug/3_3_WhatNumber.pdb deleted file mode 100644 index e4b898a..0000000 Binary files a/golovko.greg/Task_1_Basics/3_3_WhatNumber/bin/Debug/3_3_WhatNumber.pdb and /dev/null differ diff --git a/golovko.greg/Task_1_Basics/3_3_WhatNumber/obj/Debug/3_3_WhatNumber.csproj.FileListAbsolute.txt b/golovko.greg/Task_1_Basics/3_3_WhatNumber/obj/Debug/3_3_WhatNumber.csproj.FileListAbsolute.txt deleted file mode 100644 index 9fcbe64..0000000 --- a/golovko.greg/Task_1_Basics/3_3_WhatNumber/obj/Debug/3_3_WhatNumber.csproj.FileListAbsolute.txt +++ /dev/null @@ -1,5 +0,0 @@ -C:\Users\Головко\Desktop\Task_1_Basics\3_3_WhatNumber\bin\Debug\3_3_WhatNumber.exe.config -C:\Users\Головко\Desktop\Task_1_Basics\3_3_WhatNumber\bin\Debug\3_3_WhatNumber.exe -C:\Users\Головко\Desktop\Task_1_Basics\3_3_WhatNumber\bin\Debug\3_3_WhatNumber.pdb -C:\Users\Головко\Desktop\Task_1_Basics\3_3_WhatNumber\obj\Debug\3_3_WhatNumber.exe -C:\Users\Головко\Desktop\Task_1_Basics\3_3_WhatNumber\obj\Debug\3_3_WhatNumber.pdb diff --git a/golovko.greg/Task_1_Basics/3_3_WhatNumber/obj/Debug/3_3_WhatNumber.exe b/golovko.greg/Task_1_Basics/3_3_WhatNumber/obj/Debug/3_3_WhatNumber.exe deleted file mode 100644 index c421362..0000000 Binary files a/golovko.greg/Task_1_Basics/3_3_WhatNumber/obj/Debug/3_3_WhatNumber.exe and /dev/null differ diff --git a/golovko.greg/Task_1_Basics/3_3_WhatNumber/obj/Debug/3_3_WhatNumber.pdb b/golovko.greg/Task_1_Basics/3_3_WhatNumber/obj/Debug/3_3_WhatNumber.pdb deleted file mode 100644 index e4b898a..0000000 Binary files a/golovko.greg/Task_1_Basics/3_3_WhatNumber/obj/Debug/3_3_WhatNumber.pdb and /dev/null differ diff --git a/golovko.greg/Task_1_Basics/3_3_WhatNumber/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/golovko.greg/Task_1_Basics/3_3_WhatNumber/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache deleted file mode 100644 index ca2e3ca..0000000 Binary files a/golovko.greg/Task_1_Basics/3_3_WhatNumber/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache and /dev/null differ diff --git a/golovko.greg/Task_1_Basics/3_3_WhatNumber/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs b/golovko.greg/Task_1_Basics/3_3_WhatNumber/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs deleted file mode 100644 index e69de29..0000000 diff --git a/golovko.greg/Task_1_Basics/3_3_WhatNumber/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs b/golovko.greg/Task_1_Basics/3_3_WhatNumber/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs deleted file mode 100644 index e69de29..0000000 diff --git a/golovko.greg/Task_1_Basics/3_3_WhatNumber/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs b/golovko.greg/Task_1_Basics/3_3_WhatNumber/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs deleted file mode 100644 index e69de29..0000000 diff --git a/golovko.greg/Task_1_Basics/3_4_SquareNumbers/3_4_SquareNumbers.csproj b/golovko.greg/Task_1_Basics/3_4_SquareNumbers/3_4_SquareNumbers.csproj deleted file mode 100644 index 9c96d9b..0000000 --- a/golovko.greg/Task_1_Basics/3_4_SquareNumbers/3_4_SquareNumbers.csproj +++ /dev/null @@ -1,62 +0,0 @@ - - - - - Debug - AnyCPU - {8C82D2FF-4A44-4B24-8785-423CC503EC13} - Exe - Properties - _3_4_SquareNumbers - 3_4_SquareNumbers - v4.5.2 - 512 - true - - - AnyCPU - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - AnyCPU - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/golovko.greg/Task_1_Basics/3_4_SquareNumbers/ISquareNumber.cs b/golovko.greg/Task_1_Basics/3_4_SquareNumbers/ISquareNumber.cs deleted file mode 100644 index 35c9ab2..0000000 --- a/golovko.greg/Task_1_Basics/3_4_SquareNumbers/ISquareNumber.cs +++ /dev/null @@ -1,13 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace _3_4_SquareNumbers -{ - interface ISquareNumber - { - void GetSquares(); - } -} diff --git a/golovko.greg/Task_1_Basics/3_4_SquareNumbers/Program.cs b/golovko.greg/Task_1_Basics/3_4_SquareNumbers/Program.cs deleted file mode 100644 index 7b42e93..0000000 --- a/golovko.greg/Task_1_Basics/3_4_SquareNumbers/Program.cs +++ /dev/null @@ -1,20 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace _3_4_SquareNumbers -{ - class Program - { - static void Main(string[] args) - { - Console.WriteLine("Enter the limit of square numbers:"); - int limit = int.Parse(Console.ReadLine()); - ISquareNumber squares = new SquareNumber(limit); - squares.GetSquares(); - Console.ReadKey(); - } - } -} diff --git a/golovko.greg/Task_1_Basics/3_4_SquareNumbers/Properties/AssemblyInfo.cs b/golovko.greg/Task_1_Basics/3_4_SquareNumbers/Properties/AssemblyInfo.cs deleted file mode 100644 index 5e73325..0000000 --- a/golovko.greg/Task_1_Basics/3_4_SquareNumbers/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,36 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -[assembly: AssemblyTitle("3_4_SquareNumbers")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("3_4_SquareNumbers")] -[assembly: AssemblyCopyright("Copyright © 2016")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. -[assembly: ComVisible(false)] - -// The following GUID is for the ID of the typelib if this project is exposed to COM -[assembly: Guid("8c82d2ff-4a44-4b24-8785-423cc503ec13")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Build and Revision Numbers -// by using the '*' as shown below: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/golovko.greg/Task_1_Basics/3_4_SquareNumbers/SquareNumber.cs b/golovko.greg/Task_1_Basics/3_4_SquareNumbers/SquareNumber.cs deleted file mode 100644 index 4d2146d..0000000 --- a/golovko.greg/Task_1_Basics/3_4_SquareNumbers/SquareNumber.cs +++ /dev/null @@ -1,26 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace _3_4_SquareNumbers -{ - class SquareNumber : ISquareNumber - { - private readonly int limit; - public SquareNumber(int limit) - { - this.limit = limit; - } - public void GetSquares() - { - int number = 1; - int square; - while ((square = (int)Math.Pow(++number, 2)) < limit) - { - Console.WriteLine("{0}^2 = {1}", number, square); - } - } - } -} diff --git a/golovko.greg/Task_1_Basics/3_4_SquareNumbers/bin/Debug/3_4_SquareNumbers.exe b/golovko.greg/Task_1_Basics/3_4_SquareNumbers/bin/Debug/3_4_SquareNumbers.exe deleted file mode 100644 index 4638b0b..0000000 Binary files a/golovko.greg/Task_1_Basics/3_4_SquareNumbers/bin/Debug/3_4_SquareNumbers.exe and /dev/null differ diff --git a/golovko.greg/Task_1_Basics/3_4_SquareNumbers/bin/Debug/3_4_SquareNumbers.pdb b/golovko.greg/Task_1_Basics/3_4_SquareNumbers/bin/Debug/3_4_SquareNumbers.pdb deleted file mode 100644 index e200932..0000000 Binary files a/golovko.greg/Task_1_Basics/3_4_SquareNumbers/bin/Debug/3_4_SquareNumbers.pdb and /dev/null differ diff --git a/golovko.greg/Task_1_Basics/3_4_SquareNumbers/obj/Debug/3_4_SquareNumbers.csproj.FileListAbsolute.txt b/golovko.greg/Task_1_Basics/3_4_SquareNumbers/obj/Debug/3_4_SquareNumbers.csproj.FileListAbsolute.txt deleted file mode 100644 index 9e8e2db..0000000 --- a/golovko.greg/Task_1_Basics/3_4_SquareNumbers/obj/Debug/3_4_SquareNumbers.csproj.FileListAbsolute.txt +++ /dev/null @@ -1,5 +0,0 @@ -C:\Users\Головко\Desktop\Task_1_Basics\3_4_SquareNumbers\bin\Debug\3_4_SquareNumbers.exe.config -C:\Users\Головко\Desktop\Task_1_Basics\3_4_SquareNumbers\bin\Debug\3_4_SquareNumbers.exe -C:\Users\Головко\Desktop\Task_1_Basics\3_4_SquareNumbers\bin\Debug\3_4_SquareNumbers.pdb -C:\Users\Головко\Desktop\Task_1_Basics\3_4_SquareNumbers\obj\Debug\3_4_SquareNumbers.exe -C:\Users\Головко\Desktop\Task_1_Basics\3_4_SquareNumbers\obj\Debug\3_4_SquareNumbers.pdb diff --git a/golovko.greg/Task_1_Basics/3_4_SquareNumbers/obj/Debug/3_4_SquareNumbers.exe b/golovko.greg/Task_1_Basics/3_4_SquareNumbers/obj/Debug/3_4_SquareNumbers.exe deleted file mode 100644 index 4638b0b..0000000 Binary files a/golovko.greg/Task_1_Basics/3_4_SquareNumbers/obj/Debug/3_4_SquareNumbers.exe and /dev/null differ diff --git a/golovko.greg/Task_1_Basics/3_4_SquareNumbers/obj/Debug/3_4_SquareNumbers.pdb b/golovko.greg/Task_1_Basics/3_4_SquareNumbers/obj/Debug/3_4_SquareNumbers.pdb deleted file mode 100644 index e200932..0000000 Binary files a/golovko.greg/Task_1_Basics/3_4_SquareNumbers/obj/Debug/3_4_SquareNumbers.pdb and /dev/null differ diff --git a/golovko.greg/Task_1_Basics/3_4_SquareNumbers/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/golovko.greg/Task_1_Basics/3_4_SquareNumbers/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache deleted file mode 100644 index b3e61d0..0000000 Binary files a/golovko.greg/Task_1_Basics/3_4_SquareNumbers/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache and /dev/null differ diff --git a/golovko.greg/Task_1_Basics/3_4_SquareNumbers/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs b/golovko.greg/Task_1_Basics/3_4_SquareNumbers/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs deleted file mode 100644 index e69de29..0000000 diff --git a/golovko.greg/Task_1_Basics/3_4_SquareNumbers/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs b/golovko.greg/Task_1_Basics/3_4_SquareNumbers/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs deleted file mode 100644 index e69de29..0000000 diff --git a/golovko.greg/Task_1_Basics/3_4_SquareNumbers/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs b/golovko.greg/Task_1_Basics/3_4_SquareNumbers/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs deleted file mode 100644 index e69de29..0000000 diff --git a/golovko.greg/Task_1_Basics/3_5_MiddleArifmeticInput/3_5_MiddleArifmeticInput.csproj b/golovko.greg/Task_1_Basics/3_5_MiddleArifmeticInput/3_5_MiddleArifmeticInput.csproj deleted file mode 100644 index 274eedc..0000000 --- a/golovko.greg/Task_1_Basics/3_5_MiddleArifmeticInput/3_5_MiddleArifmeticInput.csproj +++ /dev/null @@ -1,62 +0,0 @@ - - - - - Debug - AnyCPU - {3AEA8C2A-0348-4F7D-A8E9-902DDA3F2314} - Exe - Properties - _3_5_MiddleArifmeticInput - 3_5_MiddleArifmeticInput - v4.5.2 - 512 - true - - - AnyCPU - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - AnyCPU - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/golovko.greg/Task_1_Basics/3_5_MiddleArifmeticInput/INumber.cs b/golovko.greg/Task_1_Basics/3_5_MiddleArifmeticInput/INumber.cs deleted file mode 100644 index f15bcb8..0000000 --- a/golovko.greg/Task_1_Basics/3_5_MiddleArifmeticInput/INumber.cs +++ /dev/null @@ -1,13 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace _3_5_MiddleArifmeticInput -{ - interface INumber - { - decimal GetMiddleArifmetic(); - } -} diff --git a/golovko.greg/Task_1_Basics/3_5_MiddleArifmeticInput/Number.cs b/golovko.greg/Task_1_Basics/3_5_MiddleArifmeticInput/Number.cs deleted file mode 100644 index 9390a9b..0000000 --- a/golovko.greg/Task_1_Basics/3_5_MiddleArifmeticInput/Number.cs +++ /dev/null @@ -1,26 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace _3_5_MiddleArifmeticInput -{ - class Number : INumber - { - private readonly int[] numbers; - public Number(int[] numbers) - { - this.numbers = numbers; - } - public decimal GetMiddleArifmetic() - { - int sum = 0; - for (int i = 0; i < numbers.Length; i++) - { - sum += numbers[i]; - } - return Math.Round((decimal)sum / numbers.Length, 2); - } - } -} diff --git a/golovko.greg/Task_1_Basics/3_5_MiddleArifmeticInput/Program.cs b/golovko.greg/Task_1_Basics/3_5_MiddleArifmeticInput/Program.cs deleted file mode 100644 index ceb3885..0000000 --- a/golovko.greg/Task_1_Basics/3_5_MiddleArifmeticInput/Program.cs +++ /dev/null @@ -1,23 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace _3_5_MiddleArifmeticInput -{ - class Program - { - static void Main(string[] args) - { - Console.WriteLine("Enter the count of numbers:"); - int count = int.Parse(Console.ReadLine()); - int[] numbers = new int[count]; - for (int i = 0; i < count; i++) - numbers[i] = int.Parse(Console.ReadLine()); - INumber number = new Number(numbers); - Console.WriteLine("Middle arifmetic is {0}", number.GetMiddleArifmetic()); - Console.ReadKey(); - } - } -} diff --git a/golovko.greg/Task_1_Basics/3_5_MiddleArifmeticInput/Properties/AssemblyInfo.cs b/golovko.greg/Task_1_Basics/3_5_MiddleArifmeticInput/Properties/AssemblyInfo.cs deleted file mode 100644 index ece8de9..0000000 --- a/golovko.greg/Task_1_Basics/3_5_MiddleArifmeticInput/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,36 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -[assembly: AssemblyTitle("3_5_MiddleArifmeticInput")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("3_5_MiddleArifmeticInput")] -[assembly: AssemblyCopyright("Copyright © 2016")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. -[assembly: ComVisible(false)] - -// The following GUID is for the ID of the typelib if this project is exposed to COM -[assembly: Guid("3aea8c2a-0348-4f7d-a8e9-902dda3f2314")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Build and Revision Numbers -// by using the '*' as shown below: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/golovko.greg/Task_1_Basics/3_5_MiddleArifmeticInput/bin/Debug/3_5_MiddleArifmeticInput.exe b/golovko.greg/Task_1_Basics/3_5_MiddleArifmeticInput/bin/Debug/3_5_MiddleArifmeticInput.exe deleted file mode 100644 index 10b644f..0000000 Binary files a/golovko.greg/Task_1_Basics/3_5_MiddleArifmeticInput/bin/Debug/3_5_MiddleArifmeticInput.exe and /dev/null differ diff --git a/golovko.greg/Task_1_Basics/3_5_MiddleArifmeticInput/bin/Debug/3_5_MiddleArifmeticInput.pdb b/golovko.greg/Task_1_Basics/3_5_MiddleArifmeticInput/bin/Debug/3_5_MiddleArifmeticInput.pdb deleted file mode 100644 index 35f7b93..0000000 Binary files a/golovko.greg/Task_1_Basics/3_5_MiddleArifmeticInput/bin/Debug/3_5_MiddleArifmeticInput.pdb and /dev/null differ diff --git a/golovko.greg/Task_1_Basics/3_5_MiddleArifmeticInput/obj/Debug/3_5_MiddleArifmeticInput.csproj.FileListAbsolute.txt b/golovko.greg/Task_1_Basics/3_5_MiddleArifmeticInput/obj/Debug/3_5_MiddleArifmeticInput.csproj.FileListAbsolute.txt deleted file mode 100644 index bd830b3..0000000 --- a/golovko.greg/Task_1_Basics/3_5_MiddleArifmeticInput/obj/Debug/3_5_MiddleArifmeticInput.csproj.FileListAbsolute.txt +++ /dev/null @@ -1,5 +0,0 @@ -C:\Users\Головко\Desktop\Task_1_Basics\3_5_MiddleArifmeticInput\bin\Debug\3_5_MiddleArifmeticInput.exe.config -C:\Users\Головко\Desktop\Task_1_Basics\3_5_MiddleArifmeticInput\bin\Debug\3_5_MiddleArifmeticInput.exe -C:\Users\Головко\Desktop\Task_1_Basics\3_5_MiddleArifmeticInput\bin\Debug\3_5_MiddleArifmeticInput.pdb -C:\Users\Головко\Desktop\Task_1_Basics\3_5_MiddleArifmeticInput\obj\Debug\3_5_MiddleArifmeticInput.exe -C:\Users\Головко\Desktop\Task_1_Basics\3_5_MiddleArifmeticInput\obj\Debug\3_5_MiddleArifmeticInput.pdb diff --git a/golovko.greg/Task_1_Basics/3_5_MiddleArifmeticInput/obj/Debug/3_5_MiddleArifmeticInput.exe b/golovko.greg/Task_1_Basics/3_5_MiddleArifmeticInput/obj/Debug/3_5_MiddleArifmeticInput.exe deleted file mode 100644 index 10b644f..0000000 Binary files a/golovko.greg/Task_1_Basics/3_5_MiddleArifmeticInput/obj/Debug/3_5_MiddleArifmeticInput.exe and /dev/null differ diff --git a/golovko.greg/Task_1_Basics/3_5_MiddleArifmeticInput/obj/Debug/3_5_MiddleArifmeticInput.pdb b/golovko.greg/Task_1_Basics/3_5_MiddleArifmeticInput/obj/Debug/3_5_MiddleArifmeticInput.pdb deleted file mode 100644 index 35f7b93..0000000 Binary files a/golovko.greg/Task_1_Basics/3_5_MiddleArifmeticInput/obj/Debug/3_5_MiddleArifmeticInput.pdb and /dev/null differ diff --git a/golovko.greg/Task_1_Basics/3_5_MiddleArifmeticInput/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/golovko.greg/Task_1_Basics/3_5_MiddleArifmeticInput/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache deleted file mode 100644 index deb84ba..0000000 Binary files a/golovko.greg/Task_1_Basics/3_5_MiddleArifmeticInput/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache and /dev/null differ diff --git a/golovko.greg/Task_1_Basics/3_5_MiddleArifmeticInput/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs b/golovko.greg/Task_1_Basics/3_5_MiddleArifmeticInput/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs deleted file mode 100644 index e69de29..0000000 diff --git a/golovko.greg/Task_1_Basics/3_5_MiddleArifmeticInput/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs b/golovko.greg/Task_1_Basics/3_5_MiddleArifmeticInput/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs deleted file mode 100644 index e69de29..0000000 diff --git a/golovko.greg/Task_1_Basics/3_5_MiddleArifmeticInput/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs b/golovko.greg/Task_1_Basics/3_5_MiddleArifmeticInput/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs deleted file mode 100644 index e69de29..0000000 diff --git a/golovko.greg/Task_1_Basics/3_6_MiddleArifmeticRnd/3_6_MiddleArifmeticRnd.csproj b/golovko.greg/Task_1_Basics/3_6_MiddleArifmeticRnd/3_6_MiddleArifmeticRnd.csproj deleted file mode 100644 index 5d82ce7..0000000 --- a/golovko.greg/Task_1_Basics/3_6_MiddleArifmeticRnd/3_6_MiddleArifmeticRnd.csproj +++ /dev/null @@ -1,63 +0,0 @@ - - - - - Debug - AnyCPU - {7AEBF815-1581-4F0F-A7A0-143F464B69CD} - Exe - Properties - _3_6_MiddleArifmeticRnd - 3_6_MiddleArifmeticRnd - v4.5.2 - 512 - true - - - AnyCPU - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - AnyCPU - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/golovko.greg/Task_1_Basics/3_6_MiddleArifmeticRnd/Generator.cs b/golovko.greg/Task_1_Basics/3_6_MiddleArifmeticRnd/Generator.cs deleted file mode 100644 index f53263c..0000000 --- a/golovko.greg/Task_1_Basics/3_6_MiddleArifmeticRnd/Generator.cs +++ /dev/null @@ -1,26 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace _3_6_MiddleArifmeticRnd -{ - static class Generator - { - private static readonly Random rnd; - private static readonly object syncLocker; - static Generator() - { - rnd = new Random(DateTime.Now.Millisecond); - syncLocker = new object(); - } - public static int Generate(int min, int max) - { - lock(syncLocker) - { - return rnd.Next(min, max); - } - } - } -} diff --git a/golovko.greg/Task_1_Basics/3_6_MiddleArifmeticRnd/INumber.cs b/golovko.greg/Task_1_Basics/3_6_MiddleArifmeticRnd/INumber.cs deleted file mode 100644 index 400093a..0000000 --- a/golovko.greg/Task_1_Basics/3_6_MiddleArifmeticRnd/INumber.cs +++ /dev/null @@ -1,13 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace _3_6_MiddleArifmeticRnd -{ - interface INumber - { - decimal GetMiddleArifmetic(); - } -} diff --git a/golovko.greg/Task_1_Basics/3_6_MiddleArifmeticRnd/Number.cs b/golovko.greg/Task_1_Basics/3_6_MiddleArifmeticRnd/Number.cs deleted file mode 100644 index f4ffb94..0000000 --- a/golovko.greg/Task_1_Basics/3_6_MiddleArifmeticRnd/Number.cs +++ /dev/null @@ -1,31 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace _3_6_MiddleArifmeticRnd -{ - class Number : INumber - { - private readonly int[] numbers; - public Number(int min, int max, int count) - { - numbers = new int[count]; - for (int i = 0; i < count; i++) - { - numbers[i] = Generator.Generate(min, max); - Console.WriteLine("Generate number[{0}] = {1}", i + 1, numbers[i]); - } - } - public decimal GetMiddleArifmetic() - { - int sum = 0; - for (int i = 0; i < numbers.Length; i++) - { - sum += numbers[i]; - } - return Math.Round((decimal)sum / numbers.Length, 2); - } - } -} diff --git a/golovko.greg/Task_1_Basics/3_6_MiddleArifmeticRnd/Program.cs b/golovko.greg/Task_1_Basics/3_6_MiddleArifmeticRnd/Program.cs deleted file mode 100644 index 7db03e3..0000000 --- a/golovko.greg/Task_1_Basics/3_6_MiddleArifmeticRnd/Program.cs +++ /dev/null @@ -1,18 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace _3_6_MiddleArifmeticRnd -{ - class Program - { - static void Main(string[] args) - { - INumber numbers = new Number(1, 100, 5); - Console.WriteLine("Middle arifmetic is {0}", numbers.GetMiddleArifmetic()); - Console.ReadKey(); - } - } -} diff --git a/golovko.greg/Task_1_Basics/3_6_MiddleArifmeticRnd/Properties/AssemblyInfo.cs b/golovko.greg/Task_1_Basics/3_6_MiddleArifmeticRnd/Properties/AssemblyInfo.cs deleted file mode 100644 index 31324f3..0000000 --- a/golovko.greg/Task_1_Basics/3_6_MiddleArifmeticRnd/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,36 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -[assembly: AssemblyTitle("3_6_MiddleArifmeticRnd")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("3_6_MiddleArifmeticRnd")] -[assembly: AssemblyCopyright("Copyright © 2016")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. -[assembly: ComVisible(false)] - -// The following GUID is for the ID of the typelib if this project is exposed to COM -[assembly: Guid("7aebf815-1581-4f0f-a7a0-143f464b69cd")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Build and Revision Numbers -// by using the '*' as shown below: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/golovko.greg/Task_1_Basics/3_6_MiddleArifmeticRnd/bin/Debug/3_6_MiddleArifmeticRnd.exe b/golovko.greg/Task_1_Basics/3_6_MiddleArifmeticRnd/bin/Debug/3_6_MiddleArifmeticRnd.exe deleted file mode 100644 index c381599..0000000 Binary files a/golovko.greg/Task_1_Basics/3_6_MiddleArifmeticRnd/bin/Debug/3_6_MiddleArifmeticRnd.exe and /dev/null differ diff --git a/golovko.greg/Task_1_Basics/3_6_MiddleArifmeticRnd/bin/Debug/3_6_MiddleArifmeticRnd.pdb b/golovko.greg/Task_1_Basics/3_6_MiddleArifmeticRnd/bin/Debug/3_6_MiddleArifmeticRnd.pdb deleted file mode 100644 index 385c7f0..0000000 Binary files a/golovko.greg/Task_1_Basics/3_6_MiddleArifmeticRnd/bin/Debug/3_6_MiddleArifmeticRnd.pdb and /dev/null differ diff --git a/golovko.greg/Task_1_Basics/3_6_MiddleArifmeticRnd/obj/Debug/3_6_MiddleArifmeticRnd.csproj.FileListAbsolute.txt b/golovko.greg/Task_1_Basics/3_6_MiddleArifmeticRnd/obj/Debug/3_6_MiddleArifmeticRnd.csproj.FileListAbsolute.txt deleted file mode 100644 index 90fdc27..0000000 --- a/golovko.greg/Task_1_Basics/3_6_MiddleArifmeticRnd/obj/Debug/3_6_MiddleArifmeticRnd.csproj.FileListAbsolute.txt +++ /dev/null @@ -1,5 +0,0 @@ -C:\Users\Головко\Desktop\Task_1_Basics\3_6_MiddleArifmeticRnd\bin\Debug\3_6_MiddleArifmeticRnd.exe.config -C:\Users\Головко\Desktop\Task_1_Basics\3_6_MiddleArifmeticRnd\bin\Debug\3_6_MiddleArifmeticRnd.exe -C:\Users\Головко\Desktop\Task_1_Basics\3_6_MiddleArifmeticRnd\bin\Debug\3_6_MiddleArifmeticRnd.pdb -C:\Users\Головко\Desktop\Task_1_Basics\3_6_MiddleArifmeticRnd\obj\Debug\3_6_MiddleArifmeticRnd.exe -C:\Users\Головко\Desktop\Task_1_Basics\3_6_MiddleArifmeticRnd\obj\Debug\3_6_MiddleArifmeticRnd.pdb diff --git a/golovko.greg/Task_1_Basics/3_6_MiddleArifmeticRnd/obj/Debug/3_6_MiddleArifmeticRnd.exe b/golovko.greg/Task_1_Basics/3_6_MiddleArifmeticRnd/obj/Debug/3_6_MiddleArifmeticRnd.exe deleted file mode 100644 index c381599..0000000 Binary files a/golovko.greg/Task_1_Basics/3_6_MiddleArifmeticRnd/obj/Debug/3_6_MiddleArifmeticRnd.exe and /dev/null differ diff --git a/golovko.greg/Task_1_Basics/3_6_MiddleArifmeticRnd/obj/Debug/3_6_MiddleArifmeticRnd.pdb b/golovko.greg/Task_1_Basics/3_6_MiddleArifmeticRnd/obj/Debug/3_6_MiddleArifmeticRnd.pdb deleted file mode 100644 index 385c7f0..0000000 Binary files a/golovko.greg/Task_1_Basics/3_6_MiddleArifmeticRnd/obj/Debug/3_6_MiddleArifmeticRnd.pdb and /dev/null differ diff --git a/golovko.greg/Task_1_Basics/3_6_MiddleArifmeticRnd/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/golovko.greg/Task_1_Basics/3_6_MiddleArifmeticRnd/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache deleted file mode 100644 index 35f035f..0000000 Binary files a/golovko.greg/Task_1_Basics/3_6_MiddleArifmeticRnd/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache and /dev/null differ diff --git a/golovko.greg/Task_1_Basics/3_6_MiddleArifmeticRnd/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs b/golovko.greg/Task_1_Basics/3_6_MiddleArifmeticRnd/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs deleted file mode 100644 index e69de29..0000000 diff --git a/golovko.greg/Task_1_Basics/3_6_MiddleArifmeticRnd/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs b/golovko.greg/Task_1_Basics/3_6_MiddleArifmeticRnd/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs deleted file mode 100644 index e69de29..0000000 diff --git a/golovko.greg/Task_1_Basics/3_6_MiddleArifmeticRnd/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs b/golovko.greg/Task_1_Basics/3_6_MiddleArifmeticRnd/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs deleted file mode 100644 index e69de29..0000000 diff --git a/golovko.greg/Task_1_Basics/3_7_RabbitsVsGooses/3_7_RabbitsVsGooses.csproj b/golovko.greg/Task_1_Basics/3_7_RabbitsVsGooses/3_7_RabbitsVsGooses.csproj deleted file mode 100644 index 1dc1173..0000000 --- a/golovko.greg/Task_1_Basics/3_7_RabbitsVsGooses/3_7_RabbitsVsGooses.csproj +++ /dev/null @@ -1,62 +0,0 @@ - - - - - Debug - AnyCPU - {EB787D0A-8E3F-4BCD-821E-DFE18D5ED7B0} - Exe - Properties - _3_7_RabbitsVsGooses - 3_7_RabbitsVsGooses - v4.5.2 - 512 - true - - - AnyCPU - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - AnyCPU - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/golovko.greg/Task_1_Basics/3_7_RabbitsVsGooses/IlegsCounter.cs b/golovko.greg/Task_1_Basics/3_7_RabbitsVsGooses/IlegsCounter.cs deleted file mode 100644 index b1345b8..0000000 --- a/golovko.greg/Task_1_Basics/3_7_RabbitsVsGooses/IlegsCounter.cs +++ /dev/null @@ -1,13 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace _3_7_RabbitsVsGooses -{ - interface IlegsCounter - { - void GetLegsCount(); - } -} diff --git a/golovko.greg/Task_1_Basics/3_7_RabbitsVsGooses/LegsCounter.cs b/golovko.greg/Task_1_Basics/3_7_RabbitsVsGooses/LegsCounter.cs deleted file mode 100644 index 267c02b..0000000 --- a/golovko.greg/Task_1_Basics/3_7_RabbitsVsGooses/LegsCounter.cs +++ /dev/null @@ -1,30 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace _3_7_RabbitsVsGooses -{ - class LegsCounter : IlegsCounter - { - private readonly int count; - public LegsCounter(int count) - { - this.count = count; - } - public void GetLegsCount() - { - for (int i = 0; i <= count; i++) - { - for (int j = 0; j <= count; j++) - { - if (2 * i + 4 * j == count) - { - Console.WriteLine("{0} gooses and {1} rabbits", i, j); - } - } - } - } - } -} diff --git a/golovko.greg/Task_1_Basics/3_7_RabbitsVsGooses/Program.cs b/golovko.greg/Task_1_Basics/3_7_RabbitsVsGooses/Program.cs deleted file mode 100644 index 8537a86..0000000 --- a/golovko.greg/Task_1_Basics/3_7_RabbitsVsGooses/Program.cs +++ /dev/null @@ -1,18 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace _3_7_RabbitsVsGooses -{ - class Program - { - static void Main(string[] args) - { - IlegsCounter counter = new LegsCounter(64); - counter.GetLegsCount(); - Console.ReadKey(); - } - } -} diff --git a/golovko.greg/Task_1_Basics/3_7_RabbitsVsGooses/Properties/AssemblyInfo.cs b/golovko.greg/Task_1_Basics/3_7_RabbitsVsGooses/Properties/AssemblyInfo.cs deleted file mode 100644 index a536b6e..0000000 --- a/golovko.greg/Task_1_Basics/3_7_RabbitsVsGooses/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,36 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -[assembly: AssemblyTitle("3_7_RabbitsVsGooses")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("3_7_RabbitsVsGooses")] -[assembly: AssemblyCopyright("Copyright © 2016")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. -[assembly: ComVisible(false)] - -// The following GUID is for the ID of the typelib if this project is exposed to COM -[assembly: Guid("eb787d0a-8e3f-4bcd-821e-dfe18d5ed7b0")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Build and Revision Numbers -// by using the '*' as shown below: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/golovko.greg/Task_1_Basics/3_7_RabbitsVsGooses/bin/Debug/3_7_RabbitsVsGooses.exe b/golovko.greg/Task_1_Basics/3_7_RabbitsVsGooses/bin/Debug/3_7_RabbitsVsGooses.exe deleted file mode 100644 index fca14ac..0000000 Binary files a/golovko.greg/Task_1_Basics/3_7_RabbitsVsGooses/bin/Debug/3_7_RabbitsVsGooses.exe and /dev/null differ diff --git a/golovko.greg/Task_1_Basics/3_7_RabbitsVsGooses/bin/Debug/3_7_RabbitsVsGooses.pdb b/golovko.greg/Task_1_Basics/3_7_RabbitsVsGooses/bin/Debug/3_7_RabbitsVsGooses.pdb deleted file mode 100644 index 0a9eef2..0000000 Binary files a/golovko.greg/Task_1_Basics/3_7_RabbitsVsGooses/bin/Debug/3_7_RabbitsVsGooses.pdb and /dev/null differ diff --git a/golovko.greg/Task_1_Basics/3_7_RabbitsVsGooses/obj/Debug/3_7_RabbitsVsGooses.csproj.FileListAbsolute.txt b/golovko.greg/Task_1_Basics/3_7_RabbitsVsGooses/obj/Debug/3_7_RabbitsVsGooses.csproj.FileListAbsolute.txt deleted file mode 100644 index 0fdd0bb..0000000 --- a/golovko.greg/Task_1_Basics/3_7_RabbitsVsGooses/obj/Debug/3_7_RabbitsVsGooses.csproj.FileListAbsolute.txt +++ /dev/null @@ -1,5 +0,0 @@ -C:\Users\Головко\Desktop\Task_1_Basics\3_7_RabbitsVsGooses\bin\Debug\3_7_RabbitsVsGooses.exe.config -C:\Users\Головко\Desktop\Task_1_Basics\3_7_RabbitsVsGooses\bin\Debug\3_7_RabbitsVsGooses.exe -C:\Users\Головко\Desktop\Task_1_Basics\3_7_RabbitsVsGooses\bin\Debug\3_7_RabbitsVsGooses.pdb -C:\Users\Головко\Desktop\Task_1_Basics\3_7_RabbitsVsGooses\obj\Debug\3_7_RabbitsVsGooses.exe -C:\Users\Головко\Desktop\Task_1_Basics\3_7_RabbitsVsGooses\obj\Debug\3_7_RabbitsVsGooses.pdb diff --git a/golovko.greg/Task_1_Basics/3_7_RabbitsVsGooses/obj/Debug/3_7_RabbitsVsGooses.exe b/golovko.greg/Task_1_Basics/3_7_RabbitsVsGooses/obj/Debug/3_7_RabbitsVsGooses.exe deleted file mode 100644 index fca14ac..0000000 Binary files a/golovko.greg/Task_1_Basics/3_7_RabbitsVsGooses/obj/Debug/3_7_RabbitsVsGooses.exe and /dev/null differ diff --git a/golovko.greg/Task_1_Basics/3_7_RabbitsVsGooses/obj/Debug/3_7_RabbitsVsGooses.pdb b/golovko.greg/Task_1_Basics/3_7_RabbitsVsGooses/obj/Debug/3_7_RabbitsVsGooses.pdb deleted file mode 100644 index 0a9eef2..0000000 Binary files a/golovko.greg/Task_1_Basics/3_7_RabbitsVsGooses/obj/Debug/3_7_RabbitsVsGooses.pdb and /dev/null differ diff --git a/golovko.greg/Task_1_Basics/3_7_RabbitsVsGooses/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/golovko.greg/Task_1_Basics/3_7_RabbitsVsGooses/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache deleted file mode 100644 index 31c21ca..0000000 Binary files a/golovko.greg/Task_1_Basics/3_7_RabbitsVsGooses/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache and /dev/null differ diff --git a/golovko.greg/Task_1_Basics/3_7_RabbitsVsGooses/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs b/golovko.greg/Task_1_Basics/3_7_RabbitsVsGooses/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs deleted file mode 100644 index e69de29..0000000 diff --git a/golovko.greg/Task_1_Basics/3_7_RabbitsVsGooses/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs b/golovko.greg/Task_1_Basics/3_7_RabbitsVsGooses/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs deleted file mode 100644 index e69de29..0000000 diff --git a/golovko.greg/Task_1_Basics/3_7_RabbitsVsGooses/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs b/golovko.greg/Task_1_Basics/3_7_RabbitsVsGooses/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs deleted file mode 100644 index e69de29..0000000 diff --git a/golovko.greg/Task_1_Basics/3_8_Password/3_8_Password.csproj b/golovko.greg/Task_1_Basics/3_8_Password/3_8_Password.csproj deleted file mode 100644 index 16429fb..0000000 --- a/golovko.greg/Task_1_Basics/3_8_Password/3_8_Password.csproj +++ /dev/null @@ -1,62 +0,0 @@ - - - - - Debug - AnyCPU - {3A2BCE3F-FAF9-4822-934F-C344E1B87FF0} - Exe - Properties - _3_8_Password - 3_8_Password - v4.5.2 - 512 - true - - - AnyCPU - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - AnyCPU - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/golovko.greg/Task_1_Basics/3_8_Password/Auth.cs b/golovko.greg/Task_1_Basics/3_8_Password/Auth.cs deleted file mode 100644 index 9b039a6..0000000 --- a/golovko.greg/Task_1_Basics/3_8_Password/Auth.cs +++ /dev/null @@ -1,17 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace _3_8_Password -{ - class Auth : IAuth - { - private const string password = "root"; - public bool GetAccess(string pass) - { - return pass == password; - } - } -} diff --git a/golovko.greg/Task_1_Basics/3_8_Password/IAuth.cs b/golovko.greg/Task_1_Basics/3_8_Password/IAuth.cs deleted file mode 100644 index ab13220..0000000 --- a/golovko.greg/Task_1_Basics/3_8_Password/IAuth.cs +++ /dev/null @@ -1,13 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace _3_8_Password -{ - interface IAuth - { - bool GetAccess(string pass); - } -} diff --git a/golovko.greg/Task_1_Basics/3_8_Password/Program.cs b/golovko.greg/Task_1_Basics/3_8_Password/Program.cs deleted file mode 100644 index 476f2f4..0000000 --- a/golovko.greg/Task_1_Basics/3_8_Password/Program.cs +++ /dev/null @@ -1,23 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace _3_8_Password -{ - class Program - { - static void Main(string[] args) - { - IAuth auth = new Auth(); - Console.WriteLine("Enter the password:"); - while (!auth.GetAccess(Console.ReadLine())) - { - Console.WriteLine("Access denied. Wrong Password. Try again."); - } - Console.WriteLine("Welcome to system!"); - Console.ReadKey(); - } - } -} diff --git a/golovko.greg/Task_1_Basics/3_8_Password/Properties/AssemblyInfo.cs b/golovko.greg/Task_1_Basics/3_8_Password/Properties/AssemblyInfo.cs deleted file mode 100644 index 70d8b28..0000000 --- a/golovko.greg/Task_1_Basics/3_8_Password/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,36 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -[assembly: AssemblyTitle("3_8_Password")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("3_8_Password")] -[assembly: AssemblyCopyright("Copyright © 2016")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. -[assembly: ComVisible(false)] - -// The following GUID is for the ID of the typelib if this project is exposed to COM -[assembly: Guid("3a2bce3f-faf9-4822-934f-c344e1b87ff0")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Build and Revision Numbers -// by using the '*' as shown below: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/golovko.greg/Task_1_Basics/3_8_Password/bin/Debug/3_8_Password.exe b/golovko.greg/Task_1_Basics/3_8_Password/bin/Debug/3_8_Password.exe deleted file mode 100644 index 11dd4de..0000000 Binary files a/golovko.greg/Task_1_Basics/3_8_Password/bin/Debug/3_8_Password.exe and /dev/null differ diff --git a/golovko.greg/Task_1_Basics/3_8_Password/bin/Debug/3_8_Password.pdb b/golovko.greg/Task_1_Basics/3_8_Password/bin/Debug/3_8_Password.pdb deleted file mode 100644 index 35e2c43..0000000 Binary files a/golovko.greg/Task_1_Basics/3_8_Password/bin/Debug/3_8_Password.pdb and /dev/null differ diff --git a/golovko.greg/Task_1_Basics/3_8_Password/bin/Debug/3_8_Password.vshost.exe b/golovko.greg/Task_1_Basics/3_8_Password/bin/Debug/3_8_Password.vshost.exe deleted file mode 100644 index 681ab77..0000000 Binary files a/golovko.greg/Task_1_Basics/3_8_Password/bin/Debug/3_8_Password.vshost.exe and /dev/null differ diff --git a/golovko.greg/Task_1_Basics/3_8_Password/bin/Debug/3_8_Password.vshost.exe.config b/golovko.greg/Task_1_Basics/3_8_Password/bin/Debug/3_8_Password.vshost.exe.config deleted file mode 100644 index 88fa402..0000000 --- a/golovko.greg/Task_1_Basics/3_8_Password/bin/Debug/3_8_Password.vshost.exe.config +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/golovko.greg/Task_1_Basics/3_8_Password/obj/Debug/3_8_Password.csproj.FileListAbsolute.txt b/golovko.greg/Task_1_Basics/3_8_Password/obj/Debug/3_8_Password.csproj.FileListAbsolute.txt deleted file mode 100644 index 3094fef..0000000 --- a/golovko.greg/Task_1_Basics/3_8_Password/obj/Debug/3_8_Password.csproj.FileListAbsolute.txt +++ /dev/null @@ -1,5 +0,0 @@ -C:\Users\Головко\Desktop\Task_1_Basics\3_8_Password\bin\Debug\3_8_Password.exe.config -C:\Users\Головко\Desktop\Task_1_Basics\3_8_Password\bin\Debug\3_8_Password.exe -C:\Users\Головко\Desktop\Task_1_Basics\3_8_Password\bin\Debug\3_8_Password.pdb -C:\Users\Головко\Desktop\Task_1_Basics\3_8_Password\obj\Debug\3_8_Password.exe -C:\Users\Головко\Desktop\Task_1_Basics\3_8_Password\obj\Debug\3_8_Password.pdb diff --git a/golovko.greg/Task_1_Basics/3_8_Password/obj/Debug/3_8_Password.exe b/golovko.greg/Task_1_Basics/3_8_Password/obj/Debug/3_8_Password.exe deleted file mode 100644 index 11dd4de..0000000 Binary files a/golovko.greg/Task_1_Basics/3_8_Password/obj/Debug/3_8_Password.exe and /dev/null differ diff --git a/golovko.greg/Task_1_Basics/3_8_Password/obj/Debug/3_8_Password.pdb b/golovko.greg/Task_1_Basics/3_8_Password/obj/Debug/3_8_Password.pdb deleted file mode 100644 index 35e2c43..0000000 Binary files a/golovko.greg/Task_1_Basics/3_8_Password/obj/Debug/3_8_Password.pdb and /dev/null differ diff --git a/golovko.greg/Task_1_Basics/3_8_Password/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/golovko.greg/Task_1_Basics/3_8_Password/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache deleted file mode 100644 index 4bc4262..0000000 Binary files a/golovko.greg/Task_1_Basics/3_8_Password/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache and /dev/null differ diff --git a/golovko.greg/Task_1_Basics/3_8_Password/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs b/golovko.greg/Task_1_Basics/3_8_Password/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs deleted file mode 100644 index e69de29..0000000 diff --git a/golovko.greg/Task_1_Basics/3_8_Password/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs b/golovko.greg/Task_1_Basics/3_8_Password/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs deleted file mode 100644 index e69de29..0000000 diff --git a/golovko.greg/Task_1_Basics/3_8_Password/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs b/golovko.greg/Task_1_Basics/3_8_Password/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs deleted file mode 100644 index e69de29..0000000 diff --git a/golovko.greg/Task_1_Basics/Task_1_Basics.sln b/golovko.greg/Task_1_Basics/Task_1_Basics.sln deleted file mode 100644 index 0721c7a..0000000 --- a/golovko.greg/Task_1_Basics/Task_1_Basics.sln +++ /dev/null @@ -1,124 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 14 -VisualStudioVersion = 14.0.23107.0 -MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "1_Console", "1_Strings\1_Console.csproj", "{0B845B55-E717-4D70-98E8-C856AFEA69BC}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "2_1_Comparation", "2_1_Comparation\2_1_Comparation.csproj", "{82D8CACC-C707-4772-A6B3-F4DDFFB0E404}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "2_2_MauGau", "2_2_MauGau\2_2_MauGau.csproj", "{E0D35179-5819-4A8E-9ABB-8CF445923351}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "2_3_Season", "2_3_Season\2_3_Season.csproj", "{A701592F-747C-4671-9DDF-73F502E35924}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "2_4_GoodVsBad", "2_4_GoodVsBad\2_4_GoodVsBad.csproj", "{3C2F7651-8F57-42B0-A50B-1CF6ABB15360}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "2_5_DayOfWeek", "2_5_DayOfWeek\2_5_DayOfWeek.csproj", "{2989914B-6552-40E8-AE52-6C2E61117EE8}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "2_6_Taxi", "2_6_Taxi\2_6_Taxi.csproj", "{722B5DF2-2531-44FD-B8D2-D535CB8F9137}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "2_7_SimpleNumber", "2_7_SimpleNumber\2_7_SimpleNumber.csproj", "{40F4F834-264B-48D1-BAB5-F3877771B9FA}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "2_8_Lottery", "2_8_Lottery\2_8_Lottery.csproj", "{A068AC42-233C-4473-A202-7C0AEB185AC8}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "2_9_CurrencyExchanger", "2_9_CurrencyExchanger\2_9_CurrencyExchanger.csproj", "{04D1A851-6A61-414B-965E-6D83B9C020BA}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "3_1_MultiplyTable", "3_1_MultiplyTable\3_1_MultiplyTable.csproj", "{00CF51DD-5B4D-4F72-9A74-A8067F8D6B98}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "3_2_NumberRange", "3_2_NumberRange\3_2_NumberRange.csproj", "{79DF1B8F-1A1F-4EF8-BE3C-5CD1BBFC9DDF}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "3_3_WhatNumber", "3_3_WhatNumber\3_3_WhatNumber.csproj", "{28A30B0E-6195-474D-BAB8-00E08F1A5BE2}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "3_4_SquareNumbers", "3_4_SquareNumbers\3_4_SquareNumbers.csproj", "{8C82D2FF-4A44-4B24-8785-423CC503EC13}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "3_5_MiddleArifmeticInput", "3_5_MiddleArifmeticInput\3_5_MiddleArifmeticInput.csproj", "{3AEA8C2A-0348-4F7D-A8E9-902DDA3F2314}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "3_6_MiddleArifmeticRnd", "3_6_MiddleArifmeticRnd\3_6_MiddleArifmeticRnd.csproj", "{7AEBF815-1581-4F0F-A7A0-143F464B69CD}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "3_7_RabbitsVsGooses", "3_7_RabbitsVsGooses\3_7_RabbitsVsGooses.csproj", "{EB787D0A-8E3F-4BCD-821E-DFE18D5ED7B0}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "3_8_Password", "3_8_Password\3_8_Password.csproj", "{3A2BCE3F-FAF9-4822-934F-C344E1B87FF0}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Release|Any CPU = Release|Any CPU - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {0B845B55-E717-4D70-98E8-C856AFEA69BC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {0B845B55-E717-4D70-98E8-C856AFEA69BC}.Debug|Any CPU.Build.0 = Debug|Any CPU - {0B845B55-E717-4D70-98E8-C856AFEA69BC}.Release|Any CPU.ActiveCfg = Release|Any CPU - {0B845B55-E717-4D70-98E8-C856AFEA69BC}.Release|Any CPU.Build.0 = Release|Any CPU - {82D8CACC-C707-4772-A6B3-F4DDFFB0E404}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {82D8CACC-C707-4772-A6B3-F4DDFFB0E404}.Debug|Any CPU.Build.0 = Debug|Any CPU - {82D8CACC-C707-4772-A6B3-F4DDFFB0E404}.Release|Any CPU.ActiveCfg = Release|Any CPU - {82D8CACC-C707-4772-A6B3-F4DDFFB0E404}.Release|Any CPU.Build.0 = Release|Any CPU - {E0D35179-5819-4A8E-9ABB-8CF445923351}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {E0D35179-5819-4A8E-9ABB-8CF445923351}.Debug|Any CPU.Build.0 = Debug|Any CPU - {E0D35179-5819-4A8E-9ABB-8CF445923351}.Release|Any CPU.ActiveCfg = Release|Any CPU - {E0D35179-5819-4A8E-9ABB-8CF445923351}.Release|Any CPU.Build.0 = Release|Any CPU - {A701592F-747C-4671-9DDF-73F502E35924}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {A701592F-747C-4671-9DDF-73F502E35924}.Debug|Any CPU.Build.0 = Debug|Any CPU - {A701592F-747C-4671-9DDF-73F502E35924}.Release|Any CPU.ActiveCfg = Release|Any CPU - {A701592F-747C-4671-9DDF-73F502E35924}.Release|Any CPU.Build.0 = Release|Any CPU - {3C2F7651-8F57-42B0-A50B-1CF6ABB15360}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {3C2F7651-8F57-42B0-A50B-1CF6ABB15360}.Debug|Any CPU.Build.0 = Debug|Any CPU - {3C2F7651-8F57-42B0-A50B-1CF6ABB15360}.Release|Any CPU.ActiveCfg = Release|Any CPU - {3C2F7651-8F57-42B0-A50B-1CF6ABB15360}.Release|Any CPU.Build.0 = Release|Any CPU - {2989914B-6552-40E8-AE52-6C2E61117EE8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {2989914B-6552-40E8-AE52-6C2E61117EE8}.Debug|Any CPU.Build.0 = Debug|Any CPU - {2989914B-6552-40E8-AE52-6C2E61117EE8}.Release|Any CPU.ActiveCfg = Release|Any CPU - {2989914B-6552-40E8-AE52-6C2E61117EE8}.Release|Any CPU.Build.0 = Release|Any CPU - {722B5DF2-2531-44FD-B8D2-D535CB8F9137}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {722B5DF2-2531-44FD-B8D2-D535CB8F9137}.Debug|Any CPU.Build.0 = Debug|Any CPU - {722B5DF2-2531-44FD-B8D2-D535CB8F9137}.Release|Any CPU.ActiveCfg = Release|Any CPU - {722B5DF2-2531-44FD-B8D2-D535CB8F9137}.Release|Any CPU.Build.0 = Release|Any CPU - {40F4F834-264B-48D1-BAB5-F3877771B9FA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {40F4F834-264B-48D1-BAB5-F3877771B9FA}.Debug|Any CPU.Build.0 = Debug|Any CPU - {40F4F834-264B-48D1-BAB5-F3877771B9FA}.Release|Any CPU.ActiveCfg = Release|Any CPU - {40F4F834-264B-48D1-BAB5-F3877771B9FA}.Release|Any CPU.Build.0 = Release|Any CPU - {A068AC42-233C-4473-A202-7C0AEB185AC8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {A068AC42-233C-4473-A202-7C0AEB185AC8}.Debug|Any CPU.Build.0 = Debug|Any CPU - {A068AC42-233C-4473-A202-7C0AEB185AC8}.Release|Any CPU.ActiveCfg = Release|Any CPU - {A068AC42-233C-4473-A202-7C0AEB185AC8}.Release|Any CPU.Build.0 = Release|Any CPU - {04D1A851-6A61-414B-965E-6D83B9C020BA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {04D1A851-6A61-414B-965E-6D83B9C020BA}.Debug|Any CPU.Build.0 = Debug|Any CPU - {04D1A851-6A61-414B-965E-6D83B9C020BA}.Release|Any CPU.ActiveCfg = Release|Any CPU - {04D1A851-6A61-414B-965E-6D83B9C020BA}.Release|Any CPU.Build.0 = Release|Any CPU - {00CF51DD-5B4D-4F72-9A74-A8067F8D6B98}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {00CF51DD-5B4D-4F72-9A74-A8067F8D6B98}.Debug|Any CPU.Build.0 = Debug|Any CPU - {00CF51DD-5B4D-4F72-9A74-A8067F8D6B98}.Release|Any CPU.ActiveCfg = Release|Any CPU - {00CF51DD-5B4D-4F72-9A74-A8067F8D6B98}.Release|Any CPU.Build.0 = Release|Any CPU - {79DF1B8F-1A1F-4EF8-BE3C-5CD1BBFC9DDF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {79DF1B8F-1A1F-4EF8-BE3C-5CD1BBFC9DDF}.Debug|Any CPU.Build.0 = Debug|Any CPU - {79DF1B8F-1A1F-4EF8-BE3C-5CD1BBFC9DDF}.Release|Any CPU.ActiveCfg = Release|Any CPU - {79DF1B8F-1A1F-4EF8-BE3C-5CD1BBFC9DDF}.Release|Any CPU.Build.0 = Release|Any CPU - {28A30B0E-6195-474D-BAB8-00E08F1A5BE2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {28A30B0E-6195-474D-BAB8-00E08F1A5BE2}.Debug|Any CPU.Build.0 = Debug|Any CPU - {28A30B0E-6195-474D-BAB8-00E08F1A5BE2}.Release|Any CPU.ActiveCfg = Release|Any CPU - {28A30B0E-6195-474D-BAB8-00E08F1A5BE2}.Release|Any CPU.Build.0 = Release|Any CPU - {8C82D2FF-4A44-4B24-8785-423CC503EC13}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {8C82D2FF-4A44-4B24-8785-423CC503EC13}.Debug|Any CPU.Build.0 = Debug|Any CPU - {8C82D2FF-4A44-4B24-8785-423CC503EC13}.Release|Any CPU.ActiveCfg = Release|Any CPU - {8C82D2FF-4A44-4B24-8785-423CC503EC13}.Release|Any CPU.Build.0 = Release|Any CPU - {3AEA8C2A-0348-4F7D-A8E9-902DDA3F2314}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {3AEA8C2A-0348-4F7D-A8E9-902DDA3F2314}.Debug|Any CPU.Build.0 = Debug|Any CPU - {3AEA8C2A-0348-4F7D-A8E9-902DDA3F2314}.Release|Any CPU.ActiveCfg = Release|Any CPU - {3AEA8C2A-0348-4F7D-A8E9-902DDA3F2314}.Release|Any CPU.Build.0 = Release|Any CPU - {7AEBF815-1581-4F0F-A7A0-143F464B69CD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {7AEBF815-1581-4F0F-A7A0-143F464B69CD}.Debug|Any CPU.Build.0 = Debug|Any CPU - {7AEBF815-1581-4F0F-A7A0-143F464B69CD}.Release|Any CPU.ActiveCfg = Release|Any CPU - {7AEBF815-1581-4F0F-A7A0-143F464B69CD}.Release|Any CPU.Build.0 = Release|Any CPU - {EB787D0A-8E3F-4BCD-821E-DFE18D5ED7B0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {EB787D0A-8E3F-4BCD-821E-DFE18D5ED7B0}.Debug|Any CPU.Build.0 = Debug|Any CPU - {EB787D0A-8E3F-4BCD-821E-DFE18D5ED7B0}.Release|Any CPU.ActiveCfg = Release|Any CPU - {EB787D0A-8E3F-4BCD-821E-DFE18D5ED7B0}.Release|Any CPU.Build.0 = Release|Any CPU - {3A2BCE3F-FAF9-4822-934F-C344E1B87FF0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {3A2BCE3F-FAF9-4822-934F-C344E1B87FF0}.Debug|Any CPU.Build.0 = Debug|Any CPU - {3A2BCE3F-FAF9-4822-934F-C344E1B87FF0}.Release|Any CPU.ActiveCfg = Release|Any CPU - {3A2BCE3F-FAF9-4822-934F-C344E1B87FF0}.Release|Any CPU.Build.0 = Release|Any CPU - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/maltsev/Task1/1_1_Name/1_1_Name.sln b/maltsev/Task1/1_1_Name/1_1_Name.sln new file mode 100644 index 0000000..61bee1b --- /dev/null +++ b/maltsev/Task1/1_1_Name/1_1_Name.sln @@ -0,0 +1,20 @@ + +Microsoft Visual Studio Solution File, Format Version 11.00 +# Visual Studio 2010 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "1_1_Name", "1_1_Name\1_1_Name.csproj", "{CD204CCD-5019-4559-B704-F509DCDB3CE3}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|x86 = Debug|x86 + Release|x86 = Release|x86 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {CD204CCD-5019-4559-B704-F509DCDB3CE3}.Debug|x86.ActiveCfg = Debug|x86 + {CD204CCD-5019-4559-B704-F509DCDB3CE3}.Debug|x86.Build.0 = Debug|x86 + {CD204CCD-5019-4559-B704-F509DCDB3CE3}.Release|x86.ActiveCfg = Release|x86 + {CD204CCD-5019-4559-B704-F509DCDB3CE3}.Release|x86.Build.0 = Release|x86 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/maltsev/Task1/1_1_Name/1_1_Name.suo b/maltsev/Task1/1_1_Name/1_1_Name.suo new file mode 100644 index 0000000..0b18a4e Binary files /dev/null and b/maltsev/Task1/1_1_Name/1_1_Name.suo differ diff --git a/maltsev/Task1/1_1_Name/1_1_Name/1_1_Name.csproj b/maltsev/Task1/1_1_Name/1_1_Name/1_1_Name.csproj new file mode 100644 index 0000000..fdd0395 --- /dev/null +++ b/maltsev/Task1/1_1_Name/1_1_Name/1_1_Name.csproj @@ -0,0 +1,57 @@ + + + + Debug + x86 + 8.0.30703 + 2.0 + {CD204CCD-5019-4559-B704-F509DCDB3CE3} + Exe + Properties + _1_1_Name + 1_1_Name + v4.0 + Client + 512 + + + x86 + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + x86 + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/maltsev/Task1/1_1_Name/1_1_Name/Program.cs b/maltsev/Task1/1_1_Name/1_1_Name/Program.cs new file mode 100644 index 0000000..cb36e5f --- /dev/null +++ b/maltsev/Task1/1_1_Name/1_1_Name/Program.cs @@ -0,0 +1,18 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; + +namespace _1_1_Name +{ + class Program + { + static void Main(string[] args) + { + Console.WriteLine("+------------------------------+"); + Console.WriteLine("| Maltsev Nikita Yaroslavovich |"); + Console.WriteLine("+------------------------------+"); + Console.ReadKey(); + } + } +} diff --git a/maltsev/Task1/1_1_Name/1_1_Name/Properties/AssemblyInfo.cs b/maltsev/Task1/1_1_Name/1_1_Name/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..eaae454 --- /dev/null +++ b/maltsev/Task1/1_1_Name/1_1_Name/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// Управление общими сведениями о сборке осуществляется с помощью +// набора атрибутов. Измените значения этих атрибутов, чтобы изменить сведения, +// связанные со сборкой. +[assembly: AssemblyTitle("1_1_Name")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("1_1_Name")] +[assembly: AssemblyCopyright("Copyright © 2016")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Параметр ComVisible со значением FALSE делает типы в сборке невидимыми +// для COM-компонентов. Если требуется обратиться к типу в этой сборке через +// COM, задайте атрибуту ComVisible значение TRUE для этого типа. +[assembly: ComVisible(false)] + +// Следующий GUID служит для идентификации библиотеки типов, если этот проект будет видимым для COM +[assembly: Guid("6564110c-cabe-4081-ac95-03a38f90a2db")] + +// Сведения о версии сборки состоят из следующих четырех значений: +// +// Основной номер версии +// Дополнительный номер версии +// Номер построения +// Редакция +// +// Можно задать все значения или принять номер построения и номер редакции по умолчанию, +// используя "*", как показано ниже: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/maltsev/Task1/1_1_Name/1_1_Name/bin/Debug/1_1_Name.exe b/maltsev/Task1/1_1_Name/1_1_Name/bin/Debug/1_1_Name.exe new file mode 100644 index 0000000..3e1f8c8 Binary files /dev/null and b/maltsev/Task1/1_1_Name/1_1_Name/bin/Debug/1_1_Name.exe differ diff --git a/maltsev/Task1/1_1_Name/1_1_Name/bin/Debug/1_1_Name.pdb b/maltsev/Task1/1_1_Name/1_1_Name/bin/Debug/1_1_Name.pdb new file mode 100644 index 0000000..85b2467 Binary files /dev/null and b/maltsev/Task1/1_1_Name/1_1_Name/bin/Debug/1_1_Name.pdb differ diff --git a/maltsev/Task1/1_1_Name/1_1_Name/bin/Debug/1_1_Name.vshost.exe b/maltsev/Task1/1_1_Name/1_1_Name/bin/Debug/1_1_Name.vshost.exe new file mode 100644 index 0000000..bb84a51 Binary files /dev/null and b/maltsev/Task1/1_1_Name/1_1_Name/bin/Debug/1_1_Name.vshost.exe differ diff --git a/maltsev/Task1/1_1_Name/1_1_Name/obj/x86/Debug/1_1_Name.csproj.FileListAbsolute.txt b/maltsev/Task1/1_1_Name/1_1_Name/obj/x86/Debug/1_1_Name.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..45e613d --- /dev/null +++ b/maltsev/Task1/1_1_Name/1_1_Name/obj/x86/Debug/1_1_Name.csproj.FileListAbsolute.txt @@ -0,0 +1,4 @@ +c:\users\svezho\documents\visual studio 2010\Projects\1_1_Name\1_1_Name\bin\Debug\1_1_Name.exe +c:\users\svezho\documents\visual studio 2010\Projects\1_1_Name\1_1_Name\bin\Debug\1_1_Name.pdb +c:\users\svezho\documents\visual studio 2010\Projects\1_1_Name\1_1_Name\obj\x86\Debug\1_1_Name.exe +c:\users\svezho\documents\visual studio 2010\Projects\1_1_Name\1_1_Name\obj\x86\Debug\1_1_Name.pdb diff --git a/maltsev/Task1/1_1_Name/1_1_Name/obj/x86/Debug/1_1_Name.exe b/maltsev/Task1/1_1_Name/1_1_Name/obj/x86/Debug/1_1_Name.exe new file mode 100644 index 0000000..3e1f8c8 Binary files /dev/null and b/maltsev/Task1/1_1_Name/1_1_Name/obj/x86/Debug/1_1_Name.exe differ diff --git a/maltsev/Task1/1_1_Name/1_1_Name/obj/x86/Debug/1_1_Name.pdb b/maltsev/Task1/1_1_Name/1_1_Name/obj/x86/Debug/1_1_Name.pdb new file mode 100644 index 0000000..85b2467 Binary files /dev/null and b/maltsev/Task1/1_1_Name/1_1_Name/obj/x86/Debug/1_1_Name.pdb differ diff --git a/maltsev/Task1/1_1_Name/1_1_Name/obj/x86/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/maltsev/Task1/1_1_Name/1_1_Name/obj/x86/Debug/DesignTimeResolveAssemblyReferencesInput.cache new file mode 100644 index 0000000..7d4f033 Binary files /dev/null and b/maltsev/Task1/1_1_Name/1_1_Name/obj/x86/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/maltsev/Task1/2_1_Bigger/2_1_Bigger.sln b/maltsev/Task1/2_1_Bigger/2_1_Bigger.sln new file mode 100644 index 0000000..f60ef9b --- /dev/null +++ b/maltsev/Task1/2_1_Bigger/2_1_Bigger.sln @@ -0,0 +1,20 @@ + +Microsoft Visual Studio Solution File, Format Version 11.00 +# Visual Studio 2010 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "2_1_Bigger", "2_1_Bigger\2_1_Bigger.csproj", "{7C83CC9D-94A2-45C3-9D48-44AF8FE921FA}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|x86 = Debug|x86 + Release|x86 = Release|x86 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {7C83CC9D-94A2-45C3-9D48-44AF8FE921FA}.Debug|x86.ActiveCfg = Debug|x86 + {7C83CC9D-94A2-45C3-9D48-44AF8FE921FA}.Debug|x86.Build.0 = Debug|x86 + {7C83CC9D-94A2-45C3-9D48-44AF8FE921FA}.Release|x86.ActiveCfg = Release|x86 + {7C83CC9D-94A2-45C3-9D48-44AF8FE921FA}.Release|x86.Build.0 = Release|x86 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/maltsev/Task1/2_1_Bigger/2_1_Bigger.suo b/maltsev/Task1/2_1_Bigger/2_1_Bigger.suo new file mode 100644 index 0000000..d72b10e Binary files /dev/null and b/maltsev/Task1/2_1_Bigger/2_1_Bigger.suo differ diff --git a/maltsev/Task1/2_1_Bigger/2_1_Bigger/2_1_Bigger.csproj b/maltsev/Task1/2_1_Bigger/2_1_Bigger/2_1_Bigger.csproj new file mode 100644 index 0000000..5f10ce7 --- /dev/null +++ b/maltsev/Task1/2_1_Bigger/2_1_Bigger/2_1_Bigger.csproj @@ -0,0 +1,57 @@ + + + + Debug + x86 + 8.0.30703 + 2.0 + {7C83CC9D-94A2-45C3-9D48-44AF8FE921FA} + Exe + Properties + _2_1_Bigger + 2_1_Bigger + v4.0 + Client + 512 + + + x86 + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + x86 + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/maltsev/Task1/2_1_Bigger/2_1_Bigger/Program.cs b/maltsev/Task1/2_1_Bigger/2_1_Bigger/Program.cs new file mode 100644 index 0000000..d005449 --- /dev/null +++ b/maltsev/Task1/2_1_Bigger/2_1_Bigger/Program.cs @@ -0,0 +1,20 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; + +namespace _2_1_Bigger +{ + class Program + { + static void Main(string[] args) + { + Console.WriteLine("Число:"); + int a = Convert.ToInt32(Console.ReadLine()); + Console.WriteLine("Число:"); + int b = Convert.ToInt32(Console.ReadLine()); + Console.WriteLine("Большее число: {0}",(a>b)? a : b); + Console.ReadKey(); + } + } +} diff --git a/maltsev/Task1/2_1_Bigger/2_1_Bigger/Properties/AssemblyInfo.cs b/maltsev/Task1/2_1_Bigger/2_1_Bigger/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..7196c78 --- /dev/null +++ b/maltsev/Task1/2_1_Bigger/2_1_Bigger/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// Управление общими сведениями о сборке осуществляется с помощью +// набора атрибутов. Измените значения этих атрибутов, чтобы изменить сведения, +// связанные со сборкой. +[assembly: AssemblyTitle("2_1_Bigger")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("2_1_Bigger")] +[assembly: AssemblyCopyright("Copyright © 2016")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Параметр ComVisible со значением FALSE делает типы в сборке невидимыми +// для COM-компонентов. Если требуется обратиться к типу в этой сборке через +// COM, задайте атрибуту ComVisible значение TRUE для этого типа. +[assembly: ComVisible(false)] + +// Следующий GUID служит для идентификации библиотеки типов, если этот проект будет видимым для COM +[assembly: Guid("db6b9046-11ce-40c3-b756-dfc3513b2c97")] + +// Сведения о версии сборки состоят из следующих четырех значений: +// +// Основной номер версии +// Дополнительный номер версии +// Номер построения +// Редакция +// +// Можно задать все значения или принять номер построения и номер редакции по умолчанию, +// используя "*", как показано ниже: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/maltsev/Task1/2_1_Bigger/2_1_Bigger/bin/Debug/2_1_Bigger.exe b/maltsev/Task1/2_1_Bigger/2_1_Bigger/bin/Debug/2_1_Bigger.exe new file mode 100644 index 0000000..74b3d31 Binary files /dev/null and b/maltsev/Task1/2_1_Bigger/2_1_Bigger/bin/Debug/2_1_Bigger.exe differ diff --git a/maltsev/Task1/2_1_Bigger/2_1_Bigger/bin/Debug/2_1_Bigger.pdb b/maltsev/Task1/2_1_Bigger/2_1_Bigger/bin/Debug/2_1_Bigger.pdb new file mode 100644 index 0000000..6be0098 Binary files /dev/null and b/maltsev/Task1/2_1_Bigger/2_1_Bigger/bin/Debug/2_1_Bigger.pdb differ diff --git a/maltsev/Task1/2_1_Bigger/2_1_Bigger/bin/Debug/2_1_Bigger.vshost.exe b/maltsev/Task1/2_1_Bigger/2_1_Bigger/bin/Debug/2_1_Bigger.vshost.exe new file mode 100644 index 0000000..bb84a51 Binary files /dev/null and b/maltsev/Task1/2_1_Bigger/2_1_Bigger/bin/Debug/2_1_Bigger.vshost.exe differ diff --git a/maltsev/Task1/2_1_Bigger/2_1_Bigger/obj/x86/Debug/2_1_Bigger.csproj.FileListAbsolute.txt b/maltsev/Task1/2_1_Bigger/2_1_Bigger/obj/x86/Debug/2_1_Bigger.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..d48170d --- /dev/null +++ b/maltsev/Task1/2_1_Bigger/2_1_Bigger/obj/x86/Debug/2_1_Bigger.csproj.FileListAbsolute.txt @@ -0,0 +1,4 @@ +c:\users\svezho\documents\visual studio 2010\Projects\2_1_Bigger\2_1_Bigger\bin\Debug\2_1_Bigger.exe +c:\users\svezho\documents\visual studio 2010\Projects\2_1_Bigger\2_1_Bigger\bin\Debug\2_1_Bigger.pdb +c:\users\svezho\documents\visual studio 2010\Projects\2_1_Bigger\2_1_Bigger\obj\x86\Debug\2_1_Bigger.exe +c:\users\svezho\documents\visual studio 2010\Projects\2_1_Bigger\2_1_Bigger\obj\x86\Debug\2_1_Bigger.pdb diff --git a/maltsev/Task1/2_1_Bigger/2_1_Bigger/obj/x86/Debug/2_1_Bigger.exe b/maltsev/Task1/2_1_Bigger/2_1_Bigger/obj/x86/Debug/2_1_Bigger.exe new file mode 100644 index 0000000..74b3d31 Binary files /dev/null and b/maltsev/Task1/2_1_Bigger/2_1_Bigger/obj/x86/Debug/2_1_Bigger.exe differ diff --git a/maltsev/Task1/2_1_Bigger/2_1_Bigger/obj/x86/Debug/2_1_Bigger.pdb b/maltsev/Task1/2_1_Bigger/2_1_Bigger/obj/x86/Debug/2_1_Bigger.pdb new file mode 100644 index 0000000..6be0098 Binary files /dev/null and b/maltsev/Task1/2_1_Bigger/2_1_Bigger/obj/x86/Debug/2_1_Bigger.pdb differ diff --git a/maltsev/Task1/2_1_Bigger/2_1_Bigger/obj/x86/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/maltsev/Task1/2_1_Bigger/2_1_Bigger/obj/x86/Debug/DesignTimeResolveAssemblyReferencesInput.cache new file mode 100644 index 0000000..182c6d4 Binary files /dev/null and b/maltsev/Task1/2_1_Bigger/2_1_Bigger/obj/x86/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/maltsev/Task1/2_2_Meow/2_2_Meow.sln b/maltsev/Task1/2_2_Meow/2_2_Meow.sln new file mode 100644 index 0000000..fd39e36 --- /dev/null +++ b/maltsev/Task1/2_2_Meow/2_2_Meow.sln @@ -0,0 +1,20 @@ + +Microsoft Visual Studio Solution File, Format Version 11.00 +# Visual Studio 2010 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "2_2_Meow", "2_2_Meow\2_2_Meow.csproj", "{42EA5C81-680F-4923-AC4A-8F373F223295}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|x86 = Debug|x86 + Release|x86 = Release|x86 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {42EA5C81-680F-4923-AC4A-8F373F223295}.Debug|x86.ActiveCfg = Debug|x86 + {42EA5C81-680F-4923-AC4A-8F373F223295}.Debug|x86.Build.0 = Debug|x86 + {42EA5C81-680F-4923-AC4A-8F373F223295}.Release|x86.ActiveCfg = Release|x86 + {42EA5C81-680F-4923-AC4A-8F373F223295}.Release|x86.Build.0 = Release|x86 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/maltsev/Task1/2_2_Meow/2_2_Meow.suo b/maltsev/Task1/2_2_Meow/2_2_Meow.suo new file mode 100644 index 0000000..6dd1316 Binary files /dev/null and b/maltsev/Task1/2_2_Meow/2_2_Meow.suo differ diff --git a/maltsev/Task1/2_2_Meow/2_2_Meow/2_2_Meow.csproj b/maltsev/Task1/2_2_Meow/2_2_Meow/2_2_Meow.csproj new file mode 100644 index 0000000..310c53f --- /dev/null +++ b/maltsev/Task1/2_2_Meow/2_2_Meow/2_2_Meow.csproj @@ -0,0 +1,57 @@ + + + + Debug + x86 + 8.0.30703 + 2.0 + {42EA5C81-680F-4923-AC4A-8F373F223295} + Exe + Properties + _2_2_Meow + 2_2_Meow + v4.0 + Client + 512 + + + x86 + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + x86 + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/maltsev/Task1/2_2_Meow/2_2_Meow/Program.cs b/maltsev/Task1/2_2_Meow/2_2_Meow/Program.cs new file mode 100644 index 0000000..b0a7a22 --- /dev/null +++ b/maltsev/Task1/2_2_Meow/2_2_Meow/Program.cs @@ -0,0 +1,22 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; + +namespace _2_2_Meow +{ + class Program + { + static void Main(string[] args) + { + Console.WriteLine("Слово:"); + string s = Console.ReadLine(); + if (s == "мяу") + Console.WriteLine("Покорми кота"); + else if (s == "гав") + Console.WriteLine("Погуляй с собакой"); + else Console.WriteLine("Ошибка"); + Console.ReadKey(); + } + } +} diff --git a/maltsev/Task1/2_2_Meow/2_2_Meow/Properties/AssemblyInfo.cs b/maltsev/Task1/2_2_Meow/2_2_Meow/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..60e0a86 --- /dev/null +++ b/maltsev/Task1/2_2_Meow/2_2_Meow/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// Управление общими сведениями о сборке осуществляется с помощью +// набора атрибутов. Измените значения этих атрибутов, чтобы изменить сведения, +// связанные со сборкой. +[assembly: AssemblyTitle("2_2_Meow")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("2_2_Meow")] +[assembly: AssemblyCopyright("Copyright © 2016")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Параметр ComVisible со значением FALSE делает типы в сборке невидимыми +// для COM-компонентов. Если требуется обратиться к типу в этой сборке через +// COM, задайте атрибуту ComVisible значение TRUE для этого типа. +[assembly: ComVisible(false)] + +// Следующий GUID служит для идентификации библиотеки типов, если этот проект будет видимым для COM +[assembly: Guid("27bb1785-02a9-4d14-8866-6671734b87dd")] + +// Сведения о версии сборки состоят из следующих четырех значений: +// +// Основной номер версии +// Дополнительный номер версии +// Номер построения +// Редакция +// +// Можно задать все значения или принять номер построения и номер редакции по умолчанию, +// используя "*", как показано ниже: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/maltsev/Task1/2_2_Meow/2_2_Meow/bin/Debug/2_2_Meow.exe b/maltsev/Task1/2_2_Meow/2_2_Meow/bin/Debug/2_2_Meow.exe new file mode 100644 index 0000000..50b648d Binary files /dev/null and b/maltsev/Task1/2_2_Meow/2_2_Meow/bin/Debug/2_2_Meow.exe differ diff --git a/maltsev/Task1/2_2_Meow/2_2_Meow/bin/Debug/2_2_Meow.pdb b/maltsev/Task1/2_2_Meow/2_2_Meow/bin/Debug/2_2_Meow.pdb new file mode 100644 index 0000000..e9bdb9b Binary files /dev/null and b/maltsev/Task1/2_2_Meow/2_2_Meow/bin/Debug/2_2_Meow.pdb differ diff --git a/maltsev/Task1/2_2_Meow/2_2_Meow/bin/Debug/2_2_Meow.vshost.exe b/maltsev/Task1/2_2_Meow/2_2_Meow/bin/Debug/2_2_Meow.vshost.exe new file mode 100644 index 0000000..bb84a51 Binary files /dev/null and b/maltsev/Task1/2_2_Meow/2_2_Meow/bin/Debug/2_2_Meow.vshost.exe differ diff --git a/maltsev/Task1/2_2_Meow/2_2_Meow/obj/x86/Debug/2_2_Meow.csproj.FileListAbsolute.txt b/maltsev/Task1/2_2_Meow/2_2_Meow/obj/x86/Debug/2_2_Meow.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..a477abd --- /dev/null +++ b/maltsev/Task1/2_2_Meow/2_2_Meow/obj/x86/Debug/2_2_Meow.csproj.FileListAbsolute.txt @@ -0,0 +1,4 @@ +c:\users\svezho\documents\visual studio 2010\Projects\2_2_Meow\2_2_Meow\bin\Debug\2_2_Meow.exe +c:\users\svezho\documents\visual studio 2010\Projects\2_2_Meow\2_2_Meow\bin\Debug\2_2_Meow.pdb +c:\users\svezho\documents\visual studio 2010\Projects\2_2_Meow\2_2_Meow\obj\x86\Debug\2_2_Meow.exe +c:\users\svezho\documents\visual studio 2010\Projects\2_2_Meow\2_2_Meow\obj\x86\Debug\2_2_Meow.pdb diff --git a/maltsev/Task1/2_2_Meow/2_2_Meow/obj/x86/Debug/2_2_Meow.exe b/maltsev/Task1/2_2_Meow/2_2_Meow/obj/x86/Debug/2_2_Meow.exe new file mode 100644 index 0000000..50b648d Binary files /dev/null and b/maltsev/Task1/2_2_Meow/2_2_Meow/obj/x86/Debug/2_2_Meow.exe differ diff --git a/maltsev/Task1/2_2_Meow/2_2_Meow/obj/x86/Debug/2_2_Meow.pdb b/maltsev/Task1/2_2_Meow/2_2_Meow/obj/x86/Debug/2_2_Meow.pdb new file mode 100644 index 0000000..e9bdb9b Binary files /dev/null and b/maltsev/Task1/2_2_Meow/2_2_Meow/obj/x86/Debug/2_2_Meow.pdb differ diff --git a/maltsev/Task1/2_2_Meow/2_2_Meow/obj/x86/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/maltsev/Task1/2_2_Meow/2_2_Meow/obj/x86/Debug/DesignTimeResolveAssemblyReferencesInput.cache new file mode 100644 index 0000000..60b14b7 Binary files /dev/null and b/maltsev/Task1/2_2_Meow/2_2_Meow/obj/x86/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/maltsev/Task1/2_3_Months/2_3_Months.sln b/maltsev/Task1/2_3_Months/2_3_Months.sln new file mode 100644 index 0000000..1f71a6c --- /dev/null +++ b/maltsev/Task1/2_3_Months/2_3_Months.sln @@ -0,0 +1,20 @@ + +Microsoft Visual Studio Solution File, Format Version 11.00 +# Visual Studio 2010 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "2_3_Months", "2_3_Months\2_3_Months.csproj", "{4C9E4ED2-0653-4E60-A961-75EA2336C296}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|x86 = Debug|x86 + Release|x86 = Release|x86 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {4C9E4ED2-0653-4E60-A961-75EA2336C296}.Debug|x86.ActiveCfg = Debug|x86 + {4C9E4ED2-0653-4E60-A961-75EA2336C296}.Debug|x86.Build.0 = Debug|x86 + {4C9E4ED2-0653-4E60-A961-75EA2336C296}.Release|x86.ActiveCfg = Release|x86 + {4C9E4ED2-0653-4E60-A961-75EA2336C296}.Release|x86.Build.0 = Release|x86 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/maltsev/Task1/2_3_Months/2_3_Months.suo b/maltsev/Task1/2_3_Months/2_3_Months.suo new file mode 100644 index 0000000..d4a97e8 Binary files /dev/null and b/maltsev/Task1/2_3_Months/2_3_Months.suo differ diff --git a/maltsev/Task1/2_3_Months/2_3_Months/2_3_Months.csproj b/maltsev/Task1/2_3_Months/2_3_Months/2_3_Months.csproj new file mode 100644 index 0000000..883ae14 --- /dev/null +++ b/maltsev/Task1/2_3_Months/2_3_Months/2_3_Months.csproj @@ -0,0 +1,57 @@ + + + + Debug + x86 + 8.0.30703 + 2.0 + {4C9E4ED2-0653-4E60-A961-75EA2336C296} + Exe + Properties + _2_3_Months + 2_3_Months + v4.0 + Client + 512 + + + x86 + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + x86 + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/maltsev/Task1/2_3_Months/2_3_Months/Program.cs b/maltsev/Task1/2_3_Months/2_3_Months/Program.cs new file mode 100644 index 0000000..4ed756c --- /dev/null +++ b/maltsev/Task1/2_3_Months/2_3_Months/Program.cs @@ -0,0 +1,26 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; + +namespace _2_3_Months +{ + class Program + { + static void Main(string[] args) + { + Console.Write("Номер месяца: "); + int a = Convert.ToInt32(Console.ReadLine()); + if (a == 1 || a == 2 || a == 12) + Console.WriteLine("Зима"); + else if (a > 2 && a < 6) + Console.WriteLine("Весна"); + else if (a > 5 && a < 9 ) + Console.WriteLine("Лето"); + else if (a > 8 && a < 12 ) + Console.WriteLine("Осень"); + else Console.WriteLine("На этой планете такого месяца нет"); + Console.ReadKey(); + } + } +} diff --git a/maltsev/Task1/2_3_Months/2_3_Months/Properties/AssemblyInfo.cs b/maltsev/Task1/2_3_Months/2_3_Months/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..8bcd1d3 --- /dev/null +++ b/maltsev/Task1/2_3_Months/2_3_Months/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// Управление общими сведениями о сборке осуществляется с помощью +// набора атрибутов. Измените значения этих атрибутов, чтобы изменить сведения, +// связанные со сборкой. +[assembly: AssemblyTitle("2_3_Months")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("2_3_Months")] +[assembly: AssemblyCopyright("Copyright © 2016")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Параметр ComVisible со значением FALSE делает типы в сборке невидимыми +// для COM-компонентов. Если требуется обратиться к типу в этой сборке через +// COM, задайте атрибуту ComVisible значение TRUE для этого типа. +[assembly: ComVisible(false)] + +// Следующий GUID служит для идентификации библиотеки типов, если этот проект будет видимым для COM +[assembly: Guid("dfffed33-783a-41fe-b9bf-041ca4ac9c69")] + +// Сведения о версии сборки состоят из следующих четырех значений: +// +// Основной номер версии +// Дополнительный номер версии +// Номер построения +// Редакция +// +// Можно задать все значения или принять номер построения и номер редакции по умолчанию, +// используя "*", как показано ниже: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/maltsev/Task1/2_3_Months/2_3_Months/bin/Debug/2_3_Months.exe b/maltsev/Task1/2_3_Months/2_3_Months/bin/Debug/2_3_Months.exe new file mode 100644 index 0000000..3432897 Binary files /dev/null and b/maltsev/Task1/2_3_Months/2_3_Months/bin/Debug/2_3_Months.exe differ diff --git a/maltsev/Task1/2_3_Months/2_3_Months/bin/Debug/2_3_Months.pdb b/maltsev/Task1/2_3_Months/2_3_Months/bin/Debug/2_3_Months.pdb new file mode 100644 index 0000000..e49b81b Binary files /dev/null and b/maltsev/Task1/2_3_Months/2_3_Months/bin/Debug/2_3_Months.pdb differ diff --git a/maltsev/Task1/2_3_Months/2_3_Months/bin/Debug/2_3_Months.vshost.exe b/maltsev/Task1/2_3_Months/2_3_Months/bin/Debug/2_3_Months.vshost.exe new file mode 100644 index 0000000..bb84a51 Binary files /dev/null and b/maltsev/Task1/2_3_Months/2_3_Months/bin/Debug/2_3_Months.vshost.exe differ diff --git a/maltsev/Task1/2_3_Months/2_3_Months/obj/x86/Debug/2_3_Months.csproj.FileListAbsolute.txt b/maltsev/Task1/2_3_Months/2_3_Months/obj/x86/Debug/2_3_Months.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..24521b6 --- /dev/null +++ b/maltsev/Task1/2_3_Months/2_3_Months/obj/x86/Debug/2_3_Months.csproj.FileListAbsolute.txt @@ -0,0 +1,4 @@ +c:\users\svezho\documents\visual studio 2010\Projects\2_3_Months\2_3_Months\bin\Debug\2_3_Months.exe +c:\users\svezho\documents\visual studio 2010\Projects\2_3_Months\2_3_Months\bin\Debug\2_3_Months.pdb +c:\users\svezho\documents\visual studio 2010\Projects\2_3_Months\2_3_Months\obj\x86\Debug\2_3_Months.exe +c:\users\svezho\documents\visual studio 2010\Projects\2_3_Months\2_3_Months\obj\x86\Debug\2_3_Months.pdb diff --git a/maltsev/Task1/2_3_Months/2_3_Months/obj/x86/Debug/2_3_Months.exe b/maltsev/Task1/2_3_Months/2_3_Months/obj/x86/Debug/2_3_Months.exe new file mode 100644 index 0000000..3432897 Binary files /dev/null and b/maltsev/Task1/2_3_Months/2_3_Months/obj/x86/Debug/2_3_Months.exe differ diff --git a/maltsev/Task1/2_3_Months/2_3_Months/obj/x86/Debug/2_3_Months.pdb b/maltsev/Task1/2_3_Months/2_3_Months/obj/x86/Debug/2_3_Months.pdb new file mode 100644 index 0000000..e49b81b Binary files /dev/null and b/maltsev/Task1/2_3_Months/2_3_Months/obj/x86/Debug/2_3_Months.pdb differ diff --git a/maltsev/Task1/2_3_Months/2_3_Months/obj/x86/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/maltsev/Task1/2_3_Months/2_3_Months/obj/x86/Debug/DesignTimeResolveAssemblyReferencesInput.cache new file mode 100644 index 0000000..0a97a02 Binary files /dev/null and b/maltsev/Task1/2_3_Months/2_3_Months/obj/x86/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/maltsev/Task1/2_4_Bool/2_4_Bool.sln b/maltsev/Task1/2_4_Bool/2_4_Bool.sln new file mode 100644 index 0000000..8712bc6 --- /dev/null +++ b/maltsev/Task1/2_4_Bool/2_4_Bool.sln @@ -0,0 +1,20 @@ + +Microsoft Visual Studio Solution File, Format Version 11.00 +# Visual Studio 2010 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "2_4_Bool", "2_4_Bool\2_4_Bool.csproj", "{298C754C-BF93-485B-A5CF-9649AB09BC58}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|x86 = Debug|x86 + Release|x86 = Release|x86 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {298C754C-BF93-485B-A5CF-9649AB09BC58}.Debug|x86.ActiveCfg = Debug|x86 + {298C754C-BF93-485B-A5CF-9649AB09BC58}.Debug|x86.Build.0 = Debug|x86 + {298C754C-BF93-485B-A5CF-9649AB09BC58}.Release|x86.ActiveCfg = Release|x86 + {298C754C-BF93-485B-A5CF-9649AB09BC58}.Release|x86.Build.0 = Release|x86 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/maltsev/Task1/2_4_Bool/2_4_Bool.suo b/maltsev/Task1/2_4_Bool/2_4_Bool.suo new file mode 100644 index 0000000..e4a0f62 Binary files /dev/null and b/maltsev/Task1/2_4_Bool/2_4_Bool.suo differ diff --git a/maltsev/Task1/2_4_Bool/2_4_Bool/2_4_Bool.csproj b/maltsev/Task1/2_4_Bool/2_4_Bool/2_4_Bool.csproj new file mode 100644 index 0000000..86b1484 --- /dev/null +++ b/maltsev/Task1/2_4_Bool/2_4_Bool/2_4_Bool.csproj @@ -0,0 +1,57 @@ + + + + Debug + x86 + 8.0.30703 + 2.0 + {298C754C-BF93-485B-A5CF-9649AB09BC58} + Exe + Properties + _2_4_Bool + 2_4_Bool + v4.0 + Client + 512 + + + x86 + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + x86 + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/maltsev/Task1/2_4_Bool/2_4_Bool/Program.cs b/maltsev/Task1/2_4_Bool/2_4_Bool/Program.cs new file mode 100644 index 0000000..9040a97 --- /dev/null +++ b/maltsev/Task1/2_4_Bool/2_4_Bool/Program.cs @@ -0,0 +1,18 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; + +namespace _2_4_Bool +{ + class Program + { + static void Main(string[] args) + { + Console.Write("Число (1/0): "); + int a = Convert.ToInt32(Console.ReadLine()); + Console.Write("{0}", (a == 1)? "Хорошо" : "Плохо"); + Console.ReadKey(); + } + } +} diff --git a/maltsev/Task1/2_4_Bool/2_4_Bool/Properties/AssemblyInfo.cs b/maltsev/Task1/2_4_Bool/2_4_Bool/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..34a82bb --- /dev/null +++ b/maltsev/Task1/2_4_Bool/2_4_Bool/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// Управление общими сведениями о сборке осуществляется с помощью +// набора атрибутов. Измените значения этих атрибутов, чтобы изменить сведения, +// связанные со сборкой. +[assembly: AssemblyTitle("2_4_Bool")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("2_4_Bool")] +[assembly: AssemblyCopyright("Copyright © 2016")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Параметр ComVisible со значением FALSE делает типы в сборке невидимыми +// для COM-компонентов. Если требуется обратиться к типу в этой сборке через +// COM, задайте атрибуту ComVisible значение TRUE для этого типа. +[assembly: ComVisible(false)] + +// Следующий GUID служит для идентификации библиотеки типов, если этот проект будет видимым для COM +[assembly: Guid("d0e95988-7951-4c90-aff7-9ca9acac12ee")] + +// Сведения о версии сборки состоят из следующих четырех значений: +// +// Основной номер версии +// Дополнительный номер версии +// Номер построения +// Редакция +// +// Можно задать все значения или принять номер построения и номер редакции по умолчанию, +// используя "*", как показано ниже: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/maltsev/Task1/2_4_Bool/2_4_Bool/bin/Debug/2_4_Bool.exe b/maltsev/Task1/2_4_Bool/2_4_Bool/bin/Debug/2_4_Bool.exe new file mode 100644 index 0000000..6608248 Binary files /dev/null and b/maltsev/Task1/2_4_Bool/2_4_Bool/bin/Debug/2_4_Bool.exe differ diff --git a/maltsev/Task1/2_4_Bool/2_4_Bool/bin/Debug/2_4_Bool.pdb b/maltsev/Task1/2_4_Bool/2_4_Bool/bin/Debug/2_4_Bool.pdb new file mode 100644 index 0000000..92c2736 Binary files /dev/null and b/maltsev/Task1/2_4_Bool/2_4_Bool/bin/Debug/2_4_Bool.pdb differ diff --git a/maltsev/Task1/2_4_Bool/2_4_Bool/bin/Debug/2_4_Bool.vshost.exe b/maltsev/Task1/2_4_Bool/2_4_Bool/bin/Debug/2_4_Bool.vshost.exe new file mode 100644 index 0000000..bb84a51 Binary files /dev/null and b/maltsev/Task1/2_4_Bool/2_4_Bool/bin/Debug/2_4_Bool.vshost.exe differ diff --git a/AlexandrTkachukTask1/ConsoleApplication/Task1MyName/bin/Debug/Task1MyName.vshost.exe.manifest b/maltsev/Task1/2_4_Bool/2_4_Bool/bin/Debug/2_4_Bool.vshost.exe.manifest similarity index 100% rename from AlexandrTkachukTask1/ConsoleApplication/Task1MyName/bin/Debug/Task1MyName.vshost.exe.manifest rename to maltsev/Task1/2_4_Bool/2_4_Bool/bin/Debug/2_4_Bool.vshost.exe.manifest diff --git a/maltsev/Task1/2_4_Bool/2_4_Bool/obj/x86/Debug/2_4_Bool.csproj.FileListAbsolute.txt b/maltsev/Task1/2_4_Bool/2_4_Bool/obj/x86/Debug/2_4_Bool.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..98d9282 --- /dev/null +++ b/maltsev/Task1/2_4_Bool/2_4_Bool/obj/x86/Debug/2_4_Bool.csproj.FileListAbsolute.txt @@ -0,0 +1,5 @@ +c:\users\svezho\documents\visual studio 2010\Projects\2_4_Bool\2_4_Bool\bin\Debug\2_4_Bool.exe +c:\users\svezho\documents\visual studio 2010\Projects\2_4_Bool\2_4_Bool\bin\Debug\2_4_Bool.pdb +c:\users\svezho\documents\visual studio 2010\Projects\2_4_Bool\2_4_Bool\obj\x86\Debug\2_4_Bool.exe +c:\users\svezho\documents\visual studio 2010\Projects\2_4_Bool\2_4_Bool\obj\x86\Debug\2_4_Bool.pdb +C:\Users\svezho\Documents\Visual Studio 2010\Projects\2_4_Bool\2_4_Bool\obj\x86\Debug\2_4_Bool.csprojResolveAssemblyReference.cache diff --git a/maltsev/Task1/2_4_Bool/2_4_Bool/obj/x86/Debug/2_4_Bool.csprojResolveAssemblyReference.cache b/maltsev/Task1/2_4_Bool/2_4_Bool/obj/x86/Debug/2_4_Bool.csprojResolveAssemblyReference.cache new file mode 100644 index 0000000..3cab64d Binary files /dev/null and b/maltsev/Task1/2_4_Bool/2_4_Bool/obj/x86/Debug/2_4_Bool.csprojResolveAssemblyReference.cache differ diff --git a/maltsev/Task1/2_4_Bool/2_4_Bool/obj/x86/Debug/2_4_Bool.exe b/maltsev/Task1/2_4_Bool/2_4_Bool/obj/x86/Debug/2_4_Bool.exe new file mode 100644 index 0000000..6608248 Binary files /dev/null and b/maltsev/Task1/2_4_Bool/2_4_Bool/obj/x86/Debug/2_4_Bool.exe differ diff --git a/maltsev/Task1/2_4_Bool/2_4_Bool/obj/x86/Debug/2_4_Bool.pdb b/maltsev/Task1/2_4_Bool/2_4_Bool/obj/x86/Debug/2_4_Bool.pdb new file mode 100644 index 0000000..92c2736 Binary files /dev/null and b/maltsev/Task1/2_4_Bool/2_4_Bool/obj/x86/Debug/2_4_Bool.pdb differ diff --git a/maltsev/Task1/2_4_Bool/2_4_Bool/obj/x86/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/maltsev/Task1/2_4_Bool/2_4_Bool/obj/x86/Debug/DesignTimeResolveAssemblyReferencesInput.cache new file mode 100644 index 0000000..3f51878 Binary files /dev/null and b/maltsev/Task1/2_4_Bool/2_4_Bool/obj/x86/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/maltsev/Task1/2_5_Week/2_5_Week.sln b/maltsev/Task1/2_5_Week/2_5_Week.sln new file mode 100644 index 0000000..da2cebf --- /dev/null +++ b/maltsev/Task1/2_5_Week/2_5_Week.sln @@ -0,0 +1,20 @@ + +Microsoft Visual Studio Solution File, Format Version 11.00 +# Visual Studio 2010 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "2_5_Week", "2_5_Week\2_5_Week.csproj", "{FACF35B3-4E2A-4E2B-B08A-25A512238217}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|x86 = Debug|x86 + Release|x86 = Release|x86 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {FACF35B3-4E2A-4E2B-B08A-25A512238217}.Debug|x86.ActiveCfg = Debug|x86 + {FACF35B3-4E2A-4E2B-B08A-25A512238217}.Debug|x86.Build.0 = Debug|x86 + {FACF35B3-4E2A-4E2B-B08A-25A512238217}.Release|x86.ActiveCfg = Release|x86 + {FACF35B3-4E2A-4E2B-B08A-25A512238217}.Release|x86.Build.0 = Release|x86 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/maltsev/Task1/2_5_Week/2_5_Week.suo b/maltsev/Task1/2_5_Week/2_5_Week.suo new file mode 100644 index 0000000..e94a675 Binary files /dev/null and b/maltsev/Task1/2_5_Week/2_5_Week.suo differ diff --git a/maltsev/Task1/2_5_Week/2_5_Week/2_5_Week.csproj b/maltsev/Task1/2_5_Week/2_5_Week/2_5_Week.csproj new file mode 100644 index 0000000..975dd15 --- /dev/null +++ b/maltsev/Task1/2_5_Week/2_5_Week/2_5_Week.csproj @@ -0,0 +1,57 @@ + + + + Debug + x86 + 8.0.30703 + 2.0 + {FACF35B3-4E2A-4E2B-B08A-25A512238217} + Exe + Properties + _2_5_Week + 2_5_Week + v4.0 + Client + 512 + + + x86 + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + x86 + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/maltsev/Task1/2_5_Week/2_5_Week/Program.cs b/maltsev/Task1/2_5_Week/2_5_Week/Program.cs new file mode 100644 index 0000000..10b21df --- /dev/null +++ b/maltsev/Task1/2_5_Week/2_5_Week/Program.cs @@ -0,0 +1,28 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; + +namespace _2_5_Week +{ + class Program + { + static void Main(string[] args) + { + Console.Write("Число (1,...,7): "); + int a = Convert.ToInt32(Console.ReadLine()); + switch (a) + { + case 1: Console.Write("Понедельник"); break; + case 2: Console.Write("Вторник"); break; + case 3: Console.Write("Среда"); break; + case 4: Console.Write("Четверг"); break; + case 5: Console.Write("Пятница"); break; + case 6: Console.Write("Суббота"); break; + case 7: Console.Write("Воскресенье"); break; + default: Console.Write("Такого дня недели не существует"); break; + } + Console.ReadKey(); + } + } +} diff --git a/maltsev/Task1/2_5_Week/2_5_Week/Properties/AssemblyInfo.cs b/maltsev/Task1/2_5_Week/2_5_Week/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..e2ff94b --- /dev/null +++ b/maltsev/Task1/2_5_Week/2_5_Week/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// Управление общими сведениями о сборке осуществляется с помощью +// набора атрибутов. Измените значения этих атрибутов, чтобы изменить сведения, +// связанные со сборкой. +[assembly: AssemblyTitle("2_5_Week")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("2_5_Week")] +[assembly: AssemblyCopyright("Copyright © 2016")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Параметр ComVisible со значением FALSE делает типы в сборке невидимыми +// для COM-компонентов. Если требуется обратиться к типу в этой сборке через +// COM, задайте атрибуту ComVisible значение TRUE для этого типа. +[assembly: ComVisible(false)] + +// Следующий GUID служит для идентификации библиотеки типов, если этот проект будет видимым для COM +[assembly: Guid("5695c3eb-3b65-434c-a53f-dcba18c68fb3")] + +// Сведения о версии сборки состоят из следующих четырех значений: +// +// Основной номер версии +// Дополнительный номер версии +// Номер построения +// Редакция +// +// Можно задать все значения или принять номер построения и номер редакции по умолчанию, +// используя "*", как показано ниже: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/maltsev/Task1/2_5_Week/2_5_Week/bin/Debug/2_5_Week.exe b/maltsev/Task1/2_5_Week/2_5_Week/bin/Debug/2_5_Week.exe new file mode 100644 index 0000000..7da5594 Binary files /dev/null and b/maltsev/Task1/2_5_Week/2_5_Week/bin/Debug/2_5_Week.exe differ diff --git a/maltsev/Task1/2_5_Week/2_5_Week/bin/Debug/2_5_Week.pdb b/maltsev/Task1/2_5_Week/2_5_Week/bin/Debug/2_5_Week.pdb new file mode 100644 index 0000000..c1bfd3c Binary files /dev/null and b/maltsev/Task1/2_5_Week/2_5_Week/bin/Debug/2_5_Week.pdb differ diff --git a/maltsev/Task1/2_5_Week/2_5_Week/bin/Debug/2_5_Week.vshost.exe b/maltsev/Task1/2_5_Week/2_5_Week/bin/Debug/2_5_Week.vshost.exe new file mode 100644 index 0000000..bb84a51 Binary files /dev/null and b/maltsev/Task1/2_5_Week/2_5_Week/bin/Debug/2_5_Week.vshost.exe differ diff --git a/maltsev/Task1/2_5_Week/2_5_Week/obj/x86/Debug/2_5_Week.csproj.FileListAbsolute.txt b/maltsev/Task1/2_5_Week/2_5_Week/obj/x86/Debug/2_5_Week.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..ad75fa8 --- /dev/null +++ b/maltsev/Task1/2_5_Week/2_5_Week/obj/x86/Debug/2_5_Week.csproj.FileListAbsolute.txt @@ -0,0 +1,4 @@ +c:\users\svezho\documents\visual studio 2010\Projects\2_5_Week\2_5_Week\bin\Debug\2_5_Week.exe +c:\users\svezho\documents\visual studio 2010\Projects\2_5_Week\2_5_Week\bin\Debug\2_5_Week.pdb +c:\users\svezho\documents\visual studio 2010\Projects\2_5_Week\2_5_Week\obj\x86\Debug\2_5_Week.exe +c:\users\svezho\documents\visual studio 2010\Projects\2_5_Week\2_5_Week\obj\x86\Debug\2_5_Week.pdb diff --git a/maltsev/Task1/2_5_Week/2_5_Week/obj/x86/Debug/2_5_Week.exe b/maltsev/Task1/2_5_Week/2_5_Week/obj/x86/Debug/2_5_Week.exe new file mode 100644 index 0000000..7da5594 Binary files /dev/null and b/maltsev/Task1/2_5_Week/2_5_Week/obj/x86/Debug/2_5_Week.exe differ diff --git a/maltsev/Task1/2_5_Week/2_5_Week/obj/x86/Debug/2_5_Week.pdb b/maltsev/Task1/2_5_Week/2_5_Week/obj/x86/Debug/2_5_Week.pdb new file mode 100644 index 0000000..c1bfd3c Binary files /dev/null and b/maltsev/Task1/2_5_Week/2_5_Week/obj/x86/Debug/2_5_Week.pdb differ diff --git a/maltsev/Task1/2_5_Week/2_5_Week/obj/x86/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/maltsev/Task1/2_5_Week/2_5_Week/obj/x86/Debug/DesignTimeResolveAssemblyReferencesInput.cache new file mode 100644 index 0000000..036ab67 Binary files /dev/null and b/maltsev/Task1/2_5_Week/2_5_Week/obj/x86/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/maltsev/Task1/2_6_Taxi/2_6_Taxi.sln b/maltsev/Task1/2_6_Taxi/2_6_Taxi.sln new file mode 100644 index 0000000..2d2f938 --- /dev/null +++ b/maltsev/Task1/2_6_Taxi/2_6_Taxi.sln @@ -0,0 +1,20 @@ + +Microsoft Visual Studio Solution File, Format Version 11.00 +# Visual Studio 2010 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "2_6_Taxi", "2_6_Taxi\2_6_Taxi.csproj", "{E3262183-6489-4371-A424-9C34FAD08CC0}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|x86 = Debug|x86 + Release|x86 = Release|x86 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {E3262183-6489-4371-A424-9C34FAD08CC0}.Debug|x86.ActiveCfg = Debug|x86 + {E3262183-6489-4371-A424-9C34FAD08CC0}.Debug|x86.Build.0 = Debug|x86 + {E3262183-6489-4371-A424-9C34FAD08CC0}.Release|x86.ActiveCfg = Release|x86 + {E3262183-6489-4371-A424-9C34FAD08CC0}.Release|x86.Build.0 = Release|x86 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/maltsev/Task1/2_6_Taxi/2_6_Taxi.suo b/maltsev/Task1/2_6_Taxi/2_6_Taxi.suo new file mode 100644 index 0000000..87c0f42 Binary files /dev/null and b/maltsev/Task1/2_6_Taxi/2_6_Taxi.suo differ diff --git a/maltsev/Task1/2_6_Taxi/2_6_Taxi/2_6_Taxi.csproj b/maltsev/Task1/2_6_Taxi/2_6_Taxi/2_6_Taxi.csproj new file mode 100644 index 0000000..ff1682f --- /dev/null +++ b/maltsev/Task1/2_6_Taxi/2_6_Taxi/2_6_Taxi.csproj @@ -0,0 +1,57 @@ + + + + Debug + x86 + 8.0.30703 + 2.0 + {E3262183-6489-4371-A424-9C34FAD08CC0} + Exe + Properties + _2_6_Taxi + 2_6_Taxi + v4.0 + Client + 512 + + + x86 + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + x86 + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/maltsev/Task1/2_6_Taxi/2_6_Taxi/Program.cs b/maltsev/Task1/2_6_Taxi/2_6_Taxi/Program.cs new file mode 100644 index 0000000..802556f --- /dev/null +++ b/maltsev/Task1/2_6_Taxi/2_6_Taxi/Program.cs @@ -0,0 +1,31 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; + +namespace _2_6_Taxi +{ + class Program + { + static void Main(string[] args) + { + Console.Write("Количество километров: "); + int km = Convert.ToInt32(Console.ReadLine()); + Console.Write("Количество минут простоя: "); + int pr = Convert.ToInt32(Console.ReadLine()); + int value = 0; + if (km > 5) + { + km -= 5; + value = 5*20 + km*3 + pr; + Console.Write("Стоимость: {0}", value); + } + else + { + value = km * 20 + pr; + Console.Write("Стоимость: {0} грн", value); + } + Console.ReadKey(); + } + } +} diff --git a/maltsev/Task1/2_6_Taxi/2_6_Taxi/Properties/AssemblyInfo.cs b/maltsev/Task1/2_6_Taxi/2_6_Taxi/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..db80640 --- /dev/null +++ b/maltsev/Task1/2_6_Taxi/2_6_Taxi/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// Управление общими сведениями о сборке осуществляется с помощью +// набора атрибутов. Измените значения этих атрибутов, чтобы изменить сведения, +// связанные со сборкой. +[assembly: AssemblyTitle("2_6_Taxi")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("2_6_Taxi")] +[assembly: AssemblyCopyright("Copyright © 2016")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Параметр ComVisible со значением FALSE делает типы в сборке невидимыми +// для COM-компонентов. Если требуется обратиться к типу в этой сборке через +// COM, задайте атрибуту ComVisible значение TRUE для этого типа. +[assembly: ComVisible(false)] + +// Следующий GUID служит для идентификации библиотеки типов, если этот проект будет видимым для COM +[assembly: Guid("63b84882-251c-4373-a04b-4755d171a9fd")] + +// Сведения о версии сборки состоят из следующих четырех значений: +// +// Основной номер версии +// Дополнительный номер версии +// Номер построения +// Редакция +// +// Можно задать все значения или принять номер построения и номер редакции по умолчанию, +// используя "*", как показано ниже: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/maltsev/Task1/2_6_Taxi/2_6_Taxi/bin/Debug/2_6_Taxi.exe b/maltsev/Task1/2_6_Taxi/2_6_Taxi/bin/Debug/2_6_Taxi.exe new file mode 100644 index 0000000..cc85f6d Binary files /dev/null and b/maltsev/Task1/2_6_Taxi/2_6_Taxi/bin/Debug/2_6_Taxi.exe differ diff --git a/maltsev/Task1/2_6_Taxi/2_6_Taxi/bin/Debug/2_6_Taxi.pdb b/maltsev/Task1/2_6_Taxi/2_6_Taxi/bin/Debug/2_6_Taxi.pdb new file mode 100644 index 0000000..3b1c67e Binary files /dev/null and b/maltsev/Task1/2_6_Taxi/2_6_Taxi/bin/Debug/2_6_Taxi.pdb differ diff --git a/maltsev/Task1/2_6_Taxi/2_6_Taxi/bin/Debug/2_6_Taxi.vshost.exe b/maltsev/Task1/2_6_Taxi/2_6_Taxi/bin/Debug/2_6_Taxi.vshost.exe new file mode 100644 index 0000000..bb84a51 Binary files /dev/null and b/maltsev/Task1/2_6_Taxi/2_6_Taxi/bin/Debug/2_6_Taxi.vshost.exe differ diff --git a/maltsev/Task1/2_6_Taxi/2_6_Taxi/obj/x86/Debug/2_6_Taxi.csproj.FileListAbsolute.txt b/maltsev/Task1/2_6_Taxi/2_6_Taxi/obj/x86/Debug/2_6_Taxi.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..d292975 --- /dev/null +++ b/maltsev/Task1/2_6_Taxi/2_6_Taxi/obj/x86/Debug/2_6_Taxi.csproj.FileListAbsolute.txt @@ -0,0 +1,4 @@ +c:\users\svezho\documents\visual studio 2010\Projects\2_6_Taxi\2_6_Taxi\bin\Debug\2_6_Taxi.exe +c:\users\svezho\documents\visual studio 2010\Projects\2_6_Taxi\2_6_Taxi\bin\Debug\2_6_Taxi.pdb +c:\users\svezho\documents\visual studio 2010\Projects\2_6_Taxi\2_6_Taxi\obj\x86\Debug\2_6_Taxi.exe +c:\users\svezho\documents\visual studio 2010\Projects\2_6_Taxi\2_6_Taxi\obj\x86\Debug\2_6_Taxi.pdb diff --git a/maltsev/Task1/2_6_Taxi/2_6_Taxi/obj/x86/Debug/2_6_Taxi.exe b/maltsev/Task1/2_6_Taxi/2_6_Taxi/obj/x86/Debug/2_6_Taxi.exe new file mode 100644 index 0000000..cc85f6d Binary files /dev/null and b/maltsev/Task1/2_6_Taxi/2_6_Taxi/obj/x86/Debug/2_6_Taxi.exe differ diff --git a/maltsev/Task1/2_6_Taxi/2_6_Taxi/obj/x86/Debug/2_6_Taxi.pdb b/maltsev/Task1/2_6_Taxi/2_6_Taxi/obj/x86/Debug/2_6_Taxi.pdb new file mode 100644 index 0000000..3b1c67e Binary files /dev/null and b/maltsev/Task1/2_6_Taxi/2_6_Taxi/obj/x86/Debug/2_6_Taxi.pdb differ diff --git a/maltsev/Task1/2_6_Taxi/2_6_Taxi/obj/x86/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/maltsev/Task1/2_6_Taxi/2_6_Taxi/obj/x86/Debug/DesignTimeResolveAssemblyReferencesInput.cache new file mode 100644 index 0000000..ffac8d4 Binary files /dev/null and b/maltsev/Task1/2_6_Taxi/2_6_Taxi/obj/x86/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/maltsev/Task1/2_7_Natural/2_7_Natural.sln b/maltsev/Task1/2_7_Natural/2_7_Natural.sln new file mode 100644 index 0000000..fc3632a --- /dev/null +++ b/maltsev/Task1/2_7_Natural/2_7_Natural.sln @@ -0,0 +1,20 @@ + +Microsoft Visual Studio Solution File, Format Version 11.00 +# Visual Studio 2010 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "2_7_Natural", "2_7_Natural\2_7_Natural.csproj", "{2DC214E4-69C3-423F-96A1-8F9E641F2430}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|x86 = Debug|x86 + Release|x86 = Release|x86 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {2DC214E4-69C3-423F-96A1-8F9E641F2430}.Debug|x86.ActiveCfg = Debug|x86 + {2DC214E4-69C3-423F-96A1-8F9E641F2430}.Debug|x86.Build.0 = Debug|x86 + {2DC214E4-69C3-423F-96A1-8F9E641F2430}.Release|x86.ActiveCfg = Release|x86 + {2DC214E4-69C3-423F-96A1-8F9E641F2430}.Release|x86.Build.0 = Release|x86 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/maltsev/Task1/2_7_Natural/2_7_Natural.suo b/maltsev/Task1/2_7_Natural/2_7_Natural.suo new file mode 100644 index 0000000..93b7e6c Binary files /dev/null and b/maltsev/Task1/2_7_Natural/2_7_Natural.suo differ diff --git a/maltsev/Task1/2_7_Natural/2_7_Natural/2_7_Natural.csproj b/maltsev/Task1/2_7_Natural/2_7_Natural/2_7_Natural.csproj new file mode 100644 index 0000000..14f80eb --- /dev/null +++ b/maltsev/Task1/2_7_Natural/2_7_Natural/2_7_Natural.csproj @@ -0,0 +1,57 @@ + + + + Debug + x86 + 8.0.30703 + 2.0 + {2DC214E4-69C3-423F-96A1-8F9E641F2430} + Exe + Properties + _2_7_Natural + 2_7_Natural + v4.0 + Client + 512 + + + x86 + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + x86 + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/maltsev/Task1/2_7_Natural/2_7_Natural/Program.cs b/maltsev/Task1/2_7_Natural/2_7_Natural/Program.cs new file mode 100644 index 0000000..6fbb8f6 --- /dev/null +++ b/maltsev/Task1/2_7_Natural/2_7_Natural/Program.cs @@ -0,0 +1,24 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; + +namespace _2_7_Natural +{ + class Program + { + static void Main(string[] args) + { + Console.Write("Число: "); + int a = Convert.ToInt32(Console.ReadLine()); + int count = 0; + for (int i = 1; i <= a; i++) + { + if (a % i == 0) count++; + } + if (count == 2 ) Console.WriteLine("Число {0} явл простым",a); + else Console.WriteLine("Число {0} не явл простым", a); + Console.ReadKey(); + } + } +} diff --git a/maltsev/Task1/2_7_Natural/2_7_Natural/Properties/AssemblyInfo.cs b/maltsev/Task1/2_7_Natural/2_7_Natural/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..844eb16 --- /dev/null +++ b/maltsev/Task1/2_7_Natural/2_7_Natural/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// Управление общими сведениями о сборке осуществляется с помощью +// набора атрибутов. Измените значения этих атрибутов, чтобы изменить сведения, +// связанные со сборкой. +[assembly: AssemblyTitle("2_7_Natural")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("2_7_Natural")] +[assembly: AssemblyCopyright("Copyright © 2016")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Параметр ComVisible со значением FALSE делает типы в сборке невидимыми +// для COM-компонентов. Если требуется обратиться к типу в этой сборке через +// COM, задайте атрибуту ComVisible значение TRUE для этого типа. +[assembly: ComVisible(false)] + +// Следующий GUID служит для идентификации библиотеки типов, если этот проект будет видимым для COM +[assembly: Guid("0f5677e1-c534-4c76-b5dd-1219e8b1a512")] + +// Сведения о версии сборки состоят из следующих четырех значений: +// +// Основной номер версии +// Дополнительный номер версии +// Номер построения +// Редакция +// +// Можно задать все значения или принять номер построения и номер редакции по умолчанию, +// используя "*", как показано ниже: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/maltsev/Task1/2_7_Natural/2_7_Natural/bin/Debug/2_7_Natural.exe b/maltsev/Task1/2_7_Natural/2_7_Natural/bin/Debug/2_7_Natural.exe new file mode 100644 index 0000000..cc7d3d4 Binary files /dev/null and b/maltsev/Task1/2_7_Natural/2_7_Natural/bin/Debug/2_7_Natural.exe differ diff --git a/maltsev/Task1/2_7_Natural/2_7_Natural/bin/Debug/2_7_Natural.pdb b/maltsev/Task1/2_7_Natural/2_7_Natural/bin/Debug/2_7_Natural.pdb new file mode 100644 index 0000000..860c665 Binary files /dev/null and b/maltsev/Task1/2_7_Natural/2_7_Natural/bin/Debug/2_7_Natural.pdb differ diff --git a/maltsev/Task1/2_7_Natural/2_7_Natural/bin/Debug/2_7_Natural.vshost.exe b/maltsev/Task1/2_7_Natural/2_7_Natural/bin/Debug/2_7_Natural.vshost.exe new file mode 100644 index 0000000..bb84a51 Binary files /dev/null and b/maltsev/Task1/2_7_Natural/2_7_Natural/bin/Debug/2_7_Natural.vshost.exe differ diff --git a/AlexandrTkachukTask1/CyclicConstructions/Task1MultiplicationTable/bin/Debug/Task1MultiplicationTable.vshost.exe.manifest b/maltsev/Task1/2_7_Natural/2_7_Natural/bin/Debug/2_7_Natural.vshost.exe.manifest similarity index 100% rename from AlexandrTkachukTask1/CyclicConstructions/Task1MultiplicationTable/bin/Debug/Task1MultiplicationTable.vshost.exe.manifest rename to maltsev/Task1/2_7_Natural/2_7_Natural/bin/Debug/2_7_Natural.vshost.exe.manifest diff --git a/maltsev/Task1/2_7_Natural/2_7_Natural/obj/x86/Debug/2_7_Natural.csproj.FileListAbsolute.txt b/maltsev/Task1/2_7_Natural/2_7_Natural/obj/x86/Debug/2_7_Natural.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..6d84a0e --- /dev/null +++ b/maltsev/Task1/2_7_Natural/2_7_Natural/obj/x86/Debug/2_7_Natural.csproj.FileListAbsolute.txt @@ -0,0 +1,4 @@ +c:\users\svezho\documents\visual studio 2010\Projects\2_7_Natural\2_7_Natural\bin\Debug\2_7_Natural.exe +c:\users\svezho\documents\visual studio 2010\Projects\2_7_Natural\2_7_Natural\bin\Debug\2_7_Natural.pdb +c:\users\svezho\documents\visual studio 2010\Projects\2_7_Natural\2_7_Natural\obj\x86\Debug\2_7_Natural.exe +c:\users\svezho\documents\visual studio 2010\Projects\2_7_Natural\2_7_Natural\obj\x86\Debug\2_7_Natural.pdb diff --git a/maltsev/Task1/2_7_Natural/2_7_Natural/obj/x86/Debug/2_7_Natural.exe b/maltsev/Task1/2_7_Natural/2_7_Natural/obj/x86/Debug/2_7_Natural.exe new file mode 100644 index 0000000..cc7d3d4 Binary files /dev/null and b/maltsev/Task1/2_7_Natural/2_7_Natural/obj/x86/Debug/2_7_Natural.exe differ diff --git a/maltsev/Task1/2_7_Natural/2_7_Natural/obj/x86/Debug/2_7_Natural.pdb b/maltsev/Task1/2_7_Natural/2_7_Natural/obj/x86/Debug/2_7_Natural.pdb new file mode 100644 index 0000000..860c665 Binary files /dev/null and b/maltsev/Task1/2_7_Natural/2_7_Natural/obj/x86/Debug/2_7_Natural.pdb differ diff --git a/maltsev/Task1/2_7_Natural/2_7_Natural/obj/x86/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/maltsev/Task1/2_7_Natural/2_7_Natural/obj/x86/Debug/DesignTimeResolveAssemblyReferencesInput.cache new file mode 100644 index 0000000..7c88568 Binary files /dev/null and b/maltsev/Task1/2_7_Natural/2_7_Natural/obj/x86/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/maltsev/Task1/2_8_Loto/2_8_Loto.sln b/maltsev/Task1/2_8_Loto/2_8_Loto.sln new file mode 100644 index 0000000..dc1ba8e --- /dev/null +++ b/maltsev/Task1/2_8_Loto/2_8_Loto.sln @@ -0,0 +1,20 @@ + +Microsoft Visual Studio Solution File, Format Version 11.00 +# Visual Studio 2010 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "2_8_Loto", "2_8_Loto\2_8_Loto.csproj", "{04895EF0-A429-4A46-BCAF-DBFE2E911A1D}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|x86 = Debug|x86 + Release|x86 = Release|x86 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {04895EF0-A429-4A46-BCAF-DBFE2E911A1D}.Debug|x86.ActiveCfg = Debug|x86 + {04895EF0-A429-4A46-BCAF-DBFE2E911A1D}.Debug|x86.Build.0 = Debug|x86 + {04895EF0-A429-4A46-BCAF-DBFE2E911A1D}.Release|x86.ActiveCfg = Release|x86 + {04895EF0-A429-4A46-BCAF-DBFE2E911A1D}.Release|x86.Build.0 = Release|x86 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/maltsev/Task1/2_8_Loto/2_8_Loto.suo b/maltsev/Task1/2_8_Loto/2_8_Loto.suo new file mode 100644 index 0000000..ac97afd Binary files /dev/null and b/maltsev/Task1/2_8_Loto/2_8_Loto.suo differ diff --git a/maltsev/Task1/2_8_Loto/2_8_Loto/2_8_Loto.csproj b/maltsev/Task1/2_8_Loto/2_8_Loto/2_8_Loto.csproj new file mode 100644 index 0000000..e7bf448 --- /dev/null +++ b/maltsev/Task1/2_8_Loto/2_8_Loto/2_8_Loto.csproj @@ -0,0 +1,57 @@ + + + + Debug + x86 + 8.0.30703 + 2.0 + {04895EF0-A429-4A46-BCAF-DBFE2E911A1D} + Exe + Properties + _2_8_Loto + 2_8_Loto + v4.0 + Client + 512 + + + x86 + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + x86 + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/maltsev/Task1/2_8_Loto/2_8_Loto/Program.cs b/maltsev/Task1/2_8_Loto/2_8_Loto/Program.cs new file mode 100644 index 0000000..7c89ee9 --- /dev/null +++ b/maltsev/Task1/2_8_Loto/2_8_Loto/Program.cs @@ -0,0 +1,28 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; + +namespace _2_8_Loto +{ + class Program + { + static void Main(string[] args) + { + Console.Write("Ставка: "); + int a = Convert.ToInt32(Console.ReadLine()); + Random rand = new Random(); + int temp; + temp = rand.Next(1, 13); + Console.WriteLine("Число на кубике: {0}", temp); + if(temp > 0 && temp < 6) + Console.WriteLine("Ваш выигрыш: {0}", 0); + else if(temp > 5 && temp < 9) + Console.WriteLine("Ваш выигрыш: {0}", a); + else if(temp > 8 && temp < 12) + Console.WriteLine("Ваш выигрыш: {0}", a*2); + else Console.WriteLine("Ваш выигрыш: {0}", a*10); + Console.ReadKey(); + } + } +} diff --git a/maltsev/Task1/2_8_Loto/2_8_Loto/Properties/AssemblyInfo.cs b/maltsev/Task1/2_8_Loto/2_8_Loto/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..ef2d3d5 --- /dev/null +++ b/maltsev/Task1/2_8_Loto/2_8_Loto/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// Управление общими сведениями о сборке осуществляется с помощью +// набора атрибутов. Измените значения этих атрибутов, чтобы изменить сведения, +// связанные со сборкой. +[assembly: AssemblyTitle("2_8_Loto")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("2_8_Loto")] +[assembly: AssemblyCopyright("Copyright © 2016")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Параметр ComVisible со значением FALSE делает типы в сборке невидимыми +// для COM-компонентов. Если требуется обратиться к типу в этой сборке через +// COM, задайте атрибуту ComVisible значение TRUE для этого типа. +[assembly: ComVisible(false)] + +// Следующий GUID служит для идентификации библиотеки типов, если этот проект будет видимым для COM +[assembly: Guid("f0913002-358b-49fe-b65b-bf699d9bc603")] + +// Сведения о версии сборки состоят из следующих четырех значений: +// +// Основной номер версии +// Дополнительный номер версии +// Номер построения +// Редакция +// +// Можно задать все значения или принять номер построения и номер редакции по умолчанию, +// используя "*", как показано ниже: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/maltsev/Task1/2_8_Loto/2_8_Loto/bin/Debug/2_8_Loto.exe b/maltsev/Task1/2_8_Loto/2_8_Loto/bin/Debug/2_8_Loto.exe new file mode 100644 index 0000000..bef8f25 Binary files /dev/null and b/maltsev/Task1/2_8_Loto/2_8_Loto/bin/Debug/2_8_Loto.exe differ diff --git a/maltsev/Task1/2_8_Loto/2_8_Loto/bin/Debug/2_8_Loto.pdb b/maltsev/Task1/2_8_Loto/2_8_Loto/bin/Debug/2_8_Loto.pdb new file mode 100644 index 0000000..bdc6e6d Binary files /dev/null and b/maltsev/Task1/2_8_Loto/2_8_Loto/bin/Debug/2_8_Loto.pdb differ diff --git a/maltsev/Task1/2_8_Loto/2_8_Loto/bin/Debug/2_8_Loto.vshost.exe b/maltsev/Task1/2_8_Loto/2_8_Loto/bin/Debug/2_8_Loto.vshost.exe new file mode 100644 index 0000000..bb84a51 Binary files /dev/null and b/maltsev/Task1/2_8_Loto/2_8_Loto/bin/Debug/2_8_Loto.vshost.exe differ diff --git a/maltsev/Task1/2_8_Loto/2_8_Loto/obj/x86/Debug/2_8_Loto.csproj.FileListAbsolute.txt b/maltsev/Task1/2_8_Loto/2_8_Loto/obj/x86/Debug/2_8_Loto.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..f74cf5b --- /dev/null +++ b/maltsev/Task1/2_8_Loto/2_8_Loto/obj/x86/Debug/2_8_Loto.csproj.FileListAbsolute.txt @@ -0,0 +1,4 @@ +c:\users\svezho\documents\visual studio 2010\Projects\2_8_Loto\2_8_Loto\bin\Debug\2_8_Loto.exe +c:\users\svezho\documents\visual studio 2010\Projects\2_8_Loto\2_8_Loto\bin\Debug\2_8_Loto.pdb +c:\users\svezho\documents\visual studio 2010\Projects\2_8_Loto\2_8_Loto\obj\x86\Debug\2_8_Loto.exe +c:\users\svezho\documents\visual studio 2010\Projects\2_8_Loto\2_8_Loto\obj\x86\Debug\2_8_Loto.pdb diff --git a/maltsev/Task1/2_8_Loto/2_8_Loto/obj/x86/Debug/2_8_Loto.exe b/maltsev/Task1/2_8_Loto/2_8_Loto/obj/x86/Debug/2_8_Loto.exe new file mode 100644 index 0000000..bef8f25 Binary files /dev/null and b/maltsev/Task1/2_8_Loto/2_8_Loto/obj/x86/Debug/2_8_Loto.exe differ diff --git a/maltsev/Task1/2_8_Loto/2_8_Loto/obj/x86/Debug/2_8_Loto.pdb b/maltsev/Task1/2_8_Loto/2_8_Loto/obj/x86/Debug/2_8_Loto.pdb new file mode 100644 index 0000000..bdc6e6d Binary files /dev/null and b/maltsev/Task1/2_8_Loto/2_8_Loto/obj/x86/Debug/2_8_Loto.pdb differ diff --git a/maltsev/Task1/2_8_Loto/2_8_Loto/obj/x86/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/maltsev/Task1/2_8_Loto/2_8_Loto/obj/x86/Debug/DesignTimeResolveAssemblyReferencesInput.cache new file mode 100644 index 0000000..b93f506 Binary files /dev/null and b/maltsev/Task1/2_8_Loto/2_8_Loto/obj/x86/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/maltsev/Task1/2_9_Currency/2_9_Currency.sln b/maltsev/Task1/2_9_Currency/2_9_Currency.sln new file mode 100644 index 0000000..9fc3250 --- /dev/null +++ b/maltsev/Task1/2_9_Currency/2_9_Currency.sln @@ -0,0 +1,20 @@ + +Microsoft Visual Studio Solution File, Format Version 11.00 +# Visual Studio 2010 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "2_9_Currency", "2_9_Currency\2_9_Currency.csproj", "{1EF0522E-4856-44EC-AEA7-90DCBF628F79}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|x86 = Debug|x86 + Release|x86 = Release|x86 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {1EF0522E-4856-44EC-AEA7-90DCBF628F79}.Debug|x86.ActiveCfg = Debug|x86 + {1EF0522E-4856-44EC-AEA7-90DCBF628F79}.Debug|x86.Build.0 = Debug|x86 + {1EF0522E-4856-44EC-AEA7-90DCBF628F79}.Release|x86.ActiveCfg = Release|x86 + {1EF0522E-4856-44EC-AEA7-90DCBF628F79}.Release|x86.Build.0 = Release|x86 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/maltsev/Task1/2_9_Currency/2_9_Currency.suo b/maltsev/Task1/2_9_Currency/2_9_Currency.suo new file mode 100644 index 0000000..718086f Binary files /dev/null and b/maltsev/Task1/2_9_Currency/2_9_Currency.suo differ diff --git a/maltsev/Task1/2_9_Currency/2_9_Currency/2_9_Currency.csproj b/maltsev/Task1/2_9_Currency/2_9_Currency/2_9_Currency.csproj new file mode 100644 index 0000000..334854a --- /dev/null +++ b/maltsev/Task1/2_9_Currency/2_9_Currency/2_9_Currency.csproj @@ -0,0 +1,57 @@ + + + + Debug + x86 + 8.0.30703 + 2.0 + {1EF0522E-4856-44EC-AEA7-90DCBF628F79} + Exe + Properties + _2_9_Currency + 2_9_Currency + v4.0 + Client + 512 + + + x86 + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + x86 + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/maltsev/Task1/2_9_Currency/2_9_Currency/Program.cs b/maltsev/Task1/2_9_Currency/2_9_Currency/Program.cs new file mode 100644 index 0000000..c2241c7 --- /dev/null +++ b/maltsev/Task1/2_9_Currency/2_9_Currency/Program.cs @@ -0,0 +1,43 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; + +namespace _2_9_Currency +{ + class Program + { + static void Main(string[] args) + { + Console.Write("Сумма: "); + int a = Convert.ToInt32(Console.ReadLine()); + Console.WriteLine("Введите вид валюты: "); + Console.WriteLine("1. Гривны"); + Console.WriteLine("2. Доллары"); + Console.WriteLine("3. Евро"); + int val = Convert.ToInt32(Console.ReadLine()); + double DolToHrn = 25.911879; + double EurToHrn = 29.075720; + if (val == 1) + { + Console.WriteLine("{0} гривен", a); + Console.WriteLine("{0:f2} долларов", a / DolToHrn); + Console.WriteLine("{0:f2} евро", a/EurToHrn); + } + else if (val == 2) + { + Console.WriteLine("{0:f2} гривен", a * DolToHrn); + Console.WriteLine("{0} долларов", a ); + Console.WriteLine("{0:f2} eвро", a * DolToHrn / EurToHrn); + } + else if (val == 3) + { + Console.WriteLine("{0:f2} гривен", a * EurToHrn); + Console.WriteLine("{0:f2} долларов", a * EurToHrn / DolToHrn); + Console.WriteLine("{0} евро", a ); + } + else Console.WriteLine("Ошибка"); + Console.ReadKey(); + } + } +} diff --git a/maltsev/Task1/2_9_Currency/2_9_Currency/Properties/AssemblyInfo.cs b/maltsev/Task1/2_9_Currency/2_9_Currency/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..2c9aa6d --- /dev/null +++ b/maltsev/Task1/2_9_Currency/2_9_Currency/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// Управление общими сведениями о сборке осуществляется с помощью +// набора атрибутов. Измените значения этих атрибутов, чтобы изменить сведения, +// связанные со сборкой. +[assembly: AssemblyTitle("2_9_Currency")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("2_9_Currency")] +[assembly: AssemblyCopyright("Copyright © 2016")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Параметр ComVisible со значением FALSE делает типы в сборке невидимыми +// для COM-компонентов. Если требуется обратиться к типу в этой сборке через +// COM, задайте атрибуту ComVisible значение TRUE для этого типа. +[assembly: ComVisible(false)] + +// Следующий GUID служит для идентификации библиотеки типов, если этот проект будет видимым для COM +[assembly: Guid("3e32f0ef-9bd0-4aca-aa3f-7c8a6de02bc2")] + +// Сведения о версии сборки состоят из следующих четырех значений: +// +// Основной номер версии +// Дополнительный номер версии +// Номер построения +// Редакция +// +// Можно задать все значения или принять номер построения и номер редакции по умолчанию, +// используя "*", как показано ниже: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/maltsev/Task1/2_9_Currency/2_9_Currency/bin/Debug/2_9_Currency.exe b/maltsev/Task1/2_9_Currency/2_9_Currency/bin/Debug/2_9_Currency.exe new file mode 100644 index 0000000..2bf87cb Binary files /dev/null and b/maltsev/Task1/2_9_Currency/2_9_Currency/bin/Debug/2_9_Currency.exe differ diff --git a/maltsev/Task1/2_9_Currency/2_9_Currency/bin/Debug/2_9_Currency.pdb b/maltsev/Task1/2_9_Currency/2_9_Currency/bin/Debug/2_9_Currency.pdb new file mode 100644 index 0000000..eea40c0 Binary files /dev/null and b/maltsev/Task1/2_9_Currency/2_9_Currency/bin/Debug/2_9_Currency.pdb differ diff --git a/maltsev/Task1/2_9_Currency/2_9_Currency/bin/Debug/2_9_Currency.vshost.exe b/maltsev/Task1/2_9_Currency/2_9_Currency/bin/Debug/2_9_Currency.vshost.exe new file mode 100644 index 0000000..bb84a51 Binary files /dev/null and b/maltsev/Task1/2_9_Currency/2_9_Currency/bin/Debug/2_9_Currency.vshost.exe differ diff --git a/maltsev/Task1/2_9_Currency/2_9_Currency/obj/x86/Debug/2_9_Currency.csproj.FileListAbsolute.txt b/maltsev/Task1/2_9_Currency/2_9_Currency/obj/x86/Debug/2_9_Currency.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..ae199ec --- /dev/null +++ b/maltsev/Task1/2_9_Currency/2_9_Currency/obj/x86/Debug/2_9_Currency.csproj.FileListAbsolute.txt @@ -0,0 +1,4 @@ +c:\users\svezho\documents\visual studio 2010\Projects\2_9_Currency\2_9_Currency\bin\Debug\2_9_Currency.exe +c:\users\svezho\documents\visual studio 2010\Projects\2_9_Currency\2_9_Currency\bin\Debug\2_9_Currency.pdb +c:\users\svezho\documents\visual studio 2010\Projects\2_9_Currency\2_9_Currency\obj\x86\Debug\2_9_Currency.exe +c:\users\svezho\documents\visual studio 2010\Projects\2_9_Currency\2_9_Currency\obj\x86\Debug\2_9_Currency.pdb diff --git a/maltsev/Task1/2_9_Currency/2_9_Currency/obj/x86/Debug/2_9_Currency.exe b/maltsev/Task1/2_9_Currency/2_9_Currency/obj/x86/Debug/2_9_Currency.exe new file mode 100644 index 0000000..2bf87cb Binary files /dev/null and b/maltsev/Task1/2_9_Currency/2_9_Currency/obj/x86/Debug/2_9_Currency.exe differ diff --git a/maltsev/Task1/2_9_Currency/2_9_Currency/obj/x86/Debug/2_9_Currency.pdb b/maltsev/Task1/2_9_Currency/2_9_Currency/obj/x86/Debug/2_9_Currency.pdb new file mode 100644 index 0000000..eea40c0 Binary files /dev/null and b/maltsev/Task1/2_9_Currency/2_9_Currency/obj/x86/Debug/2_9_Currency.pdb differ diff --git a/maltsev/Task1/2_9_Currency/2_9_Currency/obj/x86/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/maltsev/Task1/2_9_Currency/2_9_Currency/obj/x86/Debug/DesignTimeResolveAssemblyReferencesInput.cache new file mode 100644 index 0000000..7ed80b3 Binary files /dev/null and b/maltsev/Task1/2_9_Currency/2_9_Currency/obj/x86/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/maltsev/Task1/3_1_Multiply/3_1_Multiply.sln b/maltsev/Task1/3_1_Multiply/3_1_Multiply.sln new file mode 100644 index 0000000..eedaf75 --- /dev/null +++ b/maltsev/Task1/3_1_Multiply/3_1_Multiply.sln @@ -0,0 +1,20 @@ + +Microsoft Visual Studio Solution File, Format Version 11.00 +# Visual Studio 2010 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "3_1_Multiply", "3_1_Multiply\3_1_Multiply.csproj", "{7C2B2FA5-46DE-42EB-B6C2-79BA51154C5A}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|x86 = Debug|x86 + Release|x86 = Release|x86 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {7C2B2FA5-46DE-42EB-B6C2-79BA51154C5A}.Debug|x86.ActiveCfg = Debug|x86 + {7C2B2FA5-46DE-42EB-B6C2-79BA51154C5A}.Debug|x86.Build.0 = Debug|x86 + {7C2B2FA5-46DE-42EB-B6C2-79BA51154C5A}.Release|x86.ActiveCfg = Release|x86 + {7C2B2FA5-46DE-42EB-B6C2-79BA51154C5A}.Release|x86.Build.0 = Release|x86 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/maltsev/Task1/3_1_Multiply/3_1_Multiply.suo b/maltsev/Task1/3_1_Multiply/3_1_Multiply.suo new file mode 100644 index 0000000..964badb Binary files /dev/null and b/maltsev/Task1/3_1_Multiply/3_1_Multiply.suo differ diff --git a/maltsev/Task1/3_1_Multiply/3_1_Multiply/3_1_Multiply.csproj b/maltsev/Task1/3_1_Multiply/3_1_Multiply/3_1_Multiply.csproj new file mode 100644 index 0000000..2b29a1b --- /dev/null +++ b/maltsev/Task1/3_1_Multiply/3_1_Multiply/3_1_Multiply.csproj @@ -0,0 +1,57 @@ + + + + Debug + x86 + 8.0.30703 + 2.0 + {7C2B2FA5-46DE-42EB-B6C2-79BA51154C5A} + Exe + Properties + _3_1_Multiply + 3_1_Multiply + v4.0 + Client + 512 + + + x86 + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + x86 + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/maltsev/Task1/3_1_Multiply/3_1_Multiply/Program.cs b/maltsev/Task1/3_1_Multiply/3_1_Multiply/Program.cs new file mode 100644 index 0000000..e8ab563 --- /dev/null +++ b/maltsev/Task1/3_1_Multiply/3_1_Multiply/Program.cs @@ -0,0 +1,19 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; + +namespace _3_1_Multiply +{ + class Program + { + static void Main(string[] args) + { + Console.Write("Число: "); + int a = Convert.ToInt32(Console.ReadLine()); + for (int i = 1; i <= 20; i++) + Console.WriteLine("{0}*{1}\t{2}", i, a, a * i); + Console.ReadKey(); + } + } +} diff --git a/maltsev/Task1/3_1_Multiply/3_1_Multiply/Properties/AssemblyInfo.cs b/maltsev/Task1/3_1_Multiply/3_1_Multiply/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..d1e21e3 --- /dev/null +++ b/maltsev/Task1/3_1_Multiply/3_1_Multiply/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// Управление общими сведениями о сборке осуществляется с помощью +// набора атрибутов. Измените значения этих атрибутов, чтобы изменить сведения, +// связанные со сборкой. +[assembly: AssemblyTitle("3_1_Multiply")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("3_1_Multiply")] +[assembly: AssemblyCopyright("Copyright © 2016")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Параметр ComVisible со значением FALSE делает типы в сборке невидимыми +// для COM-компонентов. Если требуется обратиться к типу в этой сборке через +// COM, задайте атрибуту ComVisible значение TRUE для этого типа. +[assembly: ComVisible(false)] + +// Следующий GUID служит для идентификации библиотеки типов, если этот проект будет видимым для COM +[assembly: Guid("298c72ac-551c-43f8-a6fb-cfc1e253f462")] + +// Сведения о версии сборки состоят из следующих четырех значений: +// +// Основной номер версии +// Дополнительный номер версии +// Номер построения +// Редакция +// +// Можно задать все значения или принять номер построения и номер редакции по умолчанию, +// используя "*", как показано ниже: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/maltsev/Task1/3_1_Multiply/3_1_Multiply/bin/Debug/3_1_Multiply.exe b/maltsev/Task1/3_1_Multiply/3_1_Multiply/bin/Debug/3_1_Multiply.exe new file mode 100644 index 0000000..faac6ec Binary files /dev/null and b/maltsev/Task1/3_1_Multiply/3_1_Multiply/bin/Debug/3_1_Multiply.exe differ diff --git a/maltsev/Task1/3_1_Multiply/3_1_Multiply/bin/Debug/3_1_Multiply.pdb b/maltsev/Task1/3_1_Multiply/3_1_Multiply/bin/Debug/3_1_Multiply.pdb new file mode 100644 index 0000000..d30553c Binary files /dev/null and b/maltsev/Task1/3_1_Multiply/3_1_Multiply/bin/Debug/3_1_Multiply.pdb differ diff --git a/maltsev/Task1/3_1_Multiply/3_1_Multiply/bin/Debug/3_1_Multiply.vshost.exe b/maltsev/Task1/3_1_Multiply/3_1_Multiply/bin/Debug/3_1_Multiply.vshost.exe new file mode 100644 index 0000000..bb84a51 Binary files /dev/null and b/maltsev/Task1/3_1_Multiply/3_1_Multiply/bin/Debug/3_1_Multiply.vshost.exe differ diff --git a/maltsev/Task1/3_1_Multiply/3_1_Multiply/obj/x86/Debug/3_1_Multiply.csproj.FileListAbsolute.txt b/maltsev/Task1/3_1_Multiply/3_1_Multiply/obj/x86/Debug/3_1_Multiply.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..21e58b7 --- /dev/null +++ b/maltsev/Task1/3_1_Multiply/3_1_Multiply/obj/x86/Debug/3_1_Multiply.csproj.FileListAbsolute.txt @@ -0,0 +1,4 @@ +c:\users\svezho\documents\visual studio 2010\Projects\3_1_Multiply\3_1_Multiply\bin\Debug\3_1_Multiply.exe +c:\users\svezho\documents\visual studio 2010\Projects\3_1_Multiply\3_1_Multiply\bin\Debug\3_1_Multiply.pdb +c:\users\svezho\documents\visual studio 2010\Projects\3_1_Multiply\3_1_Multiply\obj\x86\Debug\3_1_Multiply.exe +c:\users\svezho\documents\visual studio 2010\Projects\3_1_Multiply\3_1_Multiply\obj\x86\Debug\3_1_Multiply.pdb diff --git a/maltsev/Task1/3_1_Multiply/3_1_Multiply/obj/x86/Debug/3_1_Multiply.exe b/maltsev/Task1/3_1_Multiply/3_1_Multiply/obj/x86/Debug/3_1_Multiply.exe new file mode 100644 index 0000000..faac6ec Binary files /dev/null and b/maltsev/Task1/3_1_Multiply/3_1_Multiply/obj/x86/Debug/3_1_Multiply.exe differ diff --git a/maltsev/Task1/3_1_Multiply/3_1_Multiply/obj/x86/Debug/3_1_Multiply.pdb b/maltsev/Task1/3_1_Multiply/3_1_Multiply/obj/x86/Debug/3_1_Multiply.pdb new file mode 100644 index 0000000..d30553c Binary files /dev/null and b/maltsev/Task1/3_1_Multiply/3_1_Multiply/obj/x86/Debug/3_1_Multiply.pdb differ diff --git a/maltsev/Task1/3_1_Multiply/3_1_Multiply/obj/x86/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/maltsev/Task1/3_1_Multiply/3_1_Multiply/obj/x86/Debug/DesignTimeResolveAssemblyReferencesInput.cache new file mode 100644 index 0000000..9af0186 Binary files /dev/null and b/maltsev/Task1/3_1_Multiply/3_1_Multiply/obj/x86/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/maltsev/Task1/3_2_Ranks/3_2_Ranks.sln b/maltsev/Task1/3_2_Ranks/3_2_Ranks.sln new file mode 100644 index 0000000..f9020ab --- /dev/null +++ b/maltsev/Task1/3_2_Ranks/3_2_Ranks.sln @@ -0,0 +1,20 @@ + +Microsoft Visual Studio Solution File, Format Version 11.00 +# Visual Studio 2010 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "3_2_Ranks", "3_2_Ranks\3_2_Ranks.csproj", "{C260177D-9DE7-42B9-AAFF-360078B88B66}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|x86 = Debug|x86 + Release|x86 = Release|x86 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {C260177D-9DE7-42B9-AAFF-360078B88B66}.Debug|x86.ActiveCfg = Debug|x86 + {C260177D-9DE7-42B9-AAFF-360078B88B66}.Debug|x86.Build.0 = Debug|x86 + {C260177D-9DE7-42B9-AAFF-360078B88B66}.Release|x86.ActiveCfg = Release|x86 + {C260177D-9DE7-42B9-AAFF-360078B88B66}.Release|x86.Build.0 = Release|x86 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/maltsev/Task1/3_2_Ranks/3_2_Ranks.suo b/maltsev/Task1/3_2_Ranks/3_2_Ranks.suo new file mode 100644 index 0000000..54fd289 Binary files /dev/null and b/maltsev/Task1/3_2_Ranks/3_2_Ranks.suo differ diff --git a/maltsev/Task1/3_2_Ranks/3_2_Ranks/3_2_Ranks.csproj b/maltsev/Task1/3_2_Ranks/3_2_Ranks/3_2_Ranks.csproj new file mode 100644 index 0000000..4dff700 --- /dev/null +++ b/maltsev/Task1/3_2_Ranks/3_2_Ranks/3_2_Ranks.csproj @@ -0,0 +1,57 @@ + + + + Debug + x86 + 8.0.30703 + 2.0 + {C260177D-9DE7-42B9-AAFF-360078B88B66} + Exe + Properties + _3_2_Ranks + 3_2_Ranks + v4.0 + Client + 512 + + + x86 + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + x86 + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/maltsev/Task1/3_2_Ranks/3_2_Ranks/Program.cs b/maltsev/Task1/3_2_Ranks/3_2_Ranks/Program.cs new file mode 100644 index 0000000..f98a9ab --- /dev/null +++ b/maltsev/Task1/3_2_Ranks/3_2_Ranks/Program.cs @@ -0,0 +1,24 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; + +namespace _3_2_Ranks +{ + class Program + { + static void Main(string[] args) + { + Console.Write("Число: "); + int a = Convert.ToInt32(Console.ReadLine()); + int count = 0; + while (a != 0) + { + a = a / 10; + count++; + } + Console.Write("У числа {0} разрядов.", count); + Console.ReadKey(); + } + } +} diff --git a/maltsev/Task1/3_2_Ranks/3_2_Ranks/Properties/AssemblyInfo.cs b/maltsev/Task1/3_2_Ranks/3_2_Ranks/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..02da57f --- /dev/null +++ b/maltsev/Task1/3_2_Ranks/3_2_Ranks/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// Управление общими сведениями о сборке осуществляется с помощью +// набора атрибутов. Измените значения этих атрибутов, чтобы изменить сведения, +// связанные со сборкой. +[assembly: AssemblyTitle("3_2_Ranks")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("3_2_Ranks")] +[assembly: AssemblyCopyright("Copyright © 2016")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Параметр ComVisible со значением FALSE делает типы в сборке невидимыми +// для COM-компонентов. Если требуется обратиться к типу в этой сборке через +// COM, задайте атрибуту ComVisible значение TRUE для этого типа. +[assembly: ComVisible(false)] + +// Следующий GUID служит для идентификации библиотеки типов, если этот проект будет видимым для COM +[assembly: Guid("51d50c82-aada-4113-8541-ed43025c83e5")] + +// Сведения о версии сборки состоят из следующих четырех значений: +// +// Основной номер версии +// Дополнительный номер версии +// Номер построения +// Редакция +// +// Можно задать все значения или принять номер построения и номер редакции по умолчанию, +// используя "*", как показано ниже: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/maltsev/Task1/3_2_Ranks/3_2_Ranks/bin/Debug/3_2_Ranks.exe b/maltsev/Task1/3_2_Ranks/3_2_Ranks/bin/Debug/3_2_Ranks.exe new file mode 100644 index 0000000..885f328 Binary files /dev/null and b/maltsev/Task1/3_2_Ranks/3_2_Ranks/bin/Debug/3_2_Ranks.exe differ diff --git a/maltsev/Task1/3_2_Ranks/3_2_Ranks/bin/Debug/3_2_Ranks.pdb b/maltsev/Task1/3_2_Ranks/3_2_Ranks/bin/Debug/3_2_Ranks.pdb new file mode 100644 index 0000000..78d43f4 Binary files /dev/null and b/maltsev/Task1/3_2_Ranks/3_2_Ranks/bin/Debug/3_2_Ranks.pdb differ diff --git a/maltsev/Task1/3_2_Ranks/3_2_Ranks/bin/Debug/3_2_Ranks.vshost.exe b/maltsev/Task1/3_2_Ranks/3_2_Ranks/bin/Debug/3_2_Ranks.vshost.exe new file mode 100644 index 0000000..bb84a51 Binary files /dev/null and b/maltsev/Task1/3_2_Ranks/3_2_Ranks/bin/Debug/3_2_Ranks.vshost.exe differ diff --git a/maltsev/Task1/3_2_Ranks/3_2_Ranks/obj/x86/Debug/3_2_Ranks.csproj.FileListAbsolute.txt b/maltsev/Task1/3_2_Ranks/3_2_Ranks/obj/x86/Debug/3_2_Ranks.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..fa48bb5 --- /dev/null +++ b/maltsev/Task1/3_2_Ranks/3_2_Ranks/obj/x86/Debug/3_2_Ranks.csproj.FileListAbsolute.txt @@ -0,0 +1,4 @@ +c:\users\svezho\documents\visual studio 2010\Projects\3_2_Ranks\3_2_Ranks\bin\Debug\3_2_Ranks.exe +c:\users\svezho\documents\visual studio 2010\Projects\3_2_Ranks\3_2_Ranks\bin\Debug\3_2_Ranks.pdb +c:\users\svezho\documents\visual studio 2010\Projects\3_2_Ranks\3_2_Ranks\obj\x86\Debug\3_2_Ranks.exe +c:\users\svezho\documents\visual studio 2010\Projects\3_2_Ranks\3_2_Ranks\obj\x86\Debug\3_2_Ranks.pdb diff --git a/maltsev/Task1/3_2_Ranks/3_2_Ranks/obj/x86/Debug/3_2_Ranks.exe b/maltsev/Task1/3_2_Ranks/3_2_Ranks/obj/x86/Debug/3_2_Ranks.exe new file mode 100644 index 0000000..885f328 Binary files /dev/null and b/maltsev/Task1/3_2_Ranks/3_2_Ranks/obj/x86/Debug/3_2_Ranks.exe differ diff --git a/maltsev/Task1/3_2_Ranks/3_2_Ranks/obj/x86/Debug/3_2_Ranks.pdb b/maltsev/Task1/3_2_Ranks/3_2_Ranks/obj/x86/Debug/3_2_Ranks.pdb new file mode 100644 index 0000000..78d43f4 Binary files /dev/null and b/maltsev/Task1/3_2_Ranks/3_2_Ranks/obj/x86/Debug/3_2_Ranks.pdb differ diff --git a/maltsev/Task1/3_2_Ranks/3_2_Ranks/obj/x86/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/maltsev/Task1/3_2_Ranks/3_2_Ranks/obj/x86/Debug/DesignTimeResolveAssemblyReferencesInput.cache new file mode 100644 index 0000000..de12a09 Binary files /dev/null and b/maltsev/Task1/3_2_Ranks/3_2_Ranks/obj/x86/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/maltsev/Task1/3_3_Guess/3_3_Guess.sln b/maltsev/Task1/3_3_Guess/3_3_Guess.sln new file mode 100644 index 0000000..955ba5d --- /dev/null +++ b/maltsev/Task1/3_3_Guess/3_3_Guess.sln @@ -0,0 +1,20 @@ + +Microsoft Visual Studio Solution File, Format Version 11.00 +# Visual Studio 2010 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "3_3_Guess", "3_3_Guess\3_3_Guess.csproj", "{F8F91C68-1745-4CDD-A019-56D1BB7EB5E0}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|x86 = Debug|x86 + Release|x86 = Release|x86 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {F8F91C68-1745-4CDD-A019-56D1BB7EB5E0}.Debug|x86.ActiveCfg = Debug|x86 + {F8F91C68-1745-4CDD-A019-56D1BB7EB5E0}.Debug|x86.Build.0 = Debug|x86 + {F8F91C68-1745-4CDD-A019-56D1BB7EB5E0}.Release|x86.ActiveCfg = Release|x86 + {F8F91C68-1745-4CDD-A019-56D1BB7EB5E0}.Release|x86.Build.0 = Release|x86 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/maltsev/Task1/3_3_Guess/3_3_Guess.suo b/maltsev/Task1/3_3_Guess/3_3_Guess.suo new file mode 100644 index 0000000..79b0835 Binary files /dev/null and b/maltsev/Task1/3_3_Guess/3_3_Guess.suo differ diff --git a/maltsev/Task1/3_3_Guess/3_3_Guess/3_3_Guess.csproj b/maltsev/Task1/3_3_Guess/3_3_Guess/3_3_Guess.csproj new file mode 100644 index 0000000..960c891 --- /dev/null +++ b/maltsev/Task1/3_3_Guess/3_3_Guess/3_3_Guess.csproj @@ -0,0 +1,57 @@ + + + + Debug + x86 + 8.0.30703 + 2.0 + {F8F91C68-1745-4CDD-A019-56D1BB7EB5E0} + Exe + Properties + _3_3_Guess + 3_3_Guess + v4.0 + Client + 512 + + + x86 + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + x86 + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/maltsev/Task1/3_3_Guess/3_3_Guess/Program.cs b/maltsev/Task1/3_3_Guess/3_3_Guess/Program.cs new file mode 100644 index 0000000..7b83917 --- /dev/null +++ b/maltsev/Task1/3_3_Guess/3_3_Guess/Program.cs @@ -0,0 +1,27 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; + +namespace _3_3_Guess +{ + class Program + { + static void Main(string[] args) + { + + Random rand = new Random(); + int value = rand.Next(1, 147); + Console.Write("Число от 1 до 146: "); + int a = Convert.ToInt32(Console.ReadLine()); + while (a != value) + { + if( a < value)Console.WriteLine("Выберите больше!"); + if (a > value) Console.WriteLine("Выберите меньше!"); + a = Convert.ToInt32(Console.ReadLine()); + } + if(a == value) Console.WriteLine("Число отгадано!"); + Console.ReadKey(); + } + } +} diff --git a/maltsev/Task1/3_3_Guess/3_3_Guess/Properties/AssemblyInfo.cs b/maltsev/Task1/3_3_Guess/3_3_Guess/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..5dcdcd8 --- /dev/null +++ b/maltsev/Task1/3_3_Guess/3_3_Guess/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// Управление общими сведениями о сборке осуществляется с помощью +// набора атрибутов. Измените значения этих атрибутов, чтобы изменить сведения, +// связанные со сборкой. +[assembly: AssemblyTitle("3_3_Guess")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("3_3_Guess")] +[assembly: AssemblyCopyright("Copyright © 2016")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Параметр ComVisible со значением FALSE делает типы в сборке невидимыми +// для COM-компонентов. Если требуется обратиться к типу в этой сборке через +// COM, задайте атрибуту ComVisible значение TRUE для этого типа. +[assembly: ComVisible(false)] + +// Следующий GUID служит для идентификации библиотеки типов, если этот проект будет видимым для COM +[assembly: Guid("c578065d-9da8-4143-b421-1e0de2543ec8")] + +// Сведения о версии сборки состоят из следующих четырех значений: +// +// Основной номер версии +// Дополнительный номер версии +// Номер построения +// Редакция +// +// Можно задать все значения или принять номер построения и номер редакции по умолчанию, +// используя "*", как показано ниже: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/maltsev/Task1/3_3_Guess/3_3_Guess/bin/Debug/3_3_Guess.exe b/maltsev/Task1/3_3_Guess/3_3_Guess/bin/Debug/3_3_Guess.exe new file mode 100644 index 0000000..de76d7d Binary files /dev/null and b/maltsev/Task1/3_3_Guess/3_3_Guess/bin/Debug/3_3_Guess.exe differ diff --git a/maltsev/Task1/3_3_Guess/3_3_Guess/bin/Debug/3_3_Guess.pdb b/maltsev/Task1/3_3_Guess/3_3_Guess/bin/Debug/3_3_Guess.pdb new file mode 100644 index 0000000..9e85386 Binary files /dev/null and b/maltsev/Task1/3_3_Guess/3_3_Guess/bin/Debug/3_3_Guess.pdb differ diff --git a/maltsev/Task1/3_3_Guess/3_3_Guess/bin/Debug/3_3_Guess.vshost.exe b/maltsev/Task1/3_3_Guess/3_3_Guess/bin/Debug/3_3_Guess.vshost.exe new file mode 100644 index 0000000..bb84a51 Binary files /dev/null and b/maltsev/Task1/3_3_Guess/3_3_Guess/bin/Debug/3_3_Guess.vshost.exe differ diff --git a/AlexandrTkachukTask1/CyclicConstructions/Task2QuantityOfDigits/bin/Debug/Task2QuantityOfDigits.vshost.exe.manifest b/maltsev/Task1/3_3_Guess/3_3_Guess/bin/Debug/3_3_Guess.vshost.exe.manifest similarity index 100% rename from AlexandrTkachukTask1/CyclicConstructions/Task2QuantityOfDigits/bin/Debug/Task2QuantityOfDigits.vshost.exe.manifest rename to maltsev/Task1/3_3_Guess/3_3_Guess/bin/Debug/3_3_Guess.vshost.exe.manifest diff --git a/maltsev/Task1/3_3_Guess/3_3_Guess/obj/x86/Debug/3_3_Guess.csproj.FileListAbsolute.txt b/maltsev/Task1/3_3_Guess/3_3_Guess/obj/x86/Debug/3_3_Guess.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..de3e359 --- /dev/null +++ b/maltsev/Task1/3_3_Guess/3_3_Guess/obj/x86/Debug/3_3_Guess.csproj.FileListAbsolute.txt @@ -0,0 +1,5 @@ +c:\users\svezho\documents\visual studio 2010\Projects\3_3_Guess\3_3_Guess\bin\Debug\3_3_Guess.exe +c:\users\svezho\documents\visual studio 2010\Projects\3_3_Guess\3_3_Guess\bin\Debug\3_3_Guess.pdb +c:\users\svezho\documents\visual studio 2010\Projects\3_3_Guess\3_3_Guess\obj\x86\Debug\3_3_Guess.exe +c:\users\svezho\documents\visual studio 2010\Projects\3_3_Guess\3_3_Guess\obj\x86\Debug\3_3_Guess.pdb +C:\Users\svezho\Documents\Visual Studio 2010\Projects\3_3_Guess\3_3_Guess\obj\x86\Debug\3_3_Guess.csprojResolveAssemblyReference.cache diff --git a/maltsev/Task1/3_3_Guess/3_3_Guess/obj/x86/Debug/3_3_Guess.csprojResolveAssemblyReference.cache b/maltsev/Task1/3_3_Guess/3_3_Guess/obj/x86/Debug/3_3_Guess.csprojResolveAssemblyReference.cache new file mode 100644 index 0000000..3cab64d Binary files /dev/null and b/maltsev/Task1/3_3_Guess/3_3_Guess/obj/x86/Debug/3_3_Guess.csprojResolveAssemblyReference.cache differ diff --git a/maltsev/Task1/3_3_Guess/3_3_Guess/obj/x86/Debug/3_3_Guess.exe b/maltsev/Task1/3_3_Guess/3_3_Guess/obj/x86/Debug/3_3_Guess.exe new file mode 100644 index 0000000..de76d7d Binary files /dev/null and b/maltsev/Task1/3_3_Guess/3_3_Guess/obj/x86/Debug/3_3_Guess.exe differ diff --git a/maltsev/Task1/3_3_Guess/3_3_Guess/obj/x86/Debug/3_3_Guess.pdb b/maltsev/Task1/3_3_Guess/3_3_Guess/obj/x86/Debug/3_3_Guess.pdb new file mode 100644 index 0000000..9e85386 Binary files /dev/null and b/maltsev/Task1/3_3_Guess/3_3_Guess/obj/x86/Debug/3_3_Guess.pdb differ diff --git a/maltsev/Task1/3_3_Guess/3_3_Guess/obj/x86/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/maltsev/Task1/3_3_Guess/3_3_Guess/obj/x86/Debug/DesignTimeResolveAssemblyReferencesInput.cache new file mode 100644 index 0000000..4eb19e7 Binary files /dev/null and b/maltsev/Task1/3_3_Guess/3_3_Guess/obj/x86/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/maltsev/Task1/3_4_Squares/3_4_Squares.sln b/maltsev/Task1/3_4_Squares/3_4_Squares.sln new file mode 100644 index 0000000..44dcd6e --- /dev/null +++ b/maltsev/Task1/3_4_Squares/3_4_Squares.sln @@ -0,0 +1,20 @@ + +Microsoft Visual Studio Solution File, Format Version 11.00 +# Visual Studio 2010 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "3_4_Squares", "3_4_Squares\3_4_Squares.csproj", "{717AA9D7-5116-4012-9ABD-DA3E753380F7}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|x86 = Debug|x86 + Release|x86 = Release|x86 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {717AA9D7-5116-4012-9ABD-DA3E753380F7}.Debug|x86.ActiveCfg = Debug|x86 + {717AA9D7-5116-4012-9ABD-DA3E753380F7}.Debug|x86.Build.0 = Debug|x86 + {717AA9D7-5116-4012-9ABD-DA3E753380F7}.Release|x86.ActiveCfg = Release|x86 + {717AA9D7-5116-4012-9ABD-DA3E753380F7}.Release|x86.Build.0 = Release|x86 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/maltsev/Task1/3_4_Squares/3_4_Squares.suo b/maltsev/Task1/3_4_Squares/3_4_Squares.suo new file mode 100644 index 0000000..9ab0c11 Binary files /dev/null and b/maltsev/Task1/3_4_Squares/3_4_Squares.suo differ diff --git a/maltsev/Task1/3_4_Squares/3_4_Squares/3_4_Squares.csproj b/maltsev/Task1/3_4_Squares/3_4_Squares/3_4_Squares.csproj new file mode 100644 index 0000000..391b9fa --- /dev/null +++ b/maltsev/Task1/3_4_Squares/3_4_Squares/3_4_Squares.csproj @@ -0,0 +1,57 @@ + + + + Debug + x86 + 8.0.30703 + 2.0 + {717AA9D7-5116-4012-9ABD-DA3E753380F7} + Exe + Properties + _3_4_Squares + 3_4_Squares + v4.0 + Client + 512 + + + x86 + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + x86 + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/maltsev/Task1/3_4_Squares/3_4_Squares/Program.cs b/maltsev/Task1/3_4_Squares/3_4_Squares/Program.cs new file mode 100644 index 0000000..41dc1e5 --- /dev/null +++ b/maltsev/Task1/3_4_Squares/3_4_Squares/Program.cs @@ -0,0 +1,29 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; + +namespace _3_4_Squares +{ + class Program + { + static void Main(string[] args) + { + Console.Write("Число N: "); + int a = Convert.ToInt32(Console.ReadLine()); + int square = 0, number = 1; + bool flag = true; + while (flag) + { + square = number * number; + if (square > a) flag = false; + else + { + Console.WriteLine("{0}", square); + number++; + } + } + Console.ReadKey(); + } + } +} diff --git a/maltsev/Task1/3_4_Squares/3_4_Squares/Properties/AssemblyInfo.cs b/maltsev/Task1/3_4_Squares/3_4_Squares/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..96c4563 --- /dev/null +++ b/maltsev/Task1/3_4_Squares/3_4_Squares/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// Управление общими сведениями о сборке осуществляется с помощью +// набора атрибутов. Измените значения этих атрибутов, чтобы изменить сведения, +// связанные со сборкой. +[assembly: AssemblyTitle("3_4_Squares")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("3_4_Squares")] +[assembly: AssemblyCopyright("Copyright © 2016")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Параметр ComVisible со значением FALSE делает типы в сборке невидимыми +// для COM-компонентов. Если требуется обратиться к типу в этой сборке через +// COM, задайте атрибуту ComVisible значение TRUE для этого типа. +[assembly: ComVisible(false)] + +// Следующий GUID служит для идентификации библиотеки типов, если этот проект будет видимым для COM +[assembly: Guid("d8290a22-ba3e-4764-b5ea-0d92d8def579")] + +// Сведения о версии сборки состоят из следующих четырех значений: +// +// Основной номер версии +// Дополнительный номер версии +// Номер построения +// Редакция +// +// Можно задать все значения или принять номер построения и номер редакции по умолчанию, +// используя "*", как показано ниже: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/maltsev/Task1/3_4_Squares/3_4_Squares/bin/Debug/3_4_Squares.exe b/maltsev/Task1/3_4_Squares/3_4_Squares/bin/Debug/3_4_Squares.exe new file mode 100644 index 0000000..b95f3a7 Binary files /dev/null and b/maltsev/Task1/3_4_Squares/3_4_Squares/bin/Debug/3_4_Squares.exe differ diff --git a/maltsev/Task1/3_4_Squares/3_4_Squares/bin/Debug/3_4_Squares.pdb b/maltsev/Task1/3_4_Squares/3_4_Squares/bin/Debug/3_4_Squares.pdb new file mode 100644 index 0000000..db113dc Binary files /dev/null and b/maltsev/Task1/3_4_Squares/3_4_Squares/bin/Debug/3_4_Squares.pdb differ diff --git a/maltsev/Task1/3_4_Squares/3_4_Squares/bin/Debug/3_4_Squares.vshost.exe b/maltsev/Task1/3_4_Squares/3_4_Squares/bin/Debug/3_4_Squares.vshost.exe new file mode 100644 index 0000000..bb84a51 Binary files /dev/null and b/maltsev/Task1/3_4_Squares/3_4_Squares/bin/Debug/3_4_Squares.vshost.exe differ diff --git a/maltsev/Task1/3_4_Squares/3_4_Squares/obj/x86/Debug/3_4_Squares.csproj.FileListAbsolute.txt b/maltsev/Task1/3_4_Squares/3_4_Squares/obj/x86/Debug/3_4_Squares.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..91396ea --- /dev/null +++ b/maltsev/Task1/3_4_Squares/3_4_Squares/obj/x86/Debug/3_4_Squares.csproj.FileListAbsolute.txt @@ -0,0 +1,4 @@ +c:\users\svezho\documents\visual studio 2010\Projects\3_4_Squares\3_4_Squares\bin\Debug\3_4_Squares.exe +c:\users\svezho\documents\visual studio 2010\Projects\3_4_Squares\3_4_Squares\bin\Debug\3_4_Squares.pdb +c:\users\svezho\documents\visual studio 2010\Projects\3_4_Squares\3_4_Squares\obj\x86\Debug\3_4_Squares.exe +c:\users\svezho\documents\visual studio 2010\Projects\3_4_Squares\3_4_Squares\obj\x86\Debug\3_4_Squares.pdb diff --git a/maltsev/Task1/3_4_Squares/3_4_Squares/obj/x86/Debug/3_4_Squares.exe b/maltsev/Task1/3_4_Squares/3_4_Squares/obj/x86/Debug/3_4_Squares.exe new file mode 100644 index 0000000..b95f3a7 Binary files /dev/null and b/maltsev/Task1/3_4_Squares/3_4_Squares/obj/x86/Debug/3_4_Squares.exe differ diff --git a/maltsev/Task1/3_4_Squares/3_4_Squares/obj/x86/Debug/3_4_Squares.pdb b/maltsev/Task1/3_4_Squares/3_4_Squares/obj/x86/Debug/3_4_Squares.pdb new file mode 100644 index 0000000..db113dc Binary files /dev/null and b/maltsev/Task1/3_4_Squares/3_4_Squares/obj/x86/Debug/3_4_Squares.pdb differ diff --git a/maltsev/Task1/3_4_Squares/3_4_Squares/obj/x86/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/maltsev/Task1/3_4_Squares/3_4_Squares/obj/x86/Debug/DesignTimeResolveAssemblyReferencesInput.cache new file mode 100644 index 0000000..7190f84 Binary files /dev/null and b/maltsev/Task1/3_4_Squares/3_4_Squares/obj/x86/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/maltsev/Task1/3_5_Average/3_5_Average.sln b/maltsev/Task1/3_5_Average/3_5_Average.sln new file mode 100644 index 0000000..8257126 --- /dev/null +++ b/maltsev/Task1/3_5_Average/3_5_Average.sln @@ -0,0 +1,20 @@ + +Microsoft Visual Studio Solution File, Format Version 11.00 +# Visual Studio 2010 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "3_5_Average", "3_5_Average\3_5_Average.csproj", "{75FC727D-D26B-4F21-ACF0-EAF0BF315081}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|x86 = Debug|x86 + Release|x86 = Release|x86 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {75FC727D-D26B-4F21-ACF0-EAF0BF315081}.Debug|x86.ActiveCfg = Debug|x86 + {75FC727D-D26B-4F21-ACF0-EAF0BF315081}.Debug|x86.Build.0 = Debug|x86 + {75FC727D-D26B-4F21-ACF0-EAF0BF315081}.Release|x86.ActiveCfg = Release|x86 + {75FC727D-D26B-4F21-ACF0-EAF0BF315081}.Release|x86.Build.0 = Release|x86 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/maltsev/Task1/3_5_Average/3_5_Average.suo b/maltsev/Task1/3_5_Average/3_5_Average.suo new file mode 100644 index 0000000..c82a0b3 Binary files /dev/null and b/maltsev/Task1/3_5_Average/3_5_Average.suo differ diff --git a/maltsev/Task1/3_5_Average/3_5_Average/3_5_Average.csproj b/maltsev/Task1/3_5_Average/3_5_Average/3_5_Average.csproj new file mode 100644 index 0000000..1840697 --- /dev/null +++ b/maltsev/Task1/3_5_Average/3_5_Average/3_5_Average.csproj @@ -0,0 +1,57 @@ + + + + Debug + x86 + 8.0.30703 + 2.0 + {75FC727D-D26B-4F21-ACF0-EAF0BF315081} + Exe + Properties + _3_5_Average + 3_5_Average + v4.0 + Client + 512 + + + x86 + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + x86 + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/maltsev/Task1/3_5_Average/3_5_Average/Program.cs b/maltsev/Task1/3_5_Average/3_5_Average/Program.cs new file mode 100644 index 0000000..861803f --- /dev/null +++ b/maltsev/Task1/3_5_Average/3_5_Average/Program.cs @@ -0,0 +1,24 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; + +namespace _3_5_Average +{ + class Program + { + static void Main(string[] args) + { + int[] a = new int[5]; + int sum = 0; + for (int i = 0; i < 5; i++) + { + Console.Write("{0}-е число: ", i+1); + a[i] = Convert.ToInt32(Console.ReadLine()); + sum = sum + a[i]; + } + Console.WriteLine("Среднее арифм. = {0}", sum/5); + Console.ReadKey(); + } + } +} diff --git a/maltsev/Task1/3_5_Average/3_5_Average/Properties/AssemblyInfo.cs b/maltsev/Task1/3_5_Average/3_5_Average/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..c53b406 --- /dev/null +++ b/maltsev/Task1/3_5_Average/3_5_Average/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// Управление общими сведениями о сборке осуществляется с помощью +// набора атрибутов. Измените значения этих атрибутов, чтобы изменить сведения, +// связанные со сборкой. +[assembly: AssemblyTitle("3_5_Average")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("3_5_Average")] +[assembly: AssemblyCopyright("Copyright © 2016")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Параметр ComVisible со значением FALSE делает типы в сборке невидимыми +// для COM-компонентов. Если требуется обратиться к типу в этой сборке через +// COM, задайте атрибуту ComVisible значение TRUE для этого типа. +[assembly: ComVisible(false)] + +// Следующий GUID служит для идентификации библиотеки типов, если этот проект будет видимым для COM +[assembly: Guid("41fa474c-bc3f-441a-a027-b2523a2f445b")] + +// Сведения о версии сборки состоят из следующих четырех значений: +// +// Основной номер версии +// Дополнительный номер версии +// Номер построения +// Редакция +// +// Можно задать все значения или принять номер построения и номер редакции по умолчанию, +// используя "*", как показано ниже: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/maltsev/Task1/3_5_Average/3_5_Average/bin/Debug/3_5_Average.exe b/maltsev/Task1/3_5_Average/3_5_Average/bin/Debug/3_5_Average.exe new file mode 100644 index 0000000..ac9de59 Binary files /dev/null and b/maltsev/Task1/3_5_Average/3_5_Average/bin/Debug/3_5_Average.exe differ diff --git a/maltsev/Task1/3_5_Average/3_5_Average/bin/Debug/3_5_Average.pdb b/maltsev/Task1/3_5_Average/3_5_Average/bin/Debug/3_5_Average.pdb new file mode 100644 index 0000000..889c9ef Binary files /dev/null and b/maltsev/Task1/3_5_Average/3_5_Average/bin/Debug/3_5_Average.pdb differ diff --git a/maltsev/Task1/3_5_Average/3_5_Average/bin/Debug/3_5_Average.vshost.exe b/maltsev/Task1/3_5_Average/3_5_Average/bin/Debug/3_5_Average.vshost.exe new file mode 100644 index 0000000..bb84a51 Binary files /dev/null and b/maltsev/Task1/3_5_Average/3_5_Average/bin/Debug/3_5_Average.vshost.exe differ diff --git a/maltsev/Task1/3_5_Average/3_5_Average/obj/x86/Debug/3_5_Average.csproj.FileListAbsolute.txt b/maltsev/Task1/3_5_Average/3_5_Average/obj/x86/Debug/3_5_Average.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..ad1d681 --- /dev/null +++ b/maltsev/Task1/3_5_Average/3_5_Average/obj/x86/Debug/3_5_Average.csproj.FileListAbsolute.txt @@ -0,0 +1,4 @@ +c:\users\svezho\documents\visual studio 2010\Projects\3_5_Average\3_5_Average\bin\Debug\3_5_Average.exe +c:\users\svezho\documents\visual studio 2010\Projects\3_5_Average\3_5_Average\bin\Debug\3_5_Average.pdb +c:\users\svezho\documents\visual studio 2010\Projects\3_5_Average\3_5_Average\obj\x86\Debug\3_5_Average.exe +c:\users\svezho\documents\visual studio 2010\Projects\3_5_Average\3_5_Average\obj\x86\Debug\3_5_Average.pdb diff --git a/maltsev/Task1/3_5_Average/3_5_Average/obj/x86/Debug/3_5_Average.exe b/maltsev/Task1/3_5_Average/3_5_Average/obj/x86/Debug/3_5_Average.exe new file mode 100644 index 0000000..ac9de59 Binary files /dev/null and b/maltsev/Task1/3_5_Average/3_5_Average/obj/x86/Debug/3_5_Average.exe differ diff --git a/maltsev/Task1/3_5_Average/3_5_Average/obj/x86/Debug/3_5_Average.pdb b/maltsev/Task1/3_5_Average/3_5_Average/obj/x86/Debug/3_5_Average.pdb new file mode 100644 index 0000000..889c9ef Binary files /dev/null and b/maltsev/Task1/3_5_Average/3_5_Average/obj/x86/Debug/3_5_Average.pdb differ diff --git a/maltsev/Task1/3_5_Average/3_5_Average/obj/x86/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/maltsev/Task1/3_5_Average/3_5_Average/obj/x86/Debug/DesignTimeResolveAssemblyReferencesInput.cache new file mode 100644 index 0000000..3e435d7 Binary files /dev/null and b/maltsev/Task1/3_5_Average/3_5_Average/obj/x86/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/maltsev/Task1/3_6_Average2/3_6_Average2.sln b/maltsev/Task1/3_6_Average2/3_6_Average2.sln new file mode 100644 index 0000000..a6478d7 --- /dev/null +++ b/maltsev/Task1/3_6_Average2/3_6_Average2.sln @@ -0,0 +1,20 @@ + +Microsoft Visual Studio Solution File, Format Version 11.00 +# Visual Studio 2010 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "3_6_Average2", "3_6_Average2\3_6_Average2.csproj", "{717E8632-66EF-416A-906E-A1DBA2209A80}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|x86 = Debug|x86 + Release|x86 = Release|x86 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {717E8632-66EF-416A-906E-A1DBA2209A80}.Debug|x86.ActiveCfg = Debug|x86 + {717E8632-66EF-416A-906E-A1DBA2209A80}.Debug|x86.Build.0 = Debug|x86 + {717E8632-66EF-416A-906E-A1DBA2209A80}.Release|x86.ActiveCfg = Release|x86 + {717E8632-66EF-416A-906E-A1DBA2209A80}.Release|x86.Build.0 = Release|x86 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/maltsev/Task1/3_6_Average2/3_6_Average2.suo b/maltsev/Task1/3_6_Average2/3_6_Average2.suo new file mode 100644 index 0000000..e56cc5e Binary files /dev/null and b/maltsev/Task1/3_6_Average2/3_6_Average2.suo differ diff --git a/maltsev/Task1/3_6_Average2/3_6_Average2/3_6_Average2.csproj b/maltsev/Task1/3_6_Average2/3_6_Average2/3_6_Average2.csproj new file mode 100644 index 0000000..465a10c --- /dev/null +++ b/maltsev/Task1/3_6_Average2/3_6_Average2/3_6_Average2.csproj @@ -0,0 +1,57 @@ + + + + Debug + x86 + 8.0.30703 + 2.0 + {717E8632-66EF-416A-906E-A1DBA2209A80} + Exe + Properties + _3_6_Average2 + 3_6_Average2 + v4.0 + Client + 512 + + + x86 + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + x86 + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/maltsev/Task1/3_6_Average2/3_6_Average2/Program.cs b/maltsev/Task1/3_6_Average2/3_6_Average2/Program.cs new file mode 100644 index 0000000..d406374 --- /dev/null +++ b/maltsev/Task1/3_6_Average2/3_6_Average2/Program.cs @@ -0,0 +1,25 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; + +namespace _3_6_Average2 +{ + class Program + { + static void Main(string[] args) + { + Random rand = new Random(); + int rand_val; + int sum = 0; + for (int i = 0; i < 5; i++) + { + rand_val = rand.Next(1, 101); + Console.WriteLine("{0}-е число: {1} ", i + 1, rand_val); + sum += rand_val; + } + Console.WriteLine("Среднее арифм. = {0}", sum / 5); + Console.ReadKey(); + } + } +} diff --git a/maltsev/Task1/3_6_Average2/3_6_Average2/Properties/AssemblyInfo.cs b/maltsev/Task1/3_6_Average2/3_6_Average2/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..85438e9 --- /dev/null +++ b/maltsev/Task1/3_6_Average2/3_6_Average2/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// Управление общими сведениями о сборке осуществляется с помощью +// набора атрибутов. Измените значения этих атрибутов, чтобы изменить сведения, +// связанные со сборкой. +[assembly: AssemblyTitle("3_6_Average2")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("3_6_Average2")] +[assembly: AssemblyCopyright("Copyright © 2016")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Параметр ComVisible со значением FALSE делает типы в сборке невидимыми +// для COM-компонентов. Если требуется обратиться к типу в этой сборке через +// COM, задайте атрибуту ComVisible значение TRUE для этого типа. +[assembly: ComVisible(false)] + +// Следующий GUID служит для идентификации библиотеки типов, если этот проект будет видимым для COM +[assembly: Guid("d4e21e20-9906-4480-8cee-733340266668")] + +// Сведения о версии сборки состоят из следующих четырех значений: +// +// Основной номер версии +// Дополнительный номер версии +// Номер построения +// Редакция +// +// Можно задать все значения или принять номер построения и номер редакции по умолчанию, +// используя "*", как показано ниже: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/maltsev/Task1/3_6_Average2/3_6_Average2/bin/Debug/3_6_Average2.exe b/maltsev/Task1/3_6_Average2/3_6_Average2/bin/Debug/3_6_Average2.exe new file mode 100644 index 0000000..5d38027 Binary files /dev/null and b/maltsev/Task1/3_6_Average2/3_6_Average2/bin/Debug/3_6_Average2.exe differ diff --git a/maltsev/Task1/3_6_Average2/3_6_Average2/bin/Debug/3_6_Average2.pdb b/maltsev/Task1/3_6_Average2/3_6_Average2/bin/Debug/3_6_Average2.pdb new file mode 100644 index 0000000..83c0fa6 Binary files /dev/null and b/maltsev/Task1/3_6_Average2/3_6_Average2/bin/Debug/3_6_Average2.pdb differ diff --git a/maltsev/Task1/3_6_Average2/3_6_Average2/bin/Debug/3_6_Average2.vshost.exe b/maltsev/Task1/3_6_Average2/3_6_Average2/bin/Debug/3_6_Average2.vshost.exe new file mode 100644 index 0000000..bb84a51 Binary files /dev/null and b/maltsev/Task1/3_6_Average2/3_6_Average2/bin/Debug/3_6_Average2.vshost.exe differ diff --git a/maltsev/Task1/3_6_Average2/3_6_Average2/obj/x86/Debug/3_6_Average2.csproj.FileListAbsolute.txt b/maltsev/Task1/3_6_Average2/3_6_Average2/obj/x86/Debug/3_6_Average2.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..876fc87 --- /dev/null +++ b/maltsev/Task1/3_6_Average2/3_6_Average2/obj/x86/Debug/3_6_Average2.csproj.FileListAbsolute.txt @@ -0,0 +1,4 @@ +c:\users\svezho\documents\visual studio 2010\Projects\3_6_Average2\3_6_Average2\bin\Debug\3_6_Average2.exe +c:\users\svezho\documents\visual studio 2010\Projects\3_6_Average2\3_6_Average2\bin\Debug\3_6_Average2.pdb +c:\users\svezho\documents\visual studio 2010\Projects\3_6_Average2\3_6_Average2\obj\x86\Debug\3_6_Average2.exe +c:\users\svezho\documents\visual studio 2010\Projects\3_6_Average2\3_6_Average2\obj\x86\Debug\3_6_Average2.pdb diff --git a/maltsev/Task1/3_6_Average2/3_6_Average2/obj/x86/Debug/3_6_Average2.exe b/maltsev/Task1/3_6_Average2/3_6_Average2/obj/x86/Debug/3_6_Average2.exe new file mode 100644 index 0000000..5d38027 Binary files /dev/null and b/maltsev/Task1/3_6_Average2/3_6_Average2/obj/x86/Debug/3_6_Average2.exe differ diff --git a/maltsev/Task1/3_6_Average2/3_6_Average2/obj/x86/Debug/3_6_Average2.pdb b/maltsev/Task1/3_6_Average2/3_6_Average2/obj/x86/Debug/3_6_Average2.pdb new file mode 100644 index 0000000..83c0fa6 Binary files /dev/null and b/maltsev/Task1/3_6_Average2/3_6_Average2/obj/x86/Debug/3_6_Average2.pdb differ diff --git a/maltsev/Task1/3_6_Average2/3_6_Average2/obj/x86/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/maltsev/Task1/3_6_Average2/3_6_Average2/obj/x86/Debug/DesignTimeResolveAssemblyReferencesInput.cache new file mode 100644 index 0000000..b372308 Binary files /dev/null and b/maltsev/Task1/3_6_Average2/3_6_Average2/obj/x86/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/maltsev/Task1/3_7_legs/3_7_legs.sln b/maltsev/Task1/3_7_legs/3_7_legs.sln new file mode 100644 index 0000000..36cf703 --- /dev/null +++ b/maltsev/Task1/3_7_legs/3_7_legs.sln @@ -0,0 +1,20 @@ + +Microsoft Visual Studio Solution File, Format Version 11.00 +# Visual Studio 2010 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "3_7_legs", "3_7_legs\3_7_legs.csproj", "{34026704-95CC-4351-92B5-7E359D2DFB93}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|x86 = Debug|x86 + Release|x86 = Release|x86 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {34026704-95CC-4351-92B5-7E359D2DFB93}.Debug|x86.ActiveCfg = Debug|x86 + {34026704-95CC-4351-92B5-7E359D2DFB93}.Debug|x86.Build.0 = Debug|x86 + {34026704-95CC-4351-92B5-7E359D2DFB93}.Release|x86.ActiveCfg = Release|x86 + {34026704-95CC-4351-92B5-7E359D2DFB93}.Release|x86.Build.0 = Release|x86 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/maltsev/Task1/3_7_legs/3_7_legs.suo b/maltsev/Task1/3_7_legs/3_7_legs.suo new file mode 100644 index 0000000..1685e7e Binary files /dev/null and b/maltsev/Task1/3_7_legs/3_7_legs.suo differ diff --git a/maltsev/Task1/3_7_legs/3_7_legs/3_7_legs.csproj b/maltsev/Task1/3_7_legs/3_7_legs/3_7_legs.csproj new file mode 100644 index 0000000..0ba090e --- /dev/null +++ b/maltsev/Task1/3_7_legs/3_7_legs/3_7_legs.csproj @@ -0,0 +1,57 @@ + + + + Debug + x86 + 8.0.30703 + 2.0 + {34026704-95CC-4351-92B5-7E359D2DFB93} + Exe + Properties + _3_7_legs + 3_7_legs + v4.0 + Client + 512 + + + x86 + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + x86 + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/maltsev/Task1/3_7_legs/3_7_legs/Program.cs b/maltsev/Task1/3_7_legs/3_7_legs/Program.cs new file mode 100644 index 0000000..acf5593 --- /dev/null +++ b/maltsev/Task1/3_7_legs/3_7_legs/Program.cs @@ -0,0 +1,22 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; + +namespace _3_7_legs +{ + class Program + { + static void Main(string[] args) + { + int i = 0, j = 0; + do + { + j = (64 - i * 2) / 4; + Console.WriteLine("Кроликов - {0}, гусей {1}", j, i); + i += 2; + } while (i * 2 != 64); + Console.ReadKey(); + } + } +} diff --git a/maltsev/Task1/3_7_legs/3_7_legs/Properties/AssemblyInfo.cs b/maltsev/Task1/3_7_legs/3_7_legs/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..10fd572 --- /dev/null +++ b/maltsev/Task1/3_7_legs/3_7_legs/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// Управление общими сведениями о сборке осуществляется с помощью +// набора атрибутов. Измените значения этих атрибутов, чтобы изменить сведения, +// связанные со сборкой. +[assembly: AssemblyTitle("3_7_legs")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("3_7_legs")] +[assembly: AssemblyCopyright("Copyright © 2016")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Параметр ComVisible со значением FALSE делает типы в сборке невидимыми +// для COM-компонентов. Если требуется обратиться к типу в этой сборке через +// COM, задайте атрибуту ComVisible значение TRUE для этого типа. +[assembly: ComVisible(false)] + +// Следующий GUID служит для идентификации библиотеки типов, если этот проект будет видимым для COM +[assembly: Guid("b7df0e72-af66-45e4-8463-368180f09756")] + +// Сведения о версии сборки состоят из следующих четырех значений: +// +// Основной номер версии +// Дополнительный номер версии +// Номер построения +// Редакция +// +// Можно задать все значения или принять номер построения и номер редакции по умолчанию, +// используя "*", как показано ниже: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/maltsev/Task1/3_7_legs/3_7_legs/bin/Debug/3_7_legs.exe b/maltsev/Task1/3_7_legs/3_7_legs/bin/Debug/3_7_legs.exe new file mode 100644 index 0000000..de20c53 Binary files /dev/null and b/maltsev/Task1/3_7_legs/3_7_legs/bin/Debug/3_7_legs.exe differ diff --git a/maltsev/Task1/3_7_legs/3_7_legs/bin/Debug/3_7_legs.pdb b/maltsev/Task1/3_7_legs/3_7_legs/bin/Debug/3_7_legs.pdb new file mode 100644 index 0000000..5d53c87 Binary files /dev/null and b/maltsev/Task1/3_7_legs/3_7_legs/bin/Debug/3_7_legs.pdb differ diff --git a/maltsev/Task1/3_7_legs/3_7_legs/bin/Debug/3_7_legs.vshost.exe b/maltsev/Task1/3_7_legs/3_7_legs/bin/Debug/3_7_legs.vshost.exe new file mode 100644 index 0000000..bb84a51 Binary files /dev/null and b/maltsev/Task1/3_7_legs/3_7_legs/bin/Debug/3_7_legs.vshost.exe differ diff --git a/AlexandrTkachukTask1/CyclicConstructions/Task3GuessTheNumber/bin/Debug/Task3GuessTheNumber.vshost.exe.manifest b/maltsev/Task1/3_7_legs/3_7_legs/bin/Debug/3_7_legs.vshost.exe.manifest similarity index 100% rename from AlexandrTkachukTask1/CyclicConstructions/Task3GuessTheNumber/bin/Debug/Task3GuessTheNumber.vshost.exe.manifest rename to maltsev/Task1/3_7_legs/3_7_legs/bin/Debug/3_7_legs.vshost.exe.manifest diff --git a/maltsev/Task1/3_7_legs/3_7_legs/obj/x86/Debug/3_7_legs.csproj.FileListAbsolute.txt b/maltsev/Task1/3_7_legs/3_7_legs/obj/x86/Debug/3_7_legs.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..47811fb --- /dev/null +++ b/maltsev/Task1/3_7_legs/3_7_legs/obj/x86/Debug/3_7_legs.csproj.FileListAbsolute.txt @@ -0,0 +1,4 @@ +C:\Users\svezho\Documents\Visual Studio 2010\Projects\3_7_legs\3_7_legs\bin\Debug\3_7_legs.exe +C:\Users\svezho\Documents\Visual Studio 2010\Projects\3_7_legs\3_7_legs\bin\Debug\3_7_legs.pdb +C:\Users\svezho\Documents\Visual Studio 2010\Projects\3_7_legs\3_7_legs\obj\x86\Debug\3_7_legs.exe +C:\Users\svezho\Documents\Visual Studio 2010\Projects\3_7_legs\3_7_legs\obj\x86\Debug\3_7_legs.pdb diff --git a/maltsev/Task1/3_7_legs/3_7_legs/obj/x86/Debug/3_7_legs.exe b/maltsev/Task1/3_7_legs/3_7_legs/obj/x86/Debug/3_7_legs.exe new file mode 100644 index 0000000..de20c53 Binary files /dev/null and b/maltsev/Task1/3_7_legs/3_7_legs/obj/x86/Debug/3_7_legs.exe differ diff --git a/maltsev/Task1/3_7_legs/3_7_legs/obj/x86/Debug/3_7_legs.pdb b/maltsev/Task1/3_7_legs/3_7_legs/obj/x86/Debug/3_7_legs.pdb new file mode 100644 index 0000000..5d53c87 Binary files /dev/null and b/maltsev/Task1/3_7_legs/3_7_legs/obj/x86/Debug/3_7_legs.pdb differ diff --git a/maltsev/Task1/3_7_legs/3_7_legs/obj/x86/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/maltsev/Task1/3_7_legs/3_7_legs/obj/x86/Debug/DesignTimeResolveAssemblyReferencesInput.cache new file mode 100644 index 0000000..1ef5a88 Binary files /dev/null and b/maltsev/Task1/3_7_legs/3_7_legs/obj/x86/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/maltsev/Task1/3_8_Password/3_8_Password.sln b/maltsev/Task1/3_8_Password/3_8_Password.sln new file mode 100644 index 0000000..1e04c5f --- /dev/null +++ b/maltsev/Task1/3_8_Password/3_8_Password.sln @@ -0,0 +1,20 @@ + +Microsoft Visual Studio Solution File, Format Version 11.00 +# Visual Studio 2010 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "3_8_Password", "3_8_Password\3_8_Password.csproj", "{09885731-9BFB-4488-9B93-DA15788126BB}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|x86 = Debug|x86 + Release|x86 = Release|x86 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {09885731-9BFB-4488-9B93-DA15788126BB}.Debug|x86.ActiveCfg = Debug|x86 + {09885731-9BFB-4488-9B93-DA15788126BB}.Debug|x86.Build.0 = Debug|x86 + {09885731-9BFB-4488-9B93-DA15788126BB}.Release|x86.ActiveCfg = Release|x86 + {09885731-9BFB-4488-9B93-DA15788126BB}.Release|x86.Build.0 = Release|x86 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/maltsev/Task1/3_8_Password/3_8_Password.suo b/maltsev/Task1/3_8_Password/3_8_Password.suo new file mode 100644 index 0000000..ec41ee6 Binary files /dev/null and b/maltsev/Task1/3_8_Password/3_8_Password.suo differ diff --git a/maltsev/Task1/3_8_Password/3_8_Password/3_8_Password.csproj b/maltsev/Task1/3_8_Password/3_8_Password/3_8_Password.csproj new file mode 100644 index 0000000..e00be55 --- /dev/null +++ b/maltsev/Task1/3_8_Password/3_8_Password/3_8_Password.csproj @@ -0,0 +1,57 @@ + + + + Debug + x86 + 8.0.30703 + 2.0 + {09885731-9BFB-4488-9B93-DA15788126BB} + Exe + Properties + _3_8_Password + 3_8_Password + v4.0 + Client + 512 + + + x86 + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + x86 + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/maltsev/Task1/3_8_Password/3_8_Password/Program.cs b/maltsev/Task1/3_8_Password/3_8_Password/Program.cs new file mode 100644 index 0000000..177f767 --- /dev/null +++ b/maltsev/Task1/3_8_Password/3_8_Password/Program.cs @@ -0,0 +1,28 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; + +namespace _3_8_Password +{ + class Program + { + static void Main(string[] args) + { + string pas = ""; + bool flag =true; + while (flag) + { + Console.Write("Введите пароль: "); + pas = Console.ReadLine(); + if (pas == "root") + { + Console.WriteLine("Пароль принят."); + flag = false; + } + else Console.WriteLine("Пароль неверный!"); + } + Console.ReadKey(); + } + } +} diff --git a/maltsev/Task1/3_8_Password/3_8_Password/Properties/AssemblyInfo.cs b/maltsev/Task1/3_8_Password/3_8_Password/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..55dc0c8 --- /dev/null +++ b/maltsev/Task1/3_8_Password/3_8_Password/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// Управление общими сведениями о сборке осуществляется с помощью +// набора атрибутов. Измените значения этих атрибутов, чтобы изменить сведения, +// связанные со сборкой. +[assembly: AssemblyTitle("3_8_Password")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("3_8_Password")] +[assembly: AssemblyCopyright("Copyright © 2016")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Параметр ComVisible со значением FALSE делает типы в сборке невидимыми +// для COM-компонентов. Если требуется обратиться к типу в этой сборке через +// COM, задайте атрибуту ComVisible значение TRUE для этого типа. +[assembly: ComVisible(false)] + +// Следующий GUID служит для идентификации библиотеки типов, если этот проект будет видимым для COM +[assembly: Guid("1e750d15-c1d5-4e63-94b8-6d405f250b5f")] + +// Сведения о версии сборки состоят из следующих четырех значений: +// +// Основной номер версии +// Дополнительный номер версии +// Номер построения +// Редакция +// +// Можно задать все значения или принять номер построения и номер редакции по умолчанию, +// используя "*", как показано ниже: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/maltsev/Task1/3_8_Password/3_8_Password/bin/Debug/3_8_Password.exe b/maltsev/Task1/3_8_Password/3_8_Password/bin/Debug/3_8_Password.exe new file mode 100644 index 0000000..45c8157 Binary files /dev/null and b/maltsev/Task1/3_8_Password/3_8_Password/bin/Debug/3_8_Password.exe differ diff --git a/maltsev/Task1/3_8_Password/3_8_Password/bin/Debug/3_8_Password.pdb b/maltsev/Task1/3_8_Password/3_8_Password/bin/Debug/3_8_Password.pdb new file mode 100644 index 0000000..b77e1d0 Binary files /dev/null and b/maltsev/Task1/3_8_Password/3_8_Password/bin/Debug/3_8_Password.pdb differ diff --git a/maltsev/Task1/3_8_Password/3_8_Password/bin/Debug/3_8_Password.vshost.exe b/maltsev/Task1/3_8_Password/3_8_Password/bin/Debug/3_8_Password.vshost.exe new file mode 100644 index 0000000..bb84a51 Binary files /dev/null and b/maltsev/Task1/3_8_Password/3_8_Password/bin/Debug/3_8_Password.vshost.exe differ diff --git a/maltsev/Task1/3_8_Password/3_8_Password/obj/x86/Debug/3_8_Password.csproj.FileListAbsolute.txt b/maltsev/Task1/3_8_Password/3_8_Password/obj/x86/Debug/3_8_Password.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..376c7b5 --- /dev/null +++ b/maltsev/Task1/3_8_Password/3_8_Password/obj/x86/Debug/3_8_Password.csproj.FileListAbsolute.txt @@ -0,0 +1,4 @@ +c:\users\svezho\documents\visual studio 2010\Projects\3_8_Password\3_8_Password\bin\Debug\3_8_Password.exe +c:\users\svezho\documents\visual studio 2010\Projects\3_8_Password\3_8_Password\bin\Debug\3_8_Password.pdb +c:\users\svezho\documents\visual studio 2010\Projects\3_8_Password\3_8_Password\obj\x86\Debug\3_8_Password.exe +c:\users\svezho\documents\visual studio 2010\Projects\3_8_Password\3_8_Password\obj\x86\Debug\3_8_Password.pdb diff --git a/maltsev/Task1/3_8_Password/3_8_Password/obj/x86/Debug/3_8_Password.exe b/maltsev/Task1/3_8_Password/3_8_Password/obj/x86/Debug/3_8_Password.exe new file mode 100644 index 0000000..45c8157 Binary files /dev/null and b/maltsev/Task1/3_8_Password/3_8_Password/obj/x86/Debug/3_8_Password.exe differ diff --git a/maltsev/Task1/3_8_Password/3_8_Password/obj/x86/Debug/3_8_Password.pdb b/maltsev/Task1/3_8_Password/3_8_Password/obj/x86/Debug/3_8_Password.pdb new file mode 100644 index 0000000..b77e1d0 Binary files /dev/null and b/maltsev/Task1/3_8_Password/3_8_Password/obj/x86/Debug/3_8_Password.pdb differ diff --git a/maltsev/Task1/3_8_Password/3_8_Password/obj/x86/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/maltsev/Task1/3_8_Password/3_8_Password/obj/x86/Debug/DesignTimeResolveAssemblyReferencesInput.cache new file mode 100644 index 0000000..1bef284 Binary files /dev/null and b/maltsev/Task1/3_8_Password/3_8_Password/obj/x86/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/maltsev/Task2/Classes_1_Address/.vs/Classes_1_Address/v14/.suo b/maltsev/Task2/Classes_1_Address/.vs/Classes_1_Address/v14/.suo new file mode 100644 index 0000000..1a48e8a Binary files /dev/null and b/maltsev/Task2/Classes_1_Address/.vs/Classes_1_Address/v14/.suo differ diff --git a/maltsev/Task2/Classes_1_Address/Classes_1_Address.sln b/maltsev/Task2/Classes_1_Address/Classes_1_Address.sln new file mode 100644 index 0000000..051f66a --- /dev/null +++ b/maltsev/Task2/Classes_1_Address/Classes_1_Address.sln @@ -0,0 +1,22 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 14 +VisualStudioVersion = 14.0.25420.1 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Classes_1_Address", "Classes_1_Address\Classes_1_Address.csproj", "{191EF116-080D-4B10-ACB3-8B5A752DE2F5}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {191EF116-080D-4B10-ACB3-8B5A752DE2F5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {191EF116-080D-4B10-ACB3-8B5A752DE2F5}.Debug|Any CPU.Build.0 = Debug|Any CPU + {191EF116-080D-4B10-ACB3-8B5A752DE2F5}.Release|Any CPU.ActiveCfg = Release|Any CPU + {191EF116-080D-4B10-ACB3-8B5A752DE2F5}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/Task_1_Basics/1_Strings/App.config b/maltsev/Task2/Classes_1_Address/Classes_1_Address/App.config similarity index 100% rename from Task_1_Basics/1_Strings/App.config rename to maltsev/Task2/Classes_1_Address/Classes_1_Address/App.config diff --git a/maltsev/Task2/Classes_1_Address/Classes_1_Address/Classes_1_Address.csproj b/maltsev/Task2/Classes_1_Address/Classes_1_Address/Classes_1_Address.csproj new file mode 100644 index 0000000..e7ece06 --- /dev/null +++ b/maltsev/Task2/Classes_1_Address/Classes_1_Address/Classes_1_Address.csproj @@ -0,0 +1,60 @@ + + + + + Debug + AnyCPU + {191EF116-080D-4B10-ACB3-8B5A752DE2F5} + Exe + Properties + Classes_1_Address + Classes_1_Address + v4.5.2 + 512 + true + + + AnyCPU + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + AnyCPU + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/maltsev/Task2/Classes_1_Address/Classes_1_Address/Program.cs b/maltsev/Task2/Classes_1_Address/Classes_1_Address/Program.cs new file mode 100644 index 0000000..49c8cdd --- /dev/null +++ b/maltsev/Task2/Classes_1_Address/Classes_1_Address/Program.cs @@ -0,0 +1,69 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Classes_1_Address +{ + class Address + { + private string index; + private string country; + private string city; + private string street; + private string house; + private string apartment; + public string Index + { + set { index = value; } + get { return index; } + } + public string Country + { + set { country = value; } + get { return country; } + } + public string City + { + set { city = value; } + get { return city; } + } + public string Street + { + set { street = value; } + get { return street; } + } + public string House + { + set { house = value; } + get { return house; } + } + public string Apartment + { + set { apartment = value; } + get { return apartment; } + } + } + class Program + { + static void Main(string[] args) + { + Address addressFirst = new Address(); + addressFirst.Index = "49000"; + addressFirst.Country = "Ukraine"; + addressFirst.City = "Dnepr"; + addressFirst.Street = "K.Marksa"; + addressFirst.House = "59"; + addressFirst.Apartment = "333"; + Console.WriteLine(addressFirst.Index); + Console.WriteLine(addressFirst.Country); + Console.WriteLine(addressFirst.City); + Console.WriteLine(addressFirst.Street); + Console.WriteLine(addressFirst.House); + Console.WriteLine(addressFirst.Apartment); + Console.ReadKey(); + + } + } +} diff --git a/maltsev/Task2/Classes_1_Address/Classes_1_Address/Properties/AssemblyInfo.cs b/maltsev/Task2/Classes_1_Address/Classes_1_Address/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..8557a0a --- /dev/null +++ b/maltsev/Task2/Classes_1_Address/Classes_1_Address/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Classes_1_Address")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("Classes_1_Address")] +[assembly: AssemblyCopyright("Copyright © 2016")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("191ef116-080d-4b10-acb3-8b5a752de2f5")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/maltsev/Task2/Classes_1_Address/Classes_1_Address/bin/Debug/Classes_1_Address.exe b/maltsev/Task2/Classes_1_Address/Classes_1_Address/bin/Debug/Classes_1_Address.exe new file mode 100644 index 0000000..56b520d Binary files /dev/null and b/maltsev/Task2/Classes_1_Address/Classes_1_Address/bin/Debug/Classes_1_Address.exe differ diff --git a/Task_1_Basics/1_Strings/bin/Debug/1_Strings.exe.config b/maltsev/Task2/Classes_1_Address/Classes_1_Address/bin/Debug/Classes_1_Address.exe.config similarity index 100% rename from Task_1_Basics/1_Strings/bin/Debug/1_Strings.exe.config rename to maltsev/Task2/Classes_1_Address/Classes_1_Address/bin/Debug/Classes_1_Address.exe.config diff --git a/maltsev/Task2/Classes_1_Address/Classes_1_Address/bin/Debug/Classes_1_Address.pdb b/maltsev/Task2/Classes_1_Address/Classes_1_Address/bin/Debug/Classes_1_Address.pdb new file mode 100644 index 0000000..233f260 Binary files /dev/null and b/maltsev/Task2/Classes_1_Address/Classes_1_Address/bin/Debug/Classes_1_Address.pdb differ diff --git a/Task_1_Basics/1_Strings/bin/Debug/1_Strings.vshost.exe b/maltsev/Task2/Classes_1_Address/Classes_1_Address/bin/Debug/Classes_1_Address.vshost.exe similarity index 100% rename from Task_1_Basics/1_Strings/bin/Debug/1_Strings.vshost.exe rename to maltsev/Task2/Classes_1_Address/Classes_1_Address/bin/Debug/Classes_1_Address.vshost.exe diff --git a/Task_1_Basics/1_Strings/bin/Debug/1_Strings.vshost.exe.config b/maltsev/Task2/Classes_1_Address/Classes_1_Address/bin/Debug/Classes_1_Address.vshost.exe.config similarity index 100% rename from Task_1_Basics/1_Strings/bin/Debug/1_Strings.vshost.exe.config rename to maltsev/Task2/Classes_1_Address/Classes_1_Address/bin/Debug/Classes_1_Address.vshost.exe.config diff --git a/AlexandrTkachukTask1/CyclicConstructions/Task4TheSquaresOfTheNumbers/bin/Debug/Task4TheSquaresOfTheNumbers.vshost.exe.manifest b/maltsev/Task2/Classes_1_Address/Classes_1_Address/bin/Debug/Classes_1_Address.vshost.exe.manifest similarity index 100% rename from AlexandrTkachukTask1/CyclicConstructions/Task4TheSquaresOfTheNumbers/bin/Debug/Task4TheSquaresOfTheNumbers.vshost.exe.manifest rename to maltsev/Task2/Classes_1_Address/Classes_1_Address/bin/Debug/Classes_1_Address.vshost.exe.manifest diff --git a/maltsev/Task2/Classes_1_Address/Classes_1_Address/obj/Debug/Classes_1_Address.csproj.FileListAbsolute.txt b/maltsev/Task2/Classes_1_Address/Classes_1_Address/obj/Debug/Classes_1_Address.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..e523375 --- /dev/null +++ b/maltsev/Task2/Classes_1_Address/Classes_1_Address/obj/Debug/Classes_1_Address.csproj.FileListAbsolute.txt @@ -0,0 +1,6 @@ +c:\users\svezho\documents\visual studio 2015\Projects\Classes_1_Address\Classes_1_Address\bin\Debug\Classes_1_Address.exe.config +C:\Users\svezho\Documents\Visual Studio 2015\Projects\Classes_1_Address\Classes_1_Address\obj\Debug\Classes_1_Address.csprojResolveAssemblyReference.cache +C:\Users\svezho\Documents\Visual Studio 2015\Projects\Classes_1_Address\Classes_1_Address\bin\Debug\Classes_1_Address.exe +C:\Users\svezho\Documents\Visual Studio 2015\Projects\Classes_1_Address\Classes_1_Address\bin\Debug\Classes_1_Address.pdb +C:\Users\svezho\Documents\Visual Studio 2015\Projects\Classes_1_Address\Classes_1_Address\obj\Debug\Classes_1_Address.exe +C:\Users\svezho\Documents\Visual Studio 2015\Projects\Classes_1_Address\Classes_1_Address\obj\Debug\Classes_1_Address.pdb diff --git a/maltsev/Task2/Classes_1_Address/Classes_1_Address/obj/Debug/Classes_1_Address.csprojResolveAssemblyReference.cache b/maltsev/Task2/Classes_1_Address/Classes_1_Address/obj/Debug/Classes_1_Address.csprojResolveAssemblyReference.cache new file mode 100644 index 0000000..362dcb9 Binary files /dev/null and b/maltsev/Task2/Classes_1_Address/Classes_1_Address/obj/Debug/Classes_1_Address.csprojResolveAssemblyReference.cache differ diff --git a/maltsev/Task2/Classes_1_Address/Classes_1_Address/obj/Debug/Classes_1_Address.exe b/maltsev/Task2/Classes_1_Address/Classes_1_Address/obj/Debug/Classes_1_Address.exe new file mode 100644 index 0000000..56b520d Binary files /dev/null and b/maltsev/Task2/Classes_1_Address/Classes_1_Address/obj/Debug/Classes_1_Address.exe differ diff --git a/maltsev/Task2/Classes_1_Address/Classes_1_Address/obj/Debug/Classes_1_Address.pdb b/maltsev/Task2/Classes_1_Address/Classes_1_Address/obj/Debug/Classes_1_Address.pdb new file mode 100644 index 0000000..233f260 Binary files /dev/null and b/maltsev/Task2/Classes_1_Address/Classes_1_Address/obj/Debug/Classes_1_Address.pdb differ diff --git a/maltsev/Task2/Classes_1_Address/Classes_1_Address/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/maltsev/Task2/Classes_1_Address/Classes_1_Address/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache new file mode 100644 index 0000000..791415d Binary files /dev/null and b/maltsev/Task2/Classes_1_Address/Classes_1_Address/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/AlexandrTkachukTask1/ConsoleApplication/Task1MyName/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs b/maltsev/Task2/Classes_1_Address/Classes_1_Address/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs similarity index 100% rename from AlexandrTkachukTask1/ConsoleApplication/Task1MyName/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs rename to maltsev/Task2/Classes_1_Address/Classes_1_Address/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs diff --git a/AlexandrTkachukTask1/ConsoleApplication/Task1MyName/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs b/maltsev/Task2/Classes_1_Address/Classes_1_Address/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs similarity index 100% rename from AlexandrTkachukTask1/ConsoleApplication/Task1MyName/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs rename to maltsev/Task2/Classes_1_Address/Classes_1_Address/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs diff --git a/AlexandrTkachukTask1/ConsoleApplication/Task1MyName/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs b/maltsev/Task2/Classes_1_Address/Classes_1_Address/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs similarity index 100% rename from AlexandrTkachukTask1/ConsoleApplication/Task1MyName/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs rename to maltsev/Task2/Classes_1_Address/Classes_1_Address/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs diff --git a/maltsev/Task2/Classes_2_Rectangle/.vs/Classes_2_Rectangle/v14/.suo b/maltsev/Task2/Classes_2_Rectangle/.vs/Classes_2_Rectangle/v14/.suo new file mode 100644 index 0000000..b317c95 Binary files /dev/null and b/maltsev/Task2/Classes_2_Rectangle/.vs/Classes_2_Rectangle/v14/.suo differ diff --git a/maltsev/Task2/Classes_2_Rectangle/Classes_2_Rectangle.sln b/maltsev/Task2/Classes_2_Rectangle/Classes_2_Rectangle.sln new file mode 100644 index 0000000..cfeaef0 --- /dev/null +++ b/maltsev/Task2/Classes_2_Rectangle/Classes_2_Rectangle.sln @@ -0,0 +1,22 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 14 +VisualStudioVersion = 14.0.25420.1 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Classes_2_Rectangle", "Classes_2_Rectangle\Classes_2_Rectangle.csproj", "{B2FDC343-385C-46E5-BC9F-44B6C09E2228}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {B2FDC343-385C-46E5-BC9F-44B6C09E2228}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {B2FDC343-385C-46E5-BC9F-44B6C09E2228}.Debug|Any CPU.Build.0 = Debug|Any CPU + {B2FDC343-385C-46E5-BC9F-44B6C09E2228}.Release|Any CPU.ActiveCfg = Release|Any CPU + {B2FDC343-385C-46E5-BC9F-44B6C09E2228}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/Task_1_Basics/2_1_Comparation/App.config b/maltsev/Task2/Classes_2_Rectangle/Classes_2_Rectangle/App.config similarity index 100% rename from Task_1_Basics/2_1_Comparation/App.config rename to maltsev/Task2/Classes_2_Rectangle/Classes_2_Rectangle/App.config diff --git a/maltsev/Task2/Classes_2_Rectangle/Classes_2_Rectangle/Classes_2_Rectangle.csproj b/maltsev/Task2/Classes_2_Rectangle/Classes_2_Rectangle/Classes_2_Rectangle.csproj new file mode 100644 index 0000000..ade3987 --- /dev/null +++ b/maltsev/Task2/Classes_2_Rectangle/Classes_2_Rectangle/Classes_2_Rectangle.csproj @@ -0,0 +1,60 @@ + + + + + Debug + AnyCPU + {B2FDC343-385C-46E5-BC9F-44B6C09E2228} + Exe + Properties + Classes_2_Rectangle + Classes_2_Rectangle + v4.5.2 + 512 + true + + + AnyCPU + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + AnyCPU + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/maltsev/Task2/Classes_2_Rectangle/Classes_2_Rectangle/Program.cs b/maltsev/Task2/Classes_2_Rectangle/Classes_2_Rectangle/Program.cs new file mode 100644 index 0000000..faab410 --- /dev/null +++ b/maltsev/Task2/Classes_2_Rectangle/Classes_2_Rectangle/Program.cs @@ -0,0 +1,61 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Classes_1_Rectangle +{ + class Rectangle + { + private double side1; + private double side2; + + public double Area + { + get { return this.AreaCalculator(); } + } + public double Perimeter + { + get { return this.PerimeterCalculator(); } + } + + public Rectangle() + { + this.side1 = 0; + this.side2 = 0; + } + public Rectangle(double side1, double side2) + { + this.side1 = side1; + this.side2 = side2; + } + private double AreaCalculator() + { + return side2 * side1; + } + private double PerimeterCalculator() + { + return 2*(side1+side2); + } + + } + class Program + { + static void Main(string[] args) + { + Console.Write("Side1: "); + double side1 = Convert.ToDouble(Console.ReadLine()); + Console.Write("Side2: "); + double side2 = Convert.ToDouble(Console.ReadLine()); + + Rectangle exz = new Rectangle(side1, side2); + + Console.WriteLine("Perimeter: {0}", exz.Perimeter); + Console.WriteLine("Area: {0}", exz.Area); + + Console.ReadKey(); + + } + } +} diff --git a/maltsev/Task2/Classes_2_Rectangle/Classes_2_Rectangle/Properties/AssemblyInfo.cs b/maltsev/Task2/Classes_2_Rectangle/Classes_2_Rectangle/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..5016ce3 --- /dev/null +++ b/maltsev/Task2/Classes_2_Rectangle/Classes_2_Rectangle/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Classes_2_Rectangle")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("Classes_2_Rectangle")] +[assembly: AssemblyCopyright("Copyright © 2016")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("b2fdc343-385c-46e5-bc9f-44b6c09e2228")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/maltsev/Task2/Classes_2_Rectangle/Classes_2_Rectangle/bin/Debug/Classes_2_Rectangle.exe b/maltsev/Task2/Classes_2_Rectangle/Classes_2_Rectangle/bin/Debug/Classes_2_Rectangle.exe new file mode 100644 index 0000000..86759f0 Binary files /dev/null and b/maltsev/Task2/Classes_2_Rectangle/Classes_2_Rectangle/bin/Debug/Classes_2_Rectangle.exe differ diff --git a/Task_1_Basics/1_Strings/bin/Release/1_Strings.exe.config b/maltsev/Task2/Classes_2_Rectangle/Classes_2_Rectangle/bin/Debug/Classes_2_Rectangle.exe.config similarity index 100% rename from Task_1_Basics/1_Strings/bin/Release/1_Strings.exe.config rename to maltsev/Task2/Classes_2_Rectangle/Classes_2_Rectangle/bin/Debug/Classes_2_Rectangle.exe.config diff --git a/maltsev/Task2/Classes_2_Rectangle/Classes_2_Rectangle/bin/Debug/Classes_2_Rectangle.pdb b/maltsev/Task2/Classes_2_Rectangle/Classes_2_Rectangle/bin/Debug/Classes_2_Rectangle.pdb new file mode 100644 index 0000000..e0cd1dd Binary files /dev/null and b/maltsev/Task2/Classes_2_Rectangle/Classes_2_Rectangle/bin/Debug/Classes_2_Rectangle.pdb differ diff --git a/Task_1_Basics/1_Strings/bin/Release/1_Strings.vshost.exe b/maltsev/Task2/Classes_2_Rectangle/Classes_2_Rectangle/bin/Debug/Classes_2_Rectangle.vshost.exe similarity index 100% rename from Task_1_Basics/1_Strings/bin/Release/1_Strings.vshost.exe rename to maltsev/Task2/Classes_2_Rectangle/Classes_2_Rectangle/bin/Debug/Classes_2_Rectangle.vshost.exe diff --git a/Task_1_Basics/1_Strings/bin/Release/1_Strings.vshost.exe.config b/maltsev/Task2/Classes_2_Rectangle/Classes_2_Rectangle/bin/Debug/Classes_2_Rectangle.vshost.exe.config similarity index 100% rename from Task_1_Basics/1_Strings/bin/Release/1_Strings.vshost.exe.config rename to maltsev/Task2/Classes_2_Rectangle/Classes_2_Rectangle/bin/Debug/Classes_2_Rectangle.vshost.exe.config diff --git a/AlexandrTkachukTask1/CyclicConstructions/Task5UsersArithmeticMean/bin/Debug/Task5UsersArithmeticMean.vshost.exe.manifest b/maltsev/Task2/Classes_2_Rectangle/Classes_2_Rectangle/bin/Debug/Classes_2_Rectangle.vshost.exe.manifest similarity index 100% rename from AlexandrTkachukTask1/CyclicConstructions/Task5UsersArithmeticMean/bin/Debug/Task5UsersArithmeticMean.vshost.exe.manifest rename to maltsev/Task2/Classes_2_Rectangle/Classes_2_Rectangle/bin/Debug/Classes_2_Rectangle.vshost.exe.manifest diff --git a/maltsev/Task2/Classes_2_Rectangle/Classes_2_Rectangle/obj/Debug/Classes_2_Rectangle.csproj.FileListAbsolute.txt b/maltsev/Task2/Classes_2_Rectangle/Classes_2_Rectangle/obj/Debug/Classes_2_Rectangle.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..d9da57d --- /dev/null +++ b/maltsev/Task2/Classes_2_Rectangle/Classes_2_Rectangle/obj/Debug/Classes_2_Rectangle.csproj.FileListAbsolute.txt @@ -0,0 +1,6 @@ +c:\users\svezho\documents\visual studio 2015\Projects\Classes_2_Rectangle\Classes_2_Rectangle\bin\Debug\Classes_2_Rectangle.exe.config +c:\users\svezho\documents\visual studio 2015\Projects\Classes_2_Rectangle\Classes_2_Rectangle\bin\Debug\Classes_2_Rectangle.exe +c:\users\svezho\documents\visual studio 2015\Projects\Classes_2_Rectangle\Classes_2_Rectangle\bin\Debug\Classes_2_Rectangle.pdb +c:\users\svezho\documents\visual studio 2015\Projects\Classes_2_Rectangle\Classes_2_Rectangle\obj\Debug\Classes_2_Rectangle.csprojResolveAssemblyReference.cache +c:\users\svezho\documents\visual studio 2015\Projects\Classes_2_Rectangle\Classes_2_Rectangle\obj\Debug\Classes_2_Rectangle.exe +c:\users\svezho\documents\visual studio 2015\Projects\Classes_2_Rectangle\Classes_2_Rectangle\obj\Debug\Classes_2_Rectangle.pdb diff --git a/maltsev/Task2/Classes_2_Rectangle/Classes_2_Rectangle/obj/Debug/Classes_2_Rectangle.csprojResolveAssemblyReference.cache b/maltsev/Task2/Classes_2_Rectangle/Classes_2_Rectangle/obj/Debug/Classes_2_Rectangle.csprojResolveAssemblyReference.cache new file mode 100644 index 0000000..362dcb9 Binary files /dev/null and b/maltsev/Task2/Classes_2_Rectangle/Classes_2_Rectangle/obj/Debug/Classes_2_Rectangle.csprojResolveAssemblyReference.cache differ diff --git a/maltsev/Task2/Classes_2_Rectangle/Classes_2_Rectangle/obj/Debug/Classes_2_Rectangle.exe b/maltsev/Task2/Classes_2_Rectangle/Classes_2_Rectangle/obj/Debug/Classes_2_Rectangle.exe new file mode 100644 index 0000000..86759f0 Binary files /dev/null and b/maltsev/Task2/Classes_2_Rectangle/Classes_2_Rectangle/obj/Debug/Classes_2_Rectangle.exe differ diff --git a/maltsev/Task2/Classes_2_Rectangle/Classes_2_Rectangle/obj/Debug/Classes_2_Rectangle.pdb b/maltsev/Task2/Classes_2_Rectangle/Classes_2_Rectangle/obj/Debug/Classes_2_Rectangle.pdb new file mode 100644 index 0000000..e0cd1dd Binary files /dev/null and b/maltsev/Task2/Classes_2_Rectangle/Classes_2_Rectangle/obj/Debug/Classes_2_Rectangle.pdb differ diff --git a/maltsev/Task2/Classes_2_Rectangle/Classes_2_Rectangle/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/maltsev/Task2/Classes_2_Rectangle/Classes_2_Rectangle/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache new file mode 100644 index 0000000..943256a Binary files /dev/null and b/maltsev/Task2/Classes_2_Rectangle/Classes_2_Rectangle/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/AlexandrTkachukTask1/CyclicConstructions/Task1MultiplicationTable/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs b/maltsev/Task2/Classes_2_Rectangle/Classes_2_Rectangle/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs similarity index 100% rename from AlexandrTkachukTask1/CyclicConstructions/Task1MultiplicationTable/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs rename to maltsev/Task2/Classes_2_Rectangle/Classes_2_Rectangle/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs diff --git a/AlexandrTkachukTask1/CyclicConstructions/Task1MultiplicationTable/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs b/maltsev/Task2/Classes_2_Rectangle/Classes_2_Rectangle/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs similarity index 100% rename from AlexandrTkachukTask1/CyclicConstructions/Task1MultiplicationTable/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs rename to maltsev/Task2/Classes_2_Rectangle/Classes_2_Rectangle/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs diff --git a/AlexandrTkachukTask1/CyclicConstructions/Task1MultiplicationTable/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs b/maltsev/Task2/Classes_2_Rectangle/Classes_2_Rectangle/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs similarity index 100% rename from AlexandrTkachukTask1/CyclicConstructions/Task1MultiplicationTable/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs rename to maltsev/Task2/Classes_2_Rectangle/Classes_2_Rectangle/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs diff --git a/maltsev/Task2/Classes_3_Book/.vs/Classes_3_Book/v14/.suo b/maltsev/Task2/Classes_3_Book/.vs/Classes_3_Book/v14/.suo new file mode 100644 index 0000000..9f0af8e Binary files /dev/null and b/maltsev/Task2/Classes_3_Book/.vs/Classes_3_Book/v14/.suo differ diff --git a/maltsev/Task2/Classes_3_Book/Classes_3_Book.sln b/maltsev/Task2/Classes_3_Book/Classes_3_Book.sln new file mode 100644 index 0000000..9d745d2 --- /dev/null +++ b/maltsev/Task2/Classes_3_Book/Classes_3_Book.sln @@ -0,0 +1,22 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 14 +VisualStudioVersion = 14.0.25420.1 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Classes_3_Book", "Classes_3_Book\Classes_3_Book.csproj", "{3B48881B-B263-4759-96A7-3F736B49E1D8}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {3B48881B-B263-4759-96A7-3F736B49E1D8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {3B48881B-B263-4759-96A7-3F736B49E1D8}.Debug|Any CPU.Build.0 = Debug|Any CPU + {3B48881B-B263-4759-96A7-3F736B49E1D8}.Release|Any CPU.ActiveCfg = Release|Any CPU + {3B48881B-B263-4759-96A7-3F736B49E1D8}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/Task_1_Basics/2_2_MauGau/App.config b/maltsev/Task2/Classes_3_Book/Classes_3_Book/App.config similarity index 100% rename from Task_1_Basics/2_2_MauGau/App.config rename to maltsev/Task2/Classes_3_Book/Classes_3_Book/App.config diff --git a/maltsev/Task2/Classes_3_Book/Classes_3_Book/Classes_3_Book.csproj b/maltsev/Task2/Classes_3_Book/Classes_3_Book/Classes_3_Book.csproj new file mode 100644 index 0000000..b30ad38 --- /dev/null +++ b/maltsev/Task2/Classes_3_Book/Classes_3_Book/Classes_3_Book.csproj @@ -0,0 +1,60 @@ + + + + + Debug + AnyCPU + {3B48881B-B263-4759-96A7-3F736B49E1D8} + Exe + Properties + Classes_3_Book + Classes_3_Book + v4.5.2 + 512 + true + + + AnyCPU + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + AnyCPU + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/maltsev/Task2/Classes_3_Book/Classes_3_Book/Program.cs b/maltsev/Task2/Classes_3_Book/Classes_3_Book/Program.cs new file mode 100644 index 0000000..59ef177 --- /dev/null +++ b/maltsev/Task2/Classes_3_Book/Classes_3_Book/Program.cs @@ -0,0 +1,74 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Classes_3_Book +{ + class Book + { + public class Title + { + public string titleField; + public void Show() + { + Console.ForegroundColor = ConsoleColor.Cyan; + Console.WriteLine(titleField); + Console.ResetColor(); + } + } + public class Author + { + public string authorField; + public void Show() + { + Console.ForegroundColor = ConsoleColor.Magenta; + Console.WriteLine(authorField); + Console.ResetColor(); + } + } + public class Content + { + public string contentField; + public void Show() + { + Console.ForegroundColor = ConsoleColor.Yellow; + Console.WriteLine(contentField); + Console.ResetColor(); + } + } + public Title TitleProperty { set; get; } + public Author AuthorProperty { set; get; } + public Content ContentProperty { set; get; } + public Book(Title title, Author author, Content content) + { + this.TitleProperty = title; + this.AuthorProperty = author; + this.ContentProperty = content; + } + public void Show() + { + this.TitleProperty.Show(); + this.AuthorProperty.Show(); + this.ContentProperty.Show(); + } + } + class Program + { + static void Main(string[] args) + { + Book.Title titleExz = new Book.Title(); + titleExz.titleField = "To Kill a Mockingbird"; + Book.Author authorExz = new Book.Author(); + authorExz.authorField = "Harper Lee"; + Book.Content contentExz = new Book.Content(); + contentExz.contentField = "Novel"; + + Book bookFirst = new Book(titleExz, authorExz, contentExz); + bookFirst.Show(); + + Console.ReadKey(); + } + } +} diff --git a/maltsev/Task2/Classes_3_Book/Classes_3_Book/Properties/AssemblyInfo.cs b/maltsev/Task2/Classes_3_Book/Classes_3_Book/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..33dd488 --- /dev/null +++ b/maltsev/Task2/Classes_3_Book/Classes_3_Book/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Classes_3_Book")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("Classes_3_Book")] +[assembly: AssemblyCopyright("Copyright © 2016")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("3b48881b-b263-4759-96a7-3f736b49e1d8")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/maltsev/Task2/Classes_3_Book/Classes_3_Book/bin/Debug/Classes_3_Book.exe b/maltsev/Task2/Classes_3_Book/Classes_3_Book/bin/Debug/Classes_3_Book.exe new file mode 100644 index 0000000..4d9af56 Binary files /dev/null and b/maltsev/Task2/Classes_3_Book/Classes_3_Book/bin/Debug/Classes_3_Book.exe differ diff --git a/Task_1_Basics/2_1_Comparation/bin/Debug/2_1_Comparation.exe.config b/maltsev/Task2/Classes_3_Book/Classes_3_Book/bin/Debug/Classes_3_Book.exe.config similarity index 100% rename from Task_1_Basics/2_1_Comparation/bin/Debug/2_1_Comparation.exe.config rename to maltsev/Task2/Classes_3_Book/Classes_3_Book/bin/Debug/Classes_3_Book.exe.config diff --git a/maltsev/Task2/Classes_3_Book/Classes_3_Book/bin/Debug/Classes_3_Book.pdb b/maltsev/Task2/Classes_3_Book/Classes_3_Book/bin/Debug/Classes_3_Book.pdb new file mode 100644 index 0000000..48fdb5b Binary files /dev/null and b/maltsev/Task2/Classes_3_Book/Classes_3_Book/bin/Debug/Classes_3_Book.pdb differ diff --git a/Task_1_Basics/2_1_Comparation/bin/Debug/2_1_Comparation.vshost.exe b/maltsev/Task2/Classes_3_Book/Classes_3_Book/bin/Debug/Classes_3_Book.vshost.exe similarity index 100% rename from Task_1_Basics/2_1_Comparation/bin/Debug/2_1_Comparation.vshost.exe rename to maltsev/Task2/Classes_3_Book/Classes_3_Book/bin/Debug/Classes_3_Book.vshost.exe diff --git a/Task_1_Basics/2_1_Comparation/bin/Debug/2_1_Comparation.vshost.exe.config b/maltsev/Task2/Classes_3_Book/Classes_3_Book/bin/Debug/Classes_3_Book.vshost.exe.config similarity index 100% rename from Task_1_Basics/2_1_Comparation/bin/Debug/2_1_Comparation.vshost.exe.config rename to maltsev/Task2/Classes_3_Book/Classes_3_Book/bin/Debug/Classes_3_Book.vshost.exe.config diff --git a/AlexandrTkachukTask1/CyclicConstructions/Task6ArithmeticMean/bin/Debug/Task6ArithmeticMean.vshost.exe.manifest b/maltsev/Task2/Classes_3_Book/Classes_3_Book/bin/Debug/Classes_3_Book.vshost.exe.manifest similarity index 100% rename from AlexandrTkachukTask1/CyclicConstructions/Task6ArithmeticMean/bin/Debug/Task6ArithmeticMean.vshost.exe.manifest rename to maltsev/Task2/Classes_3_Book/Classes_3_Book/bin/Debug/Classes_3_Book.vshost.exe.manifest diff --git a/maltsev/Task2/Classes_3_Book/Classes_3_Book/obj/Debug/Classes_3_Book.csproj.FileListAbsolute.txt b/maltsev/Task2/Classes_3_Book/Classes_3_Book/obj/Debug/Classes_3_Book.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..5ecfa90 --- /dev/null +++ b/maltsev/Task2/Classes_3_Book/Classes_3_Book/obj/Debug/Classes_3_Book.csproj.FileListAbsolute.txt @@ -0,0 +1,6 @@ +c:\users\svezho\documents\visual studio 2015\Projects\Classes_3_Book\Classes_3_Book\bin\Debug\Classes_3_Book.exe.config +c:\users\svezho\documents\visual studio 2015\Projects\Classes_3_Book\Classes_3_Book\obj\Debug\Classes_3_Book.csprojResolveAssemblyReference.cache +c:\users\svezho\documents\visual studio 2015\Projects\Classes_3_Book\Classes_3_Book\bin\Debug\Classes_3_Book.exe +c:\users\svezho\documents\visual studio 2015\Projects\Classes_3_Book\Classes_3_Book\bin\Debug\Classes_3_Book.pdb +c:\users\svezho\documents\visual studio 2015\Projects\Classes_3_Book\Classes_3_Book\obj\Debug\Classes_3_Book.exe +c:\users\svezho\documents\visual studio 2015\Projects\Classes_3_Book\Classes_3_Book\obj\Debug\Classes_3_Book.pdb diff --git a/maltsev/Task2/Classes_3_Book/Classes_3_Book/obj/Debug/Classes_3_Book.csprojResolveAssemblyReference.cache b/maltsev/Task2/Classes_3_Book/Classes_3_Book/obj/Debug/Classes_3_Book.csprojResolveAssemblyReference.cache new file mode 100644 index 0000000..362dcb9 Binary files /dev/null and b/maltsev/Task2/Classes_3_Book/Classes_3_Book/obj/Debug/Classes_3_Book.csprojResolveAssemblyReference.cache differ diff --git a/maltsev/Task2/Classes_3_Book/Classes_3_Book/obj/Debug/Classes_3_Book.exe b/maltsev/Task2/Classes_3_Book/Classes_3_Book/obj/Debug/Classes_3_Book.exe new file mode 100644 index 0000000..4d9af56 Binary files /dev/null and b/maltsev/Task2/Classes_3_Book/Classes_3_Book/obj/Debug/Classes_3_Book.exe differ diff --git a/maltsev/Task2/Classes_3_Book/Classes_3_Book/obj/Debug/Classes_3_Book.pdb b/maltsev/Task2/Classes_3_Book/Classes_3_Book/obj/Debug/Classes_3_Book.pdb new file mode 100644 index 0000000..48fdb5b Binary files /dev/null and b/maltsev/Task2/Classes_3_Book/Classes_3_Book/obj/Debug/Classes_3_Book.pdb differ diff --git a/maltsev/Task2/Classes_3_Book/Classes_3_Book/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/maltsev/Task2/Classes_3_Book/Classes_3_Book/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache new file mode 100644 index 0000000..33bfafe Binary files /dev/null and b/maltsev/Task2/Classes_3_Book/Classes_3_Book/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/AlexandrTkachukTask1/CyclicConstructions/Task2QuantityOfDigits/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs b/maltsev/Task2/Classes_3_Book/Classes_3_Book/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs similarity index 100% rename from AlexandrTkachukTask1/CyclicConstructions/Task2QuantityOfDigits/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs rename to maltsev/Task2/Classes_3_Book/Classes_3_Book/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs diff --git a/AlexandrTkachukTask1/CyclicConstructions/Task2QuantityOfDigits/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs b/maltsev/Task2/Classes_3_Book/Classes_3_Book/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs similarity index 100% rename from AlexandrTkachukTask1/CyclicConstructions/Task2QuantityOfDigits/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs rename to maltsev/Task2/Classes_3_Book/Classes_3_Book/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs diff --git a/AlexandrTkachukTask1/CyclicConstructions/Task2QuantityOfDigits/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs b/maltsev/Task2/Classes_3_Book/Classes_3_Book/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs similarity index 100% rename from AlexandrTkachukTask1/CyclicConstructions/Task2QuantityOfDigits/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs rename to maltsev/Task2/Classes_3_Book/Classes_3_Book/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs diff --git a/maltsev/Task2/Classes_4_Point/.vs/Classes_4_Point/v14/.suo b/maltsev/Task2/Classes_4_Point/.vs/Classes_4_Point/v14/.suo new file mode 100644 index 0000000..50f4bef Binary files /dev/null and b/maltsev/Task2/Classes_4_Point/.vs/Classes_4_Point/v14/.suo differ diff --git a/maltsev/Task2/Classes_4_Point/Classes_4_Point.sln b/maltsev/Task2/Classes_4_Point/Classes_4_Point.sln new file mode 100644 index 0000000..f552e58 --- /dev/null +++ b/maltsev/Task2/Classes_4_Point/Classes_4_Point.sln @@ -0,0 +1,22 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 14 +VisualStudioVersion = 14.0.25420.1 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Classes_4_Point", "Classes_4_Point\Classes_4_Point.csproj", "{6C3AD1CF-0251-4D65-AE7E-594D287CF7DD}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {6C3AD1CF-0251-4D65-AE7E-594D287CF7DD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {6C3AD1CF-0251-4D65-AE7E-594D287CF7DD}.Debug|Any CPU.Build.0 = Debug|Any CPU + {6C3AD1CF-0251-4D65-AE7E-594D287CF7DD}.Release|Any CPU.ActiveCfg = Release|Any CPU + {6C3AD1CF-0251-4D65-AE7E-594D287CF7DD}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/Task_1_Basics/2_3_Season/App.config b/maltsev/Task2/Classes_4_Point/Classes_4_Point/App.config similarity index 100% rename from Task_1_Basics/2_3_Season/App.config rename to maltsev/Task2/Classes_4_Point/Classes_4_Point/App.config diff --git a/maltsev/Task2/Classes_4_Point/Classes_4_Point/Classes_4_Point.csproj b/maltsev/Task2/Classes_4_Point/Classes_4_Point/Classes_4_Point.csproj new file mode 100644 index 0000000..743d7c4 --- /dev/null +++ b/maltsev/Task2/Classes_4_Point/Classes_4_Point/Classes_4_Point.csproj @@ -0,0 +1,60 @@ + + + + + Debug + AnyCPU + {6C3AD1CF-0251-4D65-AE7E-594D287CF7DD} + Exe + Properties + Classes_4_Point + Classes_4_Point + v4.5.2 + 512 + true + + + AnyCPU + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + AnyCPU + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/maltsev/Task2/Classes_4_Point/Classes_4_Point/Program.cs b/maltsev/Task2/Classes_4_Point/Classes_4_Point/Program.cs new file mode 100644 index 0000000..145f84b --- /dev/null +++ b/maltsev/Task2/Classes_4_Point/Classes_4_Point/Program.cs @@ -0,0 +1,96 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Classes_4_Point +{ + class Point + { + private int coordX; + private int coordY; + private string stringField; + + public int CoordX { get { return coordX; } } + public int CoordY { get { return coordY; } } + public string StringProperty { get { return stringField; } } + + public Point(int coordX, int coordY, string stringField) + { + this.coordX = coordX; + this.coordY = coordY; + this.stringField = stringField; + } + } + class Figure + { + private string name; + private Point[] points; + + private double Perimeter { get; set; } + public string Name { get { return name; } } + + public Figure(Point A, Point B, Point C) + { + name = "Triangle"; + points = new Point[]{ A, B, C }; + PerimeterCalculator(); + } + public Figure(Point A, Point B, Point C, Point D) + { + name = "Quadrangle"; + points = new Point[] { A, B, C, D}; + PerimeterCalculator(); + } + public Figure(Point A, Point B, Point C, Point D, Point E) + { + name = "Pentagon"; + points = new Point[] { A, B, C, D, E }; + PerimeterCalculator(); + } + private double LengthSide(Point A, Point B) + { + double x = Math.Pow((A.CoordX - B.CoordX), 2); + double y = Math.Pow((A.CoordY - B.CoordY), 2); + return Math.Pow(x + y, 0.5); + } + private void PerimeterCalculator() + { + for (int i = 0; i < points.Length - 1; i++) + { + Perimeter += LengthSide(points[i], points[i + 1]); + } + Perimeter += LengthSide(points[0], points[points.Length - 1]); + + } + public void Show() + { + Console.WriteLine("Name: {0}", name); + Console.WriteLine("Perimeter: {0:#.##}", Perimeter); + Console.WriteLine(""); + } + + } + class Program + { + static void Main(string[] args) + { + Point p1 = new Point(1, 1, "A"); + Point p2 = new Point(2, 3, "B"); + Point p3 = new Point(3, 4, "C"); + Point p4 = new Point(4, 5, "D"); + Point p5 = new Point(5, 6, "E"); + + Figure shape1 = new Figure(p1, p2, p3); + Figure shape2 = new Figure(p1, p2, p3, p4); + Figure shape3 = new Figure(p1, p2, p3, p4, p5); + + shape1.Show(); + shape2.Show(); + shape3.Show(); + + Console.ReadKey(); + } + } +} diff --git a/maltsev/Task2/Classes_4_Point/Classes_4_Point/Properties/AssemblyInfo.cs b/maltsev/Task2/Classes_4_Point/Classes_4_Point/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..e44f6d4 --- /dev/null +++ b/maltsev/Task2/Classes_4_Point/Classes_4_Point/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Classes_4_Point")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("Classes_4_Point")] +[assembly: AssemblyCopyright("Copyright © 2016")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("6c3ad1cf-0251-4d65-ae7e-594d287cf7dd")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/maltsev/Task2/Classes_4_Point/Classes_4_Point/bin/Debug/Classes_4_Point.exe b/maltsev/Task2/Classes_4_Point/Classes_4_Point/bin/Debug/Classes_4_Point.exe new file mode 100644 index 0000000..a016ad2 Binary files /dev/null and b/maltsev/Task2/Classes_4_Point/Classes_4_Point/bin/Debug/Classes_4_Point.exe differ diff --git a/Task_1_Basics/2_2_MauGau/bin/Debug/2_2_MauGau.exe.config b/maltsev/Task2/Classes_4_Point/Classes_4_Point/bin/Debug/Classes_4_Point.exe.config similarity index 100% rename from Task_1_Basics/2_2_MauGau/bin/Debug/2_2_MauGau.exe.config rename to maltsev/Task2/Classes_4_Point/Classes_4_Point/bin/Debug/Classes_4_Point.exe.config diff --git a/maltsev/Task2/Classes_4_Point/Classes_4_Point/bin/Debug/Classes_4_Point.pdb b/maltsev/Task2/Classes_4_Point/Classes_4_Point/bin/Debug/Classes_4_Point.pdb new file mode 100644 index 0000000..d8cb757 Binary files /dev/null and b/maltsev/Task2/Classes_4_Point/Classes_4_Point/bin/Debug/Classes_4_Point.pdb differ diff --git a/Task_1_Basics/2_2_MauGau/bin/Debug/2_2_MauGau.vshost.exe b/maltsev/Task2/Classes_4_Point/Classes_4_Point/bin/Debug/Classes_4_Point.vshost.exe similarity index 100% rename from Task_1_Basics/2_2_MauGau/bin/Debug/2_2_MauGau.vshost.exe rename to maltsev/Task2/Classes_4_Point/Classes_4_Point/bin/Debug/Classes_4_Point.vshost.exe diff --git a/Task_1_Basics/2_2_MauGau/bin/Debug/2_2_MauGau.vshost.exe.config b/maltsev/Task2/Classes_4_Point/Classes_4_Point/bin/Debug/Classes_4_Point.vshost.exe.config similarity index 100% rename from Task_1_Basics/2_2_MauGau/bin/Debug/2_2_MauGau.vshost.exe.config rename to maltsev/Task2/Classes_4_Point/Classes_4_Point/bin/Debug/Classes_4_Point.vshost.exe.config diff --git a/AlexandrTkachukTask1/CyclicConstructions/Task7GeeseAndRabbits/bin/Debug/Task7GeeseAndRabbits.vshost.exe.manifest b/maltsev/Task2/Classes_4_Point/Classes_4_Point/bin/Debug/Classes_4_Point.vshost.exe.manifest similarity index 100% rename from AlexandrTkachukTask1/CyclicConstructions/Task7GeeseAndRabbits/bin/Debug/Task7GeeseAndRabbits.vshost.exe.manifest rename to maltsev/Task2/Classes_4_Point/Classes_4_Point/bin/Debug/Classes_4_Point.vshost.exe.manifest diff --git a/maltsev/Task2/Classes_4_Point/Classes_4_Point/obj/Debug/Classes_4_Point.csproj.FileListAbsolute.txt b/maltsev/Task2/Classes_4_Point/Classes_4_Point/obj/Debug/Classes_4_Point.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..f0b74e0 --- /dev/null +++ b/maltsev/Task2/Classes_4_Point/Classes_4_Point/obj/Debug/Classes_4_Point.csproj.FileListAbsolute.txt @@ -0,0 +1,12 @@ +c:\users\svezho\documents\visual studio 2015\Projects\Classes_4_Point\Classes_4_Point\bin\Debug\Classes_4_Point.exe.config +c:\users\svezho\documents\visual studio 2015\Projects\Classes_4_Point\Classes_4_Point\bin\Debug\Classes_4_Point.exe +c:\users\svezho\documents\visual studio 2015\Projects\Classes_4_Point\Classes_4_Point\bin\Debug\Classes_4_Point.pdb +c:\users\svezho\documents\visual studio 2015\Projects\Classes_4_Point\Classes_4_Point\obj\Debug\Classes_4_Point.csprojResolveAssemblyReference.cache +c:\users\svezho\documents\visual studio 2015\Projects\Classes_4_Point\Classes_4_Point\obj\Debug\Classes_4_Point.exe +c:\users\svezho\documents\visual studio 2015\Projects\Classes_4_Point\Classes_4_Point\obj\Debug\Classes_4_Point.pdb +D:\ISD\CSharpCourse-2016\maltsev\Task2\Classes_4_Point\Classes_4_Point\bin\Debug\Classes_4_Point.exe.config +D:\ISD\CSharpCourse-2016\maltsev\Task2\Classes_4_Point\Classes_4_Point\obj\Debug\Classes_4_Point.exe +D:\ISD\CSharpCourse-2016\maltsev\Task2\Classes_4_Point\Classes_4_Point\obj\Debug\Classes_4_Point.pdb +D:\ISD\CSharpCourse-2016\maltsev\Task2\Classes_4_Point\Classes_4_Point\bin\Debug\Classes_4_Point.exe +D:\ISD\CSharpCourse-2016\maltsev\Task2\Classes_4_Point\Classes_4_Point\bin\Debug\Classes_4_Point.pdb +D:\ISD\CSharpCourse-2016\maltsev\Task2\Classes_4_Point\Classes_4_Point\obj\Debug\Classes_4_Point.csprojResolveAssemblyReference.cache diff --git a/maltsev/Task2/Classes_4_Point/Classes_4_Point/obj/Debug/Classes_4_Point.csprojResolveAssemblyReference.cache b/maltsev/Task2/Classes_4_Point/Classes_4_Point/obj/Debug/Classes_4_Point.csprojResolveAssemblyReference.cache new file mode 100644 index 0000000..362dcb9 Binary files /dev/null and b/maltsev/Task2/Classes_4_Point/Classes_4_Point/obj/Debug/Classes_4_Point.csprojResolveAssemblyReference.cache differ diff --git a/maltsev/Task2/Classes_4_Point/Classes_4_Point/obj/Debug/Classes_4_Point.exe b/maltsev/Task2/Classes_4_Point/Classes_4_Point/obj/Debug/Classes_4_Point.exe new file mode 100644 index 0000000..a016ad2 Binary files /dev/null and b/maltsev/Task2/Classes_4_Point/Classes_4_Point/obj/Debug/Classes_4_Point.exe differ diff --git a/maltsev/Task2/Classes_4_Point/Classes_4_Point/obj/Debug/Classes_4_Point.pdb b/maltsev/Task2/Classes_4_Point/Classes_4_Point/obj/Debug/Classes_4_Point.pdb new file mode 100644 index 0000000..d8cb757 Binary files /dev/null and b/maltsev/Task2/Classes_4_Point/Classes_4_Point/obj/Debug/Classes_4_Point.pdb differ diff --git a/maltsev/Task2/Classes_4_Point/Classes_4_Point/obj/Debug/DesignTimeResolveAssemblyReferences.cache b/maltsev/Task2/Classes_4_Point/Classes_4_Point/obj/Debug/DesignTimeResolveAssemblyReferences.cache new file mode 100644 index 0000000..d8ee008 Binary files /dev/null and b/maltsev/Task2/Classes_4_Point/Classes_4_Point/obj/Debug/DesignTimeResolveAssemblyReferences.cache differ diff --git a/maltsev/Task2/Classes_4_Point/Classes_4_Point/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/maltsev/Task2/Classes_4_Point/Classes_4_Point/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache new file mode 100644 index 0000000..16c26c2 Binary files /dev/null and b/maltsev/Task2/Classes_4_Point/Classes_4_Point/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/AlexandrTkachukTask1/CyclicConstructions/Task3GuessTheNumber/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs b/maltsev/Task2/Classes_4_Point/Classes_4_Point/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs similarity index 100% rename from AlexandrTkachukTask1/CyclicConstructions/Task3GuessTheNumber/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs rename to maltsev/Task2/Classes_4_Point/Classes_4_Point/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs diff --git a/AlexandrTkachukTask1/CyclicConstructions/Task3GuessTheNumber/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs b/maltsev/Task2/Classes_4_Point/Classes_4_Point/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs similarity index 100% rename from AlexandrTkachukTask1/CyclicConstructions/Task3GuessTheNumber/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs rename to maltsev/Task2/Classes_4_Point/Classes_4_Point/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs diff --git a/AlexandrTkachukTask1/CyclicConstructions/Task3GuessTheNumber/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs b/maltsev/Task2/Classes_4_Point/Classes_4_Point/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs similarity index 100% rename from AlexandrTkachukTask1/CyclicConstructions/Task3GuessTheNumber/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs rename to maltsev/Task2/Classes_4_Point/Classes_4_Point/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs diff --git a/maltsev/Task2/Classes_5_User/.vs/Classes_5_User/v14/.suo b/maltsev/Task2/Classes_5_User/.vs/Classes_5_User/v14/.suo new file mode 100644 index 0000000..02c2505 Binary files /dev/null and b/maltsev/Task2/Classes_5_User/.vs/Classes_5_User/v14/.suo differ diff --git a/maltsev/Task2/Classes_5_User/Classes_5_User.sln b/maltsev/Task2/Classes_5_User/Classes_5_User.sln new file mode 100644 index 0000000..eb91f3c --- /dev/null +++ b/maltsev/Task2/Classes_5_User/Classes_5_User.sln @@ -0,0 +1,22 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 14 +VisualStudioVersion = 14.0.25420.1 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Classes_5_User", "Classes_5_User\Classes_5_User.csproj", "{51C6CF1A-0B23-467D-AF21-0916DFE9A780}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {51C6CF1A-0B23-467D-AF21-0916DFE9A780}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {51C6CF1A-0B23-467D-AF21-0916DFE9A780}.Debug|Any CPU.Build.0 = Debug|Any CPU + {51C6CF1A-0B23-467D-AF21-0916DFE9A780}.Release|Any CPU.ActiveCfg = Release|Any CPU + {51C6CF1A-0B23-467D-AF21-0916DFE9A780}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/Task_1_Basics/2_4_GoodVsBad/App.config b/maltsev/Task2/Classes_5_User/Classes_5_User/App.config similarity index 100% rename from Task_1_Basics/2_4_GoodVsBad/App.config rename to maltsev/Task2/Classes_5_User/Classes_5_User/App.config diff --git a/maltsev/Task2/Classes_5_User/Classes_5_User/Classes_5_User.csproj b/maltsev/Task2/Classes_5_User/Classes_5_User/Classes_5_User.csproj new file mode 100644 index 0000000..9c858c7 --- /dev/null +++ b/maltsev/Task2/Classes_5_User/Classes_5_User/Classes_5_User.csproj @@ -0,0 +1,60 @@ + + + + + Debug + AnyCPU + {51C6CF1A-0B23-467D-AF21-0916DFE9A780} + Exe + Properties + Classes_5_User + Classes_5_User + v4.5.2 + 512 + true + + + AnyCPU + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + AnyCPU + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/maltsev/Task2/Classes_5_User/Classes_5_User/Program.cs b/maltsev/Task2/Classes_5_User/Classes_5_User/Program.cs new file mode 100644 index 0000000..27e48e1 --- /dev/null +++ b/maltsev/Task2/Classes_5_User/Classes_5_User/Program.cs @@ -0,0 +1,68 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Classes_5_User +{ + class User + { + private string name; + private string surname; + private string login; + private int age; + private string date; + + public string Name + { + set { name = value; } + get { return name; } + } + public string Surname + { + set { surname = value; } + get { return surname; } + } + public string Login + { + set { login = value; } + get { return login; } + } + public int Age + { + set { age = value; } + get { return age; } + } + public string Date + { + get { return date; } + } + + public User(string n, string s, string l, int a, string d ) + { + this.name = n; + this.surname = s; + this.login = l; + this.age = a; + this.date = d; + } + public void Show() + { + Console.WriteLine("Login: {0}", login); + Console.WriteLine("Name: {0}", name); + Console.WriteLine("Surname: {0}", surname); + Console.WriteLine("Age: {0}", age); + Console.WriteLine("Date: {0}", date); + } + } + class Program + { + static void Main(string[] args) + { + User user1 = new User("Nikita", "Maltsev", "MalN123", 19, "08.10.2016"); + user1.Show(); + Console.ReadKey(); + } + } +} diff --git a/maltsev/Task2/Classes_5_User/Classes_5_User/Properties/AssemblyInfo.cs b/maltsev/Task2/Classes_5_User/Classes_5_User/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..2048778 --- /dev/null +++ b/maltsev/Task2/Classes_5_User/Classes_5_User/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Classes_5_User")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("Classes_5_User")] +[assembly: AssemblyCopyright("Copyright © 2016")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("51c6cf1a-0b23-467d-af21-0916dfe9a780")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/maltsev/Task2/Classes_5_User/Classes_5_User/bin/Debug/Classes_5_User.exe b/maltsev/Task2/Classes_5_User/Classes_5_User/bin/Debug/Classes_5_User.exe new file mode 100644 index 0000000..adbe408 Binary files /dev/null and b/maltsev/Task2/Classes_5_User/Classes_5_User/bin/Debug/Classes_5_User.exe differ diff --git a/Task_1_Basics/2_3_Season/bin/Debug/2_3_Season.exe.config b/maltsev/Task2/Classes_5_User/Classes_5_User/bin/Debug/Classes_5_User.exe.config similarity index 100% rename from Task_1_Basics/2_3_Season/bin/Debug/2_3_Season.exe.config rename to maltsev/Task2/Classes_5_User/Classes_5_User/bin/Debug/Classes_5_User.exe.config diff --git a/maltsev/Task2/Classes_5_User/Classes_5_User/bin/Debug/Classes_5_User.pdb b/maltsev/Task2/Classes_5_User/Classes_5_User/bin/Debug/Classes_5_User.pdb new file mode 100644 index 0000000..ec438f0 Binary files /dev/null and b/maltsev/Task2/Classes_5_User/Classes_5_User/bin/Debug/Classes_5_User.pdb differ diff --git a/Task_1_Basics/2_3_Season/bin/Debug/2_3_Season.vshost.exe b/maltsev/Task2/Classes_5_User/Classes_5_User/bin/Debug/Classes_5_User.vshost.exe similarity index 100% rename from Task_1_Basics/2_3_Season/bin/Debug/2_3_Season.vshost.exe rename to maltsev/Task2/Classes_5_User/Classes_5_User/bin/Debug/Classes_5_User.vshost.exe diff --git a/Task_1_Basics/2_3_Season/bin/Debug/2_3_Season.vshost.exe.config b/maltsev/Task2/Classes_5_User/Classes_5_User/bin/Debug/Classes_5_User.vshost.exe.config similarity index 100% rename from Task_1_Basics/2_3_Season/bin/Debug/2_3_Season.vshost.exe.config rename to maltsev/Task2/Classes_5_User/Classes_5_User/bin/Debug/Classes_5_User.vshost.exe.config diff --git a/AlexandrTkachukTask1/CyclicConstructions/Task8CorrectPassword/bin/Debug/Task8CorrectPassword.vshost.exe.manifest b/maltsev/Task2/Classes_5_User/Classes_5_User/bin/Debug/Classes_5_User.vshost.exe.manifest similarity index 100% rename from AlexandrTkachukTask1/CyclicConstructions/Task8CorrectPassword/bin/Debug/Task8CorrectPassword.vshost.exe.manifest rename to maltsev/Task2/Classes_5_User/Classes_5_User/bin/Debug/Classes_5_User.vshost.exe.manifest diff --git a/maltsev/Task2/Classes_5_User/Classes_5_User/obj/Debug/Classes_5_User.csproj.FileListAbsolute.txt b/maltsev/Task2/Classes_5_User/Classes_5_User/obj/Debug/Classes_5_User.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..c29bf9e --- /dev/null +++ b/maltsev/Task2/Classes_5_User/Classes_5_User/obj/Debug/Classes_5_User.csproj.FileListAbsolute.txt @@ -0,0 +1,6 @@ +c:\users\svezho\documents\visual studio 2015\Projects\Classes_5_User\Classes_5_User\bin\Debug\Classes_5_User.exe.config +c:\users\svezho\documents\visual studio 2015\Projects\Classes_5_User\Classes_5_User\bin\Debug\Classes_5_User.exe +c:\users\svezho\documents\visual studio 2015\Projects\Classes_5_User\Classes_5_User\bin\Debug\Classes_5_User.pdb +c:\users\svezho\documents\visual studio 2015\Projects\Classes_5_User\Classes_5_User\obj\Debug\Classes_5_User.csprojResolveAssemblyReference.cache +c:\users\svezho\documents\visual studio 2015\Projects\Classes_5_User\Classes_5_User\obj\Debug\Classes_5_User.exe +c:\users\svezho\documents\visual studio 2015\Projects\Classes_5_User\Classes_5_User\obj\Debug\Classes_5_User.pdb diff --git a/maltsev/Task2/Classes_5_User/Classes_5_User/obj/Debug/Classes_5_User.csprojResolveAssemblyReference.cache b/maltsev/Task2/Classes_5_User/Classes_5_User/obj/Debug/Classes_5_User.csprojResolveAssemblyReference.cache new file mode 100644 index 0000000..362dcb9 Binary files /dev/null and b/maltsev/Task2/Classes_5_User/Classes_5_User/obj/Debug/Classes_5_User.csprojResolveAssemblyReference.cache differ diff --git a/maltsev/Task2/Classes_5_User/Classes_5_User/obj/Debug/Classes_5_User.exe b/maltsev/Task2/Classes_5_User/Classes_5_User/obj/Debug/Classes_5_User.exe new file mode 100644 index 0000000..adbe408 Binary files /dev/null and b/maltsev/Task2/Classes_5_User/Classes_5_User/obj/Debug/Classes_5_User.exe differ diff --git a/maltsev/Task2/Classes_5_User/Classes_5_User/obj/Debug/Classes_5_User.pdb b/maltsev/Task2/Classes_5_User/Classes_5_User/obj/Debug/Classes_5_User.pdb new file mode 100644 index 0000000..ec438f0 Binary files /dev/null and b/maltsev/Task2/Classes_5_User/Classes_5_User/obj/Debug/Classes_5_User.pdb differ diff --git a/maltsev/Task2/Classes_5_User/Classes_5_User/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/maltsev/Task2/Classes_5_User/Classes_5_User/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache new file mode 100644 index 0000000..fa5252c Binary files /dev/null and b/maltsev/Task2/Classes_5_User/Classes_5_User/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/AlexandrTkachukTask1/CyclicConstructions/Task4TheSquaresOfTheNumbers/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs b/maltsev/Task2/Classes_5_User/Classes_5_User/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs similarity index 100% rename from AlexandrTkachukTask1/CyclicConstructions/Task4TheSquaresOfTheNumbers/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs rename to maltsev/Task2/Classes_5_User/Classes_5_User/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs diff --git a/AlexandrTkachukTask1/CyclicConstructions/Task4TheSquaresOfTheNumbers/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs b/maltsev/Task2/Classes_5_User/Classes_5_User/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs similarity index 100% rename from AlexandrTkachukTask1/CyclicConstructions/Task4TheSquaresOfTheNumbers/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs rename to maltsev/Task2/Classes_5_User/Classes_5_User/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs diff --git a/AlexandrTkachukTask1/CyclicConstructions/Task4TheSquaresOfTheNumbers/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs b/maltsev/Task2/Classes_5_User/Classes_5_User/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs similarity index 100% rename from AlexandrTkachukTask1/CyclicConstructions/Task4TheSquaresOfTheNumbers/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs rename to maltsev/Task2/Classes_5_User/Classes_5_User/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs diff --git a/maltsev/Task2/Classes_6_Converter/.vs/Classes_6_Converter/v14/.suo b/maltsev/Task2/Classes_6_Converter/.vs/Classes_6_Converter/v14/.suo new file mode 100644 index 0000000..0370048 Binary files /dev/null and b/maltsev/Task2/Classes_6_Converter/.vs/Classes_6_Converter/v14/.suo differ diff --git a/maltsev/Task2/Classes_6_Converter/Classes_6_Converter.sln b/maltsev/Task2/Classes_6_Converter/Classes_6_Converter.sln new file mode 100644 index 0000000..0a85377 --- /dev/null +++ b/maltsev/Task2/Classes_6_Converter/Classes_6_Converter.sln @@ -0,0 +1,22 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 14 +VisualStudioVersion = 14.0.25420.1 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Classes_6_Converter", "Classes_6_Converter\Classes_6_Converter.csproj", "{3C366C59-F6F8-4F80-94F5-5DB17DE4E1A6}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {3C366C59-F6F8-4F80-94F5-5DB17DE4E1A6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {3C366C59-F6F8-4F80-94F5-5DB17DE4E1A6}.Debug|Any CPU.Build.0 = Debug|Any CPU + {3C366C59-F6F8-4F80-94F5-5DB17DE4E1A6}.Release|Any CPU.ActiveCfg = Release|Any CPU + {3C366C59-F6F8-4F80-94F5-5DB17DE4E1A6}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/Task_1_Basics/2_5_DayOfWeek/App.config b/maltsev/Task2/Classes_6_Converter/Classes_6_Converter/App.config similarity index 100% rename from Task_1_Basics/2_5_DayOfWeek/App.config rename to maltsev/Task2/Classes_6_Converter/Classes_6_Converter/App.config diff --git a/maltsev/Task2/Classes_6_Converter/Classes_6_Converter/Classes_6_Converter.csproj b/maltsev/Task2/Classes_6_Converter/Classes_6_Converter/Classes_6_Converter.csproj new file mode 100644 index 0000000..86d9f5e --- /dev/null +++ b/maltsev/Task2/Classes_6_Converter/Classes_6_Converter/Classes_6_Converter.csproj @@ -0,0 +1,60 @@ + + + + + Debug + AnyCPU + {3C366C59-F6F8-4F80-94F5-5DB17DE4E1A6} + Exe + Properties + Classes_6_Converter + Classes_6_Converter + v4.5.2 + 512 + true + + + AnyCPU + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + AnyCPU + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/maltsev/Task2/Classes_6_Converter/Classes_6_Converter/Program.cs b/maltsev/Task2/Classes_6_Converter/Classes_6_Converter/Program.cs new file mode 100644 index 0000000..b7b32d4 --- /dev/null +++ b/maltsev/Task2/Classes_6_Converter/Classes_6_Converter/Program.cs @@ -0,0 +1,61 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Classes_6_Converter +{ + class Converter + { + private double usd; + private double eur; + private double rub; + + public Converter(double usd, double eur, double rub) + { + this.usd = usd; + this.eur = eur; + this.rub = rub; + } + + public void ConvertFromHRN(double amount) + { + Console.WriteLine("{0} HRN", amount); + Console.WriteLine("{0} USD", amount*usd); + Console.WriteLine("{0} EUR", amount*eur); + Console.WriteLine("{0} RUB", amount*rub); + Console.WriteLine(""); + } + public void ConvertFromUSD(double amount) + { + Console.WriteLine("{0:#.##} USD", amount); + Console.WriteLine("{0:#.##} HRN", amount / usd); + Console.WriteLine(""); + } + public void ConvertFromEUR(double amount) + { + Console.WriteLine("{0:#.##} EUR", amount); + Console.WriteLine("{0:#.##} HRN", amount / eur); + Console.WriteLine(""); + } + public void ConvertFromRUB(double amount) + { + Console.WriteLine("{0:#.##} RUB", amount); + Console.WriteLine("{0:#.##} HRN", amount / rub); + Console.WriteLine(""); + } + } + class Program + { + static void Main(string[] args) + { + Converter converter1 = new Converter(0.04, 0.03, 2.4); + converter1.ConvertFromHRN(178333.0); + converter1.ConvertFromUSD(1000.0); + converter1.ConvertFromEUR(1000.0); + converter1.ConvertFromRUB(1000.0); + Console.ReadKey(); + } + } +} diff --git a/maltsev/Task2/Classes_6_Converter/Classes_6_Converter/Properties/AssemblyInfo.cs b/maltsev/Task2/Classes_6_Converter/Classes_6_Converter/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..aac99e3 --- /dev/null +++ b/maltsev/Task2/Classes_6_Converter/Classes_6_Converter/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Classes_6_Converter")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("Classes_6_Converter")] +[assembly: AssemblyCopyright("Copyright © 2016")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("3c366c59-f6f8-4f80-94f5-5db17de4e1a6")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/maltsev/Task2/Classes_6_Converter/Classes_6_Converter/bin/Debug/Classes_6_Converter.exe b/maltsev/Task2/Classes_6_Converter/Classes_6_Converter/bin/Debug/Classes_6_Converter.exe new file mode 100644 index 0000000..29caea9 Binary files /dev/null and b/maltsev/Task2/Classes_6_Converter/Classes_6_Converter/bin/Debug/Classes_6_Converter.exe differ diff --git a/Task_1_Basics/2_4_GoodVsBad/bin/Debug/2_4_GoodVsBad.exe.config b/maltsev/Task2/Classes_6_Converter/Classes_6_Converter/bin/Debug/Classes_6_Converter.exe.config similarity index 100% rename from Task_1_Basics/2_4_GoodVsBad/bin/Debug/2_4_GoodVsBad.exe.config rename to maltsev/Task2/Classes_6_Converter/Classes_6_Converter/bin/Debug/Classes_6_Converter.exe.config diff --git a/maltsev/Task2/Classes_6_Converter/Classes_6_Converter/bin/Debug/Classes_6_Converter.pdb b/maltsev/Task2/Classes_6_Converter/Classes_6_Converter/bin/Debug/Classes_6_Converter.pdb new file mode 100644 index 0000000..decc66f Binary files /dev/null and b/maltsev/Task2/Classes_6_Converter/Classes_6_Converter/bin/Debug/Classes_6_Converter.pdb differ diff --git a/Task_1_Basics/2_4_GoodVsBad/bin/Debug/2_4_GoodVsBad.vshost.exe b/maltsev/Task2/Classes_6_Converter/Classes_6_Converter/bin/Debug/Classes_6_Converter.vshost.exe similarity index 100% rename from Task_1_Basics/2_4_GoodVsBad/bin/Debug/2_4_GoodVsBad.vshost.exe rename to maltsev/Task2/Classes_6_Converter/Classes_6_Converter/bin/Debug/Classes_6_Converter.vshost.exe diff --git a/Task_1_Basics/2_4_GoodVsBad/bin/Debug/2_4_GoodVsBad.vshost.exe.config b/maltsev/Task2/Classes_6_Converter/Classes_6_Converter/bin/Debug/Classes_6_Converter.vshost.exe.config similarity index 100% rename from Task_1_Basics/2_4_GoodVsBad/bin/Debug/2_4_GoodVsBad.vshost.exe.config rename to maltsev/Task2/Classes_6_Converter/Classes_6_Converter/bin/Debug/Classes_6_Converter.vshost.exe.config diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task1GreaterNumber/bin/Debug/Task1GreaterNumber.vshost.exe.manifest" b/maltsev/Task2/Classes_6_Converter/Classes_6_Converter/bin/Debug/Classes_6_Converter.vshost.exe.manifest similarity index 100% rename from "AlexandrTkachukTask1/\320\241onditionalConstructions/Task1GreaterNumber/bin/Debug/Task1GreaterNumber.vshost.exe.manifest" rename to maltsev/Task2/Classes_6_Converter/Classes_6_Converter/bin/Debug/Classes_6_Converter.vshost.exe.manifest diff --git a/maltsev/Task2/Classes_6_Converter/Classes_6_Converter/obj/Debug/Classes_6_Converter.csproj.FileListAbsolute.txt b/maltsev/Task2/Classes_6_Converter/Classes_6_Converter/obj/Debug/Classes_6_Converter.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..44b1b1b --- /dev/null +++ b/maltsev/Task2/Classes_6_Converter/Classes_6_Converter/obj/Debug/Classes_6_Converter.csproj.FileListAbsolute.txt @@ -0,0 +1,6 @@ +c:\users\svezho\documents\visual studio 2015\Projects\Classes_6_Converter\Classes_6_Converter\bin\Debug\Classes_6_Converter.exe.config +c:\users\svezho\documents\visual studio 2015\Projects\Classes_6_Converter\Classes_6_Converter\bin\Debug\Classes_6_Converter.exe +c:\users\svezho\documents\visual studio 2015\Projects\Classes_6_Converter\Classes_6_Converter\bin\Debug\Classes_6_Converter.pdb +c:\users\svezho\documents\visual studio 2015\Projects\Classes_6_Converter\Classes_6_Converter\obj\Debug\Classes_6_Converter.csprojResolveAssemblyReference.cache +c:\users\svezho\documents\visual studio 2015\Projects\Classes_6_Converter\Classes_6_Converter\obj\Debug\Classes_6_Converter.exe +c:\users\svezho\documents\visual studio 2015\Projects\Classes_6_Converter\Classes_6_Converter\obj\Debug\Classes_6_Converter.pdb diff --git a/maltsev/Task2/Classes_6_Converter/Classes_6_Converter/obj/Debug/Classes_6_Converter.csprojResolveAssemblyReference.cache b/maltsev/Task2/Classes_6_Converter/Classes_6_Converter/obj/Debug/Classes_6_Converter.csprojResolveAssemblyReference.cache new file mode 100644 index 0000000..362dcb9 Binary files /dev/null and b/maltsev/Task2/Classes_6_Converter/Classes_6_Converter/obj/Debug/Classes_6_Converter.csprojResolveAssemblyReference.cache differ diff --git a/maltsev/Task2/Classes_6_Converter/Classes_6_Converter/obj/Debug/Classes_6_Converter.exe b/maltsev/Task2/Classes_6_Converter/Classes_6_Converter/obj/Debug/Classes_6_Converter.exe new file mode 100644 index 0000000..29caea9 Binary files /dev/null and b/maltsev/Task2/Classes_6_Converter/Classes_6_Converter/obj/Debug/Classes_6_Converter.exe differ diff --git a/maltsev/Task2/Classes_6_Converter/Classes_6_Converter/obj/Debug/Classes_6_Converter.pdb b/maltsev/Task2/Classes_6_Converter/Classes_6_Converter/obj/Debug/Classes_6_Converter.pdb new file mode 100644 index 0000000..decc66f Binary files /dev/null and b/maltsev/Task2/Classes_6_Converter/Classes_6_Converter/obj/Debug/Classes_6_Converter.pdb differ diff --git a/maltsev/Task2/Classes_6_Converter/Classes_6_Converter/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/maltsev/Task2/Classes_6_Converter/Classes_6_Converter/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache new file mode 100644 index 0000000..99c5cd3 Binary files /dev/null and b/maltsev/Task2/Classes_6_Converter/Classes_6_Converter/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/AlexandrTkachukTask1/CyclicConstructions/Task5UsersArithmeticMean/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs b/maltsev/Task2/Classes_6_Converter/Classes_6_Converter/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs similarity index 100% rename from AlexandrTkachukTask1/CyclicConstructions/Task5UsersArithmeticMean/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs rename to maltsev/Task2/Classes_6_Converter/Classes_6_Converter/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs diff --git a/AlexandrTkachukTask1/CyclicConstructions/Task5UsersArithmeticMean/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs b/maltsev/Task2/Classes_6_Converter/Classes_6_Converter/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs similarity index 100% rename from AlexandrTkachukTask1/CyclicConstructions/Task5UsersArithmeticMean/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs rename to maltsev/Task2/Classes_6_Converter/Classes_6_Converter/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs diff --git a/AlexandrTkachukTask1/CyclicConstructions/Task5UsersArithmeticMean/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs b/maltsev/Task2/Classes_6_Converter/Classes_6_Converter/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs similarity index 100% rename from AlexandrTkachukTask1/CyclicConstructions/Task5UsersArithmeticMean/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs rename to maltsev/Task2/Classes_6_Converter/Classes_6_Converter/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs diff --git a/maltsev/Task2/Classes_7_Employee/.vs/Classes_7_Employee/v14/.suo b/maltsev/Task2/Classes_7_Employee/.vs/Classes_7_Employee/v14/.suo new file mode 100644 index 0000000..491bf2d Binary files /dev/null and b/maltsev/Task2/Classes_7_Employee/.vs/Classes_7_Employee/v14/.suo differ diff --git a/maltsev/Task2/Classes_7_Employee/Classes_7_Employee.sln b/maltsev/Task2/Classes_7_Employee/Classes_7_Employee.sln new file mode 100644 index 0000000..50f52e3 --- /dev/null +++ b/maltsev/Task2/Classes_7_Employee/Classes_7_Employee.sln @@ -0,0 +1,22 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 14 +VisualStudioVersion = 14.0.25420.1 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Classes_7_Employee", "Classes_7_Employee\Classes_7_Employee.csproj", "{8FB6A5FA-B23E-4CAF-90AF-14DA11A988FC}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {8FB6A5FA-B23E-4CAF-90AF-14DA11A988FC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {8FB6A5FA-B23E-4CAF-90AF-14DA11A988FC}.Debug|Any CPU.Build.0 = Debug|Any CPU + {8FB6A5FA-B23E-4CAF-90AF-14DA11A988FC}.Release|Any CPU.ActiveCfg = Release|Any CPU + {8FB6A5FA-B23E-4CAF-90AF-14DA11A988FC}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/Task_1_Basics/2_6_Taxi/App.config b/maltsev/Task2/Classes_7_Employee/Classes_7_Employee/App.config similarity index 100% rename from Task_1_Basics/2_6_Taxi/App.config rename to maltsev/Task2/Classes_7_Employee/Classes_7_Employee/App.config diff --git a/maltsev/Task2/Classes_7_Employee/Classes_7_Employee/Classes_7_Employee.csproj b/maltsev/Task2/Classes_7_Employee/Classes_7_Employee/Classes_7_Employee.csproj new file mode 100644 index 0000000..6fd3c67 --- /dev/null +++ b/maltsev/Task2/Classes_7_Employee/Classes_7_Employee/Classes_7_Employee.csproj @@ -0,0 +1,60 @@ + + + + + Debug + AnyCPU + {8FB6A5FA-B23E-4CAF-90AF-14DA11A988FC} + Exe + Properties + Classes_7_Employee + Classes_7_Employee + v4.5.2 + 512 + true + + + AnyCPU + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + AnyCPU + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/maltsev/Task2/Classes_7_Employee/Classes_7_Employee/Program.cs b/maltsev/Task2/Classes_7_Employee/Classes_7_Employee/Program.cs new file mode 100644 index 0000000..3a8488e --- /dev/null +++ b/maltsev/Task2/Classes_7_Employee/Classes_7_Employee/Program.cs @@ -0,0 +1,83 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Classes_7_Employee +{ + class Employee + { + private string name; + private string surname; + private string position; + private double experience; + private double salary; + private double tax; + + public string Name + { + get { return name; } + set { name = value; } + } + public string Surname + { + get { return surname; } + set { surname = value; } + } + public string Position + { + get { return position; } + set { position = value; } + } + public double Experience + { + get { return experience; } + set { experience = value; } + } + public double Salary + { + get { return salary; } + } + public double Tax + { + get { return tax; } + } + + public Employee(string n, string s) + { + name = n; + surname = s; + position = "Manager"; + experience = 3.3; + SalaryCalculator(); + TaxCalculator(); + } + public void SalaryCalculator() + { + salary = 112.3 * experience; //also depends on position + } + public void TaxCalculator() + { + tax = 2321.2 * salary; //depends on + } + public void Show() + { + Console.WriteLine("Name: {0}", name); + Console.WriteLine("Surname: {0}", surname); + Console.WriteLine("Position: {0}", position); + Console.WriteLine("Salary: {0}", salary); + Console.WriteLine("Tax: {0}", tax); + Console.WriteLine(""); + } + } + class Program + { + static void Main(string[] args) + { + Employee employee1 = new Employee("Artem", "Babkin"); + employee1.Show(); + Console.ReadKey(); + } + } +} diff --git a/maltsev/Task2/Classes_7_Employee/Classes_7_Employee/Properties/AssemblyInfo.cs b/maltsev/Task2/Classes_7_Employee/Classes_7_Employee/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..72877fc --- /dev/null +++ b/maltsev/Task2/Classes_7_Employee/Classes_7_Employee/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Classes_7_Employee")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("Classes_7_Employee")] +[assembly: AssemblyCopyright("Copyright © 2016")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("8fb6a5fa-b23e-4caf-90af-14da11a988fc")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/maltsev/Task2/Classes_7_Employee/Classes_7_Employee/bin/Debug/Classes_7_Employee.exe b/maltsev/Task2/Classes_7_Employee/Classes_7_Employee/bin/Debug/Classes_7_Employee.exe new file mode 100644 index 0000000..e1787db Binary files /dev/null and b/maltsev/Task2/Classes_7_Employee/Classes_7_Employee/bin/Debug/Classes_7_Employee.exe differ diff --git a/Task_1_Basics/2_5_DayOfWeek/bin/Debug/2_5_DayOfWeek.exe.config b/maltsev/Task2/Classes_7_Employee/Classes_7_Employee/bin/Debug/Classes_7_Employee.exe.config similarity index 100% rename from Task_1_Basics/2_5_DayOfWeek/bin/Debug/2_5_DayOfWeek.exe.config rename to maltsev/Task2/Classes_7_Employee/Classes_7_Employee/bin/Debug/Classes_7_Employee.exe.config diff --git a/maltsev/Task2/Classes_7_Employee/Classes_7_Employee/bin/Debug/Classes_7_Employee.pdb b/maltsev/Task2/Classes_7_Employee/Classes_7_Employee/bin/Debug/Classes_7_Employee.pdb new file mode 100644 index 0000000..d8b723c Binary files /dev/null and b/maltsev/Task2/Classes_7_Employee/Classes_7_Employee/bin/Debug/Classes_7_Employee.pdb differ diff --git a/Task_1_Basics/2_5_DayOfWeek/bin/Debug/2_5_DayOfWeek.vshost.exe b/maltsev/Task2/Classes_7_Employee/Classes_7_Employee/bin/Debug/Classes_7_Employee.vshost.exe similarity index 100% rename from Task_1_Basics/2_5_DayOfWeek/bin/Debug/2_5_DayOfWeek.vshost.exe rename to maltsev/Task2/Classes_7_Employee/Classes_7_Employee/bin/Debug/Classes_7_Employee.vshost.exe diff --git a/Task_1_Basics/2_5_DayOfWeek/bin/Debug/2_5_DayOfWeek.vshost.exe.config b/maltsev/Task2/Classes_7_Employee/Classes_7_Employee/bin/Debug/Classes_7_Employee.vshost.exe.config similarity index 100% rename from Task_1_Basics/2_5_DayOfWeek/bin/Debug/2_5_DayOfWeek.vshost.exe.config rename to maltsev/Task2/Classes_7_Employee/Classes_7_Employee/bin/Debug/Classes_7_Employee.vshost.exe.config diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task2CatAndDog/bin/Debug/Task2CatAndDog.vshost.exe.manifest" b/maltsev/Task2/Classes_7_Employee/Classes_7_Employee/bin/Debug/Classes_7_Employee.vshost.exe.manifest similarity index 100% rename from "AlexandrTkachukTask1/\320\241onditionalConstructions/Task2CatAndDog/bin/Debug/Task2CatAndDog.vshost.exe.manifest" rename to maltsev/Task2/Classes_7_Employee/Classes_7_Employee/bin/Debug/Classes_7_Employee.vshost.exe.manifest diff --git a/maltsev/Task2/Classes_7_Employee/Classes_7_Employee/obj/Debug/Classes_7_Employee.csproj.FileListAbsolute.txt b/maltsev/Task2/Classes_7_Employee/Classes_7_Employee/obj/Debug/Classes_7_Employee.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..afa2fae --- /dev/null +++ b/maltsev/Task2/Classes_7_Employee/Classes_7_Employee/obj/Debug/Classes_7_Employee.csproj.FileListAbsolute.txt @@ -0,0 +1,6 @@ +c:\users\svezho\documents\visual studio 2015\Projects\Classes_7_Employee\Classes_7_Employee\bin\Debug\Classes_7_Employee.exe.config +c:\users\svezho\documents\visual studio 2015\Projects\Classes_7_Employee\Classes_7_Employee\bin\Debug\Classes_7_Employee.exe +c:\users\svezho\documents\visual studio 2015\Projects\Classes_7_Employee\Classes_7_Employee\bin\Debug\Classes_7_Employee.pdb +c:\users\svezho\documents\visual studio 2015\Projects\Classes_7_Employee\Classes_7_Employee\obj\Debug\Classes_7_Employee.csprojResolveAssemblyReference.cache +c:\users\svezho\documents\visual studio 2015\Projects\Classes_7_Employee\Classes_7_Employee\obj\Debug\Classes_7_Employee.exe +c:\users\svezho\documents\visual studio 2015\Projects\Classes_7_Employee\Classes_7_Employee\obj\Debug\Classes_7_Employee.pdb diff --git a/maltsev/Task2/Classes_7_Employee/Classes_7_Employee/obj/Debug/Classes_7_Employee.csprojResolveAssemblyReference.cache b/maltsev/Task2/Classes_7_Employee/Classes_7_Employee/obj/Debug/Classes_7_Employee.csprojResolveAssemblyReference.cache new file mode 100644 index 0000000..362dcb9 Binary files /dev/null and b/maltsev/Task2/Classes_7_Employee/Classes_7_Employee/obj/Debug/Classes_7_Employee.csprojResolveAssemblyReference.cache differ diff --git a/maltsev/Task2/Classes_7_Employee/Classes_7_Employee/obj/Debug/Classes_7_Employee.exe b/maltsev/Task2/Classes_7_Employee/Classes_7_Employee/obj/Debug/Classes_7_Employee.exe new file mode 100644 index 0000000..e1787db Binary files /dev/null and b/maltsev/Task2/Classes_7_Employee/Classes_7_Employee/obj/Debug/Classes_7_Employee.exe differ diff --git a/maltsev/Task2/Classes_7_Employee/Classes_7_Employee/obj/Debug/Classes_7_Employee.pdb b/maltsev/Task2/Classes_7_Employee/Classes_7_Employee/obj/Debug/Classes_7_Employee.pdb new file mode 100644 index 0000000..d8b723c Binary files /dev/null and b/maltsev/Task2/Classes_7_Employee/Classes_7_Employee/obj/Debug/Classes_7_Employee.pdb differ diff --git a/maltsev/Task2/Classes_7_Employee/Classes_7_Employee/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/maltsev/Task2/Classes_7_Employee/Classes_7_Employee/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache new file mode 100644 index 0000000..5a2ec55 Binary files /dev/null and b/maltsev/Task2/Classes_7_Employee/Classes_7_Employee/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/AlexandrTkachukTask1/CyclicConstructions/Task6ArithmeticMean/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs b/maltsev/Task2/Classes_7_Employee/Classes_7_Employee/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs similarity index 100% rename from AlexandrTkachukTask1/CyclicConstructions/Task6ArithmeticMean/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs rename to maltsev/Task2/Classes_7_Employee/Classes_7_Employee/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs diff --git a/AlexandrTkachukTask1/CyclicConstructions/Task6ArithmeticMean/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs b/maltsev/Task2/Classes_7_Employee/Classes_7_Employee/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs similarity index 100% rename from AlexandrTkachukTask1/CyclicConstructions/Task6ArithmeticMean/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs rename to maltsev/Task2/Classes_7_Employee/Classes_7_Employee/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs diff --git a/AlexandrTkachukTask1/CyclicConstructions/Task6ArithmeticMean/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs b/maltsev/Task2/Classes_7_Employee/Classes_7_Employee/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs similarity index 100% rename from AlexandrTkachukTask1/CyclicConstructions/Task6ArithmeticMean/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs rename to maltsev/Task2/Classes_7_Employee/Classes_7_Employee/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs diff --git a/maltsev/Task2/Classes_8_Invoice/.vs/Classes_8_Invoice/v14/.suo b/maltsev/Task2/Classes_8_Invoice/.vs/Classes_8_Invoice/v14/.suo new file mode 100644 index 0000000..bedde8b Binary files /dev/null and b/maltsev/Task2/Classes_8_Invoice/.vs/Classes_8_Invoice/v14/.suo differ diff --git a/maltsev/Task2/Classes_8_Invoice/Classes_8_Invoice.sln b/maltsev/Task2/Classes_8_Invoice/Classes_8_Invoice.sln new file mode 100644 index 0000000..b9065cc --- /dev/null +++ b/maltsev/Task2/Classes_8_Invoice/Classes_8_Invoice.sln @@ -0,0 +1,22 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 14 +VisualStudioVersion = 14.0.25420.1 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Classes_8_Invoice", "..\Classes_8_Invoice\Classes_8_Invoice\Classes_8_Invoice.csproj", "{EF7DD7F2-1687-40B3-9272-7B801C75A38D}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {EF7DD7F2-1687-40B3-9272-7B801C75A38D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {EF7DD7F2-1687-40B3-9272-7B801C75A38D}.Debug|Any CPU.Build.0 = Debug|Any CPU + {EF7DD7F2-1687-40B3-9272-7B801C75A38D}.Release|Any CPU.ActiveCfg = Release|Any CPU + {EF7DD7F2-1687-40B3-9272-7B801C75A38D}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/Task_1_Basics/2_7_SimpleNumber/App.config b/maltsev/Task2/Classes_8_Invoice/Classes_8_Invoice/App.config similarity index 100% rename from Task_1_Basics/2_7_SimpleNumber/App.config rename to maltsev/Task2/Classes_8_Invoice/Classes_8_Invoice/App.config diff --git a/maltsev/Task2/Classes_8_Invoice/Classes_8_Invoice/Classes_8_Invoice.csproj b/maltsev/Task2/Classes_8_Invoice/Classes_8_Invoice/Classes_8_Invoice.csproj new file mode 100644 index 0000000..223a410 --- /dev/null +++ b/maltsev/Task2/Classes_8_Invoice/Classes_8_Invoice/Classes_8_Invoice.csproj @@ -0,0 +1,60 @@ + + + + + Debug + AnyCPU + {EF7DD7F2-1687-40B3-9272-7B801C75A38D} + Exe + Properties + Classes_8_Invoice + Classes_8_Invoice + v4.5.2 + 512 + true + + + AnyCPU + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + AnyCPU + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/maltsev/Task2/Classes_8_Invoice/Classes_8_Invoice/Program.cs b/maltsev/Task2/Classes_8_Invoice/Classes_8_Invoice/Program.cs new file mode 100644 index 0000000..9058eb6 --- /dev/null +++ b/maltsev/Task2/Classes_8_Invoice/Classes_8_Invoice/Program.cs @@ -0,0 +1,77 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Classes_8_Invoice +{ + class Invoice + { + private int account; + private string customer; + private string provider; + private string article; + private int quantity; + private double nds; + + public int Account + { + get { return account; } + } + public string Customer + { + get { return customer; } + } + public string Provider + { + get { return provider; } + } + public string Article + { + get { return article; } + set { article = value; } + } + public int Quantity + { + get { return quantity; } + set { quantity = value; } + } + public double CostWithoutNDS + { + get { return CostCalculatorWithoutNDS(); } + } + public double CostWithNDS + { + get { return CostCalculatorWithNDS(); } + } + public Invoice(int a, string c, string p) + { + account = a; + customer = c; + provider = p; + nds = 0.18; + } + private double CostCalculatorWithoutNDS() + { + return 12345 * quantity * (1 - nds); + } + private double CostCalculatorWithNDS() + { + return 12345 * quantity; + } + + } + class Program + { + static void Main(string[] args) + { + Invoice invoice1 = new Invoice(34234, "Mr.Thompson", "Pepsi"); + invoice1.Article = "Water"; + invoice1.Quantity = 30000; + Console.WriteLine("With NDS: {0}", invoice1.CostWithNDS); + Console.WriteLine("Without NDS: {0}", invoice1.CostWithoutNDS); + Console.ReadKey(); + } + } +} diff --git a/maltsev/Task2/Classes_8_Invoice/Classes_8_Invoice/Properties/AssemblyInfo.cs b/maltsev/Task2/Classes_8_Invoice/Classes_8_Invoice/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..5fd8926 --- /dev/null +++ b/maltsev/Task2/Classes_8_Invoice/Classes_8_Invoice/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Classes_8_Invoice")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("Classes_8_Invoice")] +[assembly: AssemblyCopyright("Copyright © 2016")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("ef7dd7f2-1687-40b3-9272-7b801c75a38d")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/maltsev/Task2/Classes_8_Invoice/Classes_8_Invoice/bin/Debug/Classes_8_Invoice.exe b/maltsev/Task2/Classes_8_Invoice/Classes_8_Invoice/bin/Debug/Classes_8_Invoice.exe new file mode 100644 index 0000000..ca3d023 Binary files /dev/null and b/maltsev/Task2/Classes_8_Invoice/Classes_8_Invoice/bin/Debug/Classes_8_Invoice.exe differ diff --git a/Task_1_Basics/2_6_Taxi/bin/Debug/2_6_Taxi.exe.config b/maltsev/Task2/Classes_8_Invoice/Classes_8_Invoice/bin/Debug/Classes_8_Invoice.exe.config similarity index 100% rename from Task_1_Basics/2_6_Taxi/bin/Debug/2_6_Taxi.exe.config rename to maltsev/Task2/Classes_8_Invoice/Classes_8_Invoice/bin/Debug/Classes_8_Invoice.exe.config diff --git a/maltsev/Task2/Classes_8_Invoice/Classes_8_Invoice/bin/Debug/Classes_8_Invoice.pdb b/maltsev/Task2/Classes_8_Invoice/Classes_8_Invoice/bin/Debug/Classes_8_Invoice.pdb new file mode 100644 index 0000000..1cdc2f0 Binary files /dev/null and b/maltsev/Task2/Classes_8_Invoice/Classes_8_Invoice/bin/Debug/Classes_8_Invoice.pdb differ diff --git a/Task_1_Basics/2_6_Taxi/bin/Debug/2_6_Taxi.vshost.exe b/maltsev/Task2/Classes_8_Invoice/Classes_8_Invoice/bin/Debug/Classes_8_Invoice.vshost.exe similarity index 100% rename from Task_1_Basics/2_6_Taxi/bin/Debug/2_6_Taxi.vshost.exe rename to maltsev/Task2/Classes_8_Invoice/Classes_8_Invoice/bin/Debug/Classes_8_Invoice.vshost.exe diff --git a/Task_1_Basics/2_6_Taxi/bin/Debug/2_6_Taxi.vshost.exe.config b/maltsev/Task2/Classes_8_Invoice/Classes_8_Invoice/bin/Debug/Classes_8_Invoice.vshost.exe.config similarity index 100% rename from Task_1_Basics/2_6_Taxi/bin/Debug/2_6_Taxi.vshost.exe.config rename to maltsev/Task2/Classes_8_Invoice/Classes_8_Invoice/bin/Debug/Classes_8_Invoice.vshost.exe.config diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task3NumberOfMonth/bin/Debug/Task3NumberOfMonth.vshost.exe.manifest" b/maltsev/Task2/Classes_8_Invoice/Classes_8_Invoice/bin/Debug/Classes_8_Invoice.vshost.exe.manifest similarity index 100% rename from "AlexandrTkachukTask1/\320\241onditionalConstructions/Task3NumberOfMonth/bin/Debug/Task3NumberOfMonth.vshost.exe.manifest" rename to maltsev/Task2/Classes_8_Invoice/Classes_8_Invoice/bin/Debug/Classes_8_Invoice.vshost.exe.manifest diff --git a/maltsev/Task2/Classes_8_Invoice/Classes_8_Invoice/obj/Debug/Classes_8_Invoice.csproj.FileListAbsolute.txt b/maltsev/Task2/Classes_8_Invoice/Classes_8_Invoice/obj/Debug/Classes_8_Invoice.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..eeba3ac --- /dev/null +++ b/maltsev/Task2/Classes_8_Invoice/Classes_8_Invoice/obj/Debug/Classes_8_Invoice.csproj.FileListAbsolute.txt @@ -0,0 +1,6 @@ +c:\users\svezho\documents\visual studio 2015\Projects\Classes_8_Invoice\Classes_8_Invoice\bin\Debug\Classes_8_Invoice.exe.config +c:\users\svezho\documents\visual studio 2015\Projects\Classes_8_Invoice\Classes_8_Invoice\obj\Debug\Classes_8_Invoice.exe +c:\users\svezho\documents\visual studio 2015\Projects\Classes_8_Invoice\Classes_8_Invoice\obj\Debug\Classes_8_Invoice.pdb +c:\users\svezho\documents\visual studio 2015\Projects\Classes_8_Invoice\Classes_8_Invoice\obj\Debug\Classes_8_Invoice.csprojResolveAssemblyReference.cache +c:\users\svezho\documents\visual studio 2015\Projects\Classes_8_Invoice\Classes_8_Invoice\bin\Debug\Classes_8_Invoice.exe +c:\users\svezho\documents\visual studio 2015\Projects\Classes_8_Invoice\Classes_8_Invoice\bin\Debug\Classes_8_Invoice.pdb diff --git a/maltsev/Task2/Classes_8_Invoice/Classes_8_Invoice/obj/Debug/Classes_8_Invoice.csprojResolveAssemblyReference.cache b/maltsev/Task2/Classes_8_Invoice/Classes_8_Invoice/obj/Debug/Classes_8_Invoice.csprojResolveAssemblyReference.cache new file mode 100644 index 0000000..362dcb9 Binary files /dev/null and b/maltsev/Task2/Classes_8_Invoice/Classes_8_Invoice/obj/Debug/Classes_8_Invoice.csprojResolveAssemblyReference.cache differ diff --git a/maltsev/Task2/Classes_8_Invoice/Classes_8_Invoice/obj/Debug/Classes_8_Invoice.exe b/maltsev/Task2/Classes_8_Invoice/Classes_8_Invoice/obj/Debug/Classes_8_Invoice.exe new file mode 100644 index 0000000..ca3d023 Binary files /dev/null and b/maltsev/Task2/Classes_8_Invoice/Classes_8_Invoice/obj/Debug/Classes_8_Invoice.exe differ diff --git a/maltsev/Task2/Classes_8_Invoice/Classes_8_Invoice/obj/Debug/Classes_8_Invoice.pdb b/maltsev/Task2/Classes_8_Invoice/Classes_8_Invoice/obj/Debug/Classes_8_Invoice.pdb new file mode 100644 index 0000000..1cdc2f0 Binary files /dev/null and b/maltsev/Task2/Classes_8_Invoice/Classes_8_Invoice/obj/Debug/Classes_8_Invoice.pdb differ diff --git a/maltsev/Task2/Classes_8_Invoice/Classes_8_Invoice/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/maltsev/Task2/Classes_8_Invoice/Classes_8_Invoice/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache new file mode 100644 index 0000000..d04c16f Binary files /dev/null and b/maltsev/Task2/Classes_8_Invoice/Classes_8_Invoice/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/AlexandrTkachukTask1/CyclicConstructions/Task7GeeseAndRabbits/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs b/maltsev/Task2/Classes_8_Invoice/Classes_8_Invoice/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs similarity index 100% rename from AlexandrTkachukTask1/CyclicConstructions/Task7GeeseAndRabbits/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs rename to maltsev/Task2/Classes_8_Invoice/Classes_8_Invoice/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs diff --git a/AlexandrTkachukTask1/CyclicConstructions/Task7GeeseAndRabbits/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs b/maltsev/Task2/Classes_8_Invoice/Classes_8_Invoice/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs similarity index 100% rename from AlexandrTkachukTask1/CyclicConstructions/Task7GeeseAndRabbits/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs rename to maltsev/Task2/Classes_8_Invoice/Classes_8_Invoice/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs diff --git a/AlexandrTkachukTask1/CyclicConstructions/Task7GeeseAndRabbits/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs b/maltsev/Task2/Classes_8_Invoice/Classes_8_Invoice/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs similarity index 100% rename from AlexandrTkachukTask1/CyclicConstructions/Task7GeeseAndRabbits/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs rename to maltsev/Task2/Classes_8_Invoice/Classes_8_Invoice/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs diff --git a/maltsev/Task3/Inheritance_ClassRoom/.vs/Inheritance_ClassRoom/v14/.suo b/maltsev/Task3/Inheritance_ClassRoom/.vs/Inheritance_ClassRoom/v14/.suo new file mode 100644 index 0000000..7e2f57c Binary files /dev/null and b/maltsev/Task3/Inheritance_ClassRoom/.vs/Inheritance_ClassRoom/v14/.suo differ diff --git a/Task_1_Basics/2_8_Lottery/App.config b/maltsev/Task3/Inheritance_ClassRoom/Inharitance_ClassRoom/App.config similarity index 100% rename from Task_1_Basics/2_8_Lottery/App.config rename to maltsev/Task3/Inheritance_ClassRoom/Inharitance_ClassRoom/App.config diff --git a/maltsev/Task3/Inheritance_ClassRoom/Inharitance_ClassRoom/Inheritance_ClassRoom.csproj b/maltsev/Task3/Inheritance_ClassRoom/Inharitance_ClassRoom/Inheritance_ClassRoom.csproj new file mode 100644 index 0000000..8b5eda5 --- /dev/null +++ b/maltsev/Task3/Inheritance_ClassRoom/Inharitance_ClassRoom/Inheritance_ClassRoom.csproj @@ -0,0 +1,60 @@ + + + + + Debug + AnyCPU + {BA10AA24-80C2-4E0A-8105-23F4952B2825} + Exe + Properties + Inharitance_ClassRoom + Inharitance_ClassRoom + v4.5.2 + 512 + true + + + AnyCPU + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + AnyCPU + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/maltsev/Task3/Inheritance_ClassRoom/Inharitance_ClassRoom/Program.cs b/maltsev/Task3/Inheritance_ClassRoom/Inharitance_ClassRoom/Program.cs new file mode 100644 index 0000000..7655554 --- /dev/null +++ b/maltsev/Task3/Inheritance_ClassRoom/Inharitance_ClassRoom/Program.cs @@ -0,0 +1,116 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Inheritance_ClassRoom +{ + class ClassRoom + { + public ClassRoom(Pupil[] pupils) + { + if (pupils.Length >= 2 && pupils.Length <= 4) + { + foreach (var item in pupils) + { + item.Study(); + item.Read(); + item.Write(); + item.Relax(); + Console.WriteLine(); + } + } + else Console.WriteLine("Error"); + } + } + class Pupil + { + public virtual void Study() + { + Console.WriteLine("Pupil.Study"); + } + public virtual void Read() + { + Console.WriteLine("Pupil.Read"); + } + public virtual void Write() + { + Console.WriteLine("Pupil.Write"); + } + public virtual void Relax() + { + Console.WriteLine("Pupil.Relax"); + } + } + class ExcelentPupil : Pupil + { + public override void Study() + { + Console.WriteLine("ExcelentPupil.Study"); + } + public override void Read() + { + Console.WriteLine("ExcelentPupil.Read"); + } + public override void Write() + { + Console.WriteLine("ExcelentPupil.Write"); + } + public override void Relax() + { + Console.WriteLine("ExcelentPupil.Relax"); + } + } + class GoodPupil : Pupil + { + public override void Study() + { + Console.WriteLine("GoodPupil.Study"); + } + public override void Read() + { + Console.WriteLine("GoodPupil.Read"); + } + public override void Write() + { + Console.WriteLine("GoodPupil.Write"); + } + public override void Relax() + { + Console.WriteLine("GoodPupil.Relax"); + } + } + class BadPupil : Pupil + { + public override void Study() + { + Console.WriteLine("BadPupil.Study"); + } + public override void Read() + { + Console.WriteLine("BadPupil.Read"); + } + public override void Write() + { + Console.WriteLine("BadPupil.Write"); + } + public override void Relax() + { + Console.WriteLine("BadPupil.Relax"); + } + } + class Program + { + static void Main(string[] args) + { + Pupil[] pupils = new Pupil[4]; + pupils[0] = new ExcelentPupil(); + pupils[1] = new ExcelentPupil(); + pupils[2] = new GoodPupil(); + pupils[3] = new BadPupil(); + ClassRoom cl = new ClassRoom(pupils); + Console.ReadKey(); + } + } +} diff --git a/maltsev/Task3/Inheritance_ClassRoom/Inharitance_ClassRoom/Properties/AssemblyInfo.cs b/maltsev/Task3/Inheritance_ClassRoom/Inharitance_ClassRoom/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..b6a201d --- /dev/null +++ b/maltsev/Task3/Inheritance_ClassRoom/Inharitance_ClassRoom/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Inharitance_ClassRoom")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("Inharitance_ClassRoom")] +[assembly: AssemblyCopyright("Copyright © 2016")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("ba10aa24-80c2-4e0a-8105-23f4952b2825")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/maltsev/Task3/Inheritance_ClassRoom/Inharitance_ClassRoom/bin/Debug/Inharitance_ClassRoom.exe b/maltsev/Task3/Inheritance_ClassRoom/Inharitance_ClassRoom/bin/Debug/Inharitance_ClassRoom.exe new file mode 100644 index 0000000..0e7fb6b Binary files /dev/null and b/maltsev/Task3/Inheritance_ClassRoom/Inharitance_ClassRoom/bin/Debug/Inharitance_ClassRoom.exe differ diff --git a/Task_1_Basics/2_7_SimpleNumber/bin/Debug/2_7_SimpleNumber.exe.config b/maltsev/Task3/Inheritance_ClassRoom/Inharitance_ClassRoom/bin/Debug/Inharitance_ClassRoom.exe.config similarity index 100% rename from Task_1_Basics/2_7_SimpleNumber/bin/Debug/2_7_SimpleNumber.exe.config rename to maltsev/Task3/Inheritance_ClassRoom/Inharitance_ClassRoom/bin/Debug/Inharitance_ClassRoom.exe.config diff --git a/maltsev/Task3/Inheritance_ClassRoom/Inharitance_ClassRoom/bin/Debug/Inharitance_ClassRoom.pdb b/maltsev/Task3/Inheritance_ClassRoom/Inharitance_ClassRoom/bin/Debug/Inharitance_ClassRoom.pdb new file mode 100644 index 0000000..9762ae9 Binary files /dev/null and b/maltsev/Task3/Inheritance_ClassRoom/Inharitance_ClassRoom/bin/Debug/Inharitance_ClassRoom.pdb differ diff --git a/Task_1_Basics/2_7_SimpleNumber/bin/Debug/2_7_SimpleNumber.vshost.exe b/maltsev/Task3/Inheritance_ClassRoom/Inharitance_ClassRoom/bin/Debug/Inharitance_ClassRoom.vshost.exe similarity index 100% rename from Task_1_Basics/2_7_SimpleNumber/bin/Debug/2_7_SimpleNumber.vshost.exe rename to maltsev/Task3/Inheritance_ClassRoom/Inharitance_ClassRoom/bin/Debug/Inharitance_ClassRoom.vshost.exe diff --git a/Task_1_Basics/2_7_SimpleNumber/bin/Debug/2_7_SimpleNumber.vshost.exe.config b/maltsev/Task3/Inheritance_ClassRoom/Inharitance_ClassRoom/bin/Debug/Inharitance_ClassRoom.vshost.exe.config similarity index 100% rename from Task_1_Basics/2_7_SimpleNumber/bin/Debug/2_7_SimpleNumber.vshost.exe.config rename to maltsev/Task3/Inheritance_ClassRoom/Inharitance_ClassRoom/bin/Debug/Inharitance_ClassRoom.vshost.exe.config diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task4GoodAndBad/bin/Debug/Task4GoodAndBad.vshost.exe.manifest" b/maltsev/Task3/Inheritance_ClassRoom/Inharitance_ClassRoom/bin/Debug/Inharitance_ClassRoom.vshost.exe.manifest similarity index 100% rename from "AlexandrTkachukTask1/\320\241onditionalConstructions/Task4GoodAndBad/bin/Debug/Task4GoodAndBad.vshost.exe.manifest" rename to maltsev/Task3/Inheritance_ClassRoom/Inharitance_ClassRoom/bin/Debug/Inharitance_ClassRoom.vshost.exe.manifest diff --git a/maltsev/Task3/Inheritance_ClassRoom/Inharitance_ClassRoom/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/maltsev/Task3/Inheritance_ClassRoom/Inharitance_ClassRoom/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache new file mode 100644 index 0000000..10752a9 Binary files /dev/null and b/maltsev/Task3/Inheritance_ClassRoom/Inharitance_ClassRoom/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/maltsev/Task3/Inheritance_ClassRoom/Inharitance_ClassRoom/obj/Debug/Inharitance_ClassRoom.csproj.FileListAbsolute.txt b/maltsev/Task3/Inheritance_ClassRoom/Inharitance_ClassRoom/obj/Debug/Inharitance_ClassRoom.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..80f9b5e --- /dev/null +++ b/maltsev/Task3/Inheritance_ClassRoom/Inharitance_ClassRoom/obj/Debug/Inharitance_ClassRoom.csproj.FileListAbsolute.txt @@ -0,0 +1,6 @@ +c:\users\svezho\documents\visual studio 2015\Projects\Inharitance_ClassRoom\Inharitance_ClassRoom\bin\Debug\Inharitance_ClassRoom.exe.config +c:\users\svezho\documents\visual studio 2015\Projects\Inharitance_ClassRoom\Inharitance_ClassRoom\bin\Debug\Inharitance_ClassRoom.exe +c:\users\svezho\documents\visual studio 2015\Projects\Inharitance_ClassRoom\Inharitance_ClassRoom\bin\Debug\Inharitance_ClassRoom.pdb +c:\users\svezho\documents\visual studio 2015\Projects\Inharitance_ClassRoom\Inharitance_ClassRoom\obj\Debug\Inharitance_ClassRoom.csprojResolveAssemblyReference.cache +c:\users\svezho\documents\visual studio 2015\Projects\Inharitance_ClassRoom\Inharitance_ClassRoom\obj\Debug\Inharitance_ClassRoom.exe +c:\users\svezho\documents\visual studio 2015\Projects\Inharitance_ClassRoom\Inharitance_ClassRoom\obj\Debug\Inharitance_ClassRoom.pdb diff --git a/maltsev/Task3/Inheritance_ClassRoom/Inharitance_ClassRoom/obj/Debug/Inharitance_ClassRoom.csprojResolveAssemblyReference.cache b/maltsev/Task3/Inheritance_ClassRoom/Inharitance_ClassRoom/obj/Debug/Inharitance_ClassRoom.csprojResolveAssemblyReference.cache new file mode 100644 index 0000000..362dcb9 Binary files /dev/null and b/maltsev/Task3/Inheritance_ClassRoom/Inharitance_ClassRoom/obj/Debug/Inharitance_ClassRoom.csprojResolveAssemblyReference.cache differ diff --git a/maltsev/Task3/Inheritance_ClassRoom/Inharitance_ClassRoom/obj/Debug/Inharitance_ClassRoom.exe b/maltsev/Task3/Inheritance_ClassRoom/Inharitance_ClassRoom/obj/Debug/Inharitance_ClassRoom.exe new file mode 100644 index 0000000..0e7fb6b Binary files /dev/null and b/maltsev/Task3/Inheritance_ClassRoom/Inharitance_ClassRoom/obj/Debug/Inharitance_ClassRoom.exe differ diff --git a/maltsev/Task3/Inheritance_ClassRoom/Inharitance_ClassRoom/obj/Debug/Inharitance_ClassRoom.pdb b/maltsev/Task3/Inheritance_ClassRoom/Inharitance_ClassRoom/obj/Debug/Inharitance_ClassRoom.pdb new file mode 100644 index 0000000..9762ae9 Binary files /dev/null and b/maltsev/Task3/Inheritance_ClassRoom/Inharitance_ClassRoom/obj/Debug/Inharitance_ClassRoom.pdb differ diff --git a/maltsev/Task3/Inheritance_ClassRoom/Inharitance_ClassRoom/obj/Debug/Inheritance_ClassRoom.csproj.FileListAbsolute.txt b/maltsev/Task3/Inheritance_ClassRoom/Inharitance_ClassRoom/obj/Debug/Inheritance_ClassRoom.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..d0eb588 --- /dev/null +++ b/maltsev/Task3/Inheritance_ClassRoom/Inharitance_ClassRoom/obj/Debug/Inheritance_ClassRoom.csproj.FileListAbsolute.txt @@ -0,0 +1,5 @@ +C:\Users\svezho\Documents\Visual Studio 2015\Projects\Inharitance_ClassRoom\Inharitance_ClassRoom\bin\Debug\Inharitance_ClassRoom.exe.config +C:\Users\svezho\Documents\Visual Studio 2015\Projects\Inharitance_ClassRoom\Inharitance_ClassRoom\bin\Debug\Inharitance_ClassRoom.exe +C:\Users\svezho\Documents\Visual Studio 2015\Projects\Inharitance_ClassRoom\Inharitance_ClassRoom\bin\Debug\Inharitance_ClassRoom.pdb +C:\Users\svezho\Documents\Visual Studio 2015\Projects\Inharitance_ClassRoom\Inharitance_ClassRoom\obj\Debug\Inharitance_ClassRoom.exe +C:\Users\svezho\Documents\Visual Studio 2015\Projects\Inharitance_ClassRoom\Inharitance_ClassRoom\obj\Debug\Inharitance_ClassRoom.pdb diff --git a/AlexandrTkachukTask1/CyclicConstructions/Task8CorrectPassword/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs b/maltsev/Task3/Inheritance_ClassRoom/Inharitance_ClassRoom/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs similarity index 100% rename from AlexandrTkachukTask1/CyclicConstructions/Task8CorrectPassword/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs rename to maltsev/Task3/Inheritance_ClassRoom/Inharitance_ClassRoom/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs diff --git a/AlexandrTkachukTask1/CyclicConstructions/Task8CorrectPassword/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs b/maltsev/Task3/Inheritance_ClassRoom/Inharitance_ClassRoom/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs similarity index 100% rename from AlexandrTkachukTask1/CyclicConstructions/Task8CorrectPassword/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs rename to maltsev/Task3/Inheritance_ClassRoom/Inharitance_ClassRoom/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs diff --git a/AlexandrTkachukTask1/CyclicConstructions/Task8CorrectPassword/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs b/maltsev/Task3/Inheritance_ClassRoom/Inharitance_ClassRoom/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs similarity index 100% rename from AlexandrTkachukTask1/CyclicConstructions/Task8CorrectPassword/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs rename to maltsev/Task3/Inheritance_ClassRoom/Inharitance_ClassRoom/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs diff --git a/maltsev/Task3/Inheritance_ClassRoom/Inheritance_ClassRoom.sln b/maltsev/Task3/Inheritance_ClassRoom/Inheritance_ClassRoom.sln new file mode 100644 index 0000000..2859bfe --- /dev/null +++ b/maltsev/Task3/Inheritance_ClassRoom/Inheritance_ClassRoom.sln @@ -0,0 +1,22 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 14 +VisualStudioVersion = 14.0.25420.1 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Inheritance_ClassRoom", "Inharitance_ClassRoom\Inheritance_ClassRoom.csproj", "{BA10AA24-80C2-4E0A-8105-23F4952B2825}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {BA10AA24-80C2-4E0A-8105-23F4952B2825}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {BA10AA24-80C2-4E0A-8105-23F4952B2825}.Debug|Any CPU.Build.0 = Debug|Any CPU + {BA10AA24-80C2-4E0A-8105-23F4952B2825}.Release|Any CPU.ActiveCfg = Release|Any CPU + {BA10AA24-80C2-4E0A-8105-23F4952B2825}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/maltsev/Task3/Inheritance_DocumentWorker/.vs/Inheritance_DocumentWorker/v14/.suo b/maltsev/Task3/Inheritance_DocumentWorker/.vs/Inheritance_DocumentWorker/v14/.suo new file mode 100644 index 0000000..9aa7c20 Binary files /dev/null and b/maltsev/Task3/Inheritance_DocumentWorker/.vs/Inheritance_DocumentWorker/v14/.suo differ diff --git a/maltsev/Task3/Inheritance_DocumentWorker/Inheritance_DocumentWorker.sln b/maltsev/Task3/Inheritance_DocumentWorker/Inheritance_DocumentWorker.sln new file mode 100644 index 0000000..e1bd176 --- /dev/null +++ b/maltsev/Task3/Inheritance_DocumentWorker/Inheritance_DocumentWorker.sln @@ -0,0 +1,22 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 14 +VisualStudioVersion = 14.0.25420.1 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Inheritance_DocumentWorker", "Inheritance_DocumentWorker\Inheritance_DocumentWorker.csproj", "{601F5A9B-953B-4794-B526-55E680AAB7B9}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {601F5A9B-953B-4794-B526-55E680AAB7B9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {601F5A9B-953B-4794-B526-55E680AAB7B9}.Debug|Any CPU.Build.0 = Debug|Any CPU + {601F5A9B-953B-4794-B526-55E680AAB7B9}.Release|Any CPU.ActiveCfg = Release|Any CPU + {601F5A9B-953B-4794-B526-55E680AAB7B9}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/Task_1_Basics/2_9_CurrencyExchanger/App.config b/maltsev/Task3/Inheritance_DocumentWorker/Inheritance_DocumentWorker/App.config similarity index 100% rename from Task_1_Basics/2_9_CurrencyExchanger/App.config rename to maltsev/Task3/Inheritance_DocumentWorker/Inheritance_DocumentWorker/App.config diff --git a/maltsev/Task3/Inheritance_DocumentWorker/Inheritance_DocumentWorker/Inheritance_DocumentWorker.csproj b/maltsev/Task3/Inheritance_DocumentWorker/Inheritance_DocumentWorker/Inheritance_DocumentWorker.csproj new file mode 100644 index 0000000..7cfcb38 --- /dev/null +++ b/maltsev/Task3/Inheritance_DocumentWorker/Inheritance_DocumentWorker/Inheritance_DocumentWorker.csproj @@ -0,0 +1,60 @@ + + + + + Debug + AnyCPU + {601F5A9B-953B-4794-B526-55E680AAB7B9} + Exe + Properties + Inheritance_DocumentWorker + Inheritance_DocumentWorker + v4.5.2 + 512 + true + + + AnyCPU + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + AnyCPU + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/maltsev/Task3/Inheritance_DocumentWorker/Inheritance_DocumentWorker/Program.cs b/maltsev/Task3/Inheritance_DocumentWorker/Inheritance_DocumentWorker/Program.cs new file mode 100644 index 0000000..354537f --- /dev/null +++ b/maltsev/Task3/Inheritance_DocumentWorker/Inheritance_DocumentWorker/Program.cs @@ -0,0 +1,73 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Inheritance_DocumentWorker +{ + class DocumentWorker + { + public void OpenDocument() + { + Console.WriteLine("Документ открыт"); + } + public virtual void EditDocument() + { + Console.WriteLine("Редактирование документа доступно в версии Про"); + } + public virtual void SaveDocument() + { + Console.WriteLine("Сохранение документа доступно в версии Про"); + } + } + class ProDocumentWorker: DocumentWorker + { + public override void EditDocument() + { + Console.WriteLine("Документ отредактирован"); + } + public override void SaveDocument() + { + Console.WriteLine("Документ сохранен в старом формате, сохранение в " + + "остальных форматах доступно в версии Эксперт"); + } + } + class ExpertDocumentWorker: ProDocumentWorker + { + public override void SaveDocument() + { + Console.WriteLine("Документ сохранен в новом формате"); + } + } + class Program + { + static void Main(string[] args) + { + Console.WriteLine("1: exp"); + Console.WriteLine("2: pro"); + Console.WriteLine("3: no key"); + + DocumentWorker worker = null; + int a = Convert.ToInt32(Console.ReadLine()); + + if (a == 1) + { + worker = new ExpertDocumentWorker(); + } + else if (a == 2) + { + worker = new ProDocumentWorker(); + } + else + { + worker = new DocumentWorker(); + } + worker.OpenDocument(); + worker.EditDocument(); + worker.SaveDocument(); + + Console.ReadKey(); + } + } +} diff --git a/maltsev/Task3/Inheritance_DocumentWorker/Inheritance_DocumentWorker/Properties/AssemblyInfo.cs b/maltsev/Task3/Inheritance_DocumentWorker/Inheritance_DocumentWorker/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..24b29fd --- /dev/null +++ b/maltsev/Task3/Inheritance_DocumentWorker/Inheritance_DocumentWorker/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Inheritance_DocumentWorker")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("Inheritance_DocumentWorker")] +[assembly: AssemblyCopyright("Copyright © 2016")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("601f5a9b-953b-4794-b526-55e680aab7b9")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/maltsev/Task3/Inheritance_DocumentWorker/Inheritance_DocumentWorker/bin/Debug/Inheritance_DocumentWorker.exe b/maltsev/Task3/Inheritance_DocumentWorker/Inheritance_DocumentWorker/bin/Debug/Inheritance_DocumentWorker.exe new file mode 100644 index 0000000..bf8724d Binary files /dev/null and b/maltsev/Task3/Inheritance_DocumentWorker/Inheritance_DocumentWorker/bin/Debug/Inheritance_DocumentWorker.exe differ diff --git a/Task_1_Basics/2_8_Lottery/bin/Debug/2_8_Lottery.exe.config b/maltsev/Task3/Inheritance_DocumentWorker/Inheritance_DocumentWorker/bin/Debug/Inheritance_DocumentWorker.exe.config similarity index 100% rename from Task_1_Basics/2_8_Lottery/bin/Debug/2_8_Lottery.exe.config rename to maltsev/Task3/Inheritance_DocumentWorker/Inheritance_DocumentWorker/bin/Debug/Inheritance_DocumentWorker.exe.config diff --git a/maltsev/Task3/Inheritance_DocumentWorker/Inheritance_DocumentWorker/bin/Debug/Inheritance_DocumentWorker.pdb b/maltsev/Task3/Inheritance_DocumentWorker/Inheritance_DocumentWorker/bin/Debug/Inheritance_DocumentWorker.pdb new file mode 100644 index 0000000..8cb2e57 Binary files /dev/null and b/maltsev/Task3/Inheritance_DocumentWorker/Inheritance_DocumentWorker/bin/Debug/Inheritance_DocumentWorker.pdb differ diff --git a/Task_1_Basics/2_8_Lottery/bin/Debug/2_8_Lottery.vshost.exe b/maltsev/Task3/Inheritance_DocumentWorker/Inheritance_DocumentWorker/bin/Debug/Inheritance_DocumentWorker.vshost.exe similarity index 100% rename from Task_1_Basics/2_8_Lottery/bin/Debug/2_8_Lottery.vshost.exe rename to maltsev/Task3/Inheritance_DocumentWorker/Inheritance_DocumentWorker/bin/Debug/Inheritance_DocumentWorker.vshost.exe diff --git a/Task_1_Basics/2_8_Lottery/bin/Debug/2_8_Lottery.vshost.exe.config b/maltsev/Task3/Inheritance_DocumentWorker/Inheritance_DocumentWorker/bin/Debug/Inheritance_DocumentWorker.vshost.exe.config similarity index 100% rename from Task_1_Basics/2_8_Lottery/bin/Debug/2_8_Lottery.vshost.exe.config rename to maltsev/Task3/Inheritance_DocumentWorker/Inheritance_DocumentWorker/bin/Debug/Inheritance_DocumentWorker.vshost.exe.config diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task5NumberOfDay/bin/Debug/Task5NumberOfDay.vshost.exe.manifest" b/maltsev/Task3/Inheritance_DocumentWorker/Inheritance_DocumentWorker/bin/Debug/Inheritance_DocumentWorker.vshost.exe.manifest similarity index 100% rename from "AlexandrTkachukTask1/\320\241onditionalConstructions/Task5NumberOfDay/bin/Debug/Task5NumberOfDay.vshost.exe.manifest" rename to maltsev/Task3/Inheritance_DocumentWorker/Inheritance_DocumentWorker/bin/Debug/Inheritance_DocumentWorker.vshost.exe.manifest diff --git a/maltsev/Task3/Inheritance_DocumentWorker/Inheritance_DocumentWorker/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/maltsev/Task3/Inheritance_DocumentWorker/Inheritance_DocumentWorker/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache new file mode 100644 index 0000000..665976b Binary files /dev/null and b/maltsev/Task3/Inheritance_DocumentWorker/Inheritance_DocumentWorker/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/maltsev/Task3/Inheritance_DocumentWorker/Inheritance_DocumentWorker/obj/Debug/Inheritance_DocumentWorker.csproj.FileListAbsolute.txt b/maltsev/Task3/Inheritance_DocumentWorker/Inheritance_DocumentWorker/obj/Debug/Inheritance_DocumentWorker.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..dcba577 --- /dev/null +++ b/maltsev/Task3/Inheritance_DocumentWorker/Inheritance_DocumentWorker/obj/Debug/Inheritance_DocumentWorker.csproj.FileListAbsolute.txt @@ -0,0 +1,6 @@ +c:\users\svezho\documents\visual studio 2015\Projects\Inheritance_DocumentWorker\Inheritance_DocumentWorker\bin\Debug\Inheritance_DocumentWorker.exe.config +C:\Users\svezho\Documents\Visual Studio 2015\Projects\Inheritance_DocumentWorker\Inheritance_DocumentWorker\bin\Debug\Inheritance_DocumentWorker.exe +C:\Users\svezho\Documents\Visual Studio 2015\Projects\Inheritance_DocumentWorker\Inheritance_DocumentWorker\bin\Debug\Inheritance_DocumentWorker.pdb +C:\Users\svezho\Documents\Visual Studio 2015\Projects\Inheritance_DocumentWorker\Inheritance_DocumentWorker\obj\Debug\Inheritance_DocumentWorker.csprojResolveAssemblyReference.cache +C:\Users\svezho\Documents\Visual Studio 2015\Projects\Inheritance_DocumentWorker\Inheritance_DocumentWorker\obj\Debug\Inheritance_DocumentWorker.exe +C:\Users\svezho\Documents\Visual Studio 2015\Projects\Inheritance_DocumentWorker\Inheritance_DocumentWorker\obj\Debug\Inheritance_DocumentWorker.pdb diff --git a/maltsev/Task3/Inheritance_DocumentWorker/Inheritance_DocumentWorker/obj/Debug/Inheritance_DocumentWorker.csprojResolveAssemblyReference.cache b/maltsev/Task3/Inheritance_DocumentWorker/Inheritance_DocumentWorker/obj/Debug/Inheritance_DocumentWorker.csprojResolveAssemblyReference.cache new file mode 100644 index 0000000..362dcb9 Binary files /dev/null and b/maltsev/Task3/Inheritance_DocumentWorker/Inheritance_DocumentWorker/obj/Debug/Inheritance_DocumentWorker.csprojResolveAssemblyReference.cache differ diff --git a/maltsev/Task3/Inheritance_DocumentWorker/Inheritance_DocumentWorker/obj/Debug/Inheritance_DocumentWorker.exe b/maltsev/Task3/Inheritance_DocumentWorker/Inheritance_DocumentWorker/obj/Debug/Inheritance_DocumentWorker.exe new file mode 100644 index 0000000..bf8724d Binary files /dev/null and b/maltsev/Task3/Inheritance_DocumentWorker/Inheritance_DocumentWorker/obj/Debug/Inheritance_DocumentWorker.exe differ diff --git a/maltsev/Task3/Inheritance_DocumentWorker/Inheritance_DocumentWorker/obj/Debug/Inheritance_DocumentWorker.pdb b/maltsev/Task3/Inheritance_DocumentWorker/Inheritance_DocumentWorker/obj/Debug/Inheritance_DocumentWorker.pdb new file mode 100644 index 0000000..8cb2e57 Binary files /dev/null and b/maltsev/Task3/Inheritance_DocumentWorker/Inheritance_DocumentWorker/obj/Debug/Inheritance_DocumentWorker.pdb differ diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task1GreaterNumber/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs" b/maltsev/Task3/Inheritance_DocumentWorker/Inheritance_DocumentWorker/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs similarity index 100% rename from "AlexandrTkachukTask1/\320\241onditionalConstructions/Task1GreaterNumber/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs" rename to maltsev/Task3/Inheritance_DocumentWorker/Inheritance_DocumentWorker/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task1GreaterNumber/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs" b/maltsev/Task3/Inheritance_DocumentWorker/Inheritance_DocumentWorker/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs similarity index 100% rename from "AlexandrTkachukTask1/\320\241onditionalConstructions/Task1GreaterNumber/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs" rename to maltsev/Task3/Inheritance_DocumentWorker/Inheritance_DocumentWorker/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task1GreaterNumber/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs" b/maltsev/Task3/Inheritance_DocumentWorker/Inheritance_DocumentWorker/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs similarity index 100% rename from "AlexandrTkachukTask1/\320\241onditionalConstructions/Task1GreaterNumber/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs" rename to maltsev/Task3/Inheritance_DocumentWorker/Inheritance_DocumentWorker/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs diff --git a/maltsev/Task3/Inheritance_Printers/.vs/Inheritance_Printers/v14/.suo b/maltsev/Task3/Inheritance_Printers/.vs/Inheritance_Printers/v14/.suo new file mode 100644 index 0000000..31d2ac1 Binary files /dev/null and b/maltsev/Task3/Inheritance_Printers/.vs/Inheritance_Printers/v14/.suo differ diff --git a/maltsev/Task3/Inheritance_Printers/Inheritance_Printers.sln b/maltsev/Task3/Inheritance_Printers/Inheritance_Printers.sln new file mode 100644 index 0000000..3dc3de6 --- /dev/null +++ b/maltsev/Task3/Inheritance_Printers/Inheritance_Printers.sln @@ -0,0 +1,22 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 14 +VisualStudioVersion = 14.0.25420.1 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Inheritance_Printers", "Inheritance_Printers\Inheritance_Printers.csproj", "{62B8D77B-F290-4638-9188-6F71A20F7863}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {62B8D77B-F290-4638-9188-6F71A20F7863}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {62B8D77B-F290-4638-9188-6F71A20F7863}.Debug|Any CPU.Build.0 = Debug|Any CPU + {62B8D77B-F290-4638-9188-6F71A20F7863}.Release|Any CPU.ActiveCfg = Release|Any CPU + {62B8D77B-F290-4638-9188-6F71A20F7863}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/Task_1_Basics/3_1_MultiplyTable/App.config b/maltsev/Task3/Inheritance_Printers/Inheritance_Printers/App.config similarity index 100% rename from Task_1_Basics/3_1_MultiplyTable/App.config rename to maltsev/Task3/Inheritance_Printers/Inheritance_Printers/App.config diff --git a/maltsev/Task3/Inheritance_Printers/Inheritance_Printers/Inheritance_Printers.csproj b/maltsev/Task3/Inheritance_Printers/Inheritance_Printers/Inheritance_Printers.csproj new file mode 100644 index 0000000..f9e9823 --- /dev/null +++ b/maltsev/Task3/Inheritance_Printers/Inheritance_Printers/Inheritance_Printers.csproj @@ -0,0 +1,60 @@ + + + + + Debug + AnyCPU + {62B8D77B-F290-4638-9188-6F71A20F7863} + Exe + Properties + Inheritance_Printers + Inheritance_Printers + v4.5.2 + 512 + true + + + AnyCPU + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + AnyCPU + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/maltsev/Task3/Inheritance_Printers/Inheritance_Printers/Program.cs b/maltsev/Task3/Inheritance_Printers/Inheritance_Printers/Program.cs new file mode 100644 index 0000000..53dea28 --- /dev/null +++ b/maltsev/Task3/Inheritance_Printers/Inheritance_Printers/Program.cs @@ -0,0 +1,43 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Inheritance_Printers +{ + class Printer + { + public virtual void Print(string value) + { + Console.WriteLine(value); + } + } + + class PrinterBlue : Printer + { + public override void Print(string value) + { + Console.ForegroundColor = ConsoleColor.Blue; + base.Print(value); + } + } + class PrinterGreen : Printer + { + public override void Print(string value) + { + Console.ForegroundColor = ConsoleColor.Green; + base.Print(value); + } + } + class Program + { + static void Main(string[] args) + { + Printer[] pr = new Printer [3] { new Printer(), new PrinterBlue(), new PrinterGreen()}; + foreach (var item in pr) + item.Print("Print me!"); + Console.ReadKey(); + } + } +} diff --git a/maltsev/Task3/Inheritance_Printers/Inheritance_Printers/Properties/AssemblyInfo.cs b/maltsev/Task3/Inheritance_Printers/Inheritance_Printers/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..645f2c2 --- /dev/null +++ b/maltsev/Task3/Inheritance_Printers/Inheritance_Printers/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Inheritance_Printers")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("Inheritance_Printers")] +[assembly: AssemblyCopyright("Copyright © 2016")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("62b8d77b-f290-4638-9188-6f71a20f7863")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/maltsev/Task3/Inheritance_Printers/Inheritance_Printers/bin/Debug/Inheritance_Printers.exe b/maltsev/Task3/Inheritance_Printers/Inheritance_Printers/bin/Debug/Inheritance_Printers.exe new file mode 100644 index 0000000..a6c928f Binary files /dev/null and b/maltsev/Task3/Inheritance_Printers/Inheritance_Printers/bin/Debug/Inheritance_Printers.exe differ diff --git a/Task_1_Basics/2_9_CurrencyExchanger/bin/Debug/2_9_CurrencyExchanger.exe.config b/maltsev/Task3/Inheritance_Printers/Inheritance_Printers/bin/Debug/Inheritance_Printers.exe.config similarity index 100% rename from Task_1_Basics/2_9_CurrencyExchanger/bin/Debug/2_9_CurrencyExchanger.exe.config rename to maltsev/Task3/Inheritance_Printers/Inheritance_Printers/bin/Debug/Inheritance_Printers.exe.config diff --git a/maltsev/Task3/Inheritance_Printers/Inheritance_Printers/bin/Debug/Inheritance_Printers.pdb b/maltsev/Task3/Inheritance_Printers/Inheritance_Printers/bin/Debug/Inheritance_Printers.pdb new file mode 100644 index 0000000..9825b88 Binary files /dev/null and b/maltsev/Task3/Inheritance_Printers/Inheritance_Printers/bin/Debug/Inheritance_Printers.pdb differ diff --git a/Task_1_Basics/2_9_CurrencyExchanger/bin/Debug/2_9_CurrencyExchanger.vshost.exe b/maltsev/Task3/Inheritance_Printers/Inheritance_Printers/bin/Debug/Inheritance_Printers.vshost.exe similarity index 100% rename from Task_1_Basics/2_9_CurrencyExchanger/bin/Debug/2_9_CurrencyExchanger.vshost.exe rename to maltsev/Task3/Inheritance_Printers/Inheritance_Printers/bin/Debug/Inheritance_Printers.vshost.exe diff --git a/Task_1_Basics/2_9_CurrencyExchanger/bin/Debug/2_9_CurrencyExchanger.vshost.exe.config b/maltsev/Task3/Inheritance_Printers/Inheritance_Printers/bin/Debug/Inheritance_Printers.vshost.exe.config similarity index 100% rename from Task_1_Basics/2_9_CurrencyExchanger/bin/Debug/2_9_CurrencyExchanger.vshost.exe.config rename to maltsev/Task3/Inheritance_Printers/Inheritance_Printers/bin/Debug/Inheritance_Printers.vshost.exe.config diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task6Taxi/bin/Debug/Task6Taxi.vshost.exe.manifest" b/maltsev/Task3/Inheritance_Printers/Inheritance_Printers/bin/Debug/Inheritance_Printers.vshost.exe.manifest similarity index 100% rename from "AlexandrTkachukTask1/\320\241onditionalConstructions/Task6Taxi/bin/Debug/Task6Taxi.vshost.exe.manifest" rename to maltsev/Task3/Inheritance_Printers/Inheritance_Printers/bin/Debug/Inheritance_Printers.vshost.exe.manifest diff --git a/maltsev/Task3/Inheritance_Printers/Inheritance_Printers/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/maltsev/Task3/Inheritance_Printers/Inheritance_Printers/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache new file mode 100644 index 0000000..1ec0349 Binary files /dev/null and b/maltsev/Task3/Inheritance_Printers/Inheritance_Printers/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/maltsev/Task3/Inheritance_Printers/Inheritance_Printers/obj/Debug/Inheritance_Printers.csproj.FileListAbsolute.txt b/maltsev/Task3/Inheritance_Printers/Inheritance_Printers/obj/Debug/Inheritance_Printers.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..2e2c4db --- /dev/null +++ b/maltsev/Task3/Inheritance_Printers/Inheritance_Printers/obj/Debug/Inheritance_Printers.csproj.FileListAbsolute.txt @@ -0,0 +1,6 @@ +c:\users\svezho\documents\visual studio 2015\Projects\Inheritance_Printers\Inheritance_Printers\bin\Debug\Inheritance_Printers.exe.config +c:\users\svezho\documents\visual studio 2015\Projects\Inheritance_Printers\Inheritance_Printers\bin\Debug\Inheritance_Printers.exe +c:\users\svezho\documents\visual studio 2015\Projects\Inheritance_Printers\Inheritance_Printers\bin\Debug\Inheritance_Printers.pdb +c:\users\svezho\documents\visual studio 2015\Projects\Inheritance_Printers\Inheritance_Printers\obj\Debug\Inheritance_Printers.csprojResolveAssemblyReference.cache +c:\users\svezho\documents\visual studio 2015\Projects\Inheritance_Printers\Inheritance_Printers\obj\Debug\Inheritance_Printers.exe +c:\users\svezho\documents\visual studio 2015\Projects\Inheritance_Printers\Inheritance_Printers\obj\Debug\Inheritance_Printers.pdb diff --git a/maltsev/Task3/Inheritance_Printers/Inheritance_Printers/obj/Debug/Inheritance_Printers.csprojResolveAssemblyReference.cache b/maltsev/Task3/Inheritance_Printers/Inheritance_Printers/obj/Debug/Inheritance_Printers.csprojResolveAssemblyReference.cache new file mode 100644 index 0000000..362dcb9 Binary files /dev/null and b/maltsev/Task3/Inheritance_Printers/Inheritance_Printers/obj/Debug/Inheritance_Printers.csprojResolveAssemblyReference.cache differ diff --git a/maltsev/Task3/Inheritance_Printers/Inheritance_Printers/obj/Debug/Inheritance_Printers.exe b/maltsev/Task3/Inheritance_Printers/Inheritance_Printers/obj/Debug/Inheritance_Printers.exe new file mode 100644 index 0000000..a6c928f Binary files /dev/null and b/maltsev/Task3/Inheritance_Printers/Inheritance_Printers/obj/Debug/Inheritance_Printers.exe differ diff --git a/maltsev/Task3/Inheritance_Printers/Inheritance_Printers/obj/Debug/Inheritance_Printers.pdb b/maltsev/Task3/Inheritance_Printers/Inheritance_Printers/obj/Debug/Inheritance_Printers.pdb new file mode 100644 index 0000000..9825b88 Binary files /dev/null and b/maltsev/Task3/Inheritance_Printers/Inheritance_Printers/obj/Debug/Inheritance_Printers.pdb differ diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task2CatAndDog/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs" b/maltsev/Task3/Inheritance_Printers/Inheritance_Printers/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs similarity index 100% rename from "AlexandrTkachukTask1/\320\241onditionalConstructions/Task2CatAndDog/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs" rename to maltsev/Task3/Inheritance_Printers/Inheritance_Printers/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task2CatAndDog/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs" b/maltsev/Task3/Inheritance_Printers/Inheritance_Printers/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs similarity index 100% rename from "AlexandrTkachukTask1/\320\241onditionalConstructions/Task2CatAndDog/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs" rename to maltsev/Task3/Inheritance_Printers/Inheritance_Printers/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task2CatAndDog/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs" b/maltsev/Task3/Inheritance_Printers/Inheritance_Printers/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs similarity index 100% rename from "AlexandrTkachukTask1/\320\241onditionalConstructions/Task2CatAndDog/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs" rename to maltsev/Task3/Inheritance_Printers/Inheritance_Printers/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs diff --git a/maltsev/Task3/Inheritance_Vehicle/.vs/Inheritance_Vehicle/v14/.suo b/maltsev/Task3/Inheritance_Vehicle/.vs/Inheritance_Vehicle/v14/.suo new file mode 100644 index 0000000..497c776 Binary files /dev/null and b/maltsev/Task3/Inheritance_Vehicle/.vs/Inheritance_Vehicle/v14/.suo differ diff --git a/Task_1_Basics/3_2_NumberRange/App.config b/maltsev/Task3/Inheritance_Vehicle/Inharitance_Vehicle/App.config similarity index 100% rename from Task_1_Basics/3_2_NumberRange/App.config rename to maltsev/Task3/Inheritance_Vehicle/Inharitance_Vehicle/App.config diff --git a/maltsev/Task3/Inheritance_Vehicle/Inharitance_Vehicle/Inheritance_Vehicle.csproj b/maltsev/Task3/Inheritance_Vehicle/Inharitance_Vehicle/Inheritance_Vehicle.csproj new file mode 100644 index 0000000..37a363d --- /dev/null +++ b/maltsev/Task3/Inheritance_Vehicle/Inharitance_Vehicle/Inheritance_Vehicle.csproj @@ -0,0 +1,60 @@ + + + + + Debug + AnyCPU + {545C17EC-317D-4700-8345-979407333FB1} + Exe + Properties + Inharitance_Vehicle + Inharitance_Vehicle + v4.5.2 + 512 + true + + + AnyCPU + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + AnyCPU + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/maltsev/Task3/Inheritance_Vehicle/Inharitance_Vehicle/Program.cs b/maltsev/Task3/Inheritance_Vehicle/Inharitance_Vehicle/Program.cs new file mode 100644 index 0000000..3d275e8 --- /dev/null +++ b/maltsev/Task3/Inheritance_Vehicle/Inharitance_Vehicle/Program.cs @@ -0,0 +1,89 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Inheritance_Vehicle +{ + class Vehicle + { + private double coordX; + private double coordY; + private double price; + private double speed; + private int yearMade; + public Vehicle(double coordX, double coordY, double price, double speed, int yearMade) + { + this.coordX = coordX; + this.coordY = coordY; + this.price = price; + this.speed = speed; + this.yearMade = yearMade; + } + public virtual void Info() + { + Console.WriteLine("coordX \t\t" + coordX); + Console.WriteLine("coordY \t\t" + coordY); + Console.WriteLine("price \t\t" + price); + Console.WriteLine("speed \t\t" + speed); + Console.WriteLine("yearMade \t" + yearMade); + } + } + class Plane: Vehicle + { + private int personsOnBoard; + private double height; + public Plane(double coordX, double coordY, double price, double speed, int yearMade, + int personsOnBoard, double height) : base(coordX, coordY, price, speed, yearMade) + { + this.personsOnBoard = personsOnBoard; + this.height = height; + } + public override void Info() + { + base.Info(); + Console.WriteLine("personsOnBoard \t" + personsOnBoard); + Console.WriteLine("height \t\t" + height); + } + } + class Car: Vehicle + { + public Car(double coordX, double coordY, double price, double speed, + int yearMade) : base(coordX, coordY, price, speed, yearMade){ } + } + class Ship: Vehicle + { + private int personsOnBoard; + private string destinationPort; + public Ship(double coordX, double coordY, double price, double speed, int yearMade, + int personsOnBoard, string destinationPort) : base(coordX, coordY, price, speed, yearMade) + { + this.personsOnBoard = personsOnBoard; + this.destinationPort = destinationPort; + } + public override void Info() + { + base.Info(); + Console.WriteLine("personsOnBoard \t" + personsOnBoard); + Console.WriteLine("destPort \t" + destinationPort); + } + } + class Program + { + static void Main(string[] args) + { + Vehicle[] veh = new Vehicle[3]; + veh[0] = new Plane(2324.1, 341.2, 34200.0, 300.0, 1985, 80, 3000.0); + veh[1] = new Car(223.1, 1134.2, 8000.0, 120.0, 1995); + veh[2] = new Ship(1234.1, 454463.2, 5500.0, 200.0, 1979, 400, "Carribean"); + + foreach (var item in veh) + { + item.Info(); + Console.WriteLine(); + } + Console.ReadKey(); + } + } +} diff --git a/maltsev/Task3/Inheritance_Vehicle/Inharitance_Vehicle/Properties/AssemblyInfo.cs b/maltsev/Task3/Inheritance_Vehicle/Inharitance_Vehicle/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..5b9ab8e --- /dev/null +++ b/maltsev/Task3/Inheritance_Vehicle/Inharitance_Vehicle/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Inharitance_Vehicle")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("Inharitance_Vehicle")] +[assembly: AssemblyCopyright("Copyright © 2016")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("545c17ec-317d-4700-8345-979407333fb1")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/maltsev/Task3/Inheritance_Vehicle/Inharitance_Vehicle/bin/Debug/Inharitance_Vehicle.exe b/maltsev/Task3/Inheritance_Vehicle/Inharitance_Vehicle/bin/Debug/Inharitance_Vehicle.exe new file mode 100644 index 0000000..70776af Binary files /dev/null and b/maltsev/Task3/Inheritance_Vehicle/Inharitance_Vehicle/bin/Debug/Inharitance_Vehicle.exe differ diff --git a/Task_1_Basics/3_1_MultiplyTable/bin/Debug/3_1_MultiplyTable.exe.config b/maltsev/Task3/Inheritance_Vehicle/Inharitance_Vehicle/bin/Debug/Inharitance_Vehicle.exe.config similarity index 100% rename from Task_1_Basics/3_1_MultiplyTable/bin/Debug/3_1_MultiplyTable.exe.config rename to maltsev/Task3/Inheritance_Vehicle/Inharitance_Vehicle/bin/Debug/Inharitance_Vehicle.exe.config diff --git a/maltsev/Task3/Inheritance_Vehicle/Inharitance_Vehicle/bin/Debug/Inharitance_Vehicle.pdb b/maltsev/Task3/Inheritance_Vehicle/Inharitance_Vehicle/bin/Debug/Inharitance_Vehicle.pdb new file mode 100644 index 0000000..bf79107 Binary files /dev/null and b/maltsev/Task3/Inheritance_Vehicle/Inharitance_Vehicle/bin/Debug/Inharitance_Vehicle.pdb differ diff --git a/Task_1_Basics/3_1_MultiplyTable/bin/Debug/3_1_MultiplyTable.vshost.exe b/maltsev/Task3/Inheritance_Vehicle/Inharitance_Vehicle/bin/Debug/Inharitance_Vehicle.vshost.exe similarity index 100% rename from Task_1_Basics/3_1_MultiplyTable/bin/Debug/3_1_MultiplyTable.vshost.exe rename to maltsev/Task3/Inheritance_Vehicle/Inharitance_Vehicle/bin/Debug/Inharitance_Vehicle.vshost.exe diff --git a/Task_1_Basics/3_1_MultiplyTable/bin/Debug/3_1_MultiplyTable.vshost.exe.config b/maltsev/Task3/Inheritance_Vehicle/Inharitance_Vehicle/bin/Debug/Inharitance_Vehicle.vshost.exe.config similarity index 100% rename from Task_1_Basics/3_1_MultiplyTable/bin/Debug/3_1_MultiplyTable.vshost.exe.config rename to maltsev/Task3/Inheritance_Vehicle/Inharitance_Vehicle/bin/Debug/Inharitance_Vehicle.vshost.exe.config diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task7IsDigitSimple/bin/Debug/Task7IsDigitSimple.vshost.exe.manifest" b/maltsev/Task3/Inheritance_Vehicle/Inharitance_Vehicle/bin/Debug/Inharitance_Vehicle.vshost.exe.manifest similarity index 100% rename from "AlexandrTkachukTask1/\320\241onditionalConstructions/Task7IsDigitSimple/bin/Debug/Task7IsDigitSimple.vshost.exe.manifest" rename to maltsev/Task3/Inheritance_Vehicle/Inharitance_Vehicle/bin/Debug/Inharitance_Vehicle.vshost.exe.manifest diff --git a/maltsev/Task3/Inheritance_Vehicle/Inharitance_Vehicle/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/maltsev/Task3/Inheritance_Vehicle/Inharitance_Vehicle/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache new file mode 100644 index 0000000..ebf5536 Binary files /dev/null and b/maltsev/Task3/Inheritance_Vehicle/Inharitance_Vehicle/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/maltsev/Task3/Inheritance_Vehicle/Inharitance_Vehicle/obj/Debug/Inharitance_Vehicle.csproj.FileListAbsolute.txt b/maltsev/Task3/Inheritance_Vehicle/Inharitance_Vehicle/obj/Debug/Inharitance_Vehicle.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..6be5870 --- /dev/null +++ b/maltsev/Task3/Inheritance_Vehicle/Inharitance_Vehicle/obj/Debug/Inharitance_Vehicle.csproj.FileListAbsolute.txt @@ -0,0 +1,6 @@ +c:\users\svezho\documents\visual studio 2015\Projects\Inharitance_Vehicle\Inharitance_Vehicle\bin\Debug\Inharitance_Vehicle.exe.config +c:\users\svezho\documents\visual studio 2015\Projects\Inharitance_Vehicle\Inharitance_Vehicle\bin\Debug\Inharitance_Vehicle.exe +c:\users\svezho\documents\visual studio 2015\Projects\Inharitance_Vehicle\Inharitance_Vehicle\bin\Debug\Inharitance_Vehicle.pdb +c:\users\svezho\documents\visual studio 2015\Projects\Inharitance_Vehicle\Inharitance_Vehicle\obj\Debug\Inharitance_Vehicle.csprojResolveAssemblyReference.cache +c:\users\svezho\documents\visual studio 2015\Projects\Inharitance_Vehicle\Inharitance_Vehicle\obj\Debug\Inharitance_Vehicle.exe +c:\users\svezho\documents\visual studio 2015\Projects\Inharitance_Vehicle\Inharitance_Vehicle\obj\Debug\Inharitance_Vehicle.pdb diff --git a/maltsev/Task3/Inheritance_Vehicle/Inharitance_Vehicle/obj/Debug/Inharitance_Vehicle.csprojResolveAssemblyReference.cache b/maltsev/Task3/Inheritance_Vehicle/Inharitance_Vehicle/obj/Debug/Inharitance_Vehicle.csprojResolveAssemblyReference.cache new file mode 100644 index 0000000..362dcb9 Binary files /dev/null and b/maltsev/Task3/Inheritance_Vehicle/Inharitance_Vehicle/obj/Debug/Inharitance_Vehicle.csprojResolveAssemblyReference.cache differ diff --git a/maltsev/Task3/Inheritance_Vehicle/Inharitance_Vehicle/obj/Debug/Inharitance_Vehicle.exe b/maltsev/Task3/Inheritance_Vehicle/Inharitance_Vehicle/obj/Debug/Inharitance_Vehicle.exe new file mode 100644 index 0000000..70776af Binary files /dev/null and b/maltsev/Task3/Inheritance_Vehicle/Inharitance_Vehicle/obj/Debug/Inharitance_Vehicle.exe differ diff --git a/maltsev/Task3/Inheritance_Vehicle/Inharitance_Vehicle/obj/Debug/Inharitance_Vehicle.pdb b/maltsev/Task3/Inheritance_Vehicle/Inharitance_Vehicle/obj/Debug/Inharitance_Vehicle.pdb new file mode 100644 index 0000000..bf79107 Binary files /dev/null and b/maltsev/Task3/Inheritance_Vehicle/Inharitance_Vehicle/obj/Debug/Inharitance_Vehicle.pdb differ diff --git a/maltsev/Task3/Inheritance_Vehicle/Inharitance_Vehicle/obj/Debug/Inheritance_Vehicle.csproj.FileListAbsolute.txt b/maltsev/Task3/Inheritance_Vehicle/Inharitance_Vehicle/obj/Debug/Inheritance_Vehicle.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..4aeedd8 --- /dev/null +++ b/maltsev/Task3/Inheritance_Vehicle/Inharitance_Vehicle/obj/Debug/Inheritance_Vehicle.csproj.FileListAbsolute.txt @@ -0,0 +1,5 @@ +C:\Users\svezho\Documents\Visual Studio 2015\Projects\Inheritance_Vehicle\Inharitance_Vehicle\bin\Debug\Inharitance_Vehicle.exe.config +C:\Users\svezho\Documents\Visual Studio 2015\Projects\Inheritance_Vehicle\Inharitance_Vehicle\obj\Debug\Inharitance_Vehicle.exe +C:\Users\svezho\Documents\Visual Studio 2015\Projects\Inheritance_Vehicle\Inharitance_Vehicle\obj\Debug\Inharitance_Vehicle.pdb +C:\Users\svezho\Documents\Visual Studio 2015\Projects\Inheritance_Vehicle\Inharitance_Vehicle\bin\Debug\Inharitance_Vehicle.exe +C:\Users\svezho\Documents\Visual Studio 2015\Projects\Inheritance_Vehicle\Inharitance_Vehicle\bin\Debug\Inharitance_Vehicle.pdb diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task3NumberOfMonth/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs" b/maltsev/Task3/Inheritance_Vehicle/Inharitance_Vehicle/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs similarity index 100% rename from "AlexandrTkachukTask1/\320\241onditionalConstructions/Task3NumberOfMonth/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs" rename to maltsev/Task3/Inheritance_Vehicle/Inharitance_Vehicle/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task3NumberOfMonth/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs" b/maltsev/Task3/Inheritance_Vehicle/Inharitance_Vehicle/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs similarity index 100% rename from "AlexandrTkachukTask1/\320\241onditionalConstructions/Task3NumberOfMonth/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs" rename to maltsev/Task3/Inheritance_Vehicle/Inharitance_Vehicle/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task3NumberOfMonth/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs" b/maltsev/Task3/Inheritance_Vehicle/Inharitance_Vehicle/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs similarity index 100% rename from "AlexandrTkachukTask1/\320\241onditionalConstructions/Task3NumberOfMonth/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs" rename to maltsev/Task3/Inheritance_Vehicle/Inharitance_Vehicle/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs diff --git a/maltsev/Task3/Inheritance_Vehicle/Inheritance_Vehicle.sln b/maltsev/Task3/Inheritance_Vehicle/Inheritance_Vehicle.sln new file mode 100644 index 0000000..48f35ba --- /dev/null +++ b/maltsev/Task3/Inheritance_Vehicle/Inheritance_Vehicle.sln @@ -0,0 +1,22 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 14 +VisualStudioVersion = 14.0.25420.1 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Inheritance_Vehicle", "Inharitance_Vehicle\Inheritance_Vehicle.csproj", "{545C17EC-317D-4700-8345-979407333FB1}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {545C17EC-317D-4700-8345-979407333FB1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {545C17EC-317D-4700-8345-979407333FB1}.Debug|Any CPU.Build.0 = Debug|Any CPU + {545C17EC-317D-4700-8345-979407333FB1}.Release|Any CPU.ActiveCfg = Release|Any CPU + {545C17EC-317D-4700-8345-979407333FB1}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/maltsev/Task4/Abstractions_1_AbstractHandler/.vs/Abstractions_1_AbstractHandler/v14/.suo b/maltsev/Task4/Abstractions_1_AbstractHandler/.vs/Abstractions_1_AbstractHandler/v14/.suo new file mode 100644 index 0000000..f947897 Binary files /dev/null and b/maltsev/Task4/Abstractions_1_AbstractHandler/.vs/Abstractions_1_AbstractHandler/v14/.suo differ diff --git a/maltsev/Task4/Abstractions_1_AbstractHandler/Abstractions_1_AbstractHandler.sln b/maltsev/Task4/Abstractions_1_AbstractHandler/Abstractions_1_AbstractHandler.sln new file mode 100644 index 0000000..9a3480a --- /dev/null +++ b/maltsev/Task4/Abstractions_1_AbstractHandler/Abstractions_1_AbstractHandler.sln @@ -0,0 +1,22 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 14 +VisualStudioVersion = 14.0.25420.1 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Abstractions_1_AbstractHandler", "Abstractions_1_AbstractHandler\Abstractions_1_AbstractHandler.csproj", "{419C08F9-37FB-4DAE-A8C2-366A8B848EAE}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {419C08F9-37FB-4DAE-A8C2-366A8B848EAE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {419C08F9-37FB-4DAE-A8C2-366A8B848EAE}.Debug|Any CPU.Build.0 = Debug|Any CPU + {419C08F9-37FB-4DAE-A8C2-366A8B848EAE}.Release|Any CPU.ActiveCfg = Release|Any CPU + {419C08F9-37FB-4DAE-A8C2-366A8B848EAE}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/maltsev/Task4/Abstractions_1_AbstractHandler/Abstractions_1_AbstractHandler/Abstractions_1_AbstractHandler.csproj b/maltsev/Task4/Abstractions_1_AbstractHandler/Abstractions_1_AbstractHandler/Abstractions_1_AbstractHandler.csproj new file mode 100644 index 0000000..0e5b1e7 --- /dev/null +++ b/maltsev/Task4/Abstractions_1_AbstractHandler/Abstractions_1_AbstractHandler/Abstractions_1_AbstractHandler.csproj @@ -0,0 +1,60 @@ + + + + + Debug + AnyCPU + {419C08F9-37FB-4DAE-A8C2-366A8B848EAE} + Exe + Properties + Abstractions_1_AbstractHandler + Abstractions_1_AbstractHandler + v4.5.2 + 512 + true + + + AnyCPU + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + AnyCPU + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Task_1_Basics/3_3_WhatNumber/App.config b/maltsev/Task4/Abstractions_1_AbstractHandler/Abstractions_1_AbstractHandler/App.config similarity index 100% rename from Task_1_Basics/3_3_WhatNumber/App.config rename to maltsev/Task4/Abstractions_1_AbstractHandler/Abstractions_1_AbstractHandler/App.config diff --git a/maltsev/Task4/Abstractions_1_AbstractHandler/Abstractions_1_AbstractHandler/Program.cs b/maltsev/Task4/Abstractions_1_AbstractHandler/Abstractions_1_AbstractHandler/Program.cs new file mode 100644 index 0000000..59b29ff --- /dev/null +++ b/maltsev/Task4/Abstractions_1_AbstractHandler/Abstractions_1_AbstractHandler/Program.cs @@ -0,0 +1,103 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Abstractions_1_AbstractHandler +{ + abstract class AbstractHandler + { + public abstract void Open(); + public abstract void Create(); + public abstract void Change(); + public abstract void Save(); + } + class XMLHandler: AbstractHandler + { + public override void Open() + { + Console.WriteLine("XMLHandler.Open"); + } + public override void Create() + { + Console.WriteLine("XMLHandler.Create"); + } + public override void Change() + { + Console.WriteLine("XMLHandler.Change"); + } + public override void Save() + { + Console.WriteLine("XMLHandler.Save"); + } + } + class TXTHandler: AbstractHandler + { + public override void Open() + { + Console.WriteLine("TXTHandlerOpen"); + } + public override void Create() + { + Console.WriteLine("TXTHandler.Create"); + } + public override void Change() + { + Console.WriteLine("TXTHandler.Change"); + } + public override void Save() + { + Console.WriteLine("TXTHandler.Save"); + } + } + class DOCHandle: AbstractHandler + { + public override void Open() + { + Console.WriteLine("DOCHandle.Open"); + } + public override void Create() + { + Console.WriteLine("DOCHandle.Create"); + } + public override void Change() + { + Console.WriteLine("DOCHandle.Change"); + } + public override void Save() + { + Console.WriteLine("DOCHandle.Save"); + } + } + class Program + { + static void Main(string[] args) + { + AbstractHandler docum = null; + + Console.WriteLine("xml || txt || doc"); + string str = Console.ReadLine(); + + if(str == "xml") + { + docum = new XMLHandler(); + } + else if( str == "txt") + { + docum = new TXTHandler(); + } + else + { + docum = new DOCHandle(); + } + + docum.Open(); + docum.Create(); + docum.Change(); + docum.Save(); + + Console.ReadKey(); + } + } +} diff --git a/maltsev/Task4/Abstractions_1_AbstractHandler/Abstractions_1_AbstractHandler/Properties/AssemblyInfo.cs b/maltsev/Task4/Abstractions_1_AbstractHandler/Abstractions_1_AbstractHandler/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..d1b9571 --- /dev/null +++ b/maltsev/Task4/Abstractions_1_AbstractHandler/Abstractions_1_AbstractHandler/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Abstractions_1_AbstractHandler")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("Abstractions_1_AbstractHandler")] +[assembly: AssemblyCopyright("Copyright © 2016")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("419c08f9-37fb-4dae-a8c2-366a8b848eae")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/maltsev/Task4/Abstractions_1_AbstractHandler/Abstractions_1_AbstractHandler/bin/Debug/Abstractions_1_AbstractHandler.exe b/maltsev/Task4/Abstractions_1_AbstractHandler/Abstractions_1_AbstractHandler/bin/Debug/Abstractions_1_AbstractHandler.exe new file mode 100644 index 0000000..b2836dc Binary files /dev/null and b/maltsev/Task4/Abstractions_1_AbstractHandler/Abstractions_1_AbstractHandler/bin/Debug/Abstractions_1_AbstractHandler.exe differ diff --git a/Task_1_Basics/3_2_NumberRange/bin/Debug/3_2_NumberRange.exe.config b/maltsev/Task4/Abstractions_1_AbstractHandler/Abstractions_1_AbstractHandler/bin/Debug/Abstractions_1_AbstractHandler.exe.config similarity index 100% rename from Task_1_Basics/3_2_NumberRange/bin/Debug/3_2_NumberRange.exe.config rename to maltsev/Task4/Abstractions_1_AbstractHandler/Abstractions_1_AbstractHandler/bin/Debug/Abstractions_1_AbstractHandler.exe.config diff --git a/maltsev/Task4/Abstractions_1_AbstractHandler/Abstractions_1_AbstractHandler/bin/Debug/Abstractions_1_AbstractHandler.pdb b/maltsev/Task4/Abstractions_1_AbstractHandler/Abstractions_1_AbstractHandler/bin/Debug/Abstractions_1_AbstractHandler.pdb new file mode 100644 index 0000000..e02f14f Binary files /dev/null and b/maltsev/Task4/Abstractions_1_AbstractHandler/Abstractions_1_AbstractHandler/bin/Debug/Abstractions_1_AbstractHandler.pdb differ diff --git a/Task_1_Basics/3_2_NumberRange/bin/Debug/3_2_NumberRange.vshost.exe b/maltsev/Task4/Abstractions_1_AbstractHandler/Abstractions_1_AbstractHandler/bin/Debug/Abstractions_1_AbstractHandler.vshost.exe similarity index 100% rename from Task_1_Basics/3_2_NumberRange/bin/Debug/3_2_NumberRange.vshost.exe rename to maltsev/Task4/Abstractions_1_AbstractHandler/Abstractions_1_AbstractHandler/bin/Debug/Abstractions_1_AbstractHandler.vshost.exe diff --git a/Task_1_Basics/3_2_NumberRange/bin/Debug/3_2_NumberRange.vshost.exe.config b/maltsev/Task4/Abstractions_1_AbstractHandler/Abstractions_1_AbstractHandler/bin/Debug/Abstractions_1_AbstractHandler.vshost.exe.config similarity index 100% rename from Task_1_Basics/3_2_NumberRange/bin/Debug/3_2_NumberRange.vshost.exe.config rename to maltsev/Task4/Abstractions_1_AbstractHandler/Abstractions_1_AbstractHandler/bin/Debug/Abstractions_1_AbstractHandler.vshost.exe.config diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task8Lottery/bin/Debug/Task8Lottery.vshost.exe.manifest" b/maltsev/Task4/Abstractions_1_AbstractHandler/Abstractions_1_AbstractHandler/bin/Debug/Abstractions_1_AbstractHandler.vshost.exe.manifest similarity index 100% rename from "AlexandrTkachukTask1/\320\241onditionalConstructions/Task8Lottery/bin/Debug/Task8Lottery.vshost.exe.manifest" rename to maltsev/Task4/Abstractions_1_AbstractHandler/Abstractions_1_AbstractHandler/bin/Debug/Abstractions_1_AbstractHandler.vshost.exe.manifest diff --git a/maltsev/Task4/Abstractions_1_AbstractHandler/Abstractions_1_AbstractHandler/obj/Debug/Abstractions_1_AbstractHandler.csproj.FileListAbsolute.txt b/maltsev/Task4/Abstractions_1_AbstractHandler/Abstractions_1_AbstractHandler/obj/Debug/Abstractions_1_AbstractHandler.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..bf18bd7 --- /dev/null +++ b/maltsev/Task4/Abstractions_1_AbstractHandler/Abstractions_1_AbstractHandler/obj/Debug/Abstractions_1_AbstractHandler.csproj.FileListAbsolute.txt @@ -0,0 +1,9 @@ +c:\users\svezho\documents\visual studio 2015\Projects\Abstractions_1_AbstractHandler\Abstractions_1_AbstractHandler\bin\Debug\Abstractions_1_AbstractHandler.exe.config +c:\users\svezho\documents\visual studio 2015\Projects\Abstractions_1_AbstractHandler\Abstractions_1_AbstractHandler\obj\Debug\Abstractions_1_AbstractHandler.csprojResolveAssemblyReference.cache +c:\users\svezho\documents\visual studio 2015\Projects\Abstractions_1_AbstractHandler\Abstractions_1_AbstractHandler\bin\Debug\Abstractions_1_AbstractHandler.exe +c:\users\svezho\documents\visual studio 2015\Projects\Abstractions_1_AbstractHandler\Abstractions_1_AbstractHandler\bin\Debug\Abstractions_1_AbstractHandler.pdb +c:\users\svezho\documents\visual studio 2015\Projects\Abstractions_1_AbstractHandler\Abstractions_1_AbstractHandler\obj\Debug\Abstractions_1_AbstractHandler.exe +c:\users\svezho\documents\visual studio 2015\Projects\Abstractions_1_AbstractHandler\Abstractions_1_AbstractHandler\obj\Debug\Abstractions_1_AbstractHandler.pdb +D:\ISD\CSharpCourse-2016\maltsev\Task4\Abstractions_1_AbstractHandler\Abstractions_1_AbstractHandler\bin\Debug\Abstractions_1_AbstractHandler.exe.config +D:\ISD\CSharpCourse-2016\maltsev\Task4\Abstractions_1_AbstractHandler\Abstractions_1_AbstractHandler\obj\Debug\Abstractions_1_AbstractHandler.exe +D:\ISD\CSharpCourse-2016\maltsev\Task4\Abstractions_1_AbstractHandler\Abstractions_1_AbstractHandler\obj\Debug\Abstractions_1_AbstractHandler.pdb diff --git a/maltsev/Task4/Abstractions_1_AbstractHandler/Abstractions_1_AbstractHandler/obj/Debug/Abstractions_1_AbstractHandler.csprojResolveAssemblyReference.cache b/maltsev/Task4/Abstractions_1_AbstractHandler/Abstractions_1_AbstractHandler/obj/Debug/Abstractions_1_AbstractHandler.csprojResolveAssemblyReference.cache new file mode 100644 index 0000000..362dcb9 Binary files /dev/null and b/maltsev/Task4/Abstractions_1_AbstractHandler/Abstractions_1_AbstractHandler/obj/Debug/Abstractions_1_AbstractHandler.csprojResolveAssemblyReference.cache differ diff --git a/maltsev/Task4/Abstractions_1_AbstractHandler/Abstractions_1_AbstractHandler/obj/Debug/Abstractions_1_AbstractHandler.exe b/maltsev/Task4/Abstractions_1_AbstractHandler/Abstractions_1_AbstractHandler/obj/Debug/Abstractions_1_AbstractHandler.exe new file mode 100644 index 0000000..b2836dc Binary files /dev/null and b/maltsev/Task4/Abstractions_1_AbstractHandler/Abstractions_1_AbstractHandler/obj/Debug/Abstractions_1_AbstractHandler.exe differ diff --git a/maltsev/Task4/Abstractions_1_AbstractHandler/Abstractions_1_AbstractHandler/obj/Debug/Abstractions_1_AbstractHandler.pdb b/maltsev/Task4/Abstractions_1_AbstractHandler/Abstractions_1_AbstractHandler/obj/Debug/Abstractions_1_AbstractHandler.pdb new file mode 100644 index 0000000..e02f14f Binary files /dev/null and b/maltsev/Task4/Abstractions_1_AbstractHandler/Abstractions_1_AbstractHandler/obj/Debug/Abstractions_1_AbstractHandler.pdb differ diff --git a/maltsev/Task4/Abstractions_1_AbstractHandler/Abstractions_1_AbstractHandler/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/maltsev/Task4/Abstractions_1_AbstractHandler/Abstractions_1_AbstractHandler/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache new file mode 100644 index 0000000..3b5ad7f Binary files /dev/null and b/maltsev/Task4/Abstractions_1_AbstractHandler/Abstractions_1_AbstractHandler/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task4GoodAndBad/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs" b/maltsev/Task4/Abstractions_1_AbstractHandler/Abstractions_1_AbstractHandler/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs similarity index 100% rename from "AlexandrTkachukTask1/\320\241onditionalConstructions/Task4GoodAndBad/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs" rename to maltsev/Task4/Abstractions_1_AbstractHandler/Abstractions_1_AbstractHandler/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task4GoodAndBad/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs" b/maltsev/Task4/Abstractions_1_AbstractHandler/Abstractions_1_AbstractHandler/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs similarity index 100% rename from "AlexandrTkachukTask1/\320\241onditionalConstructions/Task4GoodAndBad/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs" rename to maltsev/Task4/Abstractions_1_AbstractHandler/Abstractions_1_AbstractHandler/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task4GoodAndBad/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs" b/maltsev/Task4/Abstractions_1_AbstractHandler/Abstractions_1_AbstractHandler/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs similarity index 100% rename from "AlexandrTkachukTask1/\320\241onditionalConstructions/Task4GoodAndBad/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs" rename to maltsev/Task4/Abstractions_1_AbstractHandler/Abstractions_1_AbstractHandler/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs diff --git a/maltsev/Task4/Abstractions_2_Inerface/.vs/Abstractions_2_Inerface/v14/.suo b/maltsev/Task4/Abstractions_2_Inerface/.vs/Abstractions_2_Inerface/v14/.suo new file mode 100644 index 0000000..ae58f43 Binary files /dev/null and b/maltsev/Task4/Abstractions_2_Inerface/.vs/Abstractions_2_Inerface/v14/.suo differ diff --git a/maltsev/Task4/Abstractions_2_Inerface/Abstractions_2_Inerface.sln b/maltsev/Task4/Abstractions_2_Inerface/Abstractions_2_Inerface.sln new file mode 100644 index 0000000..7ee5b85 --- /dev/null +++ b/maltsev/Task4/Abstractions_2_Inerface/Abstractions_2_Inerface.sln @@ -0,0 +1,22 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 14 +VisualStudioVersion = 14.0.25420.1 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Abstractions_2_Inerface", "Abstractions_2_Inerface\Abstractions_2_Inerface.csproj", "{D6173568-132F-4C61-B5F0-219025D3A4A7}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {D6173568-132F-4C61-B5F0-219025D3A4A7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {D6173568-132F-4C61-B5F0-219025D3A4A7}.Debug|Any CPU.Build.0 = Debug|Any CPU + {D6173568-132F-4C61-B5F0-219025D3A4A7}.Release|Any CPU.ActiveCfg = Release|Any CPU + {D6173568-132F-4C61-B5F0-219025D3A4A7}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/maltsev/Task4/Abstractions_2_Inerface/Abstractions_2_Inerface/Abstractions_2_Inerface.csproj b/maltsev/Task4/Abstractions_2_Inerface/Abstractions_2_Inerface/Abstractions_2_Inerface.csproj new file mode 100644 index 0000000..49a5c14 --- /dev/null +++ b/maltsev/Task4/Abstractions_2_Inerface/Abstractions_2_Inerface/Abstractions_2_Inerface.csproj @@ -0,0 +1,60 @@ + + + + + Debug + AnyCPU + {D6173568-132F-4C61-B5F0-219025D3A4A7} + Exe + Properties + Abstractions_2_Inerface + Abstractions_2_Inerface + v4.5.2 + 512 + true + + + AnyCPU + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + AnyCPU + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Task_1_Basics/3_4_SquareNumbers/App.config b/maltsev/Task4/Abstractions_2_Inerface/Abstractions_2_Inerface/App.config similarity index 100% rename from Task_1_Basics/3_4_SquareNumbers/App.config rename to maltsev/Task4/Abstractions_2_Inerface/Abstractions_2_Inerface/App.config diff --git a/maltsev/Task4/Abstractions_2_Inerface/Abstractions_2_Inerface/Program.cs b/maltsev/Task4/Abstractions_2_Inerface/Abstractions_2_Inerface/Program.cs new file mode 100644 index 0000000..a7cf86b --- /dev/null +++ b/maltsev/Task4/Abstractions_2_Inerface/Abstractions_2_Inerface/Program.cs @@ -0,0 +1,65 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Abstractions_2_Inerface +{ + interface IPlayable + { + void Play(); + void Pause(); + void Stop(); + } + interface IRecordable + { + void Record(); + void Pause(); + void Stop(); + } + class Player: IPlayable, IRecordable + { + public void Play() + { + Console.WriteLine("Music is playing"); + } + void IPlayable.Pause() + { + Console.WriteLine("Music is paused"); + } + void IPlayable.Stop() + { + Console.WriteLine("Music is stopped"); + } + public void Record() + { + Console.WriteLine("Recording is started"); + } + void IRecordable.Pause() + { + Console.WriteLine("Recording is paused"); + } + void IRecordable.Stop() + { + Console.WriteLine("Recording is stopped"); + } + } + class Program + { + static void Main(string[] args) + { + Player player = new Player(); + + player.Record(); + (player as IRecordable).Pause(); + (player as IRecordable).Stop(); + + player.Play(); + (player as IPlayable).Pause(); + (player as IPlayable).Stop(); + + Console.ReadKey(); + } + } +} diff --git a/maltsev/Task4/Abstractions_2_Inerface/Abstractions_2_Inerface/Properties/AssemblyInfo.cs b/maltsev/Task4/Abstractions_2_Inerface/Abstractions_2_Inerface/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..e21c2f6 --- /dev/null +++ b/maltsev/Task4/Abstractions_2_Inerface/Abstractions_2_Inerface/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Abstractions_2_Inerface")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("Abstractions_2_Inerface")] +[assembly: AssemblyCopyright("Copyright © 2016")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("d6173568-132f-4c61-b5f0-219025d3a4a7")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/maltsev/Task4/Abstractions_2_Inerface/Abstractions_2_Inerface/bin/Debug/Abstractions_2_Inerface.exe b/maltsev/Task4/Abstractions_2_Inerface/Abstractions_2_Inerface/bin/Debug/Abstractions_2_Inerface.exe new file mode 100644 index 0000000..5e24278 Binary files /dev/null and b/maltsev/Task4/Abstractions_2_Inerface/Abstractions_2_Inerface/bin/Debug/Abstractions_2_Inerface.exe differ diff --git a/Task_1_Basics/3_3_WhatNumber/bin/Debug/3_3_WhatNumber.exe.config b/maltsev/Task4/Abstractions_2_Inerface/Abstractions_2_Inerface/bin/Debug/Abstractions_2_Inerface.exe.config similarity index 100% rename from Task_1_Basics/3_3_WhatNumber/bin/Debug/3_3_WhatNumber.exe.config rename to maltsev/Task4/Abstractions_2_Inerface/Abstractions_2_Inerface/bin/Debug/Abstractions_2_Inerface.exe.config diff --git a/maltsev/Task4/Abstractions_2_Inerface/Abstractions_2_Inerface/bin/Debug/Abstractions_2_Inerface.pdb b/maltsev/Task4/Abstractions_2_Inerface/Abstractions_2_Inerface/bin/Debug/Abstractions_2_Inerface.pdb new file mode 100644 index 0000000..cf6f8c1 Binary files /dev/null and b/maltsev/Task4/Abstractions_2_Inerface/Abstractions_2_Inerface/bin/Debug/Abstractions_2_Inerface.pdb differ diff --git a/Task_1_Basics/3_3_WhatNumber/bin/Debug/3_3_WhatNumber.vshost.exe b/maltsev/Task4/Abstractions_2_Inerface/Abstractions_2_Inerface/bin/Debug/Abstractions_2_Inerface.vshost.exe similarity index 100% rename from Task_1_Basics/3_3_WhatNumber/bin/Debug/3_3_WhatNumber.vshost.exe rename to maltsev/Task4/Abstractions_2_Inerface/Abstractions_2_Inerface/bin/Debug/Abstractions_2_Inerface.vshost.exe diff --git a/Task_1_Basics/3_3_WhatNumber/bin/Debug/3_3_WhatNumber.vshost.exe.config b/maltsev/Task4/Abstractions_2_Inerface/Abstractions_2_Inerface/bin/Debug/Abstractions_2_Inerface.vshost.exe.config similarity index 100% rename from Task_1_Basics/3_3_WhatNumber/bin/Debug/3_3_WhatNumber.vshost.exe.config rename to maltsev/Task4/Abstractions_2_Inerface/Abstractions_2_Inerface/bin/Debug/Abstractions_2_Inerface.vshost.exe.config diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task9CurrencyConverter/bin/Debug/Task9CurrencyConverter.vshost.exe.manifest" b/maltsev/Task4/Abstractions_2_Inerface/Abstractions_2_Inerface/bin/Debug/Abstractions_2_Inerface.vshost.exe.manifest similarity index 100% rename from "AlexandrTkachukTask1/\320\241onditionalConstructions/Task9CurrencyConverter/bin/Debug/Task9CurrencyConverter.vshost.exe.manifest" rename to maltsev/Task4/Abstractions_2_Inerface/Abstractions_2_Inerface/bin/Debug/Abstractions_2_Inerface.vshost.exe.manifest diff --git a/maltsev/Task4/Abstractions_2_Inerface/Abstractions_2_Inerface/obj/Debug/Abstractions_2_Inerface.csproj.FileListAbsolute.txt b/maltsev/Task4/Abstractions_2_Inerface/Abstractions_2_Inerface/obj/Debug/Abstractions_2_Inerface.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..efe1dea --- /dev/null +++ b/maltsev/Task4/Abstractions_2_Inerface/Abstractions_2_Inerface/obj/Debug/Abstractions_2_Inerface.csproj.FileListAbsolute.txt @@ -0,0 +1,6 @@ +c:\users\svezho\documents\visual studio 2015\Projects\Abstractions_2_Inerface\Abstractions_2_Inerface\bin\Debug\Abstractions_2_Inerface.exe.config +c:\users\svezho\documents\visual studio 2015\Projects\Abstractions_2_Inerface\Abstractions_2_Inerface\bin\Debug\Abstractions_2_Inerface.exe +c:\users\svezho\documents\visual studio 2015\Projects\Abstractions_2_Inerface\Abstractions_2_Inerface\bin\Debug\Abstractions_2_Inerface.pdb +c:\users\svezho\documents\visual studio 2015\Projects\Abstractions_2_Inerface\Abstractions_2_Inerface\obj\Debug\Abstractions_2_Inerface.csprojResolveAssemblyReference.cache +c:\users\svezho\documents\visual studio 2015\Projects\Abstractions_2_Inerface\Abstractions_2_Inerface\obj\Debug\Abstractions_2_Inerface.exe +c:\users\svezho\documents\visual studio 2015\Projects\Abstractions_2_Inerface\Abstractions_2_Inerface\obj\Debug\Abstractions_2_Inerface.pdb diff --git a/maltsev/Task4/Abstractions_2_Inerface/Abstractions_2_Inerface/obj/Debug/Abstractions_2_Inerface.csprojResolveAssemblyReference.cache b/maltsev/Task4/Abstractions_2_Inerface/Abstractions_2_Inerface/obj/Debug/Abstractions_2_Inerface.csprojResolveAssemblyReference.cache new file mode 100644 index 0000000..362dcb9 Binary files /dev/null and b/maltsev/Task4/Abstractions_2_Inerface/Abstractions_2_Inerface/obj/Debug/Abstractions_2_Inerface.csprojResolveAssemblyReference.cache differ diff --git a/maltsev/Task4/Abstractions_2_Inerface/Abstractions_2_Inerface/obj/Debug/Abstractions_2_Inerface.exe b/maltsev/Task4/Abstractions_2_Inerface/Abstractions_2_Inerface/obj/Debug/Abstractions_2_Inerface.exe new file mode 100644 index 0000000..5e24278 Binary files /dev/null and b/maltsev/Task4/Abstractions_2_Inerface/Abstractions_2_Inerface/obj/Debug/Abstractions_2_Inerface.exe differ diff --git a/maltsev/Task4/Abstractions_2_Inerface/Abstractions_2_Inerface/obj/Debug/Abstractions_2_Inerface.pdb b/maltsev/Task4/Abstractions_2_Inerface/Abstractions_2_Inerface/obj/Debug/Abstractions_2_Inerface.pdb new file mode 100644 index 0000000..cf6f8c1 Binary files /dev/null and b/maltsev/Task4/Abstractions_2_Inerface/Abstractions_2_Inerface/obj/Debug/Abstractions_2_Inerface.pdb differ diff --git a/maltsev/Task4/Abstractions_2_Inerface/Abstractions_2_Inerface/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/maltsev/Task4/Abstractions_2_Inerface/Abstractions_2_Inerface/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache new file mode 100644 index 0000000..eb6d2a3 Binary files /dev/null and b/maltsev/Task4/Abstractions_2_Inerface/Abstractions_2_Inerface/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task5NumberOfDay/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs" b/maltsev/Task4/Abstractions_2_Inerface/Abstractions_2_Inerface/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs similarity index 100% rename from "AlexandrTkachukTask1/\320\241onditionalConstructions/Task5NumberOfDay/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs" rename to maltsev/Task4/Abstractions_2_Inerface/Abstractions_2_Inerface/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task5NumberOfDay/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs" b/maltsev/Task4/Abstractions_2_Inerface/Abstractions_2_Inerface/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs similarity index 100% rename from "AlexandrTkachukTask1/\320\241onditionalConstructions/Task5NumberOfDay/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs" rename to maltsev/Task4/Abstractions_2_Inerface/Abstractions_2_Inerface/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task5NumberOfDay/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs" b/maltsev/Task4/Abstractions_2_Inerface/Abstractions_2_Inerface/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs similarity index 100% rename from "AlexandrTkachukTask1/\320\241onditionalConstructions/Task5NumberOfDay/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs" rename to maltsev/Task4/Abstractions_2_Inerface/Abstractions_2_Inerface/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs diff --git a/maltsev/Task5/Static_1_Calculator/.vs/Static_1_Calculator/v14/.suo b/maltsev/Task5/Static_1_Calculator/.vs/Static_1_Calculator/v14/.suo new file mode 100644 index 0000000..312c55d Binary files /dev/null and b/maltsev/Task5/Static_1_Calculator/.vs/Static_1_Calculator/v14/.suo differ diff --git a/maltsev/Task5/Static_1_Calculator/Static_1_Calculator.sln b/maltsev/Task5/Static_1_Calculator/Static_1_Calculator.sln new file mode 100644 index 0000000..b1ef7db --- /dev/null +++ b/maltsev/Task5/Static_1_Calculator/Static_1_Calculator.sln @@ -0,0 +1,22 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 14 +VisualStudioVersion = 14.0.25420.1 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Static_1_Calculator", "Static_1_Calculator\Static_1_Calculator.csproj", "{4D614D84-51AF-4F71-B7AC-C9AC33423F45}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {4D614D84-51AF-4F71-B7AC-C9AC33423F45}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {4D614D84-51AF-4F71-B7AC-C9AC33423F45}.Debug|Any CPU.Build.0 = Debug|Any CPU + {4D614D84-51AF-4F71-B7AC-C9AC33423F45}.Release|Any CPU.ActiveCfg = Release|Any CPU + {4D614D84-51AF-4F71-B7AC-C9AC33423F45}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/Task_1_Basics/3_5_MiddleArifmeticInput/App.config b/maltsev/Task5/Static_1_Calculator/Static_1_Calculator/App.config similarity index 100% rename from Task_1_Basics/3_5_MiddleArifmeticInput/App.config rename to maltsev/Task5/Static_1_Calculator/Static_1_Calculator/App.config diff --git a/maltsev/Task5/Static_1_Calculator/Static_1_Calculator/Program.cs b/maltsev/Task5/Static_1_Calculator/Static_1_Calculator/Program.cs new file mode 100644 index 0000000..130da81 --- /dev/null +++ b/maltsev/Task5/Static_1_Calculator/Static_1_Calculator/Program.cs @@ -0,0 +1,40 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Static_1_Calculator +{ + static class Calculator + { + static public double Add(double a, double b) + { + return a + b; + } + static public double Subtract(double a, double b) + { + return a - b; + } + static public double Multiply(double a, double b) + { + return a * b; + } + static public double Divide(double a, double b) + { + return a / b; + } + } + class Program + { + static void Main(string[] args) + { + Console.WriteLine("Calculator.Add(2, 8)\t\t" + Calculator.Add(2, 8)); + Console.WriteLine("Calculator.Subtract(40, 1)\t" + Calculator.Subtract(40, 1)); + Console.WriteLine("Calculator.Multiply(3, 10)\t" + Calculator.Multiply(3, 10)); + Console.WriteLine("Calculator.Divide(60, 20)\t" + Calculator.Divide(60, 20)); + + Console.ReadKey(); + } + } +} diff --git a/maltsev/Task5/Static_1_Calculator/Static_1_Calculator/Properties/AssemblyInfo.cs b/maltsev/Task5/Static_1_Calculator/Static_1_Calculator/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..f540b45 --- /dev/null +++ b/maltsev/Task5/Static_1_Calculator/Static_1_Calculator/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Static_1_Calculator")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("Static_1_Calculator")] +[assembly: AssemblyCopyright("Copyright © 2016")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("4d614d84-51af-4f71-b7ac-c9ac33423f45")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/maltsev/Task5/Static_1_Calculator/Static_1_Calculator/Static_1_Calculator.csproj b/maltsev/Task5/Static_1_Calculator/Static_1_Calculator/Static_1_Calculator.csproj new file mode 100644 index 0000000..12971dc --- /dev/null +++ b/maltsev/Task5/Static_1_Calculator/Static_1_Calculator/Static_1_Calculator.csproj @@ -0,0 +1,60 @@ + + + + + Debug + AnyCPU + {4D614D84-51AF-4F71-B7AC-C9AC33423F45} + Exe + Properties + Static_1_Calculator + Static_1_Calculator + v4.5.2 + 512 + true + + + AnyCPU + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + AnyCPU + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/maltsev/Task5/Static_1_Calculator/Static_1_Calculator/bin/Debug/Static_1_Calculator.exe b/maltsev/Task5/Static_1_Calculator/Static_1_Calculator/bin/Debug/Static_1_Calculator.exe new file mode 100644 index 0000000..c10103b Binary files /dev/null and b/maltsev/Task5/Static_1_Calculator/Static_1_Calculator/bin/Debug/Static_1_Calculator.exe differ diff --git a/Task_1_Basics/3_4_SquareNumbers/bin/Debug/3_4_SquareNumbers.exe.config b/maltsev/Task5/Static_1_Calculator/Static_1_Calculator/bin/Debug/Static_1_Calculator.exe.config similarity index 100% rename from Task_1_Basics/3_4_SquareNumbers/bin/Debug/3_4_SquareNumbers.exe.config rename to maltsev/Task5/Static_1_Calculator/Static_1_Calculator/bin/Debug/Static_1_Calculator.exe.config diff --git a/maltsev/Task5/Static_1_Calculator/Static_1_Calculator/bin/Debug/Static_1_Calculator.pdb b/maltsev/Task5/Static_1_Calculator/Static_1_Calculator/bin/Debug/Static_1_Calculator.pdb new file mode 100644 index 0000000..27c588c Binary files /dev/null and b/maltsev/Task5/Static_1_Calculator/Static_1_Calculator/bin/Debug/Static_1_Calculator.pdb differ diff --git a/Task_1_Basics/3_4_SquareNumbers/bin/Debug/3_4_SquareNumbers.vshost.exe b/maltsev/Task5/Static_1_Calculator/Static_1_Calculator/bin/Debug/Static_1_Calculator.vshost.exe similarity index 100% rename from Task_1_Basics/3_4_SquareNumbers/bin/Debug/3_4_SquareNumbers.vshost.exe rename to maltsev/Task5/Static_1_Calculator/Static_1_Calculator/bin/Debug/Static_1_Calculator.vshost.exe diff --git a/Task_1_Basics/3_4_SquareNumbers/bin/Debug/3_4_SquareNumbers.vshost.exe.config b/maltsev/Task5/Static_1_Calculator/Static_1_Calculator/bin/Debug/Static_1_Calculator.vshost.exe.config similarity index 100% rename from Task_1_Basics/3_4_SquareNumbers/bin/Debug/3_4_SquareNumbers.vshost.exe.config rename to maltsev/Task5/Static_1_Calculator/Static_1_Calculator/bin/Debug/Static_1_Calculator.vshost.exe.config diff --git a/Task_1_Basics/1_Strings/bin/Release/1_Strings.vshost.exe.manifest b/maltsev/Task5/Static_1_Calculator/Static_1_Calculator/bin/Debug/Static_1_Calculator.vshost.exe.manifest similarity index 100% rename from Task_1_Basics/1_Strings/bin/Release/1_Strings.vshost.exe.manifest rename to maltsev/Task5/Static_1_Calculator/Static_1_Calculator/bin/Debug/Static_1_Calculator.vshost.exe.manifest diff --git a/maltsev/Task5/Static_1_Calculator/Static_1_Calculator/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/maltsev/Task5/Static_1_Calculator/Static_1_Calculator/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache new file mode 100644 index 0000000..ea00ffd Binary files /dev/null and b/maltsev/Task5/Static_1_Calculator/Static_1_Calculator/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/maltsev/Task5/Static_1_Calculator/Static_1_Calculator/obj/Debug/Static_1_Calculator.csproj.FileListAbsolute.txt b/maltsev/Task5/Static_1_Calculator/Static_1_Calculator/obj/Debug/Static_1_Calculator.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..a042f25 --- /dev/null +++ b/maltsev/Task5/Static_1_Calculator/Static_1_Calculator/obj/Debug/Static_1_Calculator.csproj.FileListAbsolute.txt @@ -0,0 +1,9 @@ +c:\users\svezho\documents\visual studio 2015\Projects\Static_1_Calculator\Static_1_Calculator\bin\Debug\Static_1_Calculator.exe.config +c:\users\svezho\documents\visual studio 2015\Projects\Static_1_Calculator\Static_1_Calculator\bin\Debug\Static_1_Calculator.exe +c:\users\svezho\documents\visual studio 2015\Projects\Static_1_Calculator\Static_1_Calculator\bin\Debug\Static_1_Calculator.pdb +c:\users\svezho\documents\visual studio 2015\Projects\Static_1_Calculator\Static_1_Calculator\obj\Debug\Static_1_Calculator.csprojResolveAssemblyReference.cache +c:\users\svezho\documents\visual studio 2015\Projects\Static_1_Calculator\Static_1_Calculator\obj\Debug\Static_1_Calculator.exe +c:\users\svezho\documents\visual studio 2015\Projects\Static_1_Calculator\Static_1_Calculator\obj\Debug\Static_1_Calculator.pdb +D:\ISD\CSharpCourse-2016\maltsev\Task5\Static_1_Calculator\Static_1_Calculator\bin\Debug\Static_1_Calculator.exe.config +D:\ISD\CSharpCourse-2016\maltsev\Task5\Static_1_Calculator\Static_1_Calculator\obj\Debug\Static_1_Calculator.exe +D:\ISD\CSharpCourse-2016\maltsev\Task5\Static_1_Calculator\Static_1_Calculator\obj\Debug\Static_1_Calculator.pdb diff --git a/maltsev/Task5/Static_1_Calculator/Static_1_Calculator/obj/Debug/Static_1_Calculator.csprojResolveAssemblyReference.cache b/maltsev/Task5/Static_1_Calculator/Static_1_Calculator/obj/Debug/Static_1_Calculator.csprojResolveAssemblyReference.cache new file mode 100644 index 0000000..362dcb9 Binary files /dev/null and b/maltsev/Task5/Static_1_Calculator/Static_1_Calculator/obj/Debug/Static_1_Calculator.csprojResolveAssemblyReference.cache differ diff --git a/maltsev/Task5/Static_1_Calculator/Static_1_Calculator/obj/Debug/Static_1_Calculator.exe b/maltsev/Task5/Static_1_Calculator/Static_1_Calculator/obj/Debug/Static_1_Calculator.exe new file mode 100644 index 0000000..c10103b Binary files /dev/null and b/maltsev/Task5/Static_1_Calculator/Static_1_Calculator/obj/Debug/Static_1_Calculator.exe differ diff --git a/maltsev/Task5/Static_1_Calculator/Static_1_Calculator/obj/Debug/Static_1_Calculator.pdb b/maltsev/Task5/Static_1_Calculator/Static_1_Calculator/obj/Debug/Static_1_Calculator.pdb new file mode 100644 index 0000000..27c588c Binary files /dev/null and b/maltsev/Task5/Static_1_Calculator/Static_1_Calculator/obj/Debug/Static_1_Calculator.pdb differ diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task6Taxi/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs" b/maltsev/Task5/Static_1_Calculator/Static_1_Calculator/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs similarity index 100% rename from "AlexandrTkachukTask1/\320\241onditionalConstructions/Task6Taxi/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs" rename to maltsev/Task5/Static_1_Calculator/Static_1_Calculator/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task6Taxi/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs" b/maltsev/Task5/Static_1_Calculator/Static_1_Calculator/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs similarity index 100% rename from "AlexandrTkachukTask1/\320\241onditionalConstructions/Task6Taxi/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs" rename to maltsev/Task5/Static_1_Calculator/Static_1_Calculator/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task6Taxi/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs" b/maltsev/Task5/Static_1_Calculator/Static_1_Calculator/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs similarity index 100% rename from "AlexandrTkachukTask1/\320\241onditionalConstructions/Task6Taxi/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs" rename to maltsev/Task5/Static_1_Calculator/Static_1_Calculator/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs diff --git a/maltsev/Task5/Static_2_ArraySort/.vs/Static_2_ArraySort/v14/.suo b/maltsev/Task5/Static_2_ArraySort/.vs/Static_2_ArraySort/v14/.suo new file mode 100644 index 0000000..3e62d11 Binary files /dev/null and b/maltsev/Task5/Static_2_ArraySort/.vs/Static_2_ArraySort/v14/.suo differ diff --git a/maltsev/Task5/Static_2_ArraySort/Static_2_ArraySort.sln b/maltsev/Task5/Static_2_ArraySort/Static_2_ArraySort.sln new file mode 100644 index 0000000..3b42acc --- /dev/null +++ b/maltsev/Task5/Static_2_ArraySort/Static_2_ArraySort.sln @@ -0,0 +1,22 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 14 +VisualStudioVersion = 14.0.25420.1 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Static_2_ArraySort", "Static_2_ArraySort\Static_2_ArraySort.csproj", "{EBBA4DAE-31A5-4AA6-A94F-D8108C1C865F}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {EBBA4DAE-31A5-4AA6-A94F-D8108C1C865F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {EBBA4DAE-31A5-4AA6-A94F-D8108C1C865F}.Debug|Any CPU.Build.0 = Debug|Any CPU + {EBBA4DAE-31A5-4AA6-A94F-D8108C1C865F}.Release|Any CPU.ActiveCfg = Release|Any CPU + {EBBA4DAE-31A5-4AA6-A94F-D8108C1C865F}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/Task_1_Basics/3_6_MiddleArifmeticRnd/App.config b/maltsev/Task5/Static_2_ArraySort/Static_2_ArraySort/App.config similarity index 100% rename from Task_1_Basics/3_6_MiddleArifmeticRnd/App.config rename to maltsev/Task5/Static_2_ArraySort/Static_2_ArraySort/App.config diff --git a/maltsev/Task5/Static_2_ArraySort/Static_2_ArraySort/Program.cs b/maltsev/Task5/Static_2_ArraySort/Static_2_ArraySort/Program.cs new file mode 100644 index 0000000..2da6085 --- /dev/null +++ b/maltsev/Task5/Static_2_ArraySort/Static_2_ArraySort/Program.cs @@ -0,0 +1,44 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Static_2_ArraySort +{ + static class Array + { + static public void Sort(int[] arr) + { + for(int i=0; i< arr.Length-1; i++) + for(int j = i+1; j < arr.Length; j++) + if (arr[i] < arr[j]) + { + int a = arr[i]; + arr[i] = arr[j]; + arr[j] = a; + } + + } + static public void Show(int[] arr) + { + for (int i = 0; i < arr.Length; i++) + { + Console.WriteLine(arr[i]); + } + } + } + + class Program + { + static void Main(string[] args) + { + int[] arr = new Int32[] { 9, 4, 2, 7, 1 }; + + Array.Sort(arr); + Array.Show(arr); + + Console.ReadKey(); + } + } +} diff --git a/maltsev/Task5/Static_2_ArraySort/Static_2_ArraySort/Properties/AssemblyInfo.cs b/maltsev/Task5/Static_2_ArraySort/Static_2_ArraySort/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..d18c54b --- /dev/null +++ b/maltsev/Task5/Static_2_ArraySort/Static_2_ArraySort/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Static_2_ArraySort")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("Static_2_ArraySort")] +[assembly: AssemblyCopyright("Copyright © 2016")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("ebba4dae-31a5-4aa6-a94f-d8108c1c865f")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/maltsev/Task5/Static_2_ArraySort/Static_2_ArraySort/Static_2_ArraySort.csproj b/maltsev/Task5/Static_2_ArraySort/Static_2_ArraySort/Static_2_ArraySort.csproj new file mode 100644 index 0000000..f5524eb --- /dev/null +++ b/maltsev/Task5/Static_2_ArraySort/Static_2_ArraySort/Static_2_ArraySort.csproj @@ -0,0 +1,60 @@ + + + + + Debug + AnyCPU + {EBBA4DAE-31A5-4AA6-A94F-D8108C1C865F} + Exe + Properties + Static_2_ArraySort + Static_2_ArraySort + v4.5.2 + 512 + true + + + AnyCPU + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + AnyCPU + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/maltsev/Task5/Static_2_ArraySort/Static_2_ArraySort/bin/Debug/Static_2_ArraySort.exe b/maltsev/Task5/Static_2_ArraySort/Static_2_ArraySort/bin/Debug/Static_2_ArraySort.exe new file mode 100644 index 0000000..d808cee Binary files /dev/null and b/maltsev/Task5/Static_2_ArraySort/Static_2_ArraySort/bin/Debug/Static_2_ArraySort.exe differ diff --git a/Task_1_Basics/3_5_MiddleArifmeticInput/bin/Debug/3_5_MiddleArifmeticInput.exe.config b/maltsev/Task5/Static_2_ArraySort/Static_2_ArraySort/bin/Debug/Static_2_ArraySort.exe.config similarity index 100% rename from Task_1_Basics/3_5_MiddleArifmeticInput/bin/Debug/3_5_MiddleArifmeticInput.exe.config rename to maltsev/Task5/Static_2_ArraySort/Static_2_ArraySort/bin/Debug/Static_2_ArraySort.exe.config diff --git a/maltsev/Task5/Static_2_ArraySort/Static_2_ArraySort/bin/Debug/Static_2_ArraySort.pdb b/maltsev/Task5/Static_2_ArraySort/Static_2_ArraySort/bin/Debug/Static_2_ArraySort.pdb new file mode 100644 index 0000000..68d0bfe Binary files /dev/null and b/maltsev/Task5/Static_2_ArraySort/Static_2_ArraySort/bin/Debug/Static_2_ArraySort.pdb differ diff --git a/Task_1_Basics/3_5_MiddleArifmeticInput/bin/Debug/3_5_MiddleArifmeticInput.vshost.exe b/maltsev/Task5/Static_2_ArraySort/Static_2_ArraySort/bin/Debug/Static_2_ArraySort.vshost.exe similarity index 100% rename from Task_1_Basics/3_5_MiddleArifmeticInput/bin/Debug/3_5_MiddleArifmeticInput.vshost.exe rename to maltsev/Task5/Static_2_ArraySort/Static_2_ArraySort/bin/Debug/Static_2_ArraySort.vshost.exe diff --git a/Task_1_Basics/3_5_MiddleArifmeticInput/bin/Debug/3_5_MiddleArifmeticInput.vshost.exe.config b/maltsev/Task5/Static_2_ArraySort/Static_2_ArraySort/bin/Debug/Static_2_ArraySort.vshost.exe.config similarity index 100% rename from Task_1_Basics/3_5_MiddleArifmeticInput/bin/Debug/3_5_MiddleArifmeticInput.vshost.exe.config rename to maltsev/Task5/Static_2_ArraySort/Static_2_ArraySort/bin/Debug/Static_2_ArraySort.vshost.exe.config diff --git a/Task_1_Basics/2_5_DayOfWeek/bin/Debug/2_5_DayOfWeek.vshost.exe.manifest b/maltsev/Task5/Static_2_ArraySort/Static_2_ArraySort/bin/Debug/Static_2_ArraySort.vshost.exe.manifest similarity index 100% rename from Task_1_Basics/2_5_DayOfWeek/bin/Debug/2_5_DayOfWeek.vshost.exe.manifest rename to maltsev/Task5/Static_2_ArraySort/Static_2_ArraySort/bin/Debug/Static_2_ArraySort.vshost.exe.manifest diff --git a/maltsev/Task5/Static_2_ArraySort/Static_2_ArraySort/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/maltsev/Task5/Static_2_ArraySort/Static_2_ArraySort/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache new file mode 100644 index 0000000..eae8c51 Binary files /dev/null and b/maltsev/Task5/Static_2_ArraySort/Static_2_ArraySort/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/maltsev/Task5/Static_2_ArraySort/Static_2_ArraySort/obj/Debug/Static_2_ArraySort.csproj.FileListAbsolute.txt b/maltsev/Task5/Static_2_ArraySort/Static_2_ArraySort/obj/Debug/Static_2_ArraySort.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..c160623 --- /dev/null +++ b/maltsev/Task5/Static_2_ArraySort/Static_2_ArraySort/obj/Debug/Static_2_ArraySort.csproj.FileListAbsolute.txt @@ -0,0 +1,6 @@ +c:\users\svezho\documents\visual studio 2015\Projects\Static_2_ArraySort\Static_2_ArraySort\bin\Debug\Static_2_ArraySort.exe.config +c:\users\svezho\documents\visual studio 2015\Projects\Static_2_ArraySort\Static_2_ArraySort\bin\Debug\Static_2_ArraySort.exe +c:\users\svezho\documents\visual studio 2015\Projects\Static_2_ArraySort\Static_2_ArraySort\bin\Debug\Static_2_ArraySort.pdb +c:\users\svezho\documents\visual studio 2015\Projects\Static_2_ArraySort\Static_2_ArraySort\obj\Debug\Static_2_ArraySort.csprojResolveAssemblyReference.cache +c:\users\svezho\documents\visual studio 2015\Projects\Static_2_ArraySort\Static_2_ArraySort\obj\Debug\Static_2_ArraySort.exe +c:\users\svezho\documents\visual studio 2015\Projects\Static_2_ArraySort\Static_2_ArraySort\obj\Debug\Static_2_ArraySort.pdb diff --git a/maltsev/Task5/Static_2_ArraySort/Static_2_ArraySort/obj/Debug/Static_2_ArraySort.csprojResolveAssemblyReference.cache b/maltsev/Task5/Static_2_ArraySort/Static_2_ArraySort/obj/Debug/Static_2_ArraySort.csprojResolveAssemblyReference.cache new file mode 100644 index 0000000..362dcb9 Binary files /dev/null and b/maltsev/Task5/Static_2_ArraySort/Static_2_ArraySort/obj/Debug/Static_2_ArraySort.csprojResolveAssemblyReference.cache differ diff --git a/maltsev/Task5/Static_2_ArraySort/Static_2_ArraySort/obj/Debug/Static_2_ArraySort.exe b/maltsev/Task5/Static_2_ArraySort/Static_2_ArraySort/obj/Debug/Static_2_ArraySort.exe new file mode 100644 index 0000000..d808cee Binary files /dev/null and b/maltsev/Task5/Static_2_ArraySort/Static_2_ArraySort/obj/Debug/Static_2_ArraySort.exe differ diff --git a/maltsev/Task5/Static_2_ArraySort/Static_2_ArraySort/obj/Debug/Static_2_ArraySort.pdb b/maltsev/Task5/Static_2_ArraySort/Static_2_ArraySort/obj/Debug/Static_2_ArraySort.pdb new file mode 100644 index 0000000..68d0bfe Binary files /dev/null and b/maltsev/Task5/Static_2_ArraySort/Static_2_ArraySort/obj/Debug/Static_2_ArraySort.pdb differ diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task7IsDigitSimple/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs" b/maltsev/Task5/Static_2_ArraySort/Static_2_ArraySort/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs similarity index 100% rename from "AlexandrTkachukTask1/\320\241onditionalConstructions/Task7IsDigitSimple/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs" rename to maltsev/Task5/Static_2_ArraySort/Static_2_ArraySort/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task7IsDigitSimple/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs" b/maltsev/Task5/Static_2_ArraySort/Static_2_ArraySort/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs similarity index 100% rename from "AlexandrTkachukTask1/\320\241onditionalConstructions/Task7IsDigitSimple/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs" rename to maltsev/Task5/Static_2_ArraySort/Static_2_ArraySort/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task7IsDigitSimple/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs" b/maltsev/Task5/Static_2_ArraySort/Static_2_ArraySort/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs similarity index 100% rename from "AlexandrTkachukTask1/\320\241onditionalConstructions/Task7IsDigitSimple/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs" rename to maltsev/Task5/Static_2_ArraySort/Static_2_ArraySort/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs diff --git a/maltsev/Task5/Static_3_ArraySortBool/.vs/Static_3_ArraySortBool/v14/.suo b/maltsev/Task5/Static_3_ArraySortBool/.vs/Static_3_ArraySortBool/v14/.suo new file mode 100644 index 0000000..dd3fd03 Binary files /dev/null and b/maltsev/Task5/Static_3_ArraySortBool/.vs/Static_3_ArraySortBool/v14/.suo differ diff --git a/maltsev/Task5/Static_3_ArraySortBool/Static_3_ArraySortBool.sln b/maltsev/Task5/Static_3_ArraySortBool/Static_3_ArraySortBool.sln new file mode 100644 index 0000000..3207451 --- /dev/null +++ b/maltsev/Task5/Static_3_ArraySortBool/Static_3_ArraySortBool.sln @@ -0,0 +1,22 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 14 +VisualStudioVersion = 14.0.25420.1 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Static_3_ArraySortBool", "Static_3_ArraySortBool\Static_3_ArraySortBool.csproj", "{C156FBF6-7673-4FB1-B02E-A0122E75D53E}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {C156FBF6-7673-4FB1-B02E-A0122E75D53E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {C156FBF6-7673-4FB1-B02E-A0122E75D53E}.Debug|Any CPU.Build.0 = Debug|Any CPU + {C156FBF6-7673-4FB1-B02E-A0122E75D53E}.Release|Any CPU.ActiveCfg = Release|Any CPU + {C156FBF6-7673-4FB1-B02E-A0122E75D53E}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/Task_1_Basics/3_7_RabbitsVsGooses/App.config b/maltsev/Task5/Static_3_ArraySortBool/Static_3_ArraySortBool/App.config similarity index 100% rename from Task_1_Basics/3_7_RabbitsVsGooses/App.config rename to maltsev/Task5/Static_3_ArraySortBool/Static_3_ArraySortBool/App.config diff --git a/maltsev/Task5/Static_3_ArraySortBool/Static_3_ArraySortBool/Program.cs b/maltsev/Task5/Static_3_ArraySortBool/Static_3_ArraySortBool/Program.cs new file mode 100644 index 0000000..0d4158f --- /dev/null +++ b/maltsev/Task5/Static_3_ArraySortBool/Static_3_ArraySortBool/Program.cs @@ -0,0 +1,59 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Static_3_ArraySortBool +{ + static class Array + { + static public void Sort(int[] arr, bool flag ) + { + for (int i = 0; i < arr.Length - 1; i++) + for (int j = i + 1; j < arr.Length; j++) + { + if ((arr[i] > arr[j]) && flag) + { + int a = arr[i]; + arr[i] = arr[j]; + arr[j] = a; + } + if((arr[i] < arr[j]) && !flag) + { + int a = arr[i]; + arr[i] = arr[j]; + arr[j] = a; + } + } + + + } + static public void Show(int[] arr) + { + for (int i = 0; i < arr.Length; i++) + { + Console.Write(arr[i] + " "); + } + } + } + + class Program + { + static void Main(string[] args) + { + int[] arr = new Int32[] { 3, 5, 1, 11, 7 }; + Array.Show(arr); + Console.WriteLine(); + + Array.Sort(arr, true); + Array.Show(arr); + Console.WriteLine(); + + Array.Sort(arr, false); + Array.Show(arr); + + Console.ReadKey(); + } + } +} diff --git a/maltsev/Task5/Static_3_ArraySortBool/Static_3_ArraySortBool/Properties/AssemblyInfo.cs b/maltsev/Task5/Static_3_ArraySortBool/Static_3_ArraySortBool/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..5495638 --- /dev/null +++ b/maltsev/Task5/Static_3_ArraySortBool/Static_3_ArraySortBool/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Static_3_ArraySortBool")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("Static_3_ArraySortBool")] +[assembly: AssemblyCopyright("Copyright © 2016")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("c156fbf6-7673-4fb1-b02e-a0122e75d53e")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/maltsev/Task5/Static_3_ArraySortBool/Static_3_ArraySortBool/Static_3_ArraySortBool.csproj b/maltsev/Task5/Static_3_ArraySortBool/Static_3_ArraySortBool/Static_3_ArraySortBool.csproj new file mode 100644 index 0000000..8811525 --- /dev/null +++ b/maltsev/Task5/Static_3_ArraySortBool/Static_3_ArraySortBool/Static_3_ArraySortBool.csproj @@ -0,0 +1,60 @@ + + + + + Debug + AnyCPU + {C156FBF6-7673-4FB1-B02E-A0122E75D53E} + Exe + Properties + Static_3_ArraySortBool + Static_3_ArraySortBool + v4.5.2 + 512 + true + + + AnyCPU + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + AnyCPU + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/maltsev/Task5/Static_3_ArraySortBool/Static_3_ArraySortBool/bin/Debug/Static_3_ArraySortBool.exe b/maltsev/Task5/Static_3_ArraySortBool/Static_3_ArraySortBool/bin/Debug/Static_3_ArraySortBool.exe new file mode 100644 index 0000000..63f550d Binary files /dev/null and b/maltsev/Task5/Static_3_ArraySortBool/Static_3_ArraySortBool/bin/Debug/Static_3_ArraySortBool.exe differ diff --git a/Task_1_Basics/3_6_MiddleArifmeticRnd/bin/Debug/3_6_MiddleArifmeticRnd.exe.config b/maltsev/Task5/Static_3_ArraySortBool/Static_3_ArraySortBool/bin/Debug/Static_3_ArraySortBool.exe.config similarity index 100% rename from Task_1_Basics/3_6_MiddleArifmeticRnd/bin/Debug/3_6_MiddleArifmeticRnd.exe.config rename to maltsev/Task5/Static_3_ArraySortBool/Static_3_ArraySortBool/bin/Debug/Static_3_ArraySortBool.exe.config diff --git a/maltsev/Task5/Static_3_ArraySortBool/Static_3_ArraySortBool/bin/Debug/Static_3_ArraySortBool.pdb b/maltsev/Task5/Static_3_ArraySortBool/Static_3_ArraySortBool/bin/Debug/Static_3_ArraySortBool.pdb new file mode 100644 index 0000000..59155a0 Binary files /dev/null and b/maltsev/Task5/Static_3_ArraySortBool/Static_3_ArraySortBool/bin/Debug/Static_3_ArraySortBool.pdb differ diff --git a/Task_1_Basics/3_6_MiddleArifmeticRnd/bin/Debug/3_6_MiddleArifmeticRnd.vshost.exe b/maltsev/Task5/Static_3_ArraySortBool/Static_3_ArraySortBool/bin/Debug/Static_3_ArraySortBool.vshost.exe similarity index 100% rename from Task_1_Basics/3_6_MiddleArifmeticRnd/bin/Debug/3_6_MiddleArifmeticRnd.vshost.exe rename to maltsev/Task5/Static_3_ArraySortBool/Static_3_ArraySortBool/bin/Debug/Static_3_ArraySortBool.vshost.exe diff --git a/Task_1_Basics/3_6_MiddleArifmeticRnd/bin/Debug/3_6_MiddleArifmeticRnd.vshost.exe.config b/maltsev/Task5/Static_3_ArraySortBool/Static_3_ArraySortBool/bin/Debug/Static_3_ArraySortBool.vshost.exe.config similarity index 100% rename from Task_1_Basics/3_6_MiddleArifmeticRnd/bin/Debug/3_6_MiddleArifmeticRnd.vshost.exe.config rename to maltsev/Task5/Static_3_ArraySortBool/Static_3_ArraySortBool/bin/Debug/Static_3_ArraySortBool.vshost.exe.config diff --git a/golovko.greg/Task_1_Basics/1_Strings/bin/Release/1_Strings.vshost.exe.manifest b/maltsev/Task5/Static_3_ArraySortBool/Static_3_ArraySortBool/bin/Debug/Static_3_ArraySortBool.vshost.exe.manifest similarity index 100% rename from golovko.greg/Task_1_Basics/1_Strings/bin/Release/1_Strings.vshost.exe.manifest rename to maltsev/Task5/Static_3_ArraySortBool/Static_3_ArraySortBool/bin/Debug/Static_3_ArraySortBool.vshost.exe.manifest diff --git a/maltsev/Task5/Static_3_ArraySortBool/Static_3_ArraySortBool/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/maltsev/Task5/Static_3_ArraySortBool/Static_3_ArraySortBool/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache new file mode 100644 index 0000000..b6d8b02 Binary files /dev/null and b/maltsev/Task5/Static_3_ArraySortBool/Static_3_ArraySortBool/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/maltsev/Task5/Static_3_ArraySortBool/Static_3_ArraySortBool/obj/Debug/Static_3_ArraySortBool.csproj.FileListAbsolute.txt b/maltsev/Task5/Static_3_ArraySortBool/Static_3_ArraySortBool/obj/Debug/Static_3_ArraySortBool.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..7c4c241 --- /dev/null +++ b/maltsev/Task5/Static_3_ArraySortBool/Static_3_ArraySortBool/obj/Debug/Static_3_ArraySortBool.csproj.FileListAbsolute.txt @@ -0,0 +1,5 @@ +c:\users\svezho\documents\visual studio 2015\Projects\Static_3_ArraySortBool\Static_3_ArraySortBool\bin\Debug\Static_3_ArraySortBool.exe.config +c:\users\svezho\documents\visual studio 2015\Projects\Static_3_ArraySortBool\Static_3_ArraySortBool\bin\Debug\Static_3_ArraySortBool.exe +c:\users\svezho\documents\visual studio 2015\Projects\Static_3_ArraySortBool\Static_3_ArraySortBool\bin\Debug\Static_3_ArraySortBool.pdb +c:\users\svezho\documents\visual studio 2015\Projects\Static_3_ArraySortBool\Static_3_ArraySortBool\obj\Debug\Static_3_ArraySortBool.exe +c:\users\svezho\documents\visual studio 2015\Projects\Static_3_ArraySortBool\Static_3_ArraySortBool\obj\Debug\Static_3_ArraySortBool.pdb diff --git a/maltsev/Task5/Static_3_ArraySortBool/Static_3_ArraySortBool/obj/Debug/Static_3_ArraySortBool.exe b/maltsev/Task5/Static_3_ArraySortBool/Static_3_ArraySortBool/obj/Debug/Static_3_ArraySortBool.exe new file mode 100644 index 0000000..63f550d Binary files /dev/null and b/maltsev/Task5/Static_3_ArraySortBool/Static_3_ArraySortBool/obj/Debug/Static_3_ArraySortBool.exe differ diff --git a/maltsev/Task5/Static_3_ArraySortBool/Static_3_ArraySortBool/obj/Debug/Static_3_ArraySortBool.pdb b/maltsev/Task5/Static_3_ArraySortBool/Static_3_ArraySortBool/obj/Debug/Static_3_ArraySortBool.pdb new file mode 100644 index 0000000..59155a0 Binary files /dev/null and b/maltsev/Task5/Static_3_ArraySortBool/Static_3_ArraySortBool/obj/Debug/Static_3_ArraySortBool.pdb differ diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task8Lottery/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs" b/maltsev/Task5/Static_3_ArraySortBool/Static_3_ArraySortBool/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs similarity index 100% rename from "AlexandrTkachukTask1/\320\241onditionalConstructions/Task8Lottery/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs" rename to maltsev/Task5/Static_3_ArraySortBool/Static_3_ArraySortBool/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task8Lottery/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs" b/maltsev/Task5/Static_3_ArraySortBool/Static_3_ArraySortBool/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs similarity index 100% rename from "AlexandrTkachukTask1/\320\241onditionalConstructions/Task8Lottery/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs" rename to maltsev/Task5/Static_3_ArraySortBool/Static_3_ArraySortBool/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task8Lottery/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs" b/maltsev/Task5/Static_3_ArraySortBool/Static_3_ArraySortBool/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs similarity index 100% rename from "AlexandrTkachukTask1/\320\241onditionalConstructions/Task8Lottery/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs" rename to maltsev/Task5/Static_3_ArraySortBool/Static_3_ArraySortBool/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs diff --git a/maltsev/Task5/Static_4_MyMethods/.vs/Static_4_MyMethods/v14/.suo b/maltsev/Task5/Static_4_MyMethods/.vs/Static_4_MyMethods/v14/.suo new file mode 100644 index 0000000..3a3ecd8 Binary files /dev/null and b/maltsev/Task5/Static_4_MyMethods/.vs/Static_4_MyMethods/v14/.suo differ diff --git a/maltsev/Task5/Static_4_MyMethods/Static_4_MyMethods.sln b/maltsev/Task5/Static_4_MyMethods/Static_4_MyMethods.sln new file mode 100644 index 0000000..2c8a0ae --- /dev/null +++ b/maltsev/Task5/Static_4_MyMethods/Static_4_MyMethods.sln @@ -0,0 +1,22 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 14 +VisualStudioVersion = 14.0.25420.1 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Static_4_MyMethods", "Static_4_MyMethods\Static_4_MyMethods.csproj", "{F45C6210-FB26-4FB7-93A5-9357627AC023}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {F45C6210-FB26-4FB7-93A5-9357627AC023}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {F45C6210-FB26-4FB7-93A5-9357627AC023}.Debug|Any CPU.Build.0 = Debug|Any CPU + {F45C6210-FB26-4FB7-93A5-9357627AC023}.Release|Any CPU.ActiveCfg = Release|Any CPU + {F45C6210-FB26-4FB7-93A5-9357627AC023}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/Task_1_Basics/3_8_Password/App.config b/maltsev/Task5/Static_4_MyMethods/Static_4_MyMethods/App.config similarity index 100% rename from Task_1_Basics/3_8_Password/App.config rename to maltsev/Task5/Static_4_MyMethods/Static_4_MyMethods/App.config diff --git a/maltsev/Task5/Static_4_MyMethods/Static_4_MyMethods/Program.cs b/maltsev/Task5/Static_4_MyMethods/Static_4_MyMethods/Program.cs new file mode 100644 index 0000000..1f0ba18 --- /dev/null +++ b/maltsev/Task5/Static_4_MyMethods/Static_4_MyMethods/Program.cs @@ -0,0 +1,88 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Static_4_MyMethods +{ + static class MyString + { + static public string Substring(string _str, int a, int b) + { + string temp = ""; + for (int i = a; i < a+b; i++) + { + temp += _str[i]; + } + return temp; + } + static public int IndexOf(string _str, string part) + { + if(part == String.Empty) + { + return -1; + } + + for ( int i = 0; i < _str.Length - part.Length; i++) + { + string sub = Substring(_str, i, part.Length); + if (sub == part) + { + return i; + } + } + + return -1; + } + static public string Replace(string _str, string old, string news) + { + string changed_str = _str; + string temp_str = _str; + while (true) + { + int index = IndexOf(changed_str, old); + + if (index == -1) + { + return changed_str; + } + temp_str = changed_str; + changed_str = ""; + + for (int i = 0; i < index; i++) + { + changed_str += temp_str[i]; + } + for (int i = 0; i < news.Length; i++) + { + changed_str += news[i]; + } + for (int i = index + old.Length; i < temp_str.Length; i++) + { + changed_str += temp_str[i]; + } + } + } + } + + + class Program + { + static void Main(string[] args) + { + string s = "Hollywoodrewood!";// + Console.WriteLine(s.Substring(1, 5));//ollyw + Console.WriteLine(s.IndexOf("llyw"));//2 + Console.WriteLine(s.Replace("wood" , "steel"));//Hollysteelresteel! + Console.WriteLine(); + + Console.WriteLine(MyString.Substring(s, 1, 5));//ollyw + Console.WriteLine(MyString.IndexOf(s, "llyw"));//2 + Console.WriteLine(MyString.Replace(s,"wood", "steel"));//Hollysteelresteel! + Console.ReadKey(); + + + } + } +} diff --git a/maltsev/Task5/Static_4_MyMethods/Static_4_MyMethods/Properties/AssemblyInfo.cs b/maltsev/Task5/Static_4_MyMethods/Static_4_MyMethods/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..49bae76 --- /dev/null +++ b/maltsev/Task5/Static_4_MyMethods/Static_4_MyMethods/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Static_4_MyMethods")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("Static_4_MyMethods")] +[assembly: AssemblyCopyright("Copyright © 2016")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("f45c6210-fb26-4fb7-93a5-9357627ac023")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/maltsev/Task5/Static_4_MyMethods/Static_4_MyMethods/Static_4_MyMethods.csproj b/maltsev/Task5/Static_4_MyMethods/Static_4_MyMethods/Static_4_MyMethods.csproj new file mode 100644 index 0000000..611ba6a --- /dev/null +++ b/maltsev/Task5/Static_4_MyMethods/Static_4_MyMethods/Static_4_MyMethods.csproj @@ -0,0 +1,60 @@ + + + + + Debug + AnyCPU + {F45C6210-FB26-4FB7-93A5-9357627AC023} + Exe + Properties + Static_4_MyMethods + Static_4_MyMethods + v4.5.2 + 512 + true + + + AnyCPU + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + AnyCPU + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/maltsev/Task5/Static_4_MyMethods/Static_4_MyMethods/bin/Debug/Static_4_MyMethods.exe b/maltsev/Task5/Static_4_MyMethods/Static_4_MyMethods/bin/Debug/Static_4_MyMethods.exe new file mode 100644 index 0000000..ba1ce7b Binary files /dev/null and b/maltsev/Task5/Static_4_MyMethods/Static_4_MyMethods/bin/Debug/Static_4_MyMethods.exe differ diff --git a/Task_1_Basics/3_7_RabbitsVsGooses/bin/Debug/3_7_RabbitsVsGooses.exe.config b/maltsev/Task5/Static_4_MyMethods/Static_4_MyMethods/bin/Debug/Static_4_MyMethods.exe.config similarity index 100% rename from Task_1_Basics/3_7_RabbitsVsGooses/bin/Debug/3_7_RabbitsVsGooses.exe.config rename to maltsev/Task5/Static_4_MyMethods/Static_4_MyMethods/bin/Debug/Static_4_MyMethods.exe.config diff --git a/maltsev/Task5/Static_4_MyMethods/Static_4_MyMethods/bin/Debug/Static_4_MyMethods.pdb b/maltsev/Task5/Static_4_MyMethods/Static_4_MyMethods/bin/Debug/Static_4_MyMethods.pdb new file mode 100644 index 0000000..d5c4db7 Binary files /dev/null and b/maltsev/Task5/Static_4_MyMethods/Static_4_MyMethods/bin/Debug/Static_4_MyMethods.pdb differ diff --git a/Task_1_Basics/3_7_RabbitsVsGooses/bin/Debug/3_7_RabbitsVsGooses.vshost.exe b/maltsev/Task5/Static_4_MyMethods/Static_4_MyMethods/bin/Debug/Static_4_MyMethods.vshost.exe similarity index 100% rename from Task_1_Basics/3_7_RabbitsVsGooses/bin/Debug/3_7_RabbitsVsGooses.vshost.exe rename to maltsev/Task5/Static_4_MyMethods/Static_4_MyMethods/bin/Debug/Static_4_MyMethods.vshost.exe diff --git a/Task_1_Basics/3_7_RabbitsVsGooses/bin/Debug/3_7_RabbitsVsGooses.vshost.exe.config b/maltsev/Task5/Static_4_MyMethods/Static_4_MyMethods/bin/Debug/Static_4_MyMethods.vshost.exe.config similarity index 100% rename from Task_1_Basics/3_7_RabbitsVsGooses/bin/Debug/3_7_RabbitsVsGooses.vshost.exe.config rename to maltsev/Task5/Static_4_MyMethods/Static_4_MyMethods/bin/Debug/Static_4_MyMethods.vshost.exe.config diff --git a/golovko.greg/Task_1_Basics/2_5_DayOfWeek/bin/Debug/2_5_DayOfWeek.vshost.exe.manifest b/maltsev/Task5/Static_4_MyMethods/Static_4_MyMethods/bin/Debug/Static_4_MyMethods.vshost.exe.manifest similarity index 100% rename from golovko.greg/Task_1_Basics/2_5_DayOfWeek/bin/Debug/2_5_DayOfWeek.vshost.exe.manifest rename to maltsev/Task5/Static_4_MyMethods/Static_4_MyMethods/bin/Debug/Static_4_MyMethods.vshost.exe.manifest diff --git a/maltsev/Task5/Static_4_MyMethods/Static_4_MyMethods/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/maltsev/Task5/Static_4_MyMethods/Static_4_MyMethods/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache new file mode 100644 index 0000000..1ed41c9 Binary files /dev/null and b/maltsev/Task5/Static_4_MyMethods/Static_4_MyMethods/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/maltsev/Task5/Static_4_MyMethods/Static_4_MyMethods/obj/Debug/Static_4_MyMethods.csproj.FileListAbsolute.txt b/maltsev/Task5/Static_4_MyMethods/Static_4_MyMethods/obj/Debug/Static_4_MyMethods.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..2810d88 --- /dev/null +++ b/maltsev/Task5/Static_4_MyMethods/Static_4_MyMethods/obj/Debug/Static_4_MyMethods.csproj.FileListAbsolute.txt @@ -0,0 +1,11 @@ +c:\users\svezho\documents\visual studio 2015\Projects\Static_4_MyMethods\Static_4_MyMethods\bin\Debug\Static_4_MyMethods.exe.config +c:\users\svezho\documents\visual studio 2015\Projects\Static_4_MyMethods\Static_4_MyMethods\bin\Debug\Static_4_MyMethods.exe +c:\users\svezho\documents\visual studio 2015\Projects\Static_4_MyMethods\Static_4_MyMethods\bin\Debug\Static_4_MyMethods.pdb +c:\users\svezho\documents\visual studio 2015\Projects\Static_4_MyMethods\Static_4_MyMethods\obj\Debug\Static_4_MyMethods.exe +c:\users\svezho\documents\visual studio 2015\Projects\Static_4_MyMethods\Static_4_MyMethods\obj\Debug\Static_4_MyMethods.pdb +D:\ISD\CSharpCourse-2016\maltsev\Task5\Static_4_MyMethods\Static_4_MyMethods\bin\Debug\Static_4_MyMethods.exe.config +D:\ISD\CSharpCourse-2016\maltsev\Task5\Static_4_MyMethods\Static_4_MyMethods\obj\Debug\Static_4_MyMethods.exe +D:\ISD\CSharpCourse-2016\maltsev\Task5\Static_4_MyMethods\Static_4_MyMethods\obj\Debug\Static_4_MyMethods.pdb +D:\ISD\CSharpCourse-2016\maltsev\Task5\Static_4_MyMethods\Static_4_MyMethods\bin\Debug\Static_4_MyMethods.exe +D:\ISD\CSharpCourse-2016\maltsev\Task5\Static_4_MyMethods\Static_4_MyMethods\bin\Debug\Static_4_MyMethods.pdb +D:\ISD\CSharpCourse-2016\maltsev\Task5\Static_4_MyMethods\Static_4_MyMethods\obj\Debug\Static_4_MyMethods.csprojResolveAssemblyReference.cache diff --git a/maltsev/Task5/Static_4_MyMethods/Static_4_MyMethods/obj/Debug/Static_4_MyMethods.csprojResolveAssemblyReference.cache b/maltsev/Task5/Static_4_MyMethods/Static_4_MyMethods/obj/Debug/Static_4_MyMethods.csprojResolveAssemblyReference.cache new file mode 100644 index 0000000..362dcb9 Binary files /dev/null and b/maltsev/Task5/Static_4_MyMethods/Static_4_MyMethods/obj/Debug/Static_4_MyMethods.csprojResolveAssemblyReference.cache differ diff --git a/maltsev/Task5/Static_4_MyMethods/Static_4_MyMethods/obj/Debug/Static_4_MyMethods.exe b/maltsev/Task5/Static_4_MyMethods/Static_4_MyMethods/obj/Debug/Static_4_MyMethods.exe new file mode 100644 index 0000000..ba1ce7b Binary files /dev/null and b/maltsev/Task5/Static_4_MyMethods/Static_4_MyMethods/obj/Debug/Static_4_MyMethods.exe differ diff --git a/maltsev/Task5/Static_4_MyMethods/Static_4_MyMethods/obj/Debug/Static_4_MyMethods.pdb b/maltsev/Task5/Static_4_MyMethods/Static_4_MyMethods/obj/Debug/Static_4_MyMethods.pdb new file mode 100644 index 0000000..d5c4db7 Binary files /dev/null and b/maltsev/Task5/Static_4_MyMethods/Static_4_MyMethods/obj/Debug/Static_4_MyMethods.pdb differ diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task9CurrencyConverter/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs" b/maltsev/Task5/Static_4_MyMethods/Static_4_MyMethods/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs similarity index 100% rename from "AlexandrTkachukTask1/\320\241onditionalConstructions/Task9CurrencyConverter/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs" rename to maltsev/Task5/Static_4_MyMethods/Static_4_MyMethods/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task9CurrencyConverter/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs" b/maltsev/Task5/Static_4_MyMethods/Static_4_MyMethods/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs similarity index 100% rename from "AlexandrTkachukTask1/\320\241onditionalConstructions/Task9CurrencyConverter/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs" rename to maltsev/Task5/Static_4_MyMethods/Static_4_MyMethods/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs diff --git "a/AlexandrTkachukTask1/\320\241onditionalConstructions/Task9CurrencyConverter/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs" b/maltsev/Task5/Static_4_MyMethods/Static_4_MyMethods/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs similarity index 100% rename from "AlexandrTkachukTask1/\320\241onditionalConstructions/Task9CurrencyConverter/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs" rename to maltsev/Task5/Static_4_MyMethods/Static_4_MyMethods/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs diff --git a/maltsev/Task6/Struct_1_Notebook/.vs/Struct_1_Notebook/v14/.suo b/maltsev/Task6/Struct_1_Notebook/.vs/Struct_1_Notebook/v14/.suo new file mode 100644 index 0000000..b70d481 Binary files /dev/null and b/maltsev/Task6/Struct_1_Notebook/.vs/Struct_1_Notebook/v14/.suo differ diff --git a/maltsev/Task6/Struct_1_Notebook/Struct_1_Notebook.sln b/maltsev/Task6/Struct_1_Notebook/Struct_1_Notebook.sln new file mode 100644 index 0000000..da39c88 --- /dev/null +++ b/maltsev/Task6/Struct_1_Notebook/Struct_1_Notebook.sln @@ -0,0 +1,22 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 14 +VisualStudioVersion = 14.0.25420.1 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Struct_1_Notebook", "Struct_1_Notebook\Struct_1_Notebook.csproj", "{33A46A75-E32F-4F99-BD89-A1EDF1D4C55A}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {33A46A75-E32F-4F99-BD89-A1EDF1D4C55A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {33A46A75-E32F-4F99-BD89-A1EDF1D4C55A}.Debug|Any CPU.Build.0 = Debug|Any CPU + {33A46A75-E32F-4F99-BD89-A1EDF1D4C55A}.Release|Any CPU.ActiveCfg = Release|Any CPU + {33A46A75-E32F-4F99-BD89-A1EDF1D4C55A}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/golovko.greg/Task_1_Basics/1_Strings/App.config b/maltsev/Task6/Struct_1_Notebook/Struct_1_Notebook/App.config similarity index 100% rename from golovko.greg/Task_1_Basics/1_Strings/App.config rename to maltsev/Task6/Struct_1_Notebook/Struct_1_Notebook/App.config diff --git a/maltsev/Task6/Struct_1_Notebook/Struct_1_Notebook/Program.cs b/maltsev/Task6/Struct_1_Notebook/Struct_1_Notebook/Program.cs new file mode 100644 index 0000000..a268d8c --- /dev/null +++ b/maltsev/Task6/Struct_1_Notebook/Struct_1_Notebook/Program.cs @@ -0,0 +1,36 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Struct_1_Notebook +{ + struct Notebook + { + private string model; + private string producer; + private double price; + public Notebook(string model, string producer, double price) + { + this.model = model; + this.producer = producer; + this.price = price; + } + public void Show() + { + Console.WriteLine("Model: \t\t" + model); + Console.WriteLine("Producer:\t" + producer); + Console.WriteLine("Price: \t\t" + price); + } + } + class Program + { + static void Main(string[] args) + { + Notebook nb = new Notebook("RedArt", "Germany", 12.5); + nb.Show(); + Console.ReadKey(); + } + } +} diff --git a/maltsev/Task6/Struct_1_Notebook/Struct_1_Notebook/Properties/AssemblyInfo.cs b/maltsev/Task6/Struct_1_Notebook/Struct_1_Notebook/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..b5deffd --- /dev/null +++ b/maltsev/Task6/Struct_1_Notebook/Struct_1_Notebook/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Struct_1_Notebook")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("Struct_1_Notebook")] +[assembly: AssemblyCopyright("Copyright © 2016")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("33a46a75-e32f-4f99-bd89-a1edf1d4c55a")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/maltsev/Task6/Struct_1_Notebook/Struct_1_Notebook/Struct_1_Notebook.csproj b/maltsev/Task6/Struct_1_Notebook/Struct_1_Notebook/Struct_1_Notebook.csproj new file mode 100644 index 0000000..9d553ff --- /dev/null +++ b/maltsev/Task6/Struct_1_Notebook/Struct_1_Notebook/Struct_1_Notebook.csproj @@ -0,0 +1,60 @@ + + + + + Debug + AnyCPU + {33A46A75-E32F-4F99-BD89-A1EDF1D4C55A} + Exe + Properties + Struct_1_Notebook + Struct_1_Notebook + v4.5.2 + 512 + true + + + AnyCPU + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + AnyCPU + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/maltsev/Task6/Struct_1_Notebook/Struct_1_Notebook/bin/Debug/Struct_1_Notebook.exe b/maltsev/Task6/Struct_1_Notebook/Struct_1_Notebook/bin/Debug/Struct_1_Notebook.exe new file mode 100644 index 0000000..6003080 Binary files /dev/null and b/maltsev/Task6/Struct_1_Notebook/Struct_1_Notebook/bin/Debug/Struct_1_Notebook.exe differ diff --git a/Task_1_Basics/3_8_Password/bin/Debug/3_8_Password.exe.config b/maltsev/Task6/Struct_1_Notebook/Struct_1_Notebook/bin/Debug/Struct_1_Notebook.exe.config similarity index 100% rename from Task_1_Basics/3_8_Password/bin/Debug/3_8_Password.exe.config rename to maltsev/Task6/Struct_1_Notebook/Struct_1_Notebook/bin/Debug/Struct_1_Notebook.exe.config diff --git a/maltsev/Task6/Struct_1_Notebook/Struct_1_Notebook/bin/Debug/Struct_1_Notebook.pdb b/maltsev/Task6/Struct_1_Notebook/Struct_1_Notebook/bin/Debug/Struct_1_Notebook.pdb new file mode 100644 index 0000000..ab655b8 Binary files /dev/null and b/maltsev/Task6/Struct_1_Notebook/Struct_1_Notebook/bin/Debug/Struct_1_Notebook.pdb differ diff --git a/Task_1_Basics/3_8_Password/bin/Debug/3_8_Password.vshost.exe b/maltsev/Task6/Struct_1_Notebook/Struct_1_Notebook/bin/Debug/Struct_1_Notebook.vshost.exe similarity index 100% rename from Task_1_Basics/3_8_Password/bin/Debug/3_8_Password.vshost.exe rename to maltsev/Task6/Struct_1_Notebook/Struct_1_Notebook/bin/Debug/Struct_1_Notebook.vshost.exe diff --git a/Task_1_Basics/3_8_Password/bin/Debug/3_8_Password.vshost.exe.config b/maltsev/Task6/Struct_1_Notebook/Struct_1_Notebook/bin/Debug/Struct_1_Notebook.vshost.exe.config similarity index 100% rename from Task_1_Basics/3_8_Password/bin/Debug/3_8_Password.vshost.exe.config rename to maltsev/Task6/Struct_1_Notebook/Struct_1_Notebook/bin/Debug/Struct_1_Notebook.vshost.exe.config diff --git a/maltsev/Task6/Struct_1_Notebook/Struct_1_Notebook/bin/Debug/Struct_1_Notebook.vshost.exe.manifest b/maltsev/Task6/Struct_1_Notebook/Struct_1_Notebook/bin/Debug/Struct_1_Notebook.vshost.exe.manifest new file mode 100644 index 0000000..061c9ca --- /dev/null +++ b/maltsev/Task6/Struct_1_Notebook/Struct_1_Notebook/bin/Debug/Struct_1_Notebook.vshost.exe.manifest @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/maltsev/Task6/Struct_1_Notebook/Struct_1_Notebook/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/maltsev/Task6/Struct_1_Notebook/Struct_1_Notebook/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache new file mode 100644 index 0000000..19e3aef Binary files /dev/null and b/maltsev/Task6/Struct_1_Notebook/Struct_1_Notebook/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/maltsev/Task6/Struct_1_Notebook/Struct_1_Notebook/obj/Debug/Struct_1_Notebook.csproj.FileListAbsolute.txt b/maltsev/Task6/Struct_1_Notebook/Struct_1_Notebook/obj/Debug/Struct_1_Notebook.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..4f0971e --- /dev/null +++ b/maltsev/Task6/Struct_1_Notebook/Struct_1_Notebook/obj/Debug/Struct_1_Notebook.csproj.FileListAbsolute.txt @@ -0,0 +1,6 @@ +c:\users\svezho\documents\visual studio 2015\Projects\Struct_1_Notebook\Struct_1_Notebook\bin\Debug\Struct_1_Notebook.exe.config +c:\users\svezho\documents\visual studio 2015\Projects\Struct_1_Notebook\Struct_1_Notebook\bin\Debug\Struct_1_Notebook.exe +c:\users\svezho\documents\visual studio 2015\Projects\Struct_1_Notebook\Struct_1_Notebook\bin\Debug\Struct_1_Notebook.pdb +c:\users\svezho\documents\visual studio 2015\Projects\Struct_1_Notebook\Struct_1_Notebook\obj\Debug\Struct_1_Notebook.csprojResolveAssemblyReference.cache +c:\users\svezho\documents\visual studio 2015\Projects\Struct_1_Notebook\Struct_1_Notebook\obj\Debug\Struct_1_Notebook.exe +c:\users\svezho\documents\visual studio 2015\Projects\Struct_1_Notebook\Struct_1_Notebook\obj\Debug\Struct_1_Notebook.pdb diff --git a/maltsev/Task6/Struct_1_Notebook/Struct_1_Notebook/obj/Debug/Struct_1_Notebook.csprojResolveAssemblyReference.cache b/maltsev/Task6/Struct_1_Notebook/Struct_1_Notebook/obj/Debug/Struct_1_Notebook.csprojResolveAssemblyReference.cache new file mode 100644 index 0000000..362dcb9 Binary files /dev/null and b/maltsev/Task6/Struct_1_Notebook/Struct_1_Notebook/obj/Debug/Struct_1_Notebook.csprojResolveAssemblyReference.cache differ diff --git a/maltsev/Task6/Struct_1_Notebook/Struct_1_Notebook/obj/Debug/Struct_1_Notebook.exe b/maltsev/Task6/Struct_1_Notebook/Struct_1_Notebook/obj/Debug/Struct_1_Notebook.exe new file mode 100644 index 0000000..6003080 Binary files /dev/null and b/maltsev/Task6/Struct_1_Notebook/Struct_1_Notebook/obj/Debug/Struct_1_Notebook.exe differ diff --git a/maltsev/Task6/Struct_1_Notebook/Struct_1_Notebook/obj/Debug/Struct_1_Notebook.pdb b/maltsev/Task6/Struct_1_Notebook/Struct_1_Notebook/obj/Debug/Struct_1_Notebook.pdb new file mode 100644 index 0000000..ab655b8 Binary files /dev/null and b/maltsev/Task6/Struct_1_Notebook/Struct_1_Notebook/obj/Debug/Struct_1_Notebook.pdb differ diff --git a/Task_1_Basics/1_Strings/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs b/maltsev/Task6/Struct_1_Notebook/Struct_1_Notebook/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs similarity index 100% rename from Task_1_Basics/1_Strings/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs rename to maltsev/Task6/Struct_1_Notebook/Struct_1_Notebook/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs diff --git a/Task_1_Basics/1_Strings/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs b/maltsev/Task6/Struct_1_Notebook/Struct_1_Notebook/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs similarity index 100% rename from Task_1_Basics/1_Strings/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs rename to maltsev/Task6/Struct_1_Notebook/Struct_1_Notebook/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs diff --git a/Task_1_Basics/1_Strings/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs b/maltsev/Task6/Struct_1_Notebook/Struct_1_Notebook/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs similarity index 100% rename from Task_1_Basics/1_Strings/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs rename to maltsev/Task6/Struct_1_Notebook/Struct_1_Notebook/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs diff --git a/maltsev/Task6/Struct_2_Train/.vs/Struct_2_Train/v14/.suo b/maltsev/Task6/Struct_2_Train/.vs/Struct_2_Train/v14/.suo new file mode 100644 index 0000000..f1a9a79 Binary files /dev/null and b/maltsev/Task6/Struct_2_Train/.vs/Struct_2_Train/v14/.suo differ diff --git a/maltsev/Task6/Struct_2_Train/Struct_2_Train.sln b/maltsev/Task6/Struct_2_Train/Struct_2_Train.sln new file mode 100644 index 0000000..3299b55 --- /dev/null +++ b/maltsev/Task6/Struct_2_Train/Struct_2_Train.sln @@ -0,0 +1,22 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 14 +VisualStudioVersion = 14.0.25420.1 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Struct_2_Train", "Struct_2_Train\Struct_2_Train.csproj", "{9925382E-A5BB-4743-ABD2-B924F85ADA14}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {9925382E-A5BB-4743-ABD2-B924F85ADA14}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {9925382E-A5BB-4743-ABD2-B924F85ADA14}.Debug|Any CPU.Build.0 = Debug|Any CPU + {9925382E-A5BB-4743-ABD2-B924F85ADA14}.Release|Any CPU.ActiveCfg = Release|Any CPU + {9925382E-A5BB-4743-ABD2-B924F85ADA14}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/golovko.greg/Task_1_Basics/2_1_Comparation/App.config b/maltsev/Task6/Struct_2_Train/Struct_2_Train/App.config similarity index 100% rename from golovko.greg/Task_1_Basics/2_1_Comparation/App.config rename to maltsev/Task6/Struct_2_Train/Struct_2_Train/App.config diff --git a/maltsev/Task6/Struct_2_Train/Struct_2_Train/Program.cs b/maltsev/Task6/Struct_2_Train/Struct_2_Train/Program.cs new file mode 100644 index 0000000..be44bfd --- /dev/null +++ b/maltsev/Task6/Struct_2_Train/Struct_2_Train/Program.cs @@ -0,0 +1,99 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Struct_2_Train +{ + struct Train + { + private int number; + private string destination; + private string departureTime; + + public int Number { get { return number; } } + + public Train(int number, string dest, string dep) + { + this.number = number; + this.destination = dest; + this.departureTime = dep; + } + + public void Show() + { + Console.WriteLine("Number:\t\t" + number); + Console.WriteLine("Destination:\t" + destination); + Console.WriteLine("DepartureTime:\t" + departureTime); + Console.WriteLine(); + } + } + class Program + { + static void Main(string[] args) + { + Train[] trains = new Train[3];//8 + + Input(trains); + Sort(trains); + Show(trains); + OutputByNumber(trains); + + Console.ReadKey(); + + } + + static public void Input(Train[] _trains) + { + for (int i = 0; i < _trains.Length; i++) + { + Console.WriteLine("{0} train" , i+1); + Console.Write("Number:\t\t"); + int number = Convert.ToInt32(Console.ReadLine()); + Console.Write("Destination:\t"); + string dest = Console.ReadLine(); + Console.Write("DepartureTime:\t"); + string dep = Console.ReadLine(); + Console.WriteLine(); + _trains[i] = new Train(number, dest, dep); + } + } + static public void Sort(Train[] _trains) + { + for(int i = 0; i < _trains.Length - 1; i++) + for (int j = i+1; j < _trains.Length; j++) + { + if(_trains[i].Number > _trains[j].Number) + { + Train temp = new Train(); + temp = _trains[i]; + _trains[i] = _trains[j]; + _trains[j] = temp; + } + } + } + static public void Show(Train[] _trains) + { + Console.WriteLine( "All trains: "); + for (int i = 0; i < _trains.Length; i++) + { + _trains[i].Show(); + } + } + static public void OutputByNumber(Train[] _trains) + { + Console.Write("Enter the number: "); + int num = Convert.ToInt32(Console.ReadLine()); + for (int i = 0; i < _trains.Length; i++) + { + if (_trains[i].Number == num) + { + _trains[i].Show(); + return; + } + } + Console.WriteLine("Number is not found"); + } + } +} diff --git a/maltsev/Task6/Struct_2_Train/Struct_2_Train/Properties/AssemblyInfo.cs b/maltsev/Task6/Struct_2_Train/Struct_2_Train/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..4765dc7 --- /dev/null +++ b/maltsev/Task6/Struct_2_Train/Struct_2_Train/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Struct_2_Train")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("Struct_2_Train")] +[assembly: AssemblyCopyright("Copyright © 2016")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("9925382e-a5bb-4743-abd2-b924f85ada14")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/maltsev/Task6/Struct_2_Train/Struct_2_Train/Struct_2_Train.csproj b/maltsev/Task6/Struct_2_Train/Struct_2_Train/Struct_2_Train.csproj new file mode 100644 index 0000000..75e08b5 --- /dev/null +++ b/maltsev/Task6/Struct_2_Train/Struct_2_Train/Struct_2_Train.csproj @@ -0,0 +1,60 @@ + + + + + Debug + AnyCPU + {9925382E-A5BB-4743-ABD2-B924F85ADA14} + Exe + Properties + Struct_2_Train + Struct_2_Train + v4.5.2 + 512 + true + + + AnyCPU + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + AnyCPU + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/maltsev/Task6/Struct_2_Train/Struct_2_Train/bin/Debug/Struct_2_Train.exe b/maltsev/Task6/Struct_2_Train/Struct_2_Train/bin/Debug/Struct_2_Train.exe new file mode 100644 index 0000000..0ea562f Binary files /dev/null and b/maltsev/Task6/Struct_2_Train/Struct_2_Train/bin/Debug/Struct_2_Train.exe differ diff --git a/golovko.greg/Task_1_Basics/1_Strings/bin/Debug/1_Strings.exe.config b/maltsev/Task6/Struct_2_Train/Struct_2_Train/bin/Debug/Struct_2_Train.exe.config similarity index 100% rename from golovko.greg/Task_1_Basics/1_Strings/bin/Debug/1_Strings.exe.config rename to maltsev/Task6/Struct_2_Train/Struct_2_Train/bin/Debug/Struct_2_Train.exe.config diff --git a/maltsev/Task6/Struct_2_Train/Struct_2_Train/bin/Debug/Struct_2_Train.pdb b/maltsev/Task6/Struct_2_Train/Struct_2_Train/bin/Debug/Struct_2_Train.pdb new file mode 100644 index 0000000..6497610 Binary files /dev/null and b/maltsev/Task6/Struct_2_Train/Struct_2_Train/bin/Debug/Struct_2_Train.pdb differ diff --git a/golovko.greg/Task_1_Basics/1_Strings/bin/Debug/1_Strings.vshost.exe b/maltsev/Task6/Struct_2_Train/Struct_2_Train/bin/Debug/Struct_2_Train.vshost.exe similarity index 100% rename from golovko.greg/Task_1_Basics/1_Strings/bin/Debug/1_Strings.vshost.exe rename to maltsev/Task6/Struct_2_Train/Struct_2_Train/bin/Debug/Struct_2_Train.vshost.exe diff --git a/golovko.greg/Task_1_Basics/1_Strings/bin/Debug/1_Strings.vshost.exe.config b/maltsev/Task6/Struct_2_Train/Struct_2_Train/bin/Debug/Struct_2_Train.vshost.exe.config similarity index 100% rename from golovko.greg/Task_1_Basics/1_Strings/bin/Debug/1_Strings.vshost.exe.config rename to maltsev/Task6/Struct_2_Train/Struct_2_Train/bin/Debug/Struct_2_Train.vshost.exe.config diff --git a/maltsev/Task6/Struct_2_Train/Struct_2_Train/bin/Debug/Struct_2_Train.vshost.exe.manifest b/maltsev/Task6/Struct_2_Train/Struct_2_Train/bin/Debug/Struct_2_Train.vshost.exe.manifest new file mode 100644 index 0000000..061c9ca --- /dev/null +++ b/maltsev/Task6/Struct_2_Train/Struct_2_Train/bin/Debug/Struct_2_Train.vshost.exe.manifest @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/maltsev/Task6/Struct_2_Train/Struct_2_Train/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/maltsev/Task6/Struct_2_Train/Struct_2_Train/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache new file mode 100644 index 0000000..9fbdac1 Binary files /dev/null and b/maltsev/Task6/Struct_2_Train/Struct_2_Train/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/maltsev/Task6/Struct_2_Train/Struct_2_Train/obj/Debug/Struct_2_Train.csproj.FileListAbsolute.txt b/maltsev/Task6/Struct_2_Train/Struct_2_Train/obj/Debug/Struct_2_Train.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..dfd33ed --- /dev/null +++ b/maltsev/Task6/Struct_2_Train/Struct_2_Train/obj/Debug/Struct_2_Train.csproj.FileListAbsolute.txt @@ -0,0 +1,6 @@ +c:\users\svezho\documents\visual studio 2015\Projects\Struct_2_Train\Struct_2_Train\bin\Debug\Struct_2_Train.exe.config +c:\users\svezho\documents\visual studio 2015\Projects\Struct_2_Train\Struct_2_Train\bin\Debug\Struct_2_Train.exe +c:\users\svezho\documents\visual studio 2015\Projects\Struct_2_Train\Struct_2_Train\bin\Debug\Struct_2_Train.pdb +c:\users\svezho\documents\visual studio 2015\Projects\Struct_2_Train\Struct_2_Train\obj\Debug\Struct_2_Train.csprojResolveAssemblyReference.cache +c:\users\svezho\documents\visual studio 2015\Projects\Struct_2_Train\Struct_2_Train\obj\Debug\Struct_2_Train.exe +c:\users\svezho\documents\visual studio 2015\Projects\Struct_2_Train\Struct_2_Train\obj\Debug\Struct_2_Train.pdb diff --git a/maltsev/Task6/Struct_2_Train/Struct_2_Train/obj/Debug/Struct_2_Train.csprojResolveAssemblyReference.cache b/maltsev/Task6/Struct_2_Train/Struct_2_Train/obj/Debug/Struct_2_Train.csprojResolveAssemblyReference.cache new file mode 100644 index 0000000..362dcb9 Binary files /dev/null and b/maltsev/Task6/Struct_2_Train/Struct_2_Train/obj/Debug/Struct_2_Train.csprojResolveAssemblyReference.cache differ diff --git a/maltsev/Task6/Struct_2_Train/Struct_2_Train/obj/Debug/Struct_2_Train.exe b/maltsev/Task6/Struct_2_Train/Struct_2_Train/obj/Debug/Struct_2_Train.exe new file mode 100644 index 0000000..0ea562f Binary files /dev/null and b/maltsev/Task6/Struct_2_Train/Struct_2_Train/obj/Debug/Struct_2_Train.exe differ diff --git a/maltsev/Task6/Struct_2_Train/Struct_2_Train/obj/Debug/Struct_2_Train.pdb b/maltsev/Task6/Struct_2_Train/Struct_2_Train/obj/Debug/Struct_2_Train.pdb new file mode 100644 index 0000000..6497610 Binary files /dev/null and b/maltsev/Task6/Struct_2_Train/Struct_2_Train/obj/Debug/Struct_2_Train.pdb differ diff --git a/Task_1_Basics/1_Strings/obj/Release/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs b/maltsev/Task6/Struct_2_Train/Struct_2_Train/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs similarity index 100% rename from Task_1_Basics/1_Strings/obj/Release/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs rename to maltsev/Task6/Struct_2_Train/Struct_2_Train/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs diff --git a/Task_1_Basics/1_Strings/obj/Release/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs b/maltsev/Task6/Struct_2_Train/Struct_2_Train/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs similarity index 100% rename from Task_1_Basics/1_Strings/obj/Release/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs rename to maltsev/Task6/Struct_2_Train/Struct_2_Train/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs diff --git a/Task_1_Basics/1_Strings/obj/Release/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs b/maltsev/Task6/Struct_2_Train/Struct_2_Train/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs similarity index 100% rename from Task_1_Basics/1_Strings/obj/Release/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs rename to maltsev/Task6/Struct_2_Train/Struct_2_Train/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs diff --git a/maltsev/Task6/Struct_3_MyClass/.vs/Struct_3_MyClass/v14/.suo b/maltsev/Task6/Struct_3_MyClass/.vs/Struct_3_MyClass/v14/.suo new file mode 100644 index 0000000..f5c5173 Binary files /dev/null and b/maltsev/Task6/Struct_3_MyClass/.vs/Struct_3_MyClass/v14/.suo differ diff --git a/maltsev/Task6/Struct_3_MyClass/Struct_3_MyClass.sln b/maltsev/Task6/Struct_3_MyClass/Struct_3_MyClass.sln new file mode 100644 index 0000000..c9dc049 --- /dev/null +++ b/maltsev/Task6/Struct_3_MyClass/Struct_3_MyClass.sln @@ -0,0 +1,22 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 14 +VisualStudioVersion = 14.0.25420.1 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Struct_3_MyClass", "Struct_3_MyClass\Struct_3_MyClass.csproj", "{3C87E470-D51D-4E53-99CE-AFE63691A1A0}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {3C87E470-D51D-4E53-99CE-AFE63691A1A0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {3C87E470-D51D-4E53-99CE-AFE63691A1A0}.Debug|Any CPU.Build.0 = Debug|Any CPU + {3C87E470-D51D-4E53-99CE-AFE63691A1A0}.Release|Any CPU.ActiveCfg = Release|Any CPU + {3C87E470-D51D-4E53-99CE-AFE63691A1A0}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/golovko.greg/Task_1_Basics/2_2_MauGau/App.config b/maltsev/Task6/Struct_3_MyClass/Struct_3_MyClass/App.config similarity index 100% rename from golovko.greg/Task_1_Basics/2_2_MauGau/App.config rename to maltsev/Task6/Struct_3_MyClass/Struct_3_MyClass/App.config diff --git a/maltsev/Task6/Struct_3_MyClass/Struct_3_MyClass/Program.cs b/maltsev/Task6/Struct_3_MyClass/Struct_3_MyClass/Program.cs new file mode 100644 index 0000000..a58feef --- /dev/null +++ b/maltsev/Task6/Struct_3_MyClass/Struct_3_MyClass/Program.cs @@ -0,0 +1,48 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Struct_3_MyClass +{ + struct MyStruct + { + public string change; + } + class MyClass + { + public string change; + } + class Program + { + static void Main(string[] args) + { + MyStruct myStruct; + myStruct.change = "not changed"; + + MyClass myClass = new MyClass(); + myClass.change = "not changed"; + + Console.WriteLine("myClass.change:\t\t" + myClass.change); + Console.WriteLine("myStruct.change:\t" + myStruct.change); + Console.WriteLine(); + + StructTaker(myStruct); + ClassTaker(myClass); + + Console.WriteLine("myClass.change:\t\t" + myClass.change); + Console.WriteLine("myStruct.change:\t" + myStruct.change); + + Console.ReadKey(); + } + static void ClassTaker(MyClass myClass) + { + myClass.change = "changed"; + } + static void StructTaker(MyStruct myStruct) + { + myStruct.change = "changed"; + } + } +} diff --git a/maltsev/Task6/Struct_3_MyClass/Struct_3_MyClass/Properties/AssemblyInfo.cs b/maltsev/Task6/Struct_3_MyClass/Struct_3_MyClass/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..f6df76a --- /dev/null +++ b/maltsev/Task6/Struct_3_MyClass/Struct_3_MyClass/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Struct_3_MyClass")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("Struct_3_MyClass")] +[assembly: AssemblyCopyright("Copyright © 2016")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("3c87e470-d51d-4e53-99ce-afe63691a1a0")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/maltsev/Task6/Struct_3_MyClass/Struct_3_MyClass/Struct_3_MyClass.csproj b/maltsev/Task6/Struct_3_MyClass/Struct_3_MyClass/Struct_3_MyClass.csproj new file mode 100644 index 0000000..0cf017b --- /dev/null +++ b/maltsev/Task6/Struct_3_MyClass/Struct_3_MyClass/Struct_3_MyClass.csproj @@ -0,0 +1,60 @@ + + + + + Debug + AnyCPU + {3C87E470-D51D-4E53-99CE-AFE63691A1A0} + Exe + Properties + Struct_3_MyClass + Struct_3_MyClass + v4.5.2 + 512 + true + + + AnyCPU + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + AnyCPU + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/maltsev/Task6/Struct_3_MyClass/Struct_3_MyClass/bin/Debug/Struct_3_MyClass.exe b/maltsev/Task6/Struct_3_MyClass/Struct_3_MyClass/bin/Debug/Struct_3_MyClass.exe new file mode 100644 index 0000000..4ec3f43 Binary files /dev/null and b/maltsev/Task6/Struct_3_MyClass/Struct_3_MyClass/bin/Debug/Struct_3_MyClass.exe differ diff --git a/golovko.greg/Task_1_Basics/1_Strings/bin/Release/1_Strings.exe.config b/maltsev/Task6/Struct_3_MyClass/Struct_3_MyClass/bin/Debug/Struct_3_MyClass.exe.config similarity index 100% rename from golovko.greg/Task_1_Basics/1_Strings/bin/Release/1_Strings.exe.config rename to maltsev/Task6/Struct_3_MyClass/Struct_3_MyClass/bin/Debug/Struct_3_MyClass.exe.config diff --git a/maltsev/Task6/Struct_3_MyClass/Struct_3_MyClass/bin/Debug/Struct_3_MyClass.pdb b/maltsev/Task6/Struct_3_MyClass/Struct_3_MyClass/bin/Debug/Struct_3_MyClass.pdb new file mode 100644 index 0000000..20dbe16 Binary files /dev/null and b/maltsev/Task6/Struct_3_MyClass/Struct_3_MyClass/bin/Debug/Struct_3_MyClass.pdb differ diff --git a/golovko.greg/Task_1_Basics/1_Strings/bin/Release/1_Strings.vshost.exe b/maltsev/Task6/Struct_3_MyClass/Struct_3_MyClass/bin/Debug/Struct_3_MyClass.vshost.exe similarity index 100% rename from golovko.greg/Task_1_Basics/1_Strings/bin/Release/1_Strings.vshost.exe rename to maltsev/Task6/Struct_3_MyClass/Struct_3_MyClass/bin/Debug/Struct_3_MyClass.vshost.exe diff --git a/golovko.greg/Task_1_Basics/1_Strings/bin/Release/1_Strings.vshost.exe.config b/maltsev/Task6/Struct_3_MyClass/Struct_3_MyClass/bin/Debug/Struct_3_MyClass.vshost.exe.config similarity index 100% rename from golovko.greg/Task_1_Basics/1_Strings/bin/Release/1_Strings.vshost.exe.config rename to maltsev/Task6/Struct_3_MyClass/Struct_3_MyClass/bin/Debug/Struct_3_MyClass.vshost.exe.config diff --git a/maltsev/Task6/Struct_3_MyClass/Struct_3_MyClass/bin/Debug/Struct_3_MyClass.vshost.exe.manifest b/maltsev/Task6/Struct_3_MyClass/Struct_3_MyClass/bin/Debug/Struct_3_MyClass.vshost.exe.manifest new file mode 100644 index 0000000..061c9ca --- /dev/null +++ b/maltsev/Task6/Struct_3_MyClass/Struct_3_MyClass/bin/Debug/Struct_3_MyClass.vshost.exe.manifest @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/maltsev/Task6/Struct_3_MyClass/Struct_3_MyClass/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/maltsev/Task6/Struct_3_MyClass/Struct_3_MyClass/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache new file mode 100644 index 0000000..1918c50 Binary files /dev/null and b/maltsev/Task6/Struct_3_MyClass/Struct_3_MyClass/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/maltsev/Task6/Struct_3_MyClass/Struct_3_MyClass/obj/Debug/Struct_3_MyClass.csproj.FileListAbsolute.txt b/maltsev/Task6/Struct_3_MyClass/Struct_3_MyClass/obj/Debug/Struct_3_MyClass.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..668aa54 --- /dev/null +++ b/maltsev/Task6/Struct_3_MyClass/Struct_3_MyClass/obj/Debug/Struct_3_MyClass.csproj.FileListAbsolute.txt @@ -0,0 +1,5 @@ +c:\users\svezho\documents\visual studio 2015\Projects\Struct_3_MyClass\Struct_3_MyClass\bin\Debug\Struct_3_MyClass.exe.config +c:\users\svezho\documents\visual studio 2015\Projects\Struct_3_MyClass\Struct_3_MyClass\bin\Debug\Struct_3_MyClass.exe +c:\users\svezho\documents\visual studio 2015\Projects\Struct_3_MyClass\Struct_3_MyClass\bin\Debug\Struct_3_MyClass.pdb +c:\users\svezho\documents\visual studio 2015\Projects\Struct_3_MyClass\Struct_3_MyClass\obj\Debug\Struct_3_MyClass.exe +c:\users\svezho\documents\visual studio 2015\Projects\Struct_3_MyClass\Struct_3_MyClass\obj\Debug\Struct_3_MyClass.pdb diff --git a/maltsev/Task6/Struct_3_MyClass/Struct_3_MyClass/obj/Debug/Struct_3_MyClass.exe b/maltsev/Task6/Struct_3_MyClass/Struct_3_MyClass/obj/Debug/Struct_3_MyClass.exe new file mode 100644 index 0000000..4ec3f43 Binary files /dev/null and b/maltsev/Task6/Struct_3_MyClass/Struct_3_MyClass/obj/Debug/Struct_3_MyClass.exe differ diff --git a/maltsev/Task6/Struct_3_MyClass/Struct_3_MyClass/obj/Debug/Struct_3_MyClass.pdb b/maltsev/Task6/Struct_3_MyClass/Struct_3_MyClass/obj/Debug/Struct_3_MyClass.pdb new file mode 100644 index 0000000..20dbe16 Binary files /dev/null and b/maltsev/Task6/Struct_3_MyClass/Struct_3_MyClass/obj/Debug/Struct_3_MyClass.pdb differ diff --git a/Task_1_Basics/2_1_Comparation/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs b/maltsev/Task6/Struct_3_MyClass/Struct_3_MyClass/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs similarity index 100% rename from Task_1_Basics/2_1_Comparation/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs rename to maltsev/Task6/Struct_3_MyClass/Struct_3_MyClass/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs diff --git a/Task_1_Basics/2_1_Comparation/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs b/maltsev/Task6/Struct_3_MyClass/Struct_3_MyClass/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs similarity index 100% rename from Task_1_Basics/2_1_Comparation/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs rename to maltsev/Task6/Struct_3_MyClass/Struct_3_MyClass/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs diff --git a/Task_1_Basics/2_1_Comparation/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs b/maltsev/Task6/Struct_3_MyClass/Struct_3_MyClass/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs similarity index 100% rename from Task_1_Basics/2_1_Comparation/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs rename to maltsev/Task6/Struct_3_MyClass/Struct_3_MyClass/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs diff --git a/maltsev/Task6/Struct_4_BDay/.vs/Struct_4_BDay/v14/.suo b/maltsev/Task6/Struct_4_BDay/.vs/Struct_4_BDay/v14/.suo new file mode 100644 index 0000000..aeb7a17 Binary files /dev/null and b/maltsev/Task6/Struct_4_BDay/.vs/Struct_4_BDay/v14/.suo differ diff --git a/maltsev/Task6/Struct_4_BDay/Struct_4_BDay.sln b/maltsev/Task6/Struct_4_BDay/Struct_4_BDay.sln new file mode 100644 index 0000000..60cc68b --- /dev/null +++ b/maltsev/Task6/Struct_4_BDay/Struct_4_BDay.sln @@ -0,0 +1,22 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 14 +VisualStudioVersion = 14.0.25420.1 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Struct_4_BDay", "Struct_4_BDay\Struct_4_BDay.csproj", "{98D4A335-9B5F-4A69-BB43-7A2A1DE58F33}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {98D4A335-9B5F-4A69-BB43-7A2A1DE58F33}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {98D4A335-9B5F-4A69-BB43-7A2A1DE58F33}.Debug|Any CPU.Build.0 = Debug|Any CPU + {98D4A335-9B5F-4A69-BB43-7A2A1DE58F33}.Release|Any CPU.ActiveCfg = Release|Any CPU + {98D4A335-9B5F-4A69-BB43-7A2A1DE58F33}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/golovko.greg/Task_1_Basics/2_3_Season/App.config b/maltsev/Task6/Struct_4_BDay/Struct_4_BDay/App.config similarity index 100% rename from golovko.greg/Task_1_Basics/2_3_Season/App.config rename to maltsev/Task6/Struct_4_BDay/Struct_4_BDay/App.config diff --git a/maltsev/Task6/Struct_4_BDay/Struct_4_BDay/Program.cs b/maltsev/Task6/Struct_4_BDay/Struct_4_BDay/Program.cs new file mode 100644 index 0000000..0e7c6ce --- /dev/null +++ b/maltsev/Task6/Struct_4_BDay/Struct_4_BDay/Program.cs @@ -0,0 +1,37 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Struct_4_BDay +{ + class Program + { + static void Main(string[] args) + { + Console.Write("Day:\t"); + int day = Convert.ToInt32(Console.ReadLine()); + Console.Write("Month:\t"); + int month = Convert.ToInt32(Console.ReadLine()); + DateTime birth = new DateTime(2016, month, day); + TimeSpan delta = new TimeSpan(); + + int compare = DateTime.Compare(birth, DateTime.Today); + if(compare > 0) + { + delta = birth.Subtract(DateTime.Today); + Console.WriteLine(delta.Days); + } + else if (compare < 0) + { + delta = DateTime.Today.Subtract(birth); + Console.WriteLine( delta.Days + 365); + } + else Console.WriteLine("Happy B-Day!"); + + Console.ReadKey(); + + } + } +} diff --git a/maltsev/Task6/Struct_4_BDay/Struct_4_BDay/Properties/AssemblyInfo.cs b/maltsev/Task6/Struct_4_BDay/Struct_4_BDay/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..10407b1 --- /dev/null +++ b/maltsev/Task6/Struct_4_BDay/Struct_4_BDay/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Struct_4_BDay")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("Struct_4_BDay")] +[assembly: AssemblyCopyright("Copyright © 2016")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("98d4a335-9b5f-4a69-bb43-7a2a1de58f33")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/maltsev/Task6/Struct_4_BDay/Struct_4_BDay/Struct_4_BDay.csproj b/maltsev/Task6/Struct_4_BDay/Struct_4_BDay/Struct_4_BDay.csproj new file mode 100644 index 0000000..3c4434f --- /dev/null +++ b/maltsev/Task6/Struct_4_BDay/Struct_4_BDay/Struct_4_BDay.csproj @@ -0,0 +1,60 @@ + + + + + Debug + AnyCPU + {98D4A335-9B5F-4A69-BB43-7A2A1DE58F33} + Exe + Properties + Struct_4_BDay + Struct_4_BDay + v4.5.2 + 512 + true + + + AnyCPU + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + AnyCPU + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/maltsev/Task6/Struct_4_BDay/Struct_4_BDay/bin/Debug/Struct_4_BDay.exe b/maltsev/Task6/Struct_4_BDay/Struct_4_BDay/bin/Debug/Struct_4_BDay.exe new file mode 100644 index 0000000..8c3aa72 Binary files /dev/null and b/maltsev/Task6/Struct_4_BDay/Struct_4_BDay/bin/Debug/Struct_4_BDay.exe differ diff --git a/golovko.greg/Task_1_Basics/2_1_Comparation/bin/Debug/2_1_Comparation.exe.config b/maltsev/Task6/Struct_4_BDay/Struct_4_BDay/bin/Debug/Struct_4_BDay.exe.config similarity index 100% rename from golovko.greg/Task_1_Basics/2_1_Comparation/bin/Debug/2_1_Comparation.exe.config rename to maltsev/Task6/Struct_4_BDay/Struct_4_BDay/bin/Debug/Struct_4_BDay.exe.config diff --git a/maltsev/Task6/Struct_4_BDay/Struct_4_BDay/bin/Debug/Struct_4_BDay.pdb b/maltsev/Task6/Struct_4_BDay/Struct_4_BDay/bin/Debug/Struct_4_BDay.pdb new file mode 100644 index 0000000..7bebfca Binary files /dev/null and b/maltsev/Task6/Struct_4_BDay/Struct_4_BDay/bin/Debug/Struct_4_BDay.pdb differ diff --git a/golovko.greg/Task_1_Basics/2_1_Comparation/bin/Debug/2_1_Comparation.vshost.exe b/maltsev/Task6/Struct_4_BDay/Struct_4_BDay/bin/Debug/Struct_4_BDay.vshost.exe similarity index 100% rename from golovko.greg/Task_1_Basics/2_1_Comparation/bin/Debug/2_1_Comparation.vshost.exe rename to maltsev/Task6/Struct_4_BDay/Struct_4_BDay/bin/Debug/Struct_4_BDay.vshost.exe diff --git a/golovko.greg/Task_1_Basics/2_1_Comparation/bin/Debug/2_1_Comparation.vshost.exe.config b/maltsev/Task6/Struct_4_BDay/Struct_4_BDay/bin/Debug/Struct_4_BDay.vshost.exe.config similarity index 100% rename from golovko.greg/Task_1_Basics/2_1_Comparation/bin/Debug/2_1_Comparation.vshost.exe.config rename to maltsev/Task6/Struct_4_BDay/Struct_4_BDay/bin/Debug/Struct_4_BDay.vshost.exe.config diff --git a/maltsev/Task6/Struct_4_BDay/Struct_4_BDay/bin/Debug/Struct_4_BDay.vshost.exe.manifest b/maltsev/Task6/Struct_4_BDay/Struct_4_BDay/bin/Debug/Struct_4_BDay.vshost.exe.manifest new file mode 100644 index 0000000..061c9ca --- /dev/null +++ b/maltsev/Task6/Struct_4_BDay/Struct_4_BDay/bin/Debug/Struct_4_BDay.vshost.exe.manifest @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/maltsev/Task6/Struct_4_BDay/Struct_4_BDay/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/maltsev/Task6/Struct_4_BDay/Struct_4_BDay/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache new file mode 100644 index 0000000..2993e75 Binary files /dev/null and b/maltsev/Task6/Struct_4_BDay/Struct_4_BDay/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/maltsev/Task6/Struct_4_BDay/Struct_4_BDay/obj/Debug/Struct_4_BDay.csproj.FileListAbsolute.txt b/maltsev/Task6/Struct_4_BDay/Struct_4_BDay/obj/Debug/Struct_4_BDay.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..9f0f304 --- /dev/null +++ b/maltsev/Task6/Struct_4_BDay/Struct_4_BDay/obj/Debug/Struct_4_BDay.csproj.FileListAbsolute.txt @@ -0,0 +1,5 @@ +c:\users\svezho\documents\visual studio 2015\Projects\Struct_4_BDay\Struct_4_BDay\bin\Debug\Struct_4_BDay.exe.config +c:\users\svezho\documents\visual studio 2015\Projects\Struct_4_BDay\Struct_4_BDay\bin\Debug\Struct_4_BDay.exe +c:\users\svezho\documents\visual studio 2015\Projects\Struct_4_BDay\Struct_4_BDay\bin\Debug\Struct_4_BDay.pdb +c:\users\svezho\documents\visual studio 2015\Projects\Struct_4_BDay\Struct_4_BDay\obj\Debug\Struct_4_BDay.exe +c:\users\svezho\documents\visual studio 2015\Projects\Struct_4_BDay\Struct_4_BDay\obj\Debug\Struct_4_BDay.pdb diff --git a/maltsev/Task6/Struct_4_BDay/Struct_4_BDay/obj/Debug/Struct_4_BDay.exe b/maltsev/Task6/Struct_4_BDay/Struct_4_BDay/obj/Debug/Struct_4_BDay.exe new file mode 100644 index 0000000..8c3aa72 Binary files /dev/null and b/maltsev/Task6/Struct_4_BDay/Struct_4_BDay/obj/Debug/Struct_4_BDay.exe differ diff --git a/maltsev/Task6/Struct_4_BDay/Struct_4_BDay/obj/Debug/Struct_4_BDay.pdb b/maltsev/Task6/Struct_4_BDay/Struct_4_BDay/obj/Debug/Struct_4_BDay.pdb new file mode 100644 index 0000000..7bebfca Binary files /dev/null and b/maltsev/Task6/Struct_4_BDay/Struct_4_BDay/obj/Debug/Struct_4_BDay.pdb differ diff --git a/Task_1_Basics/2_2_MauGau/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs b/maltsev/Task6/Struct_4_BDay/Struct_4_BDay/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs similarity index 100% rename from Task_1_Basics/2_2_MauGau/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs rename to maltsev/Task6/Struct_4_BDay/Struct_4_BDay/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs diff --git a/Task_1_Basics/2_2_MauGau/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs b/maltsev/Task6/Struct_4_BDay/Struct_4_BDay/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs similarity index 100% rename from Task_1_Basics/2_2_MauGau/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs rename to maltsev/Task6/Struct_4_BDay/Struct_4_BDay/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs diff --git a/Task_1_Basics/2_2_MauGau/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs b/maltsev/Task6/Struct_4_BDay/Struct_4_BDay/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs similarity index 100% rename from Task_1_Basics/2_2_MauGau/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs rename to maltsev/Task6/Struct_4_BDay/Struct_4_BDay/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs diff --git a/maltsev/Task6/Struct_5_Colors/.vs/Struct_5_Colors/v14/.suo b/maltsev/Task6/Struct_5_Colors/.vs/Struct_5_Colors/v14/.suo new file mode 100644 index 0000000..ad591f8 Binary files /dev/null and b/maltsev/Task6/Struct_5_Colors/.vs/Struct_5_Colors/v14/.suo differ diff --git a/maltsev/Task6/Struct_5_Colors/Struct_5_Colors.sln b/maltsev/Task6/Struct_5_Colors/Struct_5_Colors.sln new file mode 100644 index 0000000..d444d45 --- /dev/null +++ b/maltsev/Task6/Struct_5_Colors/Struct_5_Colors.sln @@ -0,0 +1,22 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 14 +VisualStudioVersion = 14.0.25420.1 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Struct_5_Colors", "Struct_5_Colors\Struct_5_Colors.csproj", "{A58F46D9-96EF-4E3F-B8B5-D49809066A7F}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {A58F46D9-96EF-4E3F-B8B5-D49809066A7F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {A58F46D9-96EF-4E3F-B8B5-D49809066A7F}.Debug|Any CPU.Build.0 = Debug|Any CPU + {A58F46D9-96EF-4E3F-B8B5-D49809066A7F}.Release|Any CPU.ActiveCfg = Release|Any CPU + {A58F46D9-96EF-4E3F-B8B5-D49809066A7F}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/golovko.greg/Task_1_Basics/2_4_GoodVsBad/App.config b/maltsev/Task6/Struct_5_Colors/Struct_5_Colors/App.config similarity index 100% rename from golovko.greg/Task_1_Basics/2_4_GoodVsBad/App.config rename to maltsev/Task6/Struct_5_Colors/Struct_5_Colors/App.config diff --git a/maltsev/Task6/Struct_5_Colors/Struct_5_Colors/Program.cs b/maltsev/Task6/Struct_5_Colors/Struct_5_Colors/Program.cs new file mode 100644 index 0000000..9b83950 --- /dev/null +++ b/maltsev/Task6/Struct_5_Colors/Struct_5_Colors/Program.cs @@ -0,0 +1,37 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Struct_5_Colors +{ + static class Printer + { + static public void Print(string str, int color) + { + Console.ForegroundColor = (ConsoleColor) color; + Console.WriteLine(str); + Console.ForegroundColor = ConsoleColor.White; + } + } + class Program + { + static void Main(string[] args) + { + Console.WriteLine("Enter your string:"); + string str = Console.ReadLine(); + Console.WriteLine("Choose your color (1:15): "); + foreach (ConsoleColor item in Enum.GetValues(typeof(ConsoleColor))) + { + Console.WriteLine((int)item + ": " + item); + } + + int choice = Convert.ToInt32(Console.ReadLine()); + Printer.Print(str, choice); + + Console.ReadKey(); + + } + } +} diff --git a/maltsev/Task6/Struct_5_Colors/Struct_5_Colors/Properties/AssemblyInfo.cs b/maltsev/Task6/Struct_5_Colors/Struct_5_Colors/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..d8d21cc --- /dev/null +++ b/maltsev/Task6/Struct_5_Colors/Struct_5_Colors/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Struct_5_Colors")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("Struct_5_Colors")] +[assembly: AssemblyCopyright("Copyright © 2016")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("a58f46d9-96ef-4e3f-b8b5-d49809066a7f")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/maltsev/Task6/Struct_5_Colors/Struct_5_Colors/Struct_5_Colors.csproj b/maltsev/Task6/Struct_5_Colors/Struct_5_Colors/Struct_5_Colors.csproj new file mode 100644 index 0000000..1f6569b --- /dev/null +++ b/maltsev/Task6/Struct_5_Colors/Struct_5_Colors/Struct_5_Colors.csproj @@ -0,0 +1,60 @@ + + + + + Debug + AnyCPU + {A58F46D9-96EF-4E3F-B8B5-D49809066A7F} + Exe + Properties + Struct_5_Colors + Struct_5_Colors + v4.5.2 + 512 + true + + + AnyCPU + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + AnyCPU + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/maltsev/Task6/Struct_5_Colors/Struct_5_Colors/bin/Debug/Struct_5_Colors.exe b/maltsev/Task6/Struct_5_Colors/Struct_5_Colors/bin/Debug/Struct_5_Colors.exe new file mode 100644 index 0000000..fe91251 Binary files /dev/null and b/maltsev/Task6/Struct_5_Colors/Struct_5_Colors/bin/Debug/Struct_5_Colors.exe differ diff --git a/golovko.greg/Task_1_Basics/2_2_MauGau/bin/Debug/2_2_MauGau.exe.config b/maltsev/Task6/Struct_5_Colors/Struct_5_Colors/bin/Debug/Struct_5_Colors.exe.config similarity index 100% rename from golovko.greg/Task_1_Basics/2_2_MauGau/bin/Debug/2_2_MauGau.exe.config rename to maltsev/Task6/Struct_5_Colors/Struct_5_Colors/bin/Debug/Struct_5_Colors.exe.config diff --git a/maltsev/Task6/Struct_5_Colors/Struct_5_Colors/bin/Debug/Struct_5_Colors.pdb b/maltsev/Task6/Struct_5_Colors/Struct_5_Colors/bin/Debug/Struct_5_Colors.pdb new file mode 100644 index 0000000..f5da059 Binary files /dev/null and b/maltsev/Task6/Struct_5_Colors/Struct_5_Colors/bin/Debug/Struct_5_Colors.pdb differ diff --git a/golovko.greg/Task_1_Basics/2_2_MauGau/bin/Debug/2_2_MauGau.vshost.exe b/maltsev/Task6/Struct_5_Colors/Struct_5_Colors/bin/Debug/Struct_5_Colors.vshost.exe similarity index 100% rename from golovko.greg/Task_1_Basics/2_2_MauGau/bin/Debug/2_2_MauGau.vshost.exe rename to maltsev/Task6/Struct_5_Colors/Struct_5_Colors/bin/Debug/Struct_5_Colors.vshost.exe diff --git a/golovko.greg/Task_1_Basics/2_2_MauGau/bin/Debug/2_2_MauGau.vshost.exe.config b/maltsev/Task6/Struct_5_Colors/Struct_5_Colors/bin/Debug/Struct_5_Colors.vshost.exe.config similarity index 100% rename from golovko.greg/Task_1_Basics/2_2_MauGau/bin/Debug/2_2_MauGau.vshost.exe.config rename to maltsev/Task6/Struct_5_Colors/Struct_5_Colors/bin/Debug/Struct_5_Colors.vshost.exe.config diff --git a/maltsev/Task6/Struct_5_Colors/Struct_5_Colors/bin/Debug/Struct_5_Colors.vshost.exe.manifest b/maltsev/Task6/Struct_5_Colors/Struct_5_Colors/bin/Debug/Struct_5_Colors.vshost.exe.manifest new file mode 100644 index 0000000..061c9ca --- /dev/null +++ b/maltsev/Task6/Struct_5_Colors/Struct_5_Colors/bin/Debug/Struct_5_Colors.vshost.exe.manifest @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/maltsev/Task6/Struct_5_Colors/Struct_5_Colors/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/maltsev/Task6/Struct_5_Colors/Struct_5_Colors/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache new file mode 100644 index 0000000..b874d7d Binary files /dev/null and b/maltsev/Task6/Struct_5_Colors/Struct_5_Colors/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/maltsev/Task6/Struct_5_Colors/Struct_5_Colors/obj/Debug/Struct_5_Colors.csproj.FileListAbsolute.txt b/maltsev/Task6/Struct_5_Colors/Struct_5_Colors/obj/Debug/Struct_5_Colors.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..5d1bb47 --- /dev/null +++ b/maltsev/Task6/Struct_5_Colors/Struct_5_Colors/obj/Debug/Struct_5_Colors.csproj.FileListAbsolute.txt @@ -0,0 +1,6 @@ +c:\users\svezho\documents\visual studio 2015\Projects\Struct_5_Colors\Struct_5_Colors\bin\Debug\Struct_5_Colors.exe.config +c:\users\svezho\documents\visual studio 2015\Projects\Struct_5_Colors\Struct_5_Colors\obj\Debug\Struct_5_Colors.csprojResolveAssemblyReference.cache +c:\users\svezho\documents\visual studio 2015\Projects\Struct_5_Colors\Struct_5_Colors\bin\Debug\Struct_5_Colors.exe +c:\users\svezho\documents\visual studio 2015\Projects\Struct_5_Colors\Struct_5_Colors\bin\Debug\Struct_5_Colors.pdb +c:\users\svezho\documents\visual studio 2015\Projects\Struct_5_Colors\Struct_5_Colors\obj\Debug\Struct_5_Colors.exe +c:\users\svezho\documents\visual studio 2015\Projects\Struct_5_Colors\Struct_5_Colors\obj\Debug\Struct_5_Colors.pdb diff --git a/maltsev/Task6/Struct_5_Colors/Struct_5_Colors/obj/Debug/Struct_5_Colors.csprojResolveAssemblyReference.cache b/maltsev/Task6/Struct_5_Colors/Struct_5_Colors/obj/Debug/Struct_5_Colors.csprojResolveAssemblyReference.cache new file mode 100644 index 0000000..362dcb9 Binary files /dev/null and b/maltsev/Task6/Struct_5_Colors/Struct_5_Colors/obj/Debug/Struct_5_Colors.csprojResolveAssemblyReference.cache differ diff --git a/maltsev/Task6/Struct_5_Colors/Struct_5_Colors/obj/Debug/Struct_5_Colors.exe b/maltsev/Task6/Struct_5_Colors/Struct_5_Colors/obj/Debug/Struct_5_Colors.exe new file mode 100644 index 0000000..fe91251 Binary files /dev/null and b/maltsev/Task6/Struct_5_Colors/Struct_5_Colors/obj/Debug/Struct_5_Colors.exe differ diff --git a/maltsev/Task6/Struct_5_Colors/Struct_5_Colors/obj/Debug/Struct_5_Colors.pdb b/maltsev/Task6/Struct_5_Colors/Struct_5_Colors/obj/Debug/Struct_5_Colors.pdb new file mode 100644 index 0000000..f5da059 Binary files /dev/null and b/maltsev/Task6/Struct_5_Colors/Struct_5_Colors/obj/Debug/Struct_5_Colors.pdb differ diff --git a/Task_1_Basics/2_3_Season/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs b/maltsev/Task6/Struct_5_Colors/Struct_5_Colors/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs similarity index 100% rename from Task_1_Basics/2_3_Season/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs rename to maltsev/Task6/Struct_5_Colors/Struct_5_Colors/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs diff --git a/Task_1_Basics/2_3_Season/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs b/maltsev/Task6/Struct_5_Colors/Struct_5_Colors/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs similarity index 100% rename from Task_1_Basics/2_3_Season/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs rename to maltsev/Task6/Struct_5_Colors/Struct_5_Colors/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs diff --git a/Task_1_Basics/2_3_Season/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs b/maltsev/Task6/Struct_5_Colors/Struct_5_Colors/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs similarity index 100% rename from Task_1_Basics/2_3_Season/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs rename to maltsev/Task6/Struct_5_Colors/Struct_5_Colors/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs diff --git a/maltsev/Task6/Struct_6_Enum/.vs/Struct_6_Enum/v14/.suo b/maltsev/Task6/Struct_6_Enum/.vs/Struct_6_Enum/v14/.suo new file mode 100644 index 0000000..c3d1623 Binary files /dev/null and b/maltsev/Task6/Struct_6_Enum/.vs/Struct_6_Enum/v14/.suo differ diff --git a/maltsev/Task6/Struct_6_Enum/Struct_6_Enum.sln b/maltsev/Task6/Struct_6_Enum/Struct_6_Enum.sln new file mode 100644 index 0000000..3f47df6 --- /dev/null +++ b/maltsev/Task6/Struct_6_Enum/Struct_6_Enum.sln @@ -0,0 +1,22 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 14 +VisualStudioVersion = 14.0.25420.1 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Struct_6_Enum", "Struct_6_Enum\Struct_6_Enum.csproj", "{412F5BA0-9B27-4CB2-8ABE-50178990A05A}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {412F5BA0-9B27-4CB2-8ABE-50178990A05A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {412F5BA0-9B27-4CB2-8ABE-50178990A05A}.Debug|Any CPU.Build.0 = Debug|Any CPU + {412F5BA0-9B27-4CB2-8ABE-50178990A05A}.Release|Any CPU.ActiveCfg = Release|Any CPU + {412F5BA0-9B27-4CB2-8ABE-50178990A05A}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/golovko.greg/Task_1_Basics/2_5_DayOfWeek/App.config b/maltsev/Task6/Struct_6_Enum/Struct_6_Enum/App.config similarity index 100% rename from golovko.greg/Task_1_Basics/2_5_DayOfWeek/App.config rename to maltsev/Task6/Struct_6_Enum/Struct_6_Enum/App.config diff --git a/maltsev/Task6/Struct_6_Enum/Struct_6_Enum/Program.cs b/maltsev/Task6/Struct_6_Enum/Struct_6_Enum/Program.cs new file mode 100644 index 0000000..3817f30 --- /dev/null +++ b/maltsev/Task6/Struct_6_Enum/Struct_6_Enum/Program.cs @@ -0,0 +1,41 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Struct_6_Enum +{ + public enum Post + { + ManagingDirector = 160 , + OfficeManager = 155, + ITDirector = 170 , + LANAdministrator = 170 , + BusinessAnalyst = 180, + SoftwareDeveloper = 185, + DatabaseDeveloper = 182, + + } + class Accountant + { + public bool AskForBonus(Post worker, int hours) + { + return (hours >= (int)worker); + } + } + class Program + { + static void Main(string[] args) + { + Accountant acc = new Accountant(); + Console.Write("Enter the number of hours: "); + int hours = Convert.ToInt32(Console.ReadLine()); + foreach (Post item in Enum.GetValues(typeof(Post))) + { + Console.WriteLine(item + " \t"+ acc.AskForBonus(item, hours)); + } + Console.ReadKey(); + } + } +} diff --git a/maltsev/Task6/Struct_6_Enum/Struct_6_Enum/Properties/AssemblyInfo.cs b/maltsev/Task6/Struct_6_Enum/Struct_6_Enum/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..99c6391 --- /dev/null +++ b/maltsev/Task6/Struct_6_Enum/Struct_6_Enum/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Struct_6_Enum")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("Struct_6_Enum")] +[assembly: AssemblyCopyright("Copyright © 2016")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("412f5ba0-9b27-4cb2-8abe-50178990a05a")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/maltsev/Task6/Struct_6_Enum/Struct_6_Enum/Struct_6_Enum.csproj b/maltsev/Task6/Struct_6_Enum/Struct_6_Enum/Struct_6_Enum.csproj new file mode 100644 index 0000000..3c91cca --- /dev/null +++ b/maltsev/Task6/Struct_6_Enum/Struct_6_Enum/Struct_6_Enum.csproj @@ -0,0 +1,60 @@ + + + + + Debug + AnyCPU + {412F5BA0-9B27-4CB2-8ABE-50178990A05A} + Exe + Properties + Struct_6_Enum + Struct_6_Enum + v4.5.2 + 512 + true + + + AnyCPU + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + AnyCPU + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/maltsev/Task6/Struct_6_Enum/Struct_6_Enum/bin/Debug/Struct_6_Enum.exe b/maltsev/Task6/Struct_6_Enum/Struct_6_Enum/bin/Debug/Struct_6_Enum.exe new file mode 100644 index 0000000..bb4c5d2 Binary files /dev/null and b/maltsev/Task6/Struct_6_Enum/Struct_6_Enum/bin/Debug/Struct_6_Enum.exe differ diff --git a/golovko.greg/Task_1_Basics/2_3_Season/bin/Debug/2_3_Season.exe.config b/maltsev/Task6/Struct_6_Enum/Struct_6_Enum/bin/Debug/Struct_6_Enum.exe.config similarity index 100% rename from golovko.greg/Task_1_Basics/2_3_Season/bin/Debug/2_3_Season.exe.config rename to maltsev/Task6/Struct_6_Enum/Struct_6_Enum/bin/Debug/Struct_6_Enum.exe.config diff --git a/maltsev/Task6/Struct_6_Enum/Struct_6_Enum/bin/Debug/Struct_6_Enum.pdb b/maltsev/Task6/Struct_6_Enum/Struct_6_Enum/bin/Debug/Struct_6_Enum.pdb new file mode 100644 index 0000000..31a4c3f Binary files /dev/null and b/maltsev/Task6/Struct_6_Enum/Struct_6_Enum/bin/Debug/Struct_6_Enum.pdb differ diff --git a/golovko.greg/Task_1_Basics/2_3_Season/bin/Debug/2_3_Season.vshost.exe b/maltsev/Task6/Struct_6_Enum/Struct_6_Enum/bin/Debug/Struct_6_Enum.vshost.exe similarity index 100% rename from golovko.greg/Task_1_Basics/2_3_Season/bin/Debug/2_3_Season.vshost.exe rename to maltsev/Task6/Struct_6_Enum/Struct_6_Enum/bin/Debug/Struct_6_Enum.vshost.exe diff --git a/golovko.greg/Task_1_Basics/2_3_Season/bin/Debug/2_3_Season.vshost.exe.config b/maltsev/Task6/Struct_6_Enum/Struct_6_Enum/bin/Debug/Struct_6_Enum.vshost.exe.config similarity index 100% rename from golovko.greg/Task_1_Basics/2_3_Season/bin/Debug/2_3_Season.vshost.exe.config rename to maltsev/Task6/Struct_6_Enum/Struct_6_Enum/bin/Debug/Struct_6_Enum.vshost.exe.config diff --git a/maltsev/Task6/Struct_6_Enum/Struct_6_Enum/bin/Debug/Struct_6_Enum.vshost.exe.manifest b/maltsev/Task6/Struct_6_Enum/Struct_6_Enum/bin/Debug/Struct_6_Enum.vshost.exe.manifest new file mode 100644 index 0000000..061c9ca --- /dev/null +++ b/maltsev/Task6/Struct_6_Enum/Struct_6_Enum/bin/Debug/Struct_6_Enum.vshost.exe.manifest @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/maltsev/Task6/Struct_6_Enum/Struct_6_Enum/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/maltsev/Task6/Struct_6_Enum/Struct_6_Enum/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache new file mode 100644 index 0000000..322d83f Binary files /dev/null and b/maltsev/Task6/Struct_6_Enum/Struct_6_Enum/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/maltsev/Task6/Struct_6_Enum/Struct_6_Enum/obj/Debug/Struct_6_Enum.csproj.FileListAbsolute.txt b/maltsev/Task6/Struct_6_Enum/Struct_6_Enum/obj/Debug/Struct_6_Enum.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..8f3d48e --- /dev/null +++ b/maltsev/Task6/Struct_6_Enum/Struct_6_Enum/obj/Debug/Struct_6_Enum.csproj.FileListAbsolute.txt @@ -0,0 +1,6 @@ +c:\users\svezho\documents\visual studio 2015\Projects\Struct_6_Enum\Struct_6_Enum\bin\Debug\Struct_6_Enum.exe.config +c:\users\svezho\documents\visual studio 2015\Projects\Struct_6_Enum\Struct_6_Enum\bin\Debug\Struct_6_Enum.exe +c:\users\svezho\documents\visual studio 2015\Projects\Struct_6_Enum\Struct_6_Enum\bin\Debug\Struct_6_Enum.pdb +c:\users\svezho\documents\visual studio 2015\Projects\Struct_6_Enum\Struct_6_Enum\obj\Debug\Struct_6_Enum.csprojResolveAssemblyReference.cache +c:\users\svezho\documents\visual studio 2015\Projects\Struct_6_Enum\Struct_6_Enum\obj\Debug\Struct_6_Enum.exe +c:\users\svezho\documents\visual studio 2015\Projects\Struct_6_Enum\Struct_6_Enum\obj\Debug\Struct_6_Enum.pdb diff --git a/maltsev/Task6/Struct_6_Enum/Struct_6_Enum/obj/Debug/Struct_6_Enum.csprojResolveAssemblyReference.cache b/maltsev/Task6/Struct_6_Enum/Struct_6_Enum/obj/Debug/Struct_6_Enum.csprojResolveAssemblyReference.cache new file mode 100644 index 0000000..362dcb9 Binary files /dev/null and b/maltsev/Task6/Struct_6_Enum/Struct_6_Enum/obj/Debug/Struct_6_Enum.csprojResolveAssemblyReference.cache differ diff --git a/maltsev/Task6/Struct_6_Enum/Struct_6_Enum/obj/Debug/Struct_6_Enum.exe b/maltsev/Task6/Struct_6_Enum/Struct_6_Enum/obj/Debug/Struct_6_Enum.exe new file mode 100644 index 0000000..bb4c5d2 Binary files /dev/null and b/maltsev/Task6/Struct_6_Enum/Struct_6_Enum/obj/Debug/Struct_6_Enum.exe differ diff --git a/maltsev/Task6/Struct_6_Enum/Struct_6_Enum/obj/Debug/Struct_6_Enum.pdb b/maltsev/Task6/Struct_6_Enum/Struct_6_Enum/obj/Debug/Struct_6_Enum.pdb new file mode 100644 index 0000000..31a4c3f Binary files /dev/null and b/maltsev/Task6/Struct_6_Enum/Struct_6_Enum/obj/Debug/Struct_6_Enum.pdb differ diff --git a/Task_1_Basics/2_4_GoodVsBad/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs b/maltsev/Task6/Struct_6_Enum/Struct_6_Enum/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs similarity index 100% rename from Task_1_Basics/2_4_GoodVsBad/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs rename to maltsev/Task6/Struct_6_Enum/Struct_6_Enum/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs diff --git a/Task_1_Basics/2_4_GoodVsBad/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs b/maltsev/Task6/Struct_6_Enum/Struct_6_Enum/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs similarity index 100% rename from Task_1_Basics/2_4_GoodVsBad/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs rename to maltsev/Task6/Struct_6_Enum/Struct_6_Enum/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs diff --git a/Task_1_Basics/2_4_GoodVsBad/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs b/maltsev/Task6/Struct_6_Enum/Struct_6_Enum/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs similarity index 100% rename from Task_1_Basics/2_4_GoodVsBad/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs rename to maltsev/Task6/Struct_6_Enum/Struct_6_Enum/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs diff --git a/maltsev/Task7/Delegate_1/.vs/Delegate_1/v14/.suo b/maltsev/Task7/Delegate_1/.vs/Delegate_1/v14/.suo new file mode 100644 index 0000000..d10c83e Binary files /dev/null and b/maltsev/Task7/Delegate_1/.vs/Delegate_1/v14/.suo differ diff --git a/maltsev/Task7/Delegate_1/Delegate_1.sln b/maltsev/Task7/Delegate_1/Delegate_1.sln new file mode 100644 index 0000000..8294b9b --- /dev/null +++ b/maltsev/Task7/Delegate_1/Delegate_1.sln @@ -0,0 +1,22 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 14 +VisualStudioVersion = 14.0.25420.1 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Delegate_1", "Delegate_1\Delegate_1.csproj", "{5CBCDBD8-B0CD-48D7-9C70-D409F5685A86}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {5CBCDBD8-B0CD-48D7-9C70-D409F5685A86}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {5CBCDBD8-B0CD-48D7-9C70-D409F5685A86}.Debug|Any CPU.Build.0 = Debug|Any CPU + {5CBCDBD8-B0CD-48D7-9C70-D409F5685A86}.Release|Any CPU.ActiveCfg = Release|Any CPU + {5CBCDBD8-B0CD-48D7-9C70-D409F5685A86}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/golovko.greg/Task_1_Basics/2_6_Taxi/App.config b/maltsev/Task7/Delegate_1/Delegate_1/App.config similarity index 100% rename from golovko.greg/Task_1_Basics/2_6_Taxi/App.config rename to maltsev/Task7/Delegate_1/Delegate_1/App.config diff --git a/maltsev/Task7/Delegate_1/Delegate_1/Delegate_1.csproj b/maltsev/Task7/Delegate_1/Delegate_1/Delegate_1.csproj new file mode 100644 index 0000000..30a093b --- /dev/null +++ b/maltsev/Task7/Delegate_1/Delegate_1/Delegate_1.csproj @@ -0,0 +1,60 @@ + + + + + Debug + AnyCPU + {5CBCDBD8-B0CD-48D7-9C70-D409F5685A86} + Exe + Properties + Delegate_1 + Delegate_1 + v4.5.2 + 512 + true + + + AnyCPU + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + AnyCPU + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/maltsev/Task7/Delegate_1/Delegate_1/Program.cs b/maltsev/Task7/Delegate_1/Delegate_1/Program.cs new file mode 100644 index 0000000..6e6f38e --- /dev/null +++ b/maltsev/Task7/Delegate_1/Delegate_1/Program.cs @@ -0,0 +1,28 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Delegate_1 +{ + class Program + { + static void Main(string[] args) + { + Func mydel1 = delegate (int a, int b, int c) + { + double d = ((double)a + (double)b + (double)c) / 3; + return d; + }; + + Console.WriteLine("Delegate| Average of 2,10,55: {0:#.##} ", mydel1(2, 10, 55) ); + + Func mydel2 = ( (a, b, c) => ((double)a + (double)b + (double)c) / 3 ); + + Console.WriteLine("Lambda| Average of 2,10,55: {0:#.##} ", mydel1(2, 10, 55)); + + Console.ReadKey(); + } + } +} diff --git a/maltsev/Task7/Delegate_1/Delegate_1/Properties/AssemblyInfo.cs b/maltsev/Task7/Delegate_1/Delegate_1/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..57be488 --- /dev/null +++ b/maltsev/Task7/Delegate_1/Delegate_1/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Delegate_1")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("Delegate_1")] +[assembly: AssemblyCopyright("Copyright © 2016")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("5cbcdbd8-b0cd-48d7-9c70-d409f5685a86")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/maltsev/Task7/Delegate_1/Delegate_1/bin/Debug/Delegate_1.exe b/maltsev/Task7/Delegate_1/Delegate_1/bin/Debug/Delegate_1.exe new file mode 100644 index 0000000..714726f Binary files /dev/null and b/maltsev/Task7/Delegate_1/Delegate_1/bin/Debug/Delegate_1.exe differ diff --git a/golovko.greg/Task_1_Basics/2_4_GoodVsBad/bin/Debug/2_4_GoodVsBad.exe.config b/maltsev/Task7/Delegate_1/Delegate_1/bin/Debug/Delegate_1.exe.config similarity index 100% rename from golovko.greg/Task_1_Basics/2_4_GoodVsBad/bin/Debug/2_4_GoodVsBad.exe.config rename to maltsev/Task7/Delegate_1/Delegate_1/bin/Debug/Delegate_1.exe.config diff --git a/maltsev/Task7/Delegate_1/Delegate_1/bin/Debug/Delegate_1.pdb b/maltsev/Task7/Delegate_1/Delegate_1/bin/Debug/Delegate_1.pdb new file mode 100644 index 0000000..5c28028 Binary files /dev/null and b/maltsev/Task7/Delegate_1/Delegate_1/bin/Debug/Delegate_1.pdb differ diff --git a/golovko.greg/Task_1_Basics/2_4_GoodVsBad/bin/Debug/2_4_GoodVsBad.vshost.exe b/maltsev/Task7/Delegate_1/Delegate_1/bin/Debug/Delegate_1.vshost.exe similarity index 100% rename from golovko.greg/Task_1_Basics/2_4_GoodVsBad/bin/Debug/2_4_GoodVsBad.vshost.exe rename to maltsev/Task7/Delegate_1/Delegate_1/bin/Debug/Delegate_1.vshost.exe diff --git a/golovko.greg/Task_1_Basics/2_4_GoodVsBad/bin/Debug/2_4_GoodVsBad.vshost.exe.config b/maltsev/Task7/Delegate_1/Delegate_1/bin/Debug/Delegate_1.vshost.exe.config similarity index 100% rename from golovko.greg/Task_1_Basics/2_4_GoodVsBad/bin/Debug/2_4_GoodVsBad.vshost.exe.config rename to maltsev/Task7/Delegate_1/Delegate_1/bin/Debug/Delegate_1.vshost.exe.config diff --git a/maltsev/Task7/Delegate_1/Delegate_1/bin/Debug/Delegate_1.vshost.exe.manifest b/maltsev/Task7/Delegate_1/Delegate_1/bin/Debug/Delegate_1.vshost.exe.manifest new file mode 100644 index 0000000..061c9ca --- /dev/null +++ b/maltsev/Task7/Delegate_1/Delegate_1/bin/Debug/Delegate_1.vshost.exe.manifest @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/maltsev/Task7/Delegate_1/Delegate_1/obj/Debug/Delegate_1.csproj.FileListAbsolute.txt b/maltsev/Task7/Delegate_1/Delegate_1/obj/Debug/Delegate_1.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..9c645d0 --- /dev/null +++ b/maltsev/Task7/Delegate_1/Delegate_1/obj/Debug/Delegate_1.csproj.FileListAbsolute.txt @@ -0,0 +1,6 @@ +c:\users\svezho\documents\visual studio 2015\Projects\Delegate_1\Delegate_1\bin\Debug\Delegate_1.exe.config +C:\Users\svezho\Documents\Visual Studio 2015\Projects\Delegate_1\Delegate_1\bin\Debug\Delegate_1.exe +C:\Users\svezho\Documents\Visual Studio 2015\Projects\Delegate_1\Delegate_1\bin\Debug\Delegate_1.pdb +C:\Users\svezho\Documents\Visual Studio 2015\Projects\Delegate_1\Delegate_1\obj\Debug\Delegate_1.csprojResolveAssemblyReference.cache +C:\Users\svezho\Documents\Visual Studio 2015\Projects\Delegate_1\Delegate_1\obj\Debug\Delegate_1.exe +C:\Users\svezho\Documents\Visual Studio 2015\Projects\Delegate_1\Delegate_1\obj\Debug\Delegate_1.pdb diff --git a/maltsev/Task7/Delegate_1/Delegate_1/obj/Debug/Delegate_1.csprojResolveAssemblyReference.cache b/maltsev/Task7/Delegate_1/Delegate_1/obj/Debug/Delegate_1.csprojResolveAssemblyReference.cache new file mode 100644 index 0000000..362dcb9 Binary files /dev/null and b/maltsev/Task7/Delegate_1/Delegate_1/obj/Debug/Delegate_1.csprojResolveAssemblyReference.cache differ diff --git a/maltsev/Task7/Delegate_1/Delegate_1/obj/Debug/Delegate_1.exe b/maltsev/Task7/Delegate_1/Delegate_1/obj/Debug/Delegate_1.exe new file mode 100644 index 0000000..714726f Binary files /dev/null and b/maltsev/Task7/Delegate_1/Delegate_1/obj/Debug/Delegate_1.exe differ diff --git a/maltsev/Task7/Delegate_1/Delegate_1/obj/Debug/Delegate_1.pdb b/maltsev/Task7/Delegate_1/Delegate_1/obj/Debug/Delegate_1.pdb new file mode 100644 index 0000000..5c28028 Binary files /dev/null and b/maltsev/Task7/Delegate_1/Delegate_1/obj/Debug/Delegate_1.pdb differ diff --git a/maltsev/Task7/Delegate_1/Delegate_1/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/maltsev/Task7/Delegate_1/Delegate_1/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache new file mode 100644 index 0000000..7898bc0 Binary files /dev/null and b/maltsev/Task7/Delegate_1/Delegate_1/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/Task_1_Basics/2_5_DayOfWeek/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs b/maltsev/Task7/Delegate_1/Delegate_1/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs similarity index 100% rename from Task_1_Basics/2_5_DayOfWeek/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs rename to maltsev/Task7/Delegate_1/Delegate_1/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs diff --git a/Task_1_Basics/2_5_DayOfWeek/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs b/maltsev/Task7/Delegate_1/Delegate_1/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs similarity index 100% rename from Task_1_Basics/2_5_DayOfWeek/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs rename to maltsev/Task7/Delegate_1/Delegate_1/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs diff --git a/Task_1_Basics/2_5_DayOfWeek/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs b/maltsev/Task7/Delegate_1/Delegate_1/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs similarity index 100% rename from Task_1_Basics/2_5_DayOfWeek/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs rename to maltsev/Task7/Delegate_1/Delegate_1/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs diff --git a/maltsev/Task7/Delegate_2/.vs/Delegate_2/v14/.suo b/maltsev/Task7/Delegate_2/.vs/Delegate_2/v14/.suo new file mode 100644 index 0000000..8412d28 Binary files /dev/null and b/maltsev/Task7/Delegate_2/.vs/Delegate_2/v14/.suo differ diff --git a/golovko.greg/Task_1_Basics/2_7_SimpleNumber/App.config b/maltsev/Task7/Delegate_2/App.config similarity index 100% rename from golovko.greg/Task_1_Basics/2_7_SimpleNumber/App.config rename to maltsev/Task7/Delegate_2/App.config diff --git a/maltsev/Task7/Delegate_2/Delegate_2.csproj b/maltsev/Task7/Delegate_2/Delegate_2.csproj new file mode 100644 index 0000000..2e55600 --- /dev/null +++ b/maltsev/Task7/Delegate_2/Delegate_2.csproj @@ -0,0 +1,60 @@ + + + + + Debug + AnyCPU + {49579A98-EDDC-4A54-9A0A-15742BFA1A95} + Exe + Properties + Delegate_2 + Delegate_2 + v4.5.2 + 512 + true + + + AnyCPU + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + AnyCPU + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/maltsev/Task7/Delegate_2/Delegate_2.sln b/maltsev/Task7/Delegate_2/Delegate_2.sln new file mode 100644 index 0000000..1fb64df --- /dev/null +++ b/maltsev/Task7/Delegate_2/Delegate_2.sln @@ -0,0 +1,22 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 14 +VisualStudioVersion = 14.0.25420.1 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Delegate_2", "Delegate_2.csproj", "{49579A98-EDDC-4A54-9A0A-15742BFA1A95}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {49579A98-EDDC-4A54-9A0A-15742BFA1A95}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {49579A98-EDDC-4A54-9A0A-15742BFA1A95}.Debug|Any CPU.Build.0 = Debug|Any CPU + {49579A98-EDDC-4A54-9A0A-15742BFA1A95}.Release|Any CPU.ActiveCfg = Release|Any CPU + {49579A98-EDDC-4A54-9A0A-15742BFA1A95}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/maltsev/Task7/Delegate_2/Program.cs b/maltsev/Task7/Delegate_2/Program.cs new file mode 100644 index 0000000..94d5db8 --- /dev/null +++ b/maltsev/Task7/Delegate_2/Program.cs @@ -0,0 +1,40 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Delegate_2 +{ + class Program + { + static void Main(string[] args) + { + Func Add= ((a, b) => a + b); + Func Sub = ((a, b) => a - b); + Func Mul = ((a, b) => a * b); + Func Div = ((a, b) => + { + try + { + double c = a / b; + } + catch (DivideByZeroException ex) + { + Console.WriteLine(ex.Message); + return 0; + } + return (double)a / (double)b; + }); + + Console.WriteLine("{0:#.##}", Add(5, 6)); + Console.WriteLine("{0:#.##}", Sub(5, 6)); + Console.WriteLine("{0:#.##}", Mul(5, 6)); + Console.WriteLine("{0:#.##}", Div(50, 6)); + Console.WriteLine("{0:#.##}", Div(5, 0)); + + Console.ReadKey(); + + } + } +} diff --git a/maltsev/Task7/Delegate_2/Properties/AssemblyInfo.cs b/maltsev/Task7/Delegate_2/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..7464d81 --- /dev/null +++ b/maltsev/Task7/Delegate_2/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Delegate_2")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("Delegate_2")] +[assembly: AssemblyCopyright("Copyright © 2016")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("49579a98-eddc-4a54-9a0a-15742bfa1a95")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/maltsev/Task7/Delegate_2/bin/Debug/Delegate_2.exe b/maltsev/Task7/Delegate_2/bin/Debug/Delegate_2.exe new file mode 100644 index 0000000..84457de Binary files /dev/null and b/maltsev/Task7/Delegate_2/bin/Debug/Delegate_2.exe differ diff --git a/golovko.greg/Task_1_Basics/2_5_DayOfWeek/bin/Debug/2_5_DayOfWeek.exe.config b/maltsev/Task7/Delegate_2/bin/Debug/Delegate_2.exe.config similarity index 100% rename from golovko.greg/Task_1_Basics/2_5_DayOfWeek/bin/Debug/2_5_DayOfWeek.exe.config rename to maltsev/Task7/Delegate_2/bin/Debug/Delegate_2.exe.config diff --git a/maltsev/Task7/Delegate_2/bin/Debug/Delegate_2.pdb b/maltsev/Task7/Delegate_2/bin/Debug/Delegate_2.pdb new file mode 100644 index 0000000..ae122af Binary files /dev/null and b/maltsev/Task7/Delegate_2/bin/Debug/Delegate_2.pdb differ diff --git a/golovko.greg/Task_1_Basics/2_5_DayOfWeek/bin/Debug/2_5_DayOfWeek.vshost.exe b/maltsev/Task7/Delegate_2/bin/Debug/Delegate_2.vshost.exe similarity index 100% rename from golovko.greg/Task_1_Basics/2_5_DayOfWeek/bin/Debug/2_5_DayOfWeek.vshost.exe rename to maltsev/Task7/Delegate_2/bin/Debug/Delegate_2.vshost.exe diff --git a/golovko.greg/Task_1_Basics/2_5_DayOfWeek/bin/Debug/2_5_DayOfWeek.vshost.exe.config b/maltsev/Task7/Delegate_2/bin/Debug/Delegate_2.vshost.exe.config similarity index 100% rename from golovko.greg/Task_1_Basics/2_5_DayOfWeek/bin/Debug/2_5_DayOfWeek.vshost.exe.config rename to maltsev/Task7/Delegate_2/bin/Debug/Delegate_2.vshost.exe.config diff --git a/maltsev/Task7/Delegate_2/bin/Debug/Delegate_2.vshost.exe.manifest b/maltsev/Task7/Delegate_2/bin/Debug/Delegate_2.vshost.exe.manifest new file mode 100644 index 0000000..061c9ca --- /dev/null +++ b/maltsev/Task7/Delegate_2/bin/Debug/Delegate_2.vshost.exe.manifest @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/maltsev/Task7/Delegate_2/obj/Debug/Delegate_2.csproj.FileListAbsolute.txt b/maltsev/Task7/Delegate_2/obj/Debug/Delegate_2.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..a2ea711 --- /dev/null +++ b/maltsev/Task7/Delegate_2/obj/Debug/Delegate_2.csproj.FileListAbsolute.txt @@ -0,0 +1,6 @@ +c:\users\svezho\documents\visual studio 2015\Projects\Delegate_2\bin\Debug\Delegate_2.exe.config +c:\users\svezho\documents\visual studio 2015\Projects\Delegate_2\bin\Debug\Delegate_2.exe +c:\users\svezho\documents\visual studio 2015\Projects\Delegate_2\bin\Debug\Delegate_2.pdb +c:\users\svezho\documents\visual studio 2015\Projects\Delegate_2\obj\Debug\Delegate_2.csprojResolveAssemblyReference.cache +c:\users\svezho\documents\visual studio 2015\Projects\Delegate_2\obj\Debug\Delegate_2.exe +c:\users\svezho\documents\visual studio 2015\Projects\Delegate_2\obj\Debug\Delegate_2.pdb diff --git a/maltsev/Task7/Delegate_2/obj/Debug/Delegate_2.csprojResolveAssemblyReference.cache b/maltsev/Task7/Delegate_2/obj/Debug/Delegate_2.csprojResolveAssemblyReference.cache new file mode 100644 index 0000000..362dcb9 Binary files /dev/null and b/maltsev/Task7/Delegate_2/obj/Debug/Delegate_2.csprojResolveAssemblyReference.cache differ diff --git a/maltsev/Task7/Delegate_2/obj/Debug/Delegate_2.exe b/maltsev/Task7/Delegate_2/obj/Debug/Delegate_2.exe new file mode 100644 index 0000000..84457de Binary files /dev/null and b/maltsev/Task7/Delegate_2/obj/Debug/Delegate_2.exe differ diff --git a/maltsev/Task7/Delegate_2/obj/Debug/Delegate_2.pdb b/maltsev/Task7/Delegate_2/obj/Debug/Delegate_2.pdb new file mode 100644 index 0000000..ae122af Binary files /dev/null and b/maltsev/Task7/Delegate_2/obj/Debug/Delegate_2.pdb differ diff --git a/maltsev/Task7/Delegate_2/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/maltsev/Task7/Delegate_2/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache new file mode 100644 index 0000000..6608dfc Binary files /dev/null and b/maltsev/Task7/Delegate_2/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/Task_1_Basics/2_6_Taxi/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs b/maltsev/Task7/Delegate_2/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs similarity index 100% rename from Task_1_Basics/2_6_Taxi/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs rename to maltsev/Task7/Delegate_2/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs diff --git a/Task_1_Basics/2_6_Taxi/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs b/maltsev/Task7/Delegate_2/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs similarity index 100% rename from Task_1_Basics/2_6_Taxi/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs rename to maltsev/Task7/Delegate_2/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs diff --git a/Task_1_Basics/2_6_Taxi/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs b/maltsev/Task7/Delegate_2/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs similarity index 100% rename from Task_1_Basics/2_6_Taxi/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs rename to maltsev/Task7/Delegate_2/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs diff --git a/maltsev/Task7/Delegate_3/.vs/Delegate_3/v14/.suo b/maltsev/Task7/Delegate_3/.vs/Delegate_3/v14/.suo new file mode 100644 index 0000000..ccf1177 Binary files /dev/null and b/maltsev/Task7/Delegate_3/.vs/Delegate_3/v14/.suo differ diff --git a/golovko.greg/Task_1_Basics/2_8_Lottery/App.config b/maltsev/Task7/Delegate_3/App.config similarity index 100% rename from golovko.greg/Task_1_Basics/2_8_Lottery/App.config rename to maltsev/Task7/Delegate_3/App.config diff --git a/maltsev/Task7/Delegate_3/Delegate_3.csproj b/maltsev/Task7/Delegate_3/Delegate_3.csproj new file mode 100644 index 0000000..000b250 --- /dev/null +++ b/maltsev/Task7/Delegate_3/Delegate_3.csproj @@ -0,0 +1,60 @@ + + + + + Debug + AnyCPU + {968BA212-02F5-422F-8686-443951DA5852} + Exe + Properties + Delegate_3 + Delegate_3 + v4.5.2 + 512 + true + + + AnyCPU + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + AnyCPU + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/maltsev/Task7/Delegate_3/Delegate_3.sln b/maltsev/Task7/Delegate_3/Delegate_3.sln new file mode 100644 index 0000000..89c04d3 --- /dev/null +++ b/maltsev/Task7/Delegate_3/Delegate_3.sln @@ -0,0 +1,22 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 14 +VisualStudioVersion = 14.0.25420.1 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Delegate_3", "Delegate_3.csproj", "{968BA212-02F5-422F-8686-443951DA5852}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {968BA212-02F5-422F-8686-443951DA5852}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {968BA212-02F5-422F-8686-443951DA5852}.Debug|Any CPU.Build.0 = Debug|Any CPU + {968BA212-02F5-422F-8686-443951DA5852}.Release|Any CPU.ActiveCfg = Release|Any CPU + {968BA212-02F5-422F-8686-443951DA5852}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/maltsev/Task7/Delegate_3/Program.cs b/maltsev/Task7/Delegate_3/Program.cs new file mode 100644 index 0000000..ef75a1e --- /dev/null +++ b/maltsev/Task7/Delegate_3/Program.cs @@ -0,0 +1,51 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Delegate_3 +{ + class Program + { + static void Main(string[] args) + { + Func d1 = Method1; + Func d2 = Method2; + Func d3 = Method3; + + Func[] delArr = new Func[] { d1, d2, d3}; + + Func< Delegate[], double> AnonMethod = ( delegates => + { + double d = 0; + foreach (Func item in delegates) + { + d += item(); + } + return d/3; + }); + + Console.WriteLine( "{0:#.##}", AnonMethod(delArr) ); + Console.ReadKey(); + } + static int Method1() + { + DateTime dn = DateTime.Now; + Random r = new Random(dn.Millisecond); + return r.Next(100); + } + static int Method2() + { + DateTime dn = DateTime.Now; + Random r = new Random(dn.Millisecond); + return r.Next(100); + } + static int Method3() + { + DateTime dn = DateTime.Now; + Random r = new Random(dn.Millisecond); + return r.Next(100); + } + } +} diff --git a/maltsev/Task7/Delegate_3/Properties/AssemblyInfo.cs b/maltsev/Task7/Delegate_3/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..2547720 --- /dev/null +++ b/maltsev/Task7/Delegate_3/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Delegate_3")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("Delegate_3")] +[assembly: AssemblyCopyright("Copyright © 2016")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("968ba212-02f5-422f-8686-443951da5852")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/maltsev/Task7/Delegate_3/bin/Debug/Delegate_3.exe b/maltsev/Task7/Delegate_3/bin/Debug/Delegate_3.exe new file mode 100644 index 0000000..8b01026 Binary files /dev/null and b/maltsev/Task7/Delegate_3/bin/Debug/Delegate_3.exe differ diff --git a/golovko.greg/Task_1_Basics/2_6_Taxi/bin/Debug/2_6_Taxi.exe.config b/maltsev/Task7/Delegate_3/bin/Debug/Delegate_3.exe.config similarity index 100% rename from golovko.greg/Task_1_Basics/2_6_Taxi/bin/Debug/2_6_Taxi.exe.config rename to maltsev/Task7/Delegate_3/bin/Debug/Delegate_3.exe.config diff --git a/maltsev/Task7/Delegate_3/bin/Debug/Delegate_3.pdb b/maltsev/Task7/Delegate_3/bin/Debug/Delegate_3.pdb new file mode 100644 index 0000000..eb26b8b Binary files /dev/null and b/maltsev/Task7/Delegate_3/bin/Debug/Delegate_3.pdb differ diff --git a/golovko.greg/Task_1_Basics/2_6_Taxi/bin/Debug/2_6_Taxi.vshost.exe b/maltsev/Task7/Delegate_3/bin/Debug/Delegate_3.vshost.exe similarity index 100% rename from golovko.greg/Task_1_Basics/2_6_Taxi/bin/Debug/2_6_Taxi.vshost.exe rename to maltsev/Task7/Delegate_3/bin/Debug/Delegate_3.vshost.exe diff --git a/golovko.greg/Task_1_Basics/2_6_Taxi/bin/Debug/2_6_Taxi.vshost.exe.config b/maltsev/Task7/Delegate_3/bin/Debug/Delegate_3.vshost.exe.config similarity index 100% rename from golovko.greg/Task_1_Basics/2_6_Taxi/bin/Debug/2_6_Taxi.vshost.exe.config rename to maltsev/Task7/Delegate_3/bin/Debug/Delegate_3.vshost.exe.config diff --git a/maltsev/Task7/Delegate_3/bin/Debug/Delegate_3.vshost.exe.manifest b/maltsev/Task7/Delegate_3/bin/Debug/Delegate_3.vshost.exe.manifest new file mode 100644 index 0000000..061c9ca --- /dev/null +++ b/maltsev/Task7/Delegate_3/bin/Debug/Delegate_3.vshost.exe.manifest @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/maltsev/Task7/Delegate_3/obj/Debug/Delegate_3.csproj.FileListAbsolute.txt b/maltsev/Task7/Delegate_3/obj/Debug/Delegate_3.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..535b80b --- /dev/null +++ b/maltsev/Task7/Delegate_3/obj/Debug/Delegate_3.csproj.FileListAbsolute.txt @@ -0,0 +1,6 @@ +c:\users\svezho\documents\visual studio 2015\Projects\Delegate_3\bin\Debug\Delegate_3.exe.config +c:\users\svezho\documents\visual studio 2015\Projects\Delegate_3\bin\Debug\Delegate_3.exe +c:\users\svezho\documents\visual studio 2015\Projects\Delegate_3\bin\Debug\Delegate_3.pdb +c:\users\svezho\documents\visual studio 2015\Projects\Delegate_3\obj\Debug\Delegate_3.csprojResolveAssemblyReference.cache +c:\users\svezho\documents\visual studio 2015\Projects\Delegate_3\obj\Debug\Delegate_3.exe +c:\users\svezho\documents\visual studio 2015\Projects\Delegate_3\obj\Debug\Delegate_3.pdb diff --git a/maltsev/Task7/Delegate_3/obj/Debug/Delegate_3.csprojResolveAssemblyReference.cache b/maltsev/Task7/Delegate_3/obj/Debug/Delegate_3.csprojResolveAssemblyReference.cache new file mode 100644 index 0000000..362dcb9 Binary files /dev/null and b/maltsev/Task7/Delegate_3/obj/Debug/Delegate_3.csprojResolveAssemblyReference.cache differ diff --git a/maltsev/Task7/Delegate_3/obj/Debug/Delegate_3.exe b/maltsev/Task7/Delegate_3/obj/Debug/Delegate_3.exe new file mode 100644 index 0000000..8b01026 Binary files /dev/null and b/maltsev/Task7/Delegate_3/obj/Debug/Delegate_3.exe differ diff --git a/maltsev/Task7/Delegate_3/obj/Debug/Delegate_3.pdb b/maltsev/Task7/Delegate_3/obj/Debug/Delegate_3.pdb new file mode 100644 index 0000000..eb26b8b Binary files /dev/null and b/maltsev/Task7/Delegate_3/obj/Debug/Delegate_3.pdb differ diff --git a/maltsev/Task7/Delegate_3/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/maltsev/Task7/Delegate_3/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache new file mode 100644 index 0000000..a05c88b Binary files /dev/null and b/maltsev/Task7/Delegate_3/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/Task_1_Basics/2_7_SimpleNumber/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs b/maltsev/Task7/Delegate_3/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs similarity index 100% rename from Task_1_Basics/2_7_SimpleNumber/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs rename to maltsev/Task7/Delegate_3/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs diff --git a/Task_1_Basics/2_7_SimpleNumber/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs b/maltsev/Task7/Delegate_3/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs similarity index 100% rename from Task_1_Basics/2_7_SimpleNumber/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs rename to maltsev/Task7/Delegate_3/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs diff --git a/Task_1_Basics/2_7_SimpleNumber/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs b/maltsev/Task7/Delegate_3/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs similarity index 100% rename from Task_1_Basics/2_7_SimpleNumber/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs rename to maltsev/Task7/Delegate_3/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs diff --git a/maltsev/Task8/Generics_1/.vs/Generics_1/v14/.suo b/maltsev/Task8/Generics_1/.vs/Generics_1/v14/.suo new file mode 100644 index 0000000..385362c Binary files /dev/null and b/maltsev/Task8/Generics_1/.vs/Generics_1/v14/.suo differ diff --git a/golovko.greg/Task_1_Basics/2_9_CurrencyExchanger/App.config b/maltsev/Task8/Generics_1/App.config similarity index 100% rename from golovko.greg/Task_1_Basics/2_9_CurrencyExchanger/App.config rename to maltsev/Task8/Generics_1/App.config diff --git a/maltsev/Task8/Generics_1/Generics_1.csproj b/maltsev/Task8/Generics_1/Generics_1.csproj new file mode 100644 index 0000000..b6093e8 --- /dev/null +++ b/maltsev/Task8/Generics_1/Generics_1.csproj @@ -0,0 +1,60 @@ + + + + + Debug + AnyCPU + {6D48A232-EEDB-4B29-AA50-710F13D57A5F} + Exe + Properties + Generics_1 + Generics_1 + v4.5.2 + 512 + true + + + AnyCPU + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + AnyCPU + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/maltsev/Task8/Generics_1/Generics_1.sln b/maltsev/Task8/Generics_1/Generics_1.sln new file mode 100644 index 0000000..df74587 --- /dev/null +++ b/maltsev/Task8/Generics_1/Generics_1.sln @@ -0,0 +1,22 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 14 +VisualStudioVersion = 14.0.25420.1 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Generics_1", "Generics_1.csproj", "{6D48A232-EEDB-4B29-AA50-710F13D57A5F}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {6D48A232-EEDB-4B29-AA50-710F13D57A5F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {6D48A232-EEDB-4B29-AA50-710F13D57A5F}.Debug|Any CPU.Build.0 = Debug|Any CPU + {6D48A232-EEDB-4B29-AA50-710F13D57A5F}.Release|Any CPU.ActiveCfg = Release|Any CPU + {6D48A232-EEDB-4B29-AA50-710F13D57A5F}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/maltsev/Task8/Generics_1/Program.cs b/maltsev/Task8/Generics_1/Program.cs new file mode 100644 index 0000000..ff56fee --- /dev/null +++ b/maltsev/Task8/Generics_1/Program.cs @@ -0,0 +1,24 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Generics_1 +{ + class MyClass where T: new() + { + public static T FactoryMethod() + { + return new T(); + } + } + class Program + { + static void Main(string[] args) + { + char exz = MyClass.FactoryMethod(); + int exz1 = MyClass.FactoryMethod(); + } + } +} diff --git a/maltsev/Task8/Generics_1/Properties/AssemblyInfo.cs b/maltsev/Task8/Generics_1/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..30fc4fd --- /dev/null +++ b/maltsev/Task8/Generics_1/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Generics_1")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("Generics_1")] +[assembly: AssemblyCopyright("Copyright © 2016")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("6d48a232-eedb-4b29-aa50-710f13d57a5f")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/golovko.greg/Task_1_Basics/2_7_SimpleNumber/bin/Debug/2_7_SimpleNumber.exe.config b/maltsev/Task8/Generics_1/bin/Debug/Generics_1.exe.config similarity index 100% rename from golovko.greg/Task_1_Basics/2_7_SimpleNumber/bin/Debug/2_7_SimpleNumber.exe.config rename to maltsev/Task8/Generics_1/bin/Debug/Generics_1.exe.config diff --git a/golovko.greg/Task_1_Basics/2_7_SimpleNumber/bin/Debug/2_7_SimpleNumber.vshost.exe b/maltsev/Task8/Generics_1/bin/Debug/Generics_1.vshost.exe similarity index 100% rename from golovko.greg/Task_1_Basics/2_7_SimpleNumber/bin/Debug/2_7_SimpleNumber.vshost.exe rename to maltsev/Task8/Generics_1/bin/Debug/Generics_1.vshost.exe diff --git a/golovko.greg/Task_1_Basics/2_7_SimpleNumber/bin/Debug/2_7_SimpleNumber.vshost.exe.config b/maltsev/Task8/Generics_1/bin/Debug/Generics_1.vshost.exe.config similarity index 100% rename from golovko.greg/Task_1_Basics/2_7_SimpleNumber/bin/Debug/2_7_SimpleNumber.vshost.exe.config rename to maltsev/Task8/Generics_1/bin/Debug/Generics_1.vshost.exe.config diff --git a/maltsev/Task8/Generics_1/bin/Debug/Generics_1.vshost.exe.manifest b/maltsev/Task8/Generics_1/bin/Debug/Generics_1.vshost.exe.manifest new file mode 100644 index 0000000..061c9ca --- /dev/null +++ b/maltsev/Task8/Generics_1/bin/Debug/Generics_1.vshost.exe.manifest @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/maltsev/Task8/Generics_1/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/maltsev/Task8/Generics_1/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache new file mode 100644 index 0000000..d23c78c Binary files /dev/null and b/maltsev/Task8/Generics_1/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/maltsev/Task8/Generics_1/obj/Debug/Generics_1.csproj.FileListAbsolute.txt b/maltsev/Task8/Generics_1/obj/Debug/Generics_1.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..d14e398 --- /dev/null +++ b/maltsev/Task8/Generics_1/obj/Debug/Generics_1.csproj.FileListAbsolute.txt @@ -0,0 +1 @@ +c:\users\svezho\documents\visual studio 2015\Projects\Generics_1\bin\Debug\Generics_1.exe.config diff --git a/Task_1_Basics/2_8_Lottery/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs b/maltsev/Task8/Generics_1/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs similarity index 100% rename from Task_1_Basics/2_8_Lottery/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs rename to maltsev/Task8/Generics_1/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs diff --git a/Task_1_Basics/2_8_Lottery/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs b/maltsev/Task8/Generics_1/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs similarity index 100% rename from Task_1_Basics/2_8_Lottery/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs rename to maltsev/Task8/Generics_1/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs diff --git a/Task_1_Basics/2_8_Lottery/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs b/maltsev/Task8/Generics_1/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs similarity index 100% rename from Task_1_Basics/2_8_Lottery/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs rename to maltsev/Task8/Generics_1/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs diff --git a/maltsev/Task8/Generics_2/.vs/Generics_2/v14/.suo b/maltsev/Task8/Generics_2/.vs/Generics_2/v14/.suo new file mode 100644 index 0000000..3194099 Binary files /dev/null and b/maltsev/Task8/Generics_2/.vs/Generics_2/v14/.suo differ diff --git a/golovko.greg/Task_1_Basics/3_1_MultiplyTable/App.config b/maltsev/Task8/Generics_2/App.config similarity index 100% rename from golovko.greg/Task_1_Basics/3_1_MultiplyTable/App.config rename to maltsev/Task8/Generics_2/App.config diff --git a/maltsev/Task8/Generics_2/Generics_2.csproj b/maltsev/Task8/Generics_2/Generics_2.csproj new file mode 100644 index 0000000..746b23f --- /dev/null +++ b/maltsev/Task8/Generics_2/Generics_2.csproj @@ -0,0 +1,60 @@ + + + + + Debug + AnyCPU + {8145AEE7-B201-4DEC-AC16-123BB7D0B351} + Exe + Properties + Generics_2 + Generics_2 + v4.5.2 + 512 + true + + + AnyCPU + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + AnyCPU + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/maltsev/Task8/Generics_2/Generics_2.sln b/maltsev/Task8/Generics_2/Generics_2.sln new file mode 100644 index 0000000..c1cd0b1 --- /dev/null +++ b/maltsev/Task8/Generics_2/Generics_2.sln @@ -0,0 +1,22 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 14 +VisualStudioVersion = 14.0.25420.1 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Generics_2", "Generics_2.csproj", "{8145AEE7-B201-4DEC-AC16-123BB7D0B351}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {8145AEE7-B201-4DEC-AC16-123BB7D0B351}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {8145AEE7-B201-4DEC-AC16-123BB7D0B351}.Debug|Any CPU.Build.0 = Debug|Any CPU + {8145AEE7-B201-4DEC-AC16-123BB7D0B351}.Release|Any CPU.ActiveCfg = Release|Any CPU + {8145AEE7-B201-4DEC-AC16-123BB7D0B351}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/maltsev/Task8/Generics_2/Program.cs b/maltsev/Task8/Generics_2/Program.cs new file mode 100644 index 0000000..23ee523 --- /dev/null +++ b/maltsev/Task8/Generics_2/Program.cs @@ -0,0 +1,52 @@ +using System; +using System.Collections.Generic; +using System.Collections; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Generics_2 +{ + class MyList + { + private T[] elements; + + public int Capacity { get; private set; } + + public T this[int index] { + get{ return elements[index]; } + set{ elements[index] = value; } + } + + public MyList() + { + Capacity = 0; + } + public void Add(T elem) + { + T[] elements2 = new T[Capacity + 1]; + for (int i = 0; i < Capacity; i++) + { + elements2[i] = elements[i]; + } + elements = elements2; + elements[Capacity] = elem; + Capacity++; + } + } + class Program + { + static void Main(string[] args) + { + MyList list = new MyList(); + list.Add(234.1); + list.Add(2222.11); + list.Add(343.222); + for (int i = 0; i < list.Capacity; i++) + { + Console.WriteLine(list[i]); + } + Console.ReadKey(); + } + } +} diff --git a/maltsev/Task8/Generics_2/Properties/AssemblyInfo.cs b/maltsev/Task8/Generics_2/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..f75f2cd --- /dev/null +++ b/maltsev/Task8/Generics_2/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Generics_2")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("Generics_2")] +[assembly: AssemblyCopyright("Copyright © 2016")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("8145aee7-b201-4dec-ac16-123bb7d0b351")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/maltsev/Task8/Generics_2/bin/Debug/Generics_2.exe b/maltsev/Task8/Generics_2/bin/Debug/Generics_2.exe new file mode 100644 index 0000000..5f34a46 Binary files /dev/null and b/maltsev/Task8/Generics_2/bin/Debug/Generics_2.exe differ diff --git a/golovko.greg/Task_1_Basics/2_8_Lottery/bin/Debug/2_8_Lottery.exe.config b/maltsev/Task8/Generics_2/bin/Debug/Generics_2.exe.config similarity index 100% rename from golovko.greg/Task_1_Basics/2_8_Lottery/bin/Debug/2_8_Lottery.exe.config rename to maltsev/Task8/Generics_2/bin/Debug/Generics_2.exe.config diff --git a/maltsev/Task8/Generics_2/bin/Debug/Generics_2.pdb b/maltsev/Task8/Generics_2/bin/Debug/Generics_2.pdb new file mode 100644 index 0000000..ff38c0a Binary files /dev/null and b/maltsev/Task8/Generics_2/bin/Debug/Generics_2.pdb differ diff --git a/golovko.greg/Task_1_Basics/2_8_Lottery/bin/Debug/2_8_Lottery.vshost.exe b/maltsev/Task8/Generics_2/bin/Debug/Generics_2.vshost.exe similarity index 100% rename from golovko.greg/Task_1_Basics/2_8_Lottery/bin/Debug/2_8_Lottery.vshost.exe rename to maltsev/Task8/Generics_2/bin/Debug/Generics_2.vshost.exe diff --git a/golovko.greg/Task_1_Basics/2_8_Lottery/bin/Debug/2_8_Lottery.vshost.exe.config b/maltsev/Task8/Generics_2/bin/Debug/Generics_2.vshost.exe.config similarity index 100% rename from golovko.greg/Task_1_Basics/2_8_Lottery/bin/Debug/2_8_Lottery.vshost.exe.config rename to maltsev/Task8/Generics_2/bin/Debug/Generics_2.vshost.exe.config diff --git a/maltsev/Task8/Generics_2/bin/Debug/Generics_2.vshost.exe.manifest b/maltsev/Task8/Generics_2/bin/Debug/Generics_2.vshost.exe.manifest new file mode 100644 index 0000000..061c9ca --- /dev/null +++ b/maltsev/Task8/Generics_2/bin/Debug/Generics_2.vshost.exe.manifest @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/maltsev/Task8/Generics_2/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/maltsev/Task8/Generics_2/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache new file mode 100644 index 0000000..270b4d9 Binary files /dev/null and b/maltsev/Task8/Generics_2/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/maltsev/Task8/Generics_2/obj/Debug/Generics_2.csproj.FileListAbsolute.txt b/maltsev/Task8/Generics_2/obj/Debug/Generics_2.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..72bd1bf --- /dev/null +++ b/maltsev/Task8/Generics_2/obj/Debug/Generics_2.csproj.FileListAbsolute.txt @@ -0,0 +1,6 @@ +c:\users\svezho\documents\visual studio 2015\Projects\Generics_2\bin\Debug\Generics_2.exe.config +c:\users\svezho\documents\visual studio 2015\Projects\Generics_2\bin\Debug\Generics_2.exe +c:\users\svezho\documents\visual studio 2015\Projects\Generics_2\bin\Debug\Generics_2.pdb +c:\users\svezho\documents\visual studio 2015\Projects\Generics_2\obj\Debug\Generics_2.csprojResolveAssemblyReference.cache +c:\users\svezho\documents\visual studio 2015\Projects\Generics_2\obj\Debug\Generics_2.exe +c:\users\svezho\documents\visual studio 2015\Projects\Generics_2\obj\Debug\Generics_2.pdb diff --git a/maltsev/Task8/Generics_2/obj/Debug/Generics_2.csprojResolveAssemblyReference.cache b/maltsev/Task8/Generics_2/obj/Debug/Generics_2.csprojResolveAssemblyReference.cache new file mode 100644 index 0000000..362dcb9 Binary files /dev/null and b/maltsev/Task8/Generics_2/obj/Debug/Generics_2.csprojResolveAssemblyReference.cache differ diff --git a/maltsev/Task8/Generics_2/obj/Debug/Generics_2.exe b/maltsev/Task8/Generics_2/obj/Debug/Generics_2.exe new file mode 100644 index 0000000..5f34a46 Binary files /dev/null and b/maltsev/Task8/Generics_2/obj/Debug/Generics_2.exe differ diff --git a/maltsev/Task8/Generics_2/obj/Debug/Generics_2.pdb b/maltsev/Task8/Generics_2/obj/Debug/Generics_2.pdb new file mode 100644 index 0000000..ff38c0a Binary files /dev/null and b/maltsev/Task8/Generics_2/obj/Debug/Generics_2.pdb differ diff --git a/Task_1_Basics/2_9_CurrencyExchanger/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs b/maltsev/Task8/Generics_2/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs similarity index 100% rename from Task_1_Basics/2_9_CurrencyExchanger/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs rename to maltsev/Task8/Generics_2/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs diff --git a/Task_1_Basics/2_9_CurrencyExchanger/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs b/maltsev/Task8/Generics_2/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs similarity index 100% rename from Task_1_Basics/2_9_CurrencyExchanger/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs rename to maltsev/Task8/Generics_2/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs diff --git a/Task_1_Basics/2_9_CurrencyExchanger/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs b/maltsev/Task8/Generics_2/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs similarity index 100% rename from Task_1_Basics/2_9_CurrencyExchanger/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs rename to maltsev/Task8/Generics_2/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs diff --git a/maltsev/Task8/Generics_3/.vs/Generics_3/v14/.suo b/maltsev/Task8/Generics_3/.vs/Generics_3/v14/.suo new file mode 100644 index 0000000..40f4525 Binary files /dev/null and b/maltsev/Task8/Generics_3/.vs/Generics_3/v14/.suo differ diff --git a/golovko.greg/Task_1_Basics/3_2_NumberRange/App.config b/maltsev/Task8/Generics_3/App.config similarity index 100% rename from golovko.greg/Task_1_Basics/3_2_NumberRange/App.config rename to maltsev/Task8/Generics_3/App.config diff --git a/maltsev/Task8/Generics_3/Generics_3.csproj b/maltsev/Task8/Generics_3/Generics_3.csproj new file mode 100644 index 0000000..c87cf5a --- /dev/null +++ b/maltsev/Task8/Generics_3/Generics_3.csproj @@ -0,0 +1,60 @@ + + + + + Debug + AnyCPU + {F76242A8-1A56-4904-B616-C32771E6CCAF} + Exe + Properties + Generics_3 + Generics_3 + v4.5.2 + 512 + true + + + AnyCPU + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + AnyCPU + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/maltsev/Task8/Generics_3/Generics_3.sln b/maltsev/Task8/Generics_3/Generics_3.sln new file mode 100644 index 0000000..2922797 --- /dev/null +++ b/maltsev/Task8/Generics_3/Generics_3.sln @@ -0,0 +1,22 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 14 +VisualStudioVersion = 14.0.25420.1 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Generics_3", "Generics_3.csproj", "{F76242A8-1A56-4904-B616-C32771E6CCAF}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {F76242A8-1A56-4904-B616-C32771E6CCAF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {F76242A8-1A56-4904-B616-C32771E6CCAF}.Debug|Any CPU.Build.0 = Debug|Any CPU + {F76242A8-1A56-4904-B616-C32771E6CCAF}.Release|Any CPU.ActiveCfg = Release|Any CPU + {F76242A8-1A56-4904-B616-C32771E6CCAF}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/maltsev/Task8/Generics_3/Program.cs b/maltsev/Task8/Generics_3/Program.cs new file mode 100644 index 0000000..a013b0e --- /dev/null +++ b/maltsev/Task8/Generics_3/Program.cs @@ -0,0 +1,75 @@ +using System; +using System.Collections.Generic; +using System.Collections; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Generics_3 +{ + class MyDictionary where TKey: IComparable + { + private TKey[] keys; + private TValue[] values; + + public int Capacity { get; private set; } + + public TValue this[TKey key] + { + get{ + for (int i = 0; i < keys.Length; i++) + { + if (keys[i].Equals(key)) + return values[i]; + } + return default(TValue); + } + set { + for (int i = 0; i < keys.Length; i++) + { + if (keys[i].Equals(key)) + values[i] = value; + } + } + } + + public MyDictionary() + { + Capacity = 0; + } + public void Add(TKey key, TValue value) + { + TKey[] keys2 = new TKey[Capacity + 1]; + TValue[] values2 = new TValue[Capacity + 1]; + + for (int i = 0; i < Capacity; i++) + { + keys2[i] = keys[i]; + values2[i] = values[i]; + } + + keys = keys2; + keys[Capacity] = key; + + values = values2; + values[Capacity] = value; + + Capacity++; + } + } + class Program + { + static void Main(string[] args) + { + MyDictionary dic = new MyDictionary(); + dic.Add(2, 190); + dic.Add(5, 2990); + dic.Add(6, 12345); + Console.WriteLine(dic[2]); + Console.WriteLine(dic[5]); + Console.WriteLine(dic[6]); + Console.WriteLine(dic.Capacity); + Console.ReadKey(); + } + } +} diff --git a/maltsev/Task8/Generics_3/Properties/AssemblyInfo.cs b/maltsev/Task8/Generics_3/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..2258368 --- /dev/null +++ b/maltsev/Task8/Generics_3/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Generics_3")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("Generics_3")] +[assembly: AssemblyCopyright("Copyright © 2016")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("f76242a8-1a56-4904-b616-c32771e6ccaf")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/maltsev/Task8/Generics_3/bin/Debug/Generics_3.exe b/maltsev/Task8/Generics_3/bin/Debug/Generics_3.exe new file mode 100644 index 0000000..4acdc8d Binary files /dev/null and b/maltsev/Task8/Generics_3/bin/Debug/Generics_3.exe differ diff --git a/golovko.greg/Task_1_Basics/2_9_CurrencyExchanger/bin/Debug/2_9_CurrencyExchanger.exe.config b/maltsev/Task8/Generics_3/bin/Debug/Generics_3.exe.config similarity index 100% rename from golovko.greg/Task_1_Basics/2_9_CurrencyExchanger/bin/Debug/2_9_CurrencyExchanger.exe.config rename to maltsev/Task8/Generics_3/bin/Debug/Generics_3.exe.config diff --git a/maltsev/Task8/Generics_3/bin/Debug/Generics_3.pdb b/maltsev/Task8/Generics_3/bin/Debug/Generics_3.pdb new file mode 100644 index 0000000..a0882a5 Binary files /dev/null and b/maltsev/Task8/Generics_3/bin/Debug/Generics_3.pdb differ diff --git a/golovko.greg/Task_1_Basics/2_9_CurrencyExchanger/bin/Debug/2_9_CurrencyExchanger.vshost.exe b/maltsev/Task8/Generics_3/bin/Debug/Generics_3.vshost.exe similarity index 100% rename from golovko.greg/Task_1_Basics/2_9_CurrencyExchanger/bin/Debug/2_9_CurrencyExchanger.vshost.exe rename to maltsev/Task8/Generics_3/bin/Debug/Generics_3.vshost.exe diff --git a/golovko.greg/Task_1_Basics/2_9_CurrencyExchanger/bin/Debug/2_9_CurrencyExchanger.vshost.exe.config b/maltsev/Task8/Generics_3/bin/Debug/Generics_3.vshost.exe.config similarity index 100% rename from golovko.greg/Task_1_Basics/2_9_CurrencyExchanger/bin/Debug/2_9_CurrencyExchanger.vshost.exe.config rename to maltsev/Task8/Generics_3/bin/Debug/Generics_3.vshost.exe.config diff --git a/maltsev/Task8/Generics_3/bin/Debug/Generics_3.vshost.exe.manifest b/maltsev/Task8/Generics_3/bin/Debug/Generics_3.vshost.exe.manifest new file mode 100644 index 0000000..061c9ca --- /dev/null +++ b/maltsev/Task8/Generics_3/bin/Debug/Generics_3.vshost.exe.manifest @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/maltsev/Task8/Generics_3/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/maltsev/Task8/Generics_3/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache new file mode 100644 index 0000000..9f59ef9 Binary files /dev/null and b/maltsev/Task8/Generics_3/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/maltsev/Task8/Generics_3/obj/Debug/Generics_3.csproj.FileListAbsolute.txt b/maltsev/Task8/Generics_3/obj/Debug/Generics_3.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..9cc060d --- /dev/null +++ b/maltsev/Task8/Generics_3/obj/Debug/Generics_3.csproj.FileListAbsolute.txt @@ -0,0 +1,6 @@ +c:\users\svezho\documents\visual studio 2015\Projects\Generics_3\bin\Debug\Generics_3.exe.config +C:\Users\svezho\Documents\Visual Studio 2015\Projects\Generics_3\obj\Debug\Generics_3.csprojResolveAssemblyReference.cache +C:\Users\svezho\Documents\Visual Studio 2015\Projects\Generics_3\bin\Debug\Generics_3.exe +C:\Users\svezho\Documents\Visual Studio 2015\Projects\Generics_3\bin\Debug\Generics_3.pdb +C:\Users\svezho\Documents\Visual Studio 2015\Projects\Generics_3\obj\Debug\Generics_3.exe +C:\Users\svezho\Documents\Visual Studio 2015\Projects\Generics_3\obj\Debug\Generics_3.pdb diff --git a/maltsev/Task8/Generics_3/obj/Debug/Generics_3.csprojResolveAssemblyReference.cache b/maltsev/Task8/Generics_3/obj/Debug/Generics_3.csprojResolveAssemblyReference.cache new file mode 100644 index 0000000..362dcb9 Binary files /dev/null and b/maltsev/Task8/Generics_3/obj/Debug/Generics_3.csprojResolveAssemblyReference.cache differ diff --git a/maltsev/Task8/Generics_3/obj/Debug/Generics_3.exe b/maltsev/Task8/Generics_3/obj/Debug/Generics_3.exe new file mode 100644 index 0000000..4acdc8d Binary files /dev/null and b/maltsev/Task8/Generics_3/obj/Debug/Generics_3.exe differ diff --git a/maltsev/Task8/Generics_3/obj/Debug/Generics_3.pdb b/maltsev/Task8/Generics_3/obj/Debug/Generics_3.pdb new file mode 100644 index 0000000..a0882a5 Binary files /dev/null and b/maltsev/Task8/Generics_3/obj/Debug/Generics_3.pdb differ diff --git a/Task_1_Basics/3_1_MultiplyTable/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs b/maltsev/Task8/Generics_3/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs similarity index 100% rename from Task_1_Basics/3_1_MultiplyTable/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs rename to maltsev/Task8/Generics_3/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs diff --git a/Task_1_Basics/3_1_MultiplyTable/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs b/maltsev/Task8/Generics_3/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs similarity index 100% rename from Task_1_Basics/3_1_MultiplyTable/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs rename to maltsev/Task8/Generics_3/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs diff --git a/Task_1_Basics/3_1_MultiplyTable/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs b/maltsev/Task8/Generics_3/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs similarity index 100% rename from Task_1_Basics/3_1_MultiplyTable/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs rename to maltsev/Task8/Generics_3/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs diff --git a/maltsev/Task8/Generics_4/.vs/Generics_4/v14/.suo b/maltsev/Task8/Generics_4/.vs/Generics_4/v14/.suo new file mode 100644 index 0000000..8111f2e Binary files /dev/null and b/maltsev/Task8/Generics_4/.vs/Generics_4/v14/.suo differ diff --git a/golovko.greg/Task_1_Basics/3_3_WhatNumber/App.config b/maltsev/Task8/Generics_4/App.config similarity index 100% rename from golovko.greg/Task_1_Basics/3_3_WhatNumber/App.config rename to maltsev/Task8/Generics_4/App.config diff --git a/maltsev/Task8/Generics_4/Generics_4.csproj b/maltsev/Task8/Generics_4/Generics_4.csproj new file mode 100644 index 0000000..e1c5c75 --- /dev/null +++ b/maltsev/Task8/Generics_4/Generics_4.csproj @@ -0,0 +1,60 @@ + + + + + Debug + AnyCPU + {52B7FB32-D1FE-4005-90A2-FDF6E3B2326B} + Exe + Properties + Generics_4 + Generics_4 + v4.5.2 + 512 + true + + + AnyCPU + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + AnyCPU + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/maltsev/Task8/Generics_4/Generics_4.sln b/maltsev/Task8/Generics_4/Generics_4.sln new file mode 100644 index 0000000..21f5f24 --- /dev/null +++ b/maltsev/Task8/Generics_4/Generics_4.sln @@ -0,0 +1,22 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 14 +VisualStudioVersion = 14.0.25420.1 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Generics_4", "Generics_4.csproj", "{52B7FB32-D1FE-4005-90A2-FDF6E3B2326B}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {52B7FB32-D1FE-4005-90A2-FDF6E3B2326B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {52B7FB32-D1FE-4005-90A2-FDF6E3B2326B}.Debug|Any CPU.Build.0 = Debug|Any CPU + {52B7FB32-D1FE-4005-90A2-FDF6E3B2326B}.Release|Any CPU.ActiveCfg = Release|Any CPU + {52B7FB32-D1FE-4005-90A2-FDF6E3B2326B}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/maltsev/Task8/Generics_4/Program.cs b/maltsev/Task8/Generics_4/Program.cs new file mode 100644 index 0000000..304b6e0 --- /dev/null +++ b/maltsev/Task8/Generics_4/Program.cs @@ -0,0 +1,73 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Generics_4 +{ + class MyList + { + private T[] elements; + + public int Capacity { get; private set; } + + public T this[int index] + { + get { return elements[index]; } + set { elements[index] = value; } + } + + public MyList() + { + Capacity = 0; + } + public void Add(T elem) + { + T[] elements2 = new T[Capacity + 1]; + for (int i = 0; i < Capacity; i++) + { + elements2[i] = elements[i]; + } + elements = elements2; + elements[Capacity] = elem; + Capacity++; + } + + } + static class Array + { + public static T[] GetArray(this MyList list) + { + T[] element_list = new T[list.Capacity]; + for (int i = 0; i < list.Capacity; i++) + { + element_list[i] = list[i]; + } + return element_list; + } + } + class Program + { + static void Main(string[] args) + { + MyList list = new MyList(); + list.Add(234.1); + list.Add(2222.11); + list.Add(343.222); + for (int i = 0; i < list.Capacity; i++) + { + Console.WriteLine(list[i]); + } + + double[] element_list = Array.GetArray(list); + for (int i = 0; i < element_list.Length; i++) + { + Console.WriteLine(element_list[i]); + } + + Console.ReadKey(); + } + + } +} diff --git a/maltsev/Task8/Generics_4/Properties/AssemblyInfo.cs b/maltsev/Task8/Generics_4/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..67e24e7 --- /dev/null +++ b/maltsev/Task8/Generics_4/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Generics_4")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("Generics_4")] +[assembly: AssemblyCopyright("Copyright © 2016")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("52b7fb32-d1fe-4005-90a2-fdf6e3b2326b")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/maltsev/Task8/Generics_4/bin/Debug/Generics_4.exe b/maltsev/Task8/Generics_4/bin/Debug/Generics_4.exe new file mode 100644 index 0000000..371390a Binary files /dev/null and b/maltsev/Task8/Generics_4/bin/Debug/Generics_4.exe differ diff --git a/golovko.greg/Task_1_Basics/3_1_MultiplyTable/bin/Debug/3_1_MultiplyTable.exe.config b/maltsev/Task8/Generics_4/bin/Debug/Generics_4.exe.config similarity index 100% rename from golovko.greg/Task_1_Basics/3_1_MultiplyTable/bin/Debug/3_1_MultiplyTable.exe.config rename to maltsev/Task8/Generics_4/bin/Debug/Generics_4.exe.config diff --git a/maltsev/Task8/Generics_4/bin/Debug/Generics_4.pdb b/maltsev/Task8/Generics_4/bin/Debug/Generics_4.pdb new file mode 100644 index 0000000..f3b6068 Binary files /dev/null and b/maltsev/Task8/Generics_4/bin/Debug/Generics_4.pdb differ diff --git a/golovko.greg/Task_1_Basics/3_1_MultiplyTable/bin/Debug/3_1_MultiplyTable.vshost.exe b/maltsev/Task8/Generics_4/bin/Debug/Generics_4.vshost.exe similarity index 100% rename from golovko.greg/Task_1_Basics/3_1_MultiplyTable/bin/Debug/3_1_MultiplyTable.vshost.exe rename to maltsev/Task8/Generics_4/bin/Debug/Generics_4.vshost.exe diff --git a/golovko.greg/Task_1_Basics/3_1_MultiplyTable/bin/Debug/3_1_MultiplyTable.vshost.exe.config b/maltsev/Task8/Generics_4/bin/Debug/Generics_4.vshost.exe.config similarity index 100% rename from golovko.greg/Task_1_Basics/3_1_MultiplyTable/bin/Debug/3_1_MultiplyTable.vshost.exe.config rename to maltsev/Task8/Generics_4/bin/Debug/Generics_4.vshost.exe.config diff --git a/maltsev/Task8/Generics_4/bin/Debug/Generics_4.vshost.exe.manifest b/maltsev/Task8/Generics_4/bin/Debug/Generics_4.vshost.exe.manifest new file mode 100644 index 0000000..061c9ca --- /dev/null +++ b/maltsev/Task8/Generics_4/bin/Debug/Generics_4.vshost.exe.manifest @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/maltsev/Task8/Generics_4/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/maltsev/Task8/Generics_4/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache new file mode 100644 index 0000000..af18f75 Binary files /dev/null and b/maltsev/Task8/Generics_4/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/maltsev/Task8/Generics_4/obj/Debug/Generics_4.csproj.FileListAbsolute.txt b/maltsev/Task8/Generics_4/obj/Debug/Generics_4.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..662764f --- /dev/null +++ b/maltsev/Task8/Generics_4/obj/Debug/Generics_4.csproj.FileListAbsolute.txt @@ -0,0 +1,6 @@ +c:\users\svezho\documents\visual studio 2015\Projects\Generics_4\bin\Debug\Generics_4.exe.config +c:\users\svezho\documents\visual studio 2015\Projects\Generics_4\obj\Debug\Generics_4.csprojResolveAssemblyReference.cache +c:\users\svezho\documents\visual studio 2015\Projects\Generics_4\bin\Debug\Generics_4.exe +c:\users\svezho\documents\visual studio 2015\Projects\Generics_4\bin\Debug\Generics_4.pdb +c:\users\svezho\documents\visual studio 2015\Projects\Generics_4\obj\Debug\Generics_4.exe +c:\users\svezho\documents\visual studio 2015\Projects\Generics_4\obj\Debug\Generics_4.pdb diff --git a/maltsev/Task8/Generics_4/obj/Debug/Generics_4.csprojResolveAssemblyReference.cache b/maltsev/Task8/Generics_4/obj/Debug/Generics_4.csprojResolveAssemblyReference.cache new file mode 100644 index 0000000..362dcb9 Binary files /dev/null and b/maltsev/Task8/Generics_4/obj/Debug/Generics_4.csprojResolveAssemblyReference.cache differ diff --git a/maltsev/Task8/Generics_4/obj/Debug/Generics_4.exe b/maltsev/Task8/Generics_4/obj/Debug/Generics_4.exe new file mode 100644 index 0000000..371390a Binary files /dev/null and b/maltsev/Task8/Generics_4/obj/Debug/Generics_4.exe differ diff --git a/maltsev/Task8/Generics_4/obj/Debug/Generics_4.pdb b/maltsev/Task8/Generics_4/obj/Debug/Generics_4.pdb new file mode 100644 index 0000000..f3b6068 Binary files /dev/null and b/maltsev/Task8/Generics_4/obj/Debug/Generics_4.pdb differ diff --git a/Task_1_Basics/3_2_NumberRange/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs b/maltsev/Task8/Generics_4/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs similarity index 100% rename from Task_1_Basics/3_2_NumberRange/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs rename to maltsev/Task8/Generics_4/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs diff --git a/Task_1_Basics/3_2_NumberRange/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs b/maltsev/Task8/Generics_4/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs similarity index 100% rename from Task_1_Basics/3_2_NumberRange/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs rename to maltsev/Task8/Generics_4/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs diff --git a/Task_1_Basics/3_2_NumberRange/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs b/maltsev/Task8/Generics_4/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs similarity index 100% rename from Task_1_Basics/3_2_NumberRange/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs rename to maltsev/Task8/Generics_4/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs diff --git a/maltsev/Task8/Generics_5/.vs/Generics_5/v14/.suo b/maltsev/Task8/Generics_5/.vs/Generics_5/v14/.suo new file mode 100644 index 0000000..236948d Binary files /dev/null and b/maltsev/Task8/Generics_5/.vs/Generics_5/v14/.suo differ diff --git a/golovko.greg/Task_1_Basics/3_4_SquareNumbers/App.config b/maltsev/Task8/Generics_5/App.config similarity index 100% rename from golovko.greg/Task_1_Basics/3_4_SquareNumbers/App.config rename to maltsev/Task8/Generics_5/App.config diff --git a/maltsev/Task8/Generics_5/Generics_5.csproj b/maltsev/Task8/Generics_5/Generics_5.csproj new file mode 100644 index 0000000..17718b1 --- /dev/null +++ b/maltsev/Task8/Generics_5/Generics_5.csproj @@ -0,0 +1,60 @@ + + + + + Debug + AnyCPU + {D8025775-5BDC-4D87-AC0B-C5CCD1C1E082} + Exe + Properties + Generics_5 + Generics_5 + v4.5.2 + 512 + true + + + AnyCPU + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + AnyCPU + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/maltsev/Task8/Generics_5/Generics_5.sln b/maltsev/Task8/Generics_5/Generics_5.sln new file mode 100644 index 0000000..99f47b7 --- /dev/null +++ b/maltsev/Task8/Generics_5/Generics_5.sln @@ -0,0 +1,22 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 14 +VisualStudioVersion = 14.0.25420.1 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Generics_5", "Generics_5.csproj", "{D8025775-5BDC-4D87-AC0B-C5CCD1C1E082}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {D8025775-5BDC-4D87-AC0B-C5CCD1C1E082}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {D8025775-5BDC-4D87-AC0B-C5CCD1C1E082}.Debug|Any CPU.Build.0 = Debug|Any CPU + {D8025775-5BDC-4D87-AC0B-C5CCD1C1E082}.Release|Any CPU.ActiveCfg = Release|Any CPU + {D8025775-5BDC-4D87-AC0B-C5CCD1C1E082}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/maltsev/Task8/Generics_5/Program.cs b/maltsev/Task8/Generics_5/Program.cs new file mode 100644 index 0000000..c295c57 --- /dev/null +++ b/maltsev/Task8/Generics_5/Program.cs @@ -0,0 +1,76 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Generics_5 +{ + class Car + { + public string Name { get; private set; } + public int Year { get; private set; } + + public Car() + { + Name = ""; + Year = 0; + } + public Car(string name, int year) + { + Name = name; + Year = year; + } + public override string ToString() + { + string str = "Name:\t" + Name.ToString() + "\n" + + "Year:\t" + Year.ToString(); + return str; + } + } + class CarCollection where T: Car + { + private T[] cars; + public int Capacity { get; private set; } + + public T this[int index] + { + get + { + return cars[index]; + } + } + public CarCollection() + { + Capacity = 0; + } + public void Add(T car) + { + T[] carsTemp = new T[Capacity+1]; + for (int i = 0; i < Capacity; i++) + { + carsTemp[i] = cars[i]; + } + carsTemp[Capacity] = car; + cars = carsTemp; + Capacity++; + } + public void Delete() + { + cars = new T[0]; + } + } + class Program + { + static void Main(string[] args) + { + CarCollection park = new CarCollection(); + park.Add(new Generics_5.Car("Audi", 1998)); + park.Add(new Generics_5.Car("Ford", 2007)); + park.Add(new Generics_5.Car("BMW", 2015)); + Console.WriteLine(park[2]); + park.Delete(); + Console.ReadKey(); + } + } +} diff --git a/maltsev/Task8/Generics_5/Properties/AssemblyInfo.cs b/maltsev/Task8/Generics_5/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..b76853c --- /dev/null +++ b/maltsev/Task8/Generics_5/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Generics_5")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("Generics_5")] +[assembly: AssemblyCopyright("Copyright © 2016")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("d8025775-5bdc-4d87-ac0b-c5ccd1c1e082")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/maltsev/Task8/Generics_5/bin/Debug/Generics_5.exe b/maltsev/Task8/Generics_5/bin/Debug/Generics_5.exe new file mode 100644 index 0000000..f1d4f5e Binary files /dev/null and b/maltsev/Task8/Generics_5/bin/Debug/Generics_5.exe differ diff --git a/golovko.greg/Task_1_Basics/3_2_NumberRange/bin/Debug/3_2_NumberRange.exe.config b/maltsev/Task8/Generics_5/bin/Debug/Generics_5.exe.config similarity index 100% rename from golovko.greg/Task_1_Basics/3_2_NumberRange/bin/Debug/3_2_NumberRange.exe.config rename to maltsev/Task8/Generics_5/bin/Debug/Generics_5.exe.config diff --git a/maltsev/Task8/Generics_5/bin/Debug/Generics_5.pdb b/maltsev/Task8/Generics_5/bin/Debug/Generics_5.pdb new file mode 100644 index 0000000..dc5433a Binary files /dev/null and b/maltsev/Task8/Generics_5/bin/Debug/Generics_5.pdb differ diff --git a/golovko.greg/Task_1_Basics/3_2_NumberRange/bin/Debug/3_2_NumberRange.vshost.exe b/maltsev/Task8/Generics_5/bin/Debug/Generics_5.vshost.exe similarity index 100% rename from golovko.greg/Task_1_Basics/3_2_NumberRange/bin/Debug/3_2_NumberRange.vshost.exe rename to maltsev/Task8/Generics_5/bin/Debug/Generics_5.vshost.exe diff --git a/golovko.greg/Task_1_Basics/3_2_NumberRange/bin/Debug/3_2_NumberRange.vshost.exe.config b/maltsev/Task8/Generics_5/bin/Debug/Generics_5.vshost.exe.config similarity index 100% rename from golovko.greg/Task_1_Basics/3_2_NumberRange/bin/Debug/3_2_NumberRange.vshost.exe.config rename to maltsev/Task8/Generics_5/bin/Debug/Generics_5.vshost.exe.config diff --git a/maltsev/Task8/Generics_5/bin/Debug/Generics_5.vshost.exe.manifest b/maltsev/Task8/Generics_5/bin/Debug/Generics_5.vshost.exe.manifest new file mode 100644 index 0000000..061c9ca --- /dev/null +++ b/maltsev/Task8/Generics_5/bin/Debug/Generics_5.vshost.exe.manifest @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/maltsev/Task8/Generics_5/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/maltsev/Task8/Generics_5/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache new file mode 100644 index 0000000..f758330 Binary files /dev/null and b/maltsev/Task8/Generics_5/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/maltsev/Task8/Generics_5/obj/Debug/Generics_5.csproj.FileListAbsolute.txt b/maltsev/Task8/Generics_5/obj/Debug/Generics_5.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..947470f --- /dev/null +++ b/maltsev/Task8/Generics_5/obj/Debug/Generics_5.csproj.FileListAbsolute.txt @@ -0,0 +1,6 @@ +c:\users\svezho\documents\visual studio 2015\Projects\Generics_5\bin\Debug\Generics_5.exe.config +c:\users\svezho\documents\visual studio 2015\Projects\Generics_5\bin\Debug\Generics_5.exe +c:\users\svezho\documents\visual studio 2015\Projects\Generics_5\bin\Debug\Generics_5.pdb +c:\users\svezho\documents\visual studio 2015\Projects\Generics_5\obj\Debug\Generics_5.csprojResolveAssemblyReference.cache +c:\users\svezho\documents\visual studio 2015\Projects\Generics_5\obj\Debug\Generics_5.exe +c:\users\svezho\documents\visual studio 2015\Projects\Generics_5\obj\Debug\Generics_5.pdb diff --git a/maltsev/Task8/Generics_5/obj/Debug/Generics_5.csprojResolveAssemblyReference.cache b/maltsev/Task8/Generics_5/obj/Debug/Generics_5.csprojResolveAssemblyReference.cache new file mode 100644 index 0000000..362dcb9 Binary files /dev/null and b/maltsev/Task8/Generics_5/obj/Debug/Generics_5.csprojResolveAssemblyReference.cache differ diff --git a/maltsev/Task8/Generics_5/obj/Debug/Generics_5.exe b/maltsev/Task8/Generics_5/obj/Debug/Generics_5.exe new file mode 100644 index 0000000..f1d4f5e Binary files /dev/null and b/maltsev/Task8/Generics_5/obj/Debug/Generics_5.exe differ diff --git a/maltsev/Task8/Generics_5/obj/Debug/Generics_5.pdb b/maltsev/Task8/Generics_5/obj/Debug/Generics_5.pdb new file mode 100644 index 0000000..dc5433a Binary files /dev/null and b/maltsev/Task8/Generics_5/obj/Debug/Generics_5.pdb differ diff --git a/Task_1_Basics/3_3_WhatNumber/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs b/maltsev/Task8/Generics_5/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs similarity index 100% rename from Task_1_Basics/3_3_WhatNumber/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs rename to maltsev/Task8/Generics_5/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs diff --git a/Task_1_Basics/3_3_WhatNumber/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs b/maltsev/Task8/Generics_5/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs similarity index 100% rename from Task_1_Basics/3_3_WhatNumber/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs rename to maltsev/Task8/Generics_5/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs diff --git a/Task_1_Basics/3_3_WhatNumber/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs b/maltsev/Task8/Generics_5/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs similarity index 100% rename from Task_1_Basics/3_3_WhatNumber/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs rename to maltsev/Task8/Generics_5/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs diff --git a/maltsev/Task8/Generics_7/.vs/Generics_7/v14/.suo b/maltsev/Task8/Generics_7/.vs/Generics_7/v14/.suo new file mode 100644 index 0000000..686e059 Binary files /dev/null and b/maltsev/Task8/Generics_7/.vs/Generics_7/v14/.suo differ diff --git a/golovko.greg/Task_1_Basics/3_5_MiddleArifmeticInput/App.config b/maltsev/Task8/Generics_7/App.config similarity index 100% rename from golovko.greg/Task_1_Basics/3_5_MiddleArifmeticInput/App.config rename to maltsev/Task8/Generics_7/App.config diff --git a/maltsev/Task8/Generics_7/Generics_7.csproj b/maltsev/Task8/Generics_7/Generics_7.csproj new file mode 100644 index 0000000..aa841aa --- /dev/null +++ b/maltsev/Task8/Generics_7/Generics_7.csproj @@ -0,0 +1,60 @@ + + + + + Debug + AnyCPU + {3BB6D2A9-E8C3-4610-944E-03F4F5ECF66D} + Exe + Properties + Generics_7 + Generics_7 + v4.5.2 + 512 + true + + + AnyCPU + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + AnyCPU + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/maltsev/Task8/Generics_7/Generics_7.sln b/maltsev/Task8/Generics_7/Generics_7.sln new file mode 100644 index 0000000..28cb7f7 --- /dev/null +++ b/maltsev/Task8/Generics_7/Generics_7.sln @@ -0,0 +1,22 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 14 +VisualStudioVersion = 14.0.25420.1 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Generics_7", "Generics_7.csproj", "{3BB6D2A9-E8C3-4610-944E-03F4F5ECF66D}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {3BB6D2A9-E8C3-4610-944E-03F4F5ECF66D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {3BB6D2A9-E8C3-4610-944E-03F4F5ECF66D}.Debug|Any CPU.Build.0 = Debug|Any CPU + {3BB6D2A9-E8C3-4610-944E-03F4F5ECF66D}.Release|Any CPU.ActiveCfg = Release|Any CPU + {3BB6D2A9-E8C3-4610-944E-03F4F5ECF66D}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/maltsev/Task8/Generics_7/Program.cs b/maltsev/Task8/Generics_7/Program.cs new file mode 100644 index 0000000..8adeb6a --- /dev/null +++ b/maltsev/Task8/Generics_7/Program.cs @@ -0,0 +1,109 @@ +using System; +using System.Collections.Generic; +using System.Collections; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Generics_7 +{ + class ArrayList + { + private object[] arr; + public int Size { get; private set; } + public int UsedSize { get; private set; } + + public ArrayList() + { + Size = 10; + arr = new object[Size]; + } + public void Add(object elem) + { + if (Size == UsedSize) + { + object[] arrTemp = new object[UsedSize + 10]; + for (int i = 0; i < Size; i++) + { + arrTemp[i] = arr[i]; + } + arrTemp[UsedSize] = elem; + arr = arrTemp; + Size = Size + 10; + } + else + { + arr[UsedSize] = elem; + UsedSize++; + } + } + public void Remove(object elem) + { + for (int i = 0; i < UsedSize; i++) + { + if( arr[i] == elem) + { + for (int j = i; j < UsedSize; i++) + { + arr[i] = arr[i + 1]; + } + UsedSize--; + break; + } + } + + } + public void RemoveAt(int index) + { + for (int i = index; i < UsedSize; i++) + { + arr[i] = arr[i + 1]; + } + UsedSize--; + } + public void Clear() + { + arr = new object[0]; + } + public int IndexOf(object elem) + { + for (int i = 0; i < UsedSize; i++) + { + if (arr[i] == elem) + { + return i; + } + } + return -1; + } + public override string ToString() + { + string str = ""; + for (int i = 0; i < UsedSize; i++) + { + str += i.ToString() + ":\t" + arr[i].ToString() + "\n"; + } + return str; + } + } + class Program + { + static void Main(string[] args) + { + ArrayList alist = new ArrayList(); + + alist.Add(342); + alist.Add(34643.3); + alist.Add("dsjf"); + alist.Add(true); + Console.WriteLine(alist); + + Console.WriteLine("Index of dsjf: " + alist.IndexOf("dsjf")+ "\n"); + + alist.RemoveAt(2); + Console.WriteLine(alist); + + Console.ReadKey(); + } + } +} diff --git a/maltsev/Task8/Generics_7/Properties/AssemblyInfo.cs b/maltsev/Task8/Generics_7/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..8ccf59c --- /dev/null +++ b/maltsev/Task8/Generics_7/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Generics_7")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("Generics_7")] +[assembly: AssemblyCopyright("Copyright © 2016")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("3bb6d2a9-e8c3-4610-944e-03f4f5ecf66d")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/maltsev/Task8/Generics_7/bin/Debug/Generics_7.exe b/maltsev/Task8/Generics_7/bin/Debug/Generics_7.exe new file mode 100644 index 0000000..385d738 Binary files /dev/null and b/maltsev/Task8/Generics_7/bin/Debug/Generics_7.exe differ diff --git a/golovko.greg/Task_1_Basics/3_3_WhatNumber/bin/Debug/3_3_WhatNumber.exe.config b/maltsev/Task8/Generics_7/bin/Debug/Generics_7.exe.config similarity index 100% rename from golovko.greg/Task_1_Basics/3_3_WhatNumber/bin/Debug/3_3_WhatNumber.exe.config rename to maltsev/Task8/Generics_7/bin/Debug/Generics_7.exe.config diff --git a/maltsev/Task8/Generics_7/bin/Debug/Generics_7.pdb b/maltsev/Task8/Generics_7/bin/Debug/Generics_7.pdb new file mode 100644 index 0000000..9a31810 Binary files /dev/null and b/maltsev/Task8/Generics_7/bin/Debug/Generics_7.pdb differ diff --git a/golovko.greg/Task_1_Basics/3_3_WhatNumber/bin/Debug/3_3_WhatNumber.vshost.exe b/maltsev/Task8/Generics_7/bin/Debug/Generics_7.vshost.exe similarity index 100% rename from golovko.greg/Task_1_Basics/3_3_WhatNumber/bin/Debug/3_3_WhatNumber.vshost.exe rename to maltsev/Task8/Generics_7/bin/Debug/Generics_7.vshost.exe diff --git a/golovko.greg/Task_1_Basics/3_3_WhatNumber/bin/Debug/3_3_WhatNumber.vshost.exe.config b/maltsev/Task8/Generics_7/bin/Debug/Generics_7.vshost.exe.config similarity index 100% rename from golovko.greg/Task_1_Basics/3_3_WhatNumber/bin/Debug/3_3_WhatNumber.vshost.exe.config rename to maltsev/Task8/Generics_7/bin/Debug/Generics_7.vshost.exe.config diff --git a/maltsev/Task8/Generics_7/bin/Debug/Generics_7.vshost.exe.manifest b/maltsev/Task8/Generics_7/bin/Debug/Generics_7.vshost.exe.manifest new file mode 100644 index 0000000..061c9ca --- /dev/null +++ b/maltsev/Task8/Generics_7/bin/Debug/Generics_7.vshost.exe.manifest @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/maltsev/Task8/Generics_7/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/maltsev/Task8/Generics_7/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache new file mode 100644 index 0000000..0c334c5 Binary files /dev/null and b/maltsev/Task8/Generics_7/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/maltsev/Task8/Generics_7/obj/Debug/Generics_7.csproj.FileListAbsolute.txt b/maltsev/Task8/Generics_7/obj/Debug/Generics_7.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..2b28146 --- /dev/null +++ b/maltsev/Task8/Generics_7/obj/Debug/Generics_7.csproj.FileListAbsolute.txt @@ -0,0 +1,6 @@ +c:\users\svezho\documents\visual studio 2015\Projects\Generics_7\bin\Debug\Generics_7.exe.config +c:\users\svezho\documents\visual studio 2015\Projects\Generics_7\bin\Debug\Generics_7.exe +c:\users\svezho\documents\visual studio 2015\Projects\Generics_7\bin\Debug\Generics_7.pdb +c:\users\svezho\documents\visual studio 2015\Projects\Generics_7\obj\Debug\Generics_7.csprojResolveAssemblyReference.cache +c:\users\svezho\documents\visual studio 2015\Projects\Generics_7\obj\Debug\Generics_7.exe +c:\users\svezho\documents\visual studio 2015\Projects\Generics_7\obj\Debug\Generics_7.pdb diff --git a/maltsev/Task8/Generics_7/obj/Debug/Generics_7.csprojResolveAssemblyReference.cache b/maltsev/Task8/Generics_7/obj/Debug/Generics_7.csprojResolveAssemblyReference.cache new file mode 100644 index 0000000..362dcb9 Binary files /dev/null and b/maltsev/Task8/Generics_7/obj/Debug/Generics_7.csprojResolveAssemblyReference.cache differ diff --git a/maltsev/Task8/Generics_7/obj/Debug/Generics_7.exe b/maltsev/Task8/Generics_7/obj/Debug/Generics_7.exe new file mode 100644 index 0000000..385d738 Binary files /dev/null and b/maltsev/Task8/Generics_7/obj/Debug/Generics_7.exe differ diff --git a/maltsev/Task8/Generics_7/obj/Debug/Generics_7.pdb b/maltsev/Task8/Generics_7/obj/Debug/Generics_7.pdb new file mode 100644 index 0000000..9a31810 Binary files /dev/null and b/maltsev/Task8/Generics_7/obj/Debug/Generics_7.pdb differ diff --git a/Task_1_Basics/3_4_SquareNumbers/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs b/maltsev/Task8/Generics_7/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs similarity index 100% rename from Task_1_Basics/3_4_SquareNumbers/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs rename to maltsev/Task8/Generics_7/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs diff --git a/Task_1_Basics/3_4_SquareNumbers/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs b/maltsev/Task8/Generics_7/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs similarity index 100% rename from Task_1_Basics/3_4_SquareNumbers/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs rename to maltsev/Task8/Generics_7/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs diff --git a/Task_1_Basics/3_4_SquareNumbers/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs b/maltsev/Task8/Generics_7/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs similarity index 100% rename from Task_1_Basics/3_4_SquareNumbers/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs rename to maltsev/Task8/Generics_7/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs diff --git a/maltsev/Task9/Collections_1/.vs/Collections_1/v14/.suo b/maltsev/Task9/Collections_1/.vs/Collections_1/v14/.suo new file mode 100644 index 0000000..0a889e3 Binary files /dev/null and b/maltsev/Task9/Collections_1/.vs/Collections_1/v14/.suo differ diff --git a/golovko.greg/Task_1_Basics/3_6_MiddleArifmeticRnd/App.config b/maltsev/Task9/Collections_1/App.config similarity index 100% rename from golovko.greg/Task_1_Basics/3_6_MiddleArifmeticRnd/App.config rename to maltsev/Task9/Collections_1/App.config diff --git a/maltsev/Task9/Collections_1/Collections_1.csproj b/maltsev/Task9/Collections_1/Collections_1.csproj new file mode 100644 index 0000000..ff3dab7 --- /dev/null +++ b/maltsev/Task9/Collections_1/Collections_1.csproj @@ -0,0 +1,60 @@ + + + + + Debug + AnyCPU + {208C94AB-9657-40C4-B289-3A32CEE3E2D6} + Exe + Properties + Collections_1 + Collections_1 + v4.5.2 + 512 + true + + + AnyCPU + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + AnyCPU + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/maltsev/Task9/Collections_1/Collections_1.sln b/maltsev/Task9/Collections_1/Collections_1.sln new file mode 100644 index 0000000..2eee117 --- /dev/null +++ b/maltsev/Task9/Collections_1/Collections_1.sln @@ -0,0 +1,22 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 14 +VisualStudioVersion = 14.0.25420.1 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Collections_1", "Collections_1.csproj", "{208C94AB-9657-40C4-B289-3A32CEE3E2D6}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {208C94AB-9657-40C4-B289-3A32CEE3E2D6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {208C94AB-9657-40C4-B289-3A32CEE3E2D6}.Debug|Any CPU.Build.0 = Debug|Any CPU + {208C94AB-9657-40C4-B289-3A32CEE3E2D6}.Release|Any CPU.ActiveCfg = Release|Any CPU + {208C94AB-9657-40C4-B289-3A32CEE3E2D6}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/maltsev/Task9/Collections_1/Program.cs b/maltsev/Task9/Collections_1/Program.cs new file mode 100644 index 0000000..8fb9ae8 --- /dev/null +++ b/maltsev/Task9/Collections_1/Program.cs @@ -0,0 +1,37 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Collections_1 +{ + + class Program + { + static void Main(string[] args) + { + int[] arr = new int[20]; + for (int i = 0; i < arr.Length; i++) + { + arr[i] = i; + } + + foreach (var item in EvenNum(arr)) + { + Console.WriteLine(item); + } + Console.ReadKey(); + } + public static IEnumerable EvenNum(int[] arr) + { + foreach (var i in arr) + { + if (i%2 == 0) + { + yield return i; + } + } + } + } +} diff --git a/maltsev/Task9/Collections_1/Properties/AssemblyInfo.cs b/maltsev/Task9/Collections_1/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..cb52320 --- /dev/null +++ b/maltsev/Task9/Collections_1/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Collections_1")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("Collections_1")] +[assembly: AssemblyCopyright("Copyright © 2016")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("208c94ab-9657-40c4-b289-3a32cee3e2d6")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/maltsev/Task9/Collections_1/bin/Debug/Collections_1.exe b/maltsev/Task9/Collections_1/bin/Debug/Collections_1.exe new file mode 100644 index 0000000..93ccbfa Binary files /dev/null and b/maltsev/Task9/Collections_1/bin/Debug/Collections_1.exe differ diff --git a/golovko.greg/Task_1_Basics/3_4_SquareNumbers/bin/Debug/3_4_SquareNumbers.exe.config b/maltsev/Task9/Collections_1/bin/Debug/Collections_1.exe.config similarity index 100% rename from golovko.greg/Task_1_Basics/3_4_SquareNumbers/bin/Debug/3_4_SquareNumbers.exe.config rename to maltsev/Task9/Collections_1/bin/Debug/Collections_1.exe.config diff --git a/maltsev/Task9/Collections_1/bin/Debug/Collections_1.pdb b/maltsev/Task9/Collections_1/bin/Debug/Collections_1.pdb new file mode 100644 index 0000000..8d147f6 Binary files /dev/null and b/maltsev/Task9/Collections_1/bin/Debug/Collections_1.pdb differ diff --git a/golovko.greg/Task_1_Basics/3_4_SquareNumbers/bin/Debug/3_4_SquareNumbers.vshost.exe b/maltsev/Task9/Collections_1/bin/Debug/Collections_1.vshost.exe similarity index 100% rename from golovko.greg/Task_1_Basics/3_4_SquareNumbers/bin/Debug/3_4_SquareNumbers.vshost.exe rename to maltsev/Task9/Collections_1/bin/Debug/Collections_1.vshost.exe diff --git a/golovko.greg/Task_1_Basics/3_4_SquareNumbers/bin/Debug/3_4_SquareNumbers.vshost.exe.config b/maltsev/Task9/Collections_1/bin/Debug/Collections_1.vshost.exe.config similarity index 100% rename from golovko.greg/Task_1_Basics/3_4_SquareNumbers/bin/Debug/3_4_SquareNumbers.vshost.exe.config rename to maltsev/Task9/Collections_1/bin/Debug/Collections_1.vshost.exe.config diff --git a/maltsev/Task9/Collections_1/bin/Debug/Collections_1.vshost.exe.manifest b/maltsev/Task9/Collections_1/bin/Debug/Collections_1.vshost.exe.manifest new file mode 100644 index 0000000..061c9ca --- /dev/null +++ b/maltsev/Task9/Collections_1/bin/Debug/Collections_1.vshost.exe.manifest @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/maltsev/Task9/Collections_1/obj/Debug/Collections_1.csproj.FileListAbsolute.txt b/maltsev/Task9/Collections_1/obj/Debug/Collections_1.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..71159ec --- /dev/null +++ b/maltsev/Task9/Collections_1/obj/Debug/Collections_1.csproj.FileListAbsolute.txt @@ -0,0 +1,6 @@ +c:\users\svezho\documents\visual studio 2015\Projects\Collections_1\bin\Debug\Collections_1.exe.config +C:\Users\svezho\documents\visual studio 2015\Projects\Collections_1\bin\Debug\Collections_1.exe +C:\Users\svezho\documents\visual studio 2015\Projects\Collections_1\bin\Debug\Collections_1.pdb +C:\Users\svezho\documents\visual studio 2015\Projects\Collections_1\obj\Debug\Collections_1.csprojResolveAssemblyReference.cache +C:\Users\svezho\documents\visual studio 2015\Projects\Collections_1\obj\Debug\Collections_1.exe +C:\Users\svezho\documents\visual studio 2015\Projects\Collections_1\obj\Debug\Collections_1.pdb diff --git a/maltsev/Task9/Collections_1/obj/Debug/Collections_1.csprojResolveAssemblyReference.cache b/maltsev/Task9/Collections_1/obj/Debug/Collections_1.csprojResolveAssemblyReference.cache new file mode 100644 index 0000000..362dcb9 Binary files /dev/null and b/maltsev/Task9/Collections_1/obj/Debug/Collections_1.csprojResolveAssemblyReference.cache differ diff --git a/maltsev/Task9/Collections_1/obj/Debug/Collections_1.exe b/maltsev/Task9/Collections_1/obj/Debug/Collections_1.exe new file mode 100644 index 0000000..93ccbfa Binary files /dev/null and b/maltsev/Task9/Collections_1/obj/Debug/Collections_1.exe differ diff --git a/maltsev/Task9/Collections_1/obj/Debug/Collections_1.pdb b/maltsev/Task9/Collections_1/obj/Debug/Collections_1.pdb new file mode 100644 index 0000000..8d147f6 Binary files /dev/null and b/maltsev/Task9/Collections_1/obj/Debug/Collections_1.pdb differ diff --git a/maltsev/Task9/Collections_1/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/maltsev/Task9/Collections_1/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache new file mode 100644 index 0000000..0629613 Binary files /dev/null and b/maltsev/Task9/Collections_1/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/Task_1_Basics/3_5_MiddleArifmeticInput/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs b/maltsev/Task9/Collections_1/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs similarity index 100% rename from Task_1_Basics/3_5_MiddleArifmeticInput/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs rename to maltsev/Task9/Collections_1/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs diff --git a/Task_1_Basics/3_5_MiddleArifmeticInput/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs b/maltsev/Task9/Collections_1/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs similarity index 100% rename from Task_1_Basics/3_5_MiddleArifmeticInput/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs rename to maltsev/Task9/Collections_1/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs diff --git a/Task_1_Basics/3_5_MiddleArifmeticInput/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs b/maltsev/Task9/Collections_1/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs similarity index 100% rename from Task_1_Basics/3_5_MiddleArifmeticInput/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs rename to maltsev/Task9/Collections_1/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs diff --git a/maltsev/Task9/Collections_2/.vs/Collections_2/v14/.suo b/maltsev/Task9/Collections_2/.vs/Collections_2/v14/.suo new file mode 100644 index 0000000..89d37d5 Binary files /dev/null and b/maltsev/Task9/Collections_2/.vs/Collections_2/v14/.suo differ diff --git a/golovko.greg/Task_1_Basics/3_7_RabbitsVsGooses/App.config b/maltsev/Task9/Collections_2/App.config similarity index 100% rename from golovko.greg/Task_1_Basics/3_7_RabbitsVsGooses/App.config rename to maltsev/Task9/Collections_2/App.config diff --git a/maltsev/Task9/Collections_2/Collections_2.csproj b/maltsev/Task9/Collections_2/Collections_2.csproj new file mode 100644 index 0000000..5af12c4 --- /dev/null +++ b/maltsev/Task9/Collections_2/Collections_2.csproj @@ -0,0 +1,60 @@ + + + + + Debug + AnyCPU + {C6004AF6-78DF-4589-837D-E6FC2536482B} + Exe + Properties + Collections_2 + Collections_2 + v4.5.2 + 512 + true + + + AnyCPU + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + AnyCPU + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/maltsev/Task9/Collections_2/Collections_2.sln b/maltsev/Task9/Collections_2/Collections_2.sln new file mode 100644 index 0000000..3b9c78d --- /dev/null +++ b/maltsev/Task9/Collections_2/Collections_2.sln @@ -0,0 +1,22 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 14 +VisualStudioVersion = 14.0.25420.1 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Collections_2", "Collections_2.csproj", "{C6004AF6-78DF-4589-837D-E6FC2536482B}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {C6004AF6-78DF-4589-837D-E6FC2536482B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {C6004AF6-78DF-4589-837D-E6FC2536482B}.Debug|Any CPU.Build.0 = Debug|Any CPU + {C6004AF6-78DF-4589-837D-E6FC2536482B}.Release|Any CPU.ActiveCfg = Release|Any CPU + {C6004AF6-78DF-4589-837D-E6FC2536482B}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/maltsev/Task9/Collections_2/Program.cs b/maltsev/Task9/Collections_2/Program.cs new file mode 100644 index 0000000..0764fe5 --- /dev/null +++ b/maltsev/Task9/Collections_2/Program.cs @@ -0,0 +1,64 @@ +using System; +using System.Collections.Generic; +using System.Collections; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Collections_2 +{ + class MyList: IEnumerable + { + private T[] elements; + + public int Capacity { get; private set; } + + public T this[int index] + { + get { return elements[index]; } + set { elements[index] = value; } + } + + public MyList() + { + Capacity = 0; + } + public void Add(T elem) + { + T[] elements2 = new T[Capacity + 1]; + for (int i = 0; i < Capacity; i++) + { + elements2[i] = elements[i]; + } + elements = elements2; + elements[Capacity] = elem; + Capacity++; + } + public IEnumerator GetEnumerator() + { + for (int i = 0; i < elements.Length; i++) + { + yield return elements[i]; + } + } + IEnumerator IEnumerable.GetEnumerator() + { + return GetEnumerator(); + } + } + class Program + { + static void Main(string[] args) + { + MyList list = new MyList(); + list.Add(234.1); + list.Add(2222.11); + list.Add(343.222); + foreach (var item in list) + { + Console.WriteLine(item); + } + Console.ReadKey(); + } + } +} diff --git a/maltsev/Task9/Collections_2/Properties/AssemblyInfo.cs b/maltsev/Task9/Collections_2/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..0e77f8b --- /dev/null +++ b/maltsev/Task9/Collections_2/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Collections_2")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("Collections_2")] +[assembly: AssemblyCopyright("Copyright © 2016")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("c6004af6-78df-4589-837d-e6fc2536482b")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/maltsev/Task9/Collections_2/bin/Debug/Collections_2.exe b/maltsev/Task9/Collections_2/bin/Debug/Collections_2.exe new file mode 100644 index 0000000..08743de Binary files /dev/null and b/maltsev/Task9/Collections_2/bin/Debug/Collections_2.exe differ diff --git a/golovko.greg/Task_1_Basics/3_5_MiddleArifmeticInput/bin/Debug/3_5_MiddleArifmeticInput.exe.config b/maltsev/Task9/Collections_2/bin/Debug/Collections_2.exe.config similarity index 100% rename from golovko.greg/Task_1_Basics/3_5_MiddleArifmeticInput/bin/Debug/3_5_MiddleArifmeticInput.exe.config rename to maltsev/Task9/Collections_2/bin/Debug/Collections_2.exe.config diff --git a/maltsev/Task9/Collections_2/bin/Debug/Collections_2.pdb b/maltsev/Task9/Collections_2/bin/Debug/Collections_2.pdb new file mode 100644 index 0000000..f892ea7 Binary files /dev/null and b/maltsev/Task9/Collections_2/bin/Debug/Collections_2.pdb differ diff --git a/golovko.greg/Task_1_Basics/3_5_MiddleArifmeticInput/bin/Debug/3_5_MiddleArifmeticInput.vshost.exe b/maltsev/Task9/Collections_2/bin/Debug/Collections_2.vshost.exe similarity index 100% rename from golovko.greg/Task_1_Basics/3_5_MiddleArifmeticInput/bin/Debug/3_5_MiddleArifmeticInput.vshost.exe rename to maltsev/Task9/Collections_2/bin/Debug/Collections_2.vshost.exe diff --git a/golovko.greg/Task_1_Basics/3_5_MiddleArifmeticInput/bin/Debug/3_5_MiddleArifmeticInput.vshost.exe.config b/maltsev/Task9/Collections_2/bin/Debug/Collections_2.vshost.exe.config similarity index 100% rename from golovko.greg/Task_1_Basics/3_5_MiddleArifmeticInput/bin/Debug/3_5_MiddleArifmeticInput.vshost.exe.config rename to maltsev/Task9/Collections_2/bin/Debug/Collections_2.vshost.exe.config diff --git a/maltsev/Task9/Collections_2/bin/Debug/Collections_2.vshost.exe.manifest b/maltsev/Task9/Collections_2/bin/Debug/Collections_2.vshost.exe.manifest new file mode 100644 index 0000000..061c9ca --- /dev/null +++ b/maltsev/Task9/Collections_2/bin/Debug/Collections_2.vshost.exe.manifest @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/maltsev/Task9/Collections_2/obj/Debug/Collections_2.csproj.FileListAbsolute.txt b/maltsev/Task9/Collections_2/obj/Debug/Collections_2.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..76ec3a5 --- /dev/null +++ b/maltsev/Task9/Collections_2/obj/Debug/Collections_2.csproj.FileListAbsolute.txt @@ -0,0 +1,5 @@ +c:\users\svezho\documents\visual studio 2015\Projects\Collections_2\bin\Debug\Collections_2.exe.config +c:\users\svezho\documents\visual studio 2015\Projects\Collections_2\bin\Debug\Collections_2.exe +c:\users\svezho\documents\visual studio 2015\Projects\Collections_2\bin\Debug\Collections_2.pdb +c:\users\svezho\documents\visual studio 2015\Projects\Collections_2\obj\Debug\Collections_2.exe +c:\users\svezho\documents\visual studio 2015\Projects\Collections_2\obj\Debug\Collections_2.pdb diff --git a/maltsev/Task9/Collections_2/obj/Debug/Collections_2.exe b/maltsev/Task9/Collections_2/obj/Debug/Collections_2.exe new file mode 100644 index 0000000..08743de Binary files /dev/null and b/maltsev/Task9/Collections_2/obj/Debug/Collections_2.exe differ diff --git a/maltsev/Task9/Collections_2/obj/Debug/Collections_2.pdb b/maltsev/Task9/Collections_2/obj/Debug/Collections_2.pdb new file mode 100644 index 0000000..f892ea7 Binary files /dev/null and b/maltsev/Task9/Collections_2/obj/Debug/Collections_2.pdb differ diff --git a/maltsev/Task9/Collections_2/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/maltsev/Task9/Collections_2/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache new file mode 100644 index 0000000..bde661e Binary files /dev/null and b/maltsev/Task9/Collections_2/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/Task_1_Basics/3_6_MiddleArifmeticRnd/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs b/maltsev/Task9/Collections_2/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs similarity index 100% rename from Task_1_Basics/3_6_MiddleArifmeticRnd/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs rename to maltsev/Task9/Collections_2/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs diff --git a/Task_1_Basics/3_6_MiddleArifmeticRnd/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs b/maltsev/Task9/Collections_2/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs similarity index 100% rename from Task_1_Basics/3_6_MiddleArifmeticRnd/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs rename to maltsev/Task9/Collections_2/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs diff --git a/Task_1_Basics/3_6_MiddleArifmeticRnd/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs b/maltsev/Task9/Collections_2/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs similarity index 100% rename from Task_1_Basics/3_6_MiddleArifmeticRnd/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs rename to maltsev/Task9/Collections_2/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs diff --git a/maltsev/Task9/Collections_3/.vs/Collections_3/v14/.suo b/maltsev/Task9/Collections_3/.vs/Collections_3/v14/.suo new file mode 100644 index 0000000..00b6714 Binary files /dev/null and b/maltsev/Task9/Collections_3/.vs/Collections_3/v14/.suo differ diff --git a/golovko.greg/Task_1_Basics/3_8_Password/App.config b/maltsev/Task9/Collections_3/App.config similarity index 100% rename from golovko.greg/Task_1_Basics/3_8_Password/App.config rename to maltsev/Task9/Collections_3/App.config diff --git a/maltsev/Task9/Collections_3/Collections_3.csproj b/maltsev/Task9/Collections_3/Collections_3.csproj new file mode 100644 index 0000000..37f30c0 --- /dev/null +++ b/maltsev/Task9/Collections_3/Collections_3.csproj @@ -0,0 +1,60 @@ + + + + + Debug + AnyCPU + {99B40CDB-4DA2-403C-8C6B-380B9CF7798B} + Exe + Properties + Collections_3 + Collections_3 + v4.5.2 + 512 + true + + + AnyCPU + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + AnyCPU + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/maltsev/Task9/Collections_3/Collections_3.sln b/maltsev/Task9/Collections_3/Collections_3.sln new file mode 100644 index 0000000..cee558e --- /dev/null +++ b/maltsev/Task9/Collections_3/Collections_3.sln @@ -0,0 +1,22 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 14 +VisualStudioVersion = 14.0.25420.1 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Collections_3", "Collections_3.csproj", "{99B40CDB-4DA2-403C-8C6B-380B9CF7798B}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {99B40CDB-4DA2-403C-8C6B-380B9CF7798B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {99B40CDB-4DA2-403C-8C6B-380B9CF7798B}.Debug|Any CPU.Build.0 = Debug|Any CPU + {99B40CDB-4DA2-403C-8C6B-380B9CF7798B}.Release|Any CPU.ActiveCfg = Release|Any CPU + {99B40CDB-4DA2-403C-8C6B-380B9CF7798B}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/maltsev/Task9/Collections_3/Program.cs b/maltsev/Task9/Collections_3/Program.cs new file mode 100644 index 0000000..f33e240 --- /dev/null +++ b/maltsev/Task9/Collections_3/Program.cs @@ -0,0 +1,97 @@ +using System; +using System.Collections.Generic; +using System.Collections; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Collections_3 +{ + class MyDictionary : IEnumerable> where TKey : IComparable + { + private TKey[] keys; + private TValue[] values; + + public int Capacity { get; private set; } + + public TValue this[TKey key] + { + get + { + for (int i = 0; i < keys.Length; i++) + { + if (keys[i].Equals(key)) + return values[i]; + } + return default(TValue); + } + set + { + for (int i = 0; i < keys.Length; i++) + { + if (keys[i].Equals(key)) + values[i] = value; + } + } + } + + public MyDictionary() + { + Capacity = 0; + } + public void Add(TKey key, TValue value) + { + TKey[] keys2 = new TKey[Capacity + 1]; + TValue[] values2 = new TValue[Capacity + 1]; + + for (int i = 0; i < Capacity; i++) + { + keys2[i] = keys[i]; + values2[i] = values[i]; + } + + keys = keys2; + keys[Capacity] = key; + + values = values2; + values[Capacity] = value; + + Capacity++; + } + public IEnumerator> GetEnumerator() + { + for (int i = 0; i < values.Length; i++) + { + yield return new KeyValuePair(keys[i], values[i]); + } + } + IEnumerator IEnumerable.GetEnumerator() + { + return GetEnumerator(); + } + } + class Program + { + static void Main(string[] args) + { + MyDictionary dic = new MyDictionary(); + + dic.Add(2, 190); + dic.Add(5, 2990); + dic.Add(6, 12345); + + Console.WriteLine(dic[2]); + Console.WriteLine(dic[5]); + Console.WriteLine(dic[6]); + + foreach (var item in dic) + { + Console.WriteLine(item); + } + + Console.WriteLine(dic.Capacity); + + Console.ReadKey(); + } + } +} diff --git a/maltsev/Task9/Collections_3/Properties/AssemblyInfo.cs b/maltsev/Task9/Collections_3/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..e6a1e6e --- /dev/null +++ b/maltsev/Task9/Collections_3/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Collections_3")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("Collections_3")] +[assembly: AssemblyCopyright("Copyright © 2016")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("99b40cdb-4da2-403c-8c6b-380b9cf7798b")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/maltsev/Task9/Collections_3/bin/Debug/Collections_3.exe b/maltsev/Task9/Collections_3/bin/Debug/Collections_3.exe new file mode 100644 index 0000000..f90074c Binary files /dev/null and b/maltsev/Task9/Collections_3/bin/Debug/Collections_3.exe differ diff --git a/golovko.greg/Task_1_Basics/3_6_MiddleArifmeticRnd/bin/Debug/3_6_MiddleArifmeticRnd.exe.config b/maltsev/Task9/Collections_3/bin/Debug/Collections_3.exe.config similarity index 100% rename from golovko.greg/Task_1_Basics/3_6_MiddleArifmeticRnd/bin/Debug/3_6_MiddleArifmeticRnd.exe.config rename to maltsev/Task9/Collections_3/bin/Debug/Collections_3.exe.config diff --git a/maltsev/Task9/Collections_3/bin/Debug/Collections_3.pdb b/maltsev/Task9/Collections_3/bin/Debug/Collections_3.pdb new file mode 100644 index 0000000..1a153a9 Binary files /dev/null and b/maltsev/Task9/Collections_3/bin/Debug/Collections_3.pdb differ diff --git a/golovko.greg/Task_1_Basics/3_6_MiddleArifmeticRnd/bin/Debug/3_6_MiddleArifmeticRnd.vshost.exe b/maltsev/Task9/Collections_3/bin/Debug/Collections_3.vshost.exe similarity index 100% rename from golovko.greg/Task_1_Basics/3_6_MiddleArifmeticRnd/bin/Debug/3_6_MiddleArifmeticRnd.vshost.exe rename to maltsev/Task9/Collections_3/bin/Debug/Collections_3.vshost.exe diff --git a/golovko.greg/Task_1_Basics/3_6_MiddleArifmeticRnd/bin/Debug/3_6_MiddleArifmeticRnd.vshost.exe.config b/maltsev/Task9/Collections_3/bin/Debug/Collections_3.vshost.exe.config similarity index 100% rename from golovko.greg/Task_1_Basics/3_6_MiddleArifmeticRnd/bin/Debug/3_6_MiddleArifmeticRnd.vshost.exe.config rename to maltsev/Task9/Collections_3/bin/Debug/Collections_3.vshost.exe.config diff --git a/maltsev/Task9/Collections_3/bin/Debug/Collections_3.vshost.exe.manifest b/maltsev/Task9/Collections_3/bin/Debug/Collections_3.vshost.exe.manifest new file mode 100644 index 0000000..061c9ca --- /dev/null +++ b/maltsev/Task9/Collections_3/bin/Debug/Collections_3.vshost.exe.manifest @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/maltsev/Task9/Collections_3/obj/Debug/Collections_3.csproj.FileListAbsolute.txt b/maltsev/Task9/Collections_3/obj/Debug/Collections_3.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..91b4925 --- /dev/null +++ b/maltsev/Task9/Collections_3/obj/Debug/Collections_3.csproj.FileListAbsolute.txt @@ -0,0 +1,6 @@ +c:\users\svezho\documents\visual studio 2015\Projects\Collections_3\bin\Debug\Collections_3.exe.config +c:\users\svezho\documents\visual studio 2015\Projects\Collections_3\bin\Debug\Collections_3.exe +c:\users\svezho\documents\visual studio 2015\Projects\Collections_3\bin\Debug\Collections_3.pdb +c:\users\svezho\documents\visual studio 2015\Projects\Collections_3\obj\Debug\Collections_3.csprojResolveAssemblyReference.cache +c:\users\svezho\documents\visual studio 2015\Projects\Collections_3\obj\Debug\Collections_3.exe +c:\users\svezho\documents\visual studio 2015\Projects\Collections_3\obj\Debug\Collections_3.pdb diff --git a/maltsev/Task9/Collections_3/obj/Debug/Collections_3.csprojResolveAssemblyReference.cache b/maltsev/Task9/Collections_3/obj/Debug/Collections_3.csprojResolveAssemblyReference.cache new file mode 100644 index 0000000..362dcb9 Binary files /dev/null and b/maltsev/Task9/Collections_3/obj/Debug/Collections_3.csprojResolveAssemblyReference.cache differ diff --git a/maltsev/Task9/Collections_3/obj/Debug/Collections_3.exe b/maltsev/Task9/Collections_3/obj/Debug/Collections_3.exe new file mode 100644 index 0000000..f90074c Binary files /dev/null and b/maltsev/Task9/Collections_3/obj/Debug/Collections_3.exe differ diff --git a/maltsev/Task9/Collections_3/obj/Debug/Collections_3.pdb b/maltsev/Task9/Collections_3/obj/Debug/Collections_3.pdb new file mode 100644 index 0000000..1a153a9 Binary files /dev/null and b/maltsev/Task9/Collections_3/obj/Debug/Collections_3.pdb differ diff --git a/maltsev/Task9/Collections_3/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/maltsev/Task9/Collections_3/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache new file mode 100644 index 0000000..66a076f Binary files /dev/null and b/maltsev/Task9/Collections_3/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/Task_1_Basics/3_7_RabbitsVsGooses/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs b/maltsev/Task9/Collections_3/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs similarity index 100% rename from Task_1_Basics/3_7_RabbitsVsGooses/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs rename to maltsev/Task9/Collections_3/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs diff --git a/Task_1_Basics/3_7_RabbitsVsGooses/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs b/maltsev/Task9/Collections_3/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs similarity index 100% rename from Task_1_Basics/3_7_RabbitsVsGooses/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs rename to maltsev/Task9/Collections_3/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs diff --git a/Task_1_Basics/3_7_RabbitsVsGooses/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs b/maltsev/Task9/Collections_3/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs similarity index 100% rename from Task_1_Basics/3_7_RabbitsVsGooses/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs rename to maltsev/Task9/Collections_3/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs diff --git a/maltsev/Task9/Collections_4/.vs/Collections_4/v14/.suo b/maltsev/Task9/Collections_4/.vs/Collections_4/v14/.suo new file mode 100644 index 0000000..9ae3dce Binary files /dev/null and b/maltsev/Task9/Collections_4/.vs/Collections_4/v14/.suo differ diff --git a/golovko.greg/Task_1_Basics/3_7_RabbitsVsGooses/bin/Debug/3_7_RabbitsVsGooses.exe.config b/maltsev/Task9/Collections_4/App.config similarity index 100% rename from golovko.greg/Task_1_Basics/3_7_RabbitsVsGooses/bin/Debug/3_7_RabbitsVsGooses.exe.config rename to maltsev/Task9/Collections_4/App.config diff --git a/maltsev/Task9/Collections_4/Collections_4.csproj b/maltsev/Task9/Collections_4/Collections_4.csproj new file mode 100644 index 0000000..2483c91 --- /dev/null +++ b/maltsev/Task9/Collections_4/Collections_4.csproj @@ -0,0 +1,60 @@ + + + + + Debug + AnyCPU + {3EA2E24C-E336-41F8-BA75-E6D310558970} + Exe + Properties + Collections_4 + Collections_4 + v4.5.2 + 512 + true + + + AnyCPU + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + AnyCPU + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/maltsev/Task9/Collections_4/Collections_4.sln b/maltsev/Task9/Collections_4/Collections_4.sln new file mode 100644 index 0000000..a04d9ef --- /dev/null +++ b/maltsev/Task9/Collections_4/Collections_4.sln @@ -0,0 +1,22 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 14 +VisualStudioVersion = 14.0.25420.1 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Collections_4", "Collections_4.csproj", "{3EA2E24C-E336-41F8-BA75-E6D310558970}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {3EA2E24C-E336-41F8-BA75-E6D310558970}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {3EA2E24C-E336-41F8-BA75-E6D310558970}.Debug|Any CPU.Build.0 = Debug|Any CPU + {3EA2E24C-E336-41F8-BA75-E6D310558970}.Release|Any CPU.ActiveCfg = Release|Any CPU + {3EA2E24C-E336-41F8-BA75-E6D310558970}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/maltsev/Task9/Collections_4/Program.cs b/maltsev/Task9/Collections_4/Program.cs new file mode 100644 index 0000000..2e17b25 --- /dev/null +++ b/maltsev/Task9/Collections_4/Program.cs @@ -0,0 +1,86 @@ +using System; +using System.Collections.Generic; +using System.Collections; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Collections_4 +{ + class MyList : IEnumerable + { + private T[] elements; + + public int Capacity { get; private set; } + + public T this[int index] + { + get { return elements[index]; } + set { elements[index] = value; } + } + + public MyList() + { + Capacity = 0; + } + public void Add(T elem) + { + T[] elements2 = new T[Capacity + 1]; + for (int i = 0; i < Capacity; i++) + { + elements2[i] = elements[i]; + } + elements = elements2; + elements[Capacity] = elem; + Capacity++; + } + public IEnumerator GetEnumerator() + { + for (int i = 0; i < elements.Length; i++) + { + yield return elements[i]; + } + } + IEnumerator IEnumerable.GetEnumerator() + { + return GetEnumerator(); + } + } + static class Array + { + public static T[] GetArray(this IEnumerable list) + { + MyList my = (MyList)list; + T[] arr = new T[my.Capacity]; + for (int i = 0; i < my.Capacity; i++) + { + arr[i] = my[i]; + } + return arr; + } + } + class Program + { + static void Main(string[] args) + { + MyList list = new MyList(); + + list.Add(234.1); + list.Add(2222.11); + list.Add(343.222); + + foreach (var item in list) + { + Console.WriteLine(item); + } + + double[] arr = Array.GetArray(list); + for (int i = 0; i < arr.Length; i++) + { + Console.WriteLine(arr[i]); + } + Console.ReadKey(); + } + } + +} diff --git a/maltsev/Task9/Collections_4/Properties/AssemblyInfo.cs b/maltsev/Task9/Collections_4/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..47172db --- /dev/null +++ b/maltsev/Task9/Collections_4/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Collections_4")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("Collections_4")] +[assembly: AssemblyCopyright("Copyright © 2016")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("3ea2e24c-e336-41f8-ba75-e6d310558970")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/maltsev/Task9/Collections_4/bin/Debug/Collections_4.exe b/maltsev/Task9/Collections_4/bin/Debug/Collections_4.exe new file mode 100644 index 0000000..9d2620d Binary files /dev/null and b/maltsev/Task9/Collections_4/bin/Debug/Collections_4.exe differ diff --git a/golovko.greg/Task_1_Basics/3_7_RabbitsVsGooses/bin/Debug/3_7_RabbitsVsGooses.vshost.exe.config b/maltsev/Task9/Collections_4/bin/Debug/Collections_4.exe.config similarity index 100% rename from golovko.greg/Task_1_Basics/3_7_RabbitsVsGooses/bin/Debug/3_7_RabbitsVsGooses.vshost.exe.config rename to maltsev/Task9/Collections_4/bin/Debug/Collections_4.exe.config diff --git a/maltsev/Task9/Collections_4/bin/Debug/Collections_4.pdb b/maltsev/Task9/Collections_4/bin/Debug/Collections_4.pdb new file mode 100644 index 0000000..d62d4d4 Binary files /dev/null and b/maltsev/Task9/Collections_4/bin/Debug/Collections_4.pdb differ diff --git a/golovko.greg/Task_1_Basics/3_7_RabbitsVsGooses/bin/Debug/3_7_RabbitsVsGooses.vshost.exe b/maltsev/Task9/Collections_4/bin/Debug/Collections_4.vshost.exe similarity index 100% rename from golovko.greg/Task_1_Basics/3_7_RabbitsVsGooses/bin/Debug/3_7_RabbitsVsGooses.vshost.exe rename to maltsev/Task9/Collections_4/bin/Debug/Collections_4.vshost.exe diff --git a/golovko.greg/Task_1_Basics/3_8_Password/bin/Debug/3_8_Password.exe.config b/maltsev/Task9/Collections_4/bin/Debug/Collections_4.vshost.exe.config similarity index 100% rename from golovko.greg/Task_1_Basics/3_8_Password/bin/Debug/3_8_Password.exe.config rename to maltsev/Task9/Collections_4/bin/Debug/Collections_4.vshost.exe.config diff --git a/maltsev/Task9/Collections_4/bin/Debug/Collections_4.vshost.exe.manifest b/maltsev/Task9/Collections_4/bin/Debug/Collections_4.vshost.exe.manifest new file mode 100644 index 0000000..061c9ca --- /dev/null +++ b/maltsev/Task9/Collections_4/bin/Debug/Collections_4.vshost.exe.manifest @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/maltsev/Task9/Collections_4/obj/Debug/Collections_4.csproj.FileListAbsolute.txt b/maltsev/Task9/Collections_4/obj/Debug/Collections_4.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..d856cf4 --- /dev/null +++ b/maltsev/Task9/Collections_4/obj/Debug/Collections_4.csproj.FileListAbsolute.txt @@ -0,0 +1,6 @@ +c:\users\svezho\documents\visual studio 2015\Projects\Collections_4\bin\Debug\Collections_4.exe.config +C:\Users\svezho\documents\visual studio 2015\Projects\Collections_4\bin\Debug\Collections_4.exe +C:\Users\svezho\documents\visual studio 2015\Projects\Collections_4\bin\Debug\Collections_4.pdb +C:\Users\svezho\documents\visual studio 2015\Projects\Collections_4\obj\Debug\Collections_4.csprojResolveAssemblyReference.cache +C:\Users\svezho\documents\visual studio 2015\Projects\Collections_4\obj\Debug\Collections_4.exe +C:\Users\svezho\documents\visual studio 2015\Projects\Collections_4\obj\Debug\Collections_4.pdb diff --git a/maltsev/Task9/Collections_4/obj/Debug/Collections_4.csprojResolveAssemblyReference.cache b/maltsev/Task9/Collections_4/obj/Debug/Collections_4.csprojResolveAssemblyReference.cache new file mode 100644 index 0000000..362dcb9 Binary files /dev/null and b/maltsev/Task9/Collections_4/obj/Debug/Collections_4.csprojResolveAssemblyReference.cache differ diff --git a/maltsev/Task9/Collections_4/obj/Debug/Collections_4.exe b/maltsev/Task9/Collections_4/obj/Debug/Collections_4.exe new file mode 100644 index 0000000..9d2620d Binary files /dev/null and b/maltsev/Task9/Collections_4/obj/Debug/Collections_4.exe differ diff --git a/maltsev/Task9/Collections_4/obj/Debug/Collections_4.pdb b/maltsev/Task9/Collections_4/obj/Debug/Collections_4.pdb new file mode 100644 index 0000000..d62d4d4 Binary files /dev/null and b/maltsev/Task9/Collections_4/obj/Debug/Collections_4.pdb differ diff --git a/maltsev/Task9/Collections_4/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/maltsev/Task9/Collections_4/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache new file mode 100644 index 0000000..0e8c852 Binary files /dev/null and b/maltsev/Task9/Collections_4/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/Task_1_Basics/3_8_Password/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs b/maltsev/Task9/Collections_4/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs similarity index 100% rename from Task_1_Basics/3_8_Password/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs rename to maltsev/Task9/Collections_4/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs diff --git a/Task_1_Basics/3_8_Password/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs b/maltsev/Task9/Collections_4/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs similarity index 100% rename from Task_1_Basics/3_8_Password/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs rename to maltsev/Task9/Collections_4/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs diff --git a/Task_1_Basics/3_8_Password/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs b/maltsev/Task9/Collections_4/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs similarity index 100% rename from Task_1_Basics/3_8_Password/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs rename to maltsev/Task9/Collections_4/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs