I'm reading an unknown number of characters for a text file and placing them in an arrray. I will not know the length until run time so i was just wondering the best way to do this is C#. I'm somewhat new to the language. thanks in advance.
Loading
I'm reading an unknown number of characters for a text file and placing them in an arrray. I will not know the length until run time so i was just wondering the best way to do this is C#. I'm somewhat new to the language. thanks in advance.
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Posted Sep 30, 2008, 1:33 AM
Should work... where n is whatever number you need to create the size of the array to.