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.Collections.Generic; | |
| class Program | |
| { | |
| static void Main() | |
| { | |
| string[] array1 = { "1", "2", "1" }; | |
| string[] array2 = { "3", "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; | |
| using System.Collections.Generic; | |
| class Program | |
| { | |
| static void Main() | |
| { | |
| const string CommandAddWorker = "1"; | |
| const string CommandRemoveWorker = "2"; | |
| const string CommandShowAllPositionsAndWorkers = "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; | |
| using System.Collections.Generic; | |
| class Program | |
| { | |
| static void Main() | |
| { | |
| 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; | |
| class Program | |
| { | |
| static void Main() | |
| { | |
| const string CommandSum = "sum"; | |
| const string CommandExit = "exit"; | |
| int[] numbers = new int[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; | |
| using System.Collections; | |
| using System.Collections.Generic; | |
| class Program | |
| { | |
| static void Main() | |
| { | |
| Queue<int> customerQueue = new Queue<int>(new int[] { 50, 120, 30, 200, 75 }); | 
  
    
      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.Collections.Generic; | |
| class Program | |
| { | |
| static void Main() | |
| { | |
| Dictionary<string, string> dictionary = new Dictionary<string, string> | |
| { | |
| { "Яблоко", "Фрукт, который растет на деревьях." }, | 
  
    
      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
    
  
  
    
  | class Program | |
| { | |
| static void Main() | |
| { | |
| char[,] map = | |
| { | |
| { '#','#','#','#','#','#','#','#','#','#' }, | |
| { '#',' ',' ',' ',' ',' ',' ',' ',' ','#' }, | |
| { '#',' ','#','#','#',' ','#','#',' ','#' }, | |
| { '#',' ','#',' ','#',' ','#',' ',' ','#' }, | 
  
    
      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
    
  
  
    
  | class Program | |
| { | |
| static void Main() | |
| { | |
| const string CommandAddDossier = "1"; | |
| const string CommandBringOutAllDossiers = "2"; | |
| const string CommandRemoveDossier = "3"; | |
| const string CommandSearchByLastName = "4"; | |
| const string CommanExit = "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
    
  
  
    
  | class Program | |
| { | |
| static void Main() | |
| { | |
| int[] numbers = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 }; | |
| Console.WriteLine("Исходный массив:"); | |
| foreach (int number in 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
    
  
  
    
  | class Program | |
| { | |
| static void Main() | |
| { | |
| int maxHealth = 100; | |
| int currentHealth = 65; | |
| int maxMana = 50; | |
| int currentMana = 20; | |
| int barLength = 20; | 
NewerOlder