Practical use of arrays? | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 1

Practical use of arrays?

9th Jun 2017, 5:04 PM
Vishwas Mishra
Vishwas Mishra - avatar
2 Respostas
+ 2
To store linear data of similar types
9th Jun 2017, 6:11 PM
Puru Sewda
Puru Sewda - avatar
+ 1
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.
9th Jun 2017, 6:35 PM
Bogdan Nedelcu
Bogdan Nedelcu - avatar