This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
namespace _3_4 | |
{ | |
internal class Program | |
{ | |
static void Main() | |
{ | |
const string CommandSumAll = "Sum"; | |
const string CommandExit = "Exit"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
namespace _3_5 | |
{ | |
internal class Program | |
{ | |
static void Main() | |
{ | |
Random random = new Random(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
namespace _3_8 | |
{ | |
internal class Program | |
{ | |
static void Main() | |
{ | |
Console.WriteLine("Введите шаг сдвига: "); | |
int shift = Convert.ToInt32(Console.ReadLine()); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
namespace _3_9 | |
{ | |
internal class Program | |
{ | |
static void Main() | |
{ | |
string inputData = "(((())()))"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
namespace _4_1 | |
{ | |
internal class Program | |
{ | |
static void Main() | |
{ | |
ConvertToInt(out int numberAfterConvert); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
namespace _4_2 | |
{ | |
internal class Program | |
{ | |
static void Main() | |
{ | |
int healthPersent =60; | |
int manaPersent = 40; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
namespace _4_3 | |
{ | |
internal class Program | |
{ | |
static void Main() | |
{ | |
int arrayLength = 10; | |
int[] arrayForShuffle = new int[arrayLength]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
namespace _4_4 | |
{ | |
internal class Program | |
{ | |
static void Main() | |
{ | |
const string CommandEnterFile = "1"; | |
const string CommandSeeAllFiles = "2"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
namespace _4_5 | |
{ | |
internal class Program | |
{ | |
static void Main() | |
{ | |
bool isWorcking = true; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
namespace _5_3 | |
{ | |
internal class Program | |
{ | |
static void Main() | |
{ |
OlderNewer