[C#] Array problem...

DrEvil

FCRI Associate!
Reaction score
111
Ok... *sigh*

I have a string array :
s[0] = "Hello";
s[1] = "People";
e.t.c

I'm trying to add up all the strings from that array

but I always get 'Index was out of array bounds' , so ... how do I find the array limit ? ( in my example it was 2)
because most of the time , I will have different length'd string arrays , and I don't know the array bounds..

...so ... anyone ? :D
 

DrEvil

FCRI Associate!
Reaction score
111
thx :)

Didn't know .length worked on arrays for the amount of arrays...

( You learn something new every day :D )
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top