Answer the question
In order to leave comments, you need to log in
How to correctly add an element to an array?
For the function to work, you need to pass an array to it in this form:
But in this case, the elements are added to it immediately.
What if I need to fill this array with 0? Let's say I have a file with numbers, I go through each line, convert the line to a number. And how do I write this number into an existing array?
var ids = new long[] { 181105378, 252264908 };
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question