---
title: "What is the difference between arrays and collection?"  
description: "What is the difference between arrays and collection?"  
author: "Sumit Kesarwani"  
published: 2014-08-27  
updated: 2020-09-15  
canonical: https://www.mindstick.com/interview/2049/what-is-the-difference-between-arrays-and-collection  
category: "c#"  
tags: ["c#"]  
reading_time: 1 minute  

---

# What is the difference between arrays and collection?

## Array:

You need to specify the size of an array at the time of its declaration. It cannot be resized dynamically.

The members of an array should be of the same data type.

## Collection:

The size of a collection can be adjusted dynamically, as per the user's requirement. It does not have fixed size.

Collection can have elements of different types.

## Answers

### Answer by Sumit Kesarwani

## Array:

You need to specify the size of an array at the time of its declaration. It cannot be resized dynamically.

The members of an array should be of the same data type.

## Collection:

The size of a collection can be adjusted dynamically, as per the user's requirement. It does not have fixed size.

Collection can have elements of different types.


---

Original Source: https://www.mindstick.com/interview/2049/what-is-the-difference-between-arrays-and-collection

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
