C
C#3y ago
TOLOXI

how to insert values from readline into an array?

how to insert values from readline into an array?
3 Replies
DirtyBongWater
Heyy Can you elaborate on your question? You just need to store the results from readline in a variable then put the result in the array index you want (or skip storing it in a variable and just put it in the required index location directly)
TOLOXI
TOLOXIOP3y ago
whats an index? do i mkae a variable for every slot?
Steak
Steak3y ago
u can set by board[ any index ] = ReadLine but array has fixed size, meaning it cant scale up or down dynamically List<> is a better approach if scaling is required
Want results from more Discord servers?
Add your server