Как объявить массив в C#?

Массивы в C#

Quiz
•
Computers
•
9th - 12th Grade
•
Hard
Konstantin Konstantin
Used 4+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
int arrayName[];
int[] arrayName;
arrayName = int[];
arrayName = new int[];
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Как инициализировать массив в C#?
int[] arrayName = new int[];
int[] arrayName = new int[size];
arrayName = new int[size];
int arrayName[size];
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Как получить доступ к элементу массива по индексу в C#?
arrayName{index}
arrayName.index
arrayName[index]
arrayName.get(index)
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Как узнать длину массива в C#?
array.Size
array.Length()
array.Count
array.Length
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Как изменить значение элемента массива в C#?
array.modify(index, newValue);
array.set(index, newValue);
array.setValue(index, newValue);
array[index] = newValue;
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Как проверить наличие элемента в массиве в C#?
element in array
array.IndexOf(element) != -1
array.ContainsElement(element)
array.Contains(element)
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Какой индекс у элемента "Валентина" в массиве
string[] friends = {"Валентина", "Игорь", "Вероника", "Маргарита"}?
1
2
3
0
Create a free account and access millions of resources
Similar Resources on Quizizz
12 questions
C# Arrays

Quiz
•
9th - 12th Grade
10 questions
Массив

Quiz
•
10th Grade
15 questions
Большое Повторение C#

Quiz
•
5th Grade - University
10 questions
java script

Quiz
•
12th Grade
8 questions
Одномерный массив

Quiz
•
9th Grade
15 questions
Алгоритмизация и основы программирования 9А класс

Quiz
•
9th Grade
10 questions
X_Пон_мас_ариф

Quiz
•
9th - 12th Grade
10 questions
Xб_сор

Quiz
•
9th - 12th Grade
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade
Discover more resources for Computers
25 questions
Spanish preterite verbs (irregular/changed)

Quiz
•
9th - 10th Grade
10 questions
Identify Slope and y-intercept (from equation)

Quiz
•
8th - 9th Grade
10 questions
Juneteenth: History and Significance

Interactive video
•
7th - 12th Grade
8 questions
"Keeping the City of Venice Afloat" - STAAR Bootcamp, Day 1

Quiz
•
9th - 12th Grade
26 questions
June 19th

Quiz
•
4th - 9th Grade
20 questions
Distance, Midpoint, and Slope

Quiz
•
10th Grade
20 questions
Figurative Language Review

Quiz
•
10th Grade
27 questions
STAAR English 1 Review

Quiz
•
9th Grade