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 ConsoleMenu | |
| { | |
| internal class Program | |
| { | |
| static void Main(string[] args) | |
| { | |
| const string CommandshowTextFirst = "1"; | |
| const string CommandshowTextSecond = "2"; |
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 CurrencyConverter | |
| { | |
| internal class Program | |
| { | |
| static void Main(string[] args) | |
| { | |
| const string CommandExchangeRubToUsd = "1"; | |
| const string CommandExchangeUsdToRub = "2"; |
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 NameOutput | |
| { | |
| internal class Program | |
| { | |
| static void Main(string[] args) | |
| { | |
| string userName; | |
| string lineBoarder = ""; |
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 ProgramPasswordProtected | |
| { | |
| internal class Program | |
| { | |
| static void Main(string[] args) | |
| { | |
| string password = "qwerty"; | |
| string userInputPassword; |
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 Multiples | |
| { | |
| internal class Program | |
| { | |
| static void Main(string[] args) | |
| { | |
| int multipleLowerNumber = 10; | |
| int multipleUpperNumber = 25; |
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 PowerOfNumberTwo | |
| { | |
| internal class Program | |
| { | |
| static void Main(string[] args) | |
| { | |
| int randomNumder; | |
| int power = 1; |
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 BossBattle | |
| { | |
| internal class Program | |
| { | |
| static void Main(string[] args) | |
| { | |
| const string CommandPlayerDamage = "1"; | |
| const string CommandPlayerFireballDamage = "2"; |
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 WorkingWithSpecificRowsColumns | |
| { | |
| internal class Program | |
| { | |
| static void Main(string[] args) | |
| { | |
| int line = 5; | |
| int column = 5; |
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]; | |
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; |