How much memory is allocated for a static array? Suppose I have an array and its fixed length is 10. I just defined

string [] xy = new string [9]; LinkedList<String> xz = new LinkedList(){{xz.add *10}}; 

So, I have an array with 10 elements and a list with 10 elements. Type etc. all the same, even the data inserted into them.
How much memory will be allocated to the array and how is the counting done and how much is the list?

0