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 ConsoleApp2 | |
| { | |
| internal class Program | |
| { | |
| static void Main(string[] args) | |
| { | |
| int[] numbers = new int[30]; | |
| Random random = new Random(); |
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 ConsoleApp2 | |
| { | |
| 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 ConsoleApp2 | |
| { | |
| internal class Program | |
| { | |
| static void Main(string[] args) | |
| { | |
| int[] numbers = new int[30]; | |
| Random random = new Random(); |
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 ConsoleApp2 | |
| { | |
| internal class Program | |
| { | |
| static void Main(string[] args) | |
| { | |
| int[,] numbers = new int[10,10]; | |
| int numbersMaxValue = numbers[0,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 ConsoleApp2 | |
| { | |
| internal class Program | |
| { | |
| static void Main(string[] args) | |
| { | |
| int[,] numbers = | |
| { |
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 ConsoleApp2 | |
| { | |
| internal class Program | |
| { | |
| static void Main(string[] args) | |
| { | |
| const string CommandFireball = "1"; | |
| const string CommandExplosion = "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 ConsoleApp2 | |
| { | |
| internal class Program | |
| { | |
| static void Main(string[] args) | |
| { | |
| int minRandomValue = 1; | |
| int maxRandomValue = 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 ConsoleApp2 | |
| { | |
| internal class Program | |
| { | |
| static void Main(string[] args) | |
| { | |
| int minRandomValue = 10; | |
| int maxRandomValue = 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; | |
| using System.Web; | |
| namespace ConsoleApp2 | |
| { | |
| internal class Program | |
| { | |
| static void Main(string[] args) | |
| { | |
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 ConsoleApp2 | |
| { | |
| internal class Program | |
| { | |
| static void Main(string[] args) | |
| { | |
| string userName; | |
| string userSymbol; |
NewerOlder