C# Mastery Hub
Home
Challenges
Discussion
Lessons
Core Topics
C# Fundamentals
Console Applications
Classes & OOP
Windows Forms
ASP.NET Core
SQL Server
VS & SQL Connection
RDLC Reports
.NET MAUI
Getting Started
Getting Started
Website Development
SEO Guide
Security
Project Workflow
Extra Topics
Cloud & Deployment
AWS Cloud
Deployment
About
Contact
Test Your Knowledge
C# Fundamentals - Lesson 7: Arrays and Collections Quiz
Answer all questions to test your understanding
1
What is the index of the first element in an array?
0
1
-1
Depends on the array
2
Which collection type stores key-value pairs?
List<T>
Array
Dictionary<TKey, TValue>
Queue<T>
3
What is the difference between Array and List<T>?
Arrays are dynamic, Lists are fixed
Arrays are fixed, Lists are dynamic
There is no difference
Arrays can only store strings
4
Which collection ensures all items are unique?
List<T>
HashSet<T>
Array
Dictionary<TKey, TValue>
5
What is a multidimensional array?
An array with more than one dimension
An array of arrays
A collection of arrays
A list of arrays
Submit Quiz