---
title: "What is the difference between Array and Arraylist."  
description: "What is the difference between Array and Arraylist."  
author: "Anonymous User"  
published: 2015-11-15  
updated: 2015-11-15  
canonical: https://www.mindstick.com/forum/33593/what-is-the-difference-between-array-and-arraylist  
category: ".net"  
tags: ["c#"]  
reading_time: 1 minute  

---

# What is the difference between Array and Arraylist.

I want to [difference between Array](https://www.mindstick.com/forum/34335/what-is-difference-between-array-and-arraylist) and [Arraylist](https://www.mindstick.com/articles/11973/arraylist-class-in-c-sharp) [please explain](https://www.mindstick.com/forum/344/hi-rohith-i-am-new-for-mvc-please-explain-how-to-set-implicitly-isauthenticated-true) it.

## Replies

### Reply by Anonymous User

Arrays are strongly typed collection of same datatype and these arrays are fixed length that cannot be changed during runtime. Generally in arrays we will store values with index basis that will start with zero. If we want to access values from arrays we need to pass index values.

```
          string[] arr = new string[2];
            arr[0] = "aditya";
            arr[1] = "rejeev";
```

[Array](https://www.mindstick.com/articles/335/jagged-array-in-c-sharp-dot-net) lists are not strongly type collection. It will store values of different datatypes or same datatype. Array list size will increase or decrease dynamically it can take any size of values from any data type. These Array lists will be accessible with “System.Collections” namespace

```
ArrayList strarr = new ArrayList();strarr.Add("Shivam"); // Add string values
strarr.Add(10);   // Add integer values
strarr.Add(10.05); // Add float values
```


---

Original Source: https://www.mindstick.com/forum/33593/what-is-the-difference-between-array-and-arraylist

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
