in C# I defined data type (array, array list, collection list, dictionar key , hashset ) for dynamic data
Hash set: add data slowly, remove data fast and access data element fast
Dictionary key : add data slowly, remove data fast and access data element fast
array list: add data fast, remove data slowly and access data element very slow (you must loop foreach for which you want element)
collection list : add data fast, remove data slowly and access data element slow (you must loop foreach for which you want element)
two dimession array: add data and access data element very fast but not to remove data and not add data dynamically.
So, How to add dynamic data and access and remove data element fast?