---
title: "What are differences between Array list and Hash table?"  
description: "What are differences between Array list and Hash table?"  
author: "Sumit Kesarwani"  
published: 2014-11-20  
updated: 2020-09-15  
canonical: https://www.mindstick.com/interview/2247/what-are-differences-between-array-list-and-hash-table  
category: ".net"  
tags: [".net", "hashtable", "array list"]  
reading_time: 1 minute  

---

# What are differences between Array list and Hash table?

1) Hash table store data as name, value pair. While in array only value is store.

2) To access value from hash table, you need to pass name. While in array, to access value, you need to pass index number.

3) you can store different type of data in hash table, say int, string etc. while in array you can store only similar type of data.

## Answers

### Answer by Sumit Kesarwani

1) Hash table store data as name, value pair. While in array only value is store.

2) To access value from hash table, you need to pass name. While in array, to access value, you need to pass index number.

3) you can store different type of data in hash table, say int, string etc. while in array you can store only similar type of data.


---

Original Source: https://www.mindstick.com/interview/2247/what-are-differences-between-array-list-and-hash-table

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
