Skip to content

Comments

hw1Sort#1

Open
MikePuzanov wants to merge 2 commits intomasterfrom
hw1Sort
Open

hw1Sort#1
MikePuzanov wants to merge 2 commits intomasterfrom
hw1Sort

Conversation

@MikePuzanov
Copy link
Owner

No description provided.

Copy link
Collaborator

@yurii-litvinov yurii-litvinov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Достаточно хорошо, зачтена

Comment on lines +15 to +16
int numberSwap;
numberSwap = array[i];
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

int numberSwap = array[i];

Console.WriteLine("Введите числа для сортировки: ");
string str = Console.ReadLine();
string[] numbers = str.Split(' ');
int[] array = new int[numbers.Length];
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

var, мы знаем тип из правой части

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants