This file contains hidden or 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 UIElement | |
| { | |
| internal class Program | |
| { | |
| static void Main(string[] args) | |
| { | |
| int lengthBar = 20; | |
| int percentHealth = 10; |
This file contains hidden or 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 ReadInt | |
| { | |
| internal class Program | |
| { | |
| static void Main(string[] args) | |
| { | |
| int convertedNumber = GetValidIntegerUser(); | |
This file contains hidden or 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 ParentheticalExpression | |
| { | |
| internal class Program | |
| { | |
| static void Main(string[] args) | |
| { | |
| int currentDepth = 0; | |
| int maxDepth = 0; |
This file contains hidden or 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 ShiftingArrayValues | |
| { | |
| internal class Program | |
| { | |
| static void Main(string[] args) | |
| { | |
| int arraySize = 10; | |
| int lowerNumberRandom = 0; |
This file contains hidden or 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 Split | |
| { | |
| internal class Program | |
| { | |
| static void Main(string[] args) | |
| { | |
| string text = "Строка с несколькими словами, которую нужно разделить на слова и каждое слово с новой строки."; |
This file contains hidden or 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 SortNumbers | |
| { | |
| internal class Program | |
| { | |
| static void Main(string[] args) | |
| { | |
| int numberDigits = 10; | |
| int lowerNumbersRandom = 0; |
This file contains hidden or 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 SubarrayRepeatingNumbers | |
| { | |
| internal class Program | |
| { | |
| static void Main(string[] args) | |
| { | |
| int numberDigits = 30; | |
| int lowerNumbersRandom = 3; |
This file contains hidden or 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 DynamicArray | |
| { | |
| internal class Program | |
| { | |
| static void Main(string[] args) | |
| { | |
| const string CommandSum = "sum"; | |
| const string CommandExit = "exit"; |
This file contains hidden or 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 LocalMaximum | |
| { | |
| internal class Program | |
| { | |
| static void Main(string[] args) | |
| { | |
| int lowerNumberRandom = 0; | |
| int upperNumberRandom = 100; |
This file contains hidden or 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 LargestElement | |
| { | |
| internal class Program | |
| { | |
| static void Main(string[] args) | |
| { | |
| int[,] arrayNumbers = new int[10, 10]; | |