Practical use of arrays? | Sololearn: Learn to code for FREE!


Practical use of arrays?


6/9/2017 5:04:20 PM

Vishwas Mishra

2 Answers

New Answer


To store linear data of similar types


For example, if you read a line with data from a text (tab delimited) file you can split it by spaces and save it in an array. In Csharp you'd have something like this. line.Split(" "). After that you can manipulate the data in the array.