I learn Java, but in Unity it is necessary to work with C #. Can you please tell us how the List<T> array works in C #? In my understanding, this is an analogue of ArrayList<> in Java. ArrayList<> works as a dynamic array, that is, when an element is removed from the middle, the right part is shifted to the left and another element takes the place of a remote one, to put it simply, there can be no empty space in the ArrayList<> . Tell me, does List<T> work the same way or not, on the principle of a simple array? Thank.
- The same, the same - Alexey Shimansky
- I can add for the future that C # Has experienced the influence of such languages as C ++, Java. For example, the first version of C # resembled Java 1.4 in its capabilities, somewhat expanding them. Therefore, the conclusion is almost obvious .... And yes - it would be better to study this language for a start, and many such questions will disappear quickly%) - Alexey Shimansky
|