- Home /
The question is answered, right answer was accepted
Do C# Lists start at 1 or 0
Try making a list (whatever type you're wondering about) and print A[1]
. See if you get the 1st or second item.
But, if it helps, C# is a real program$$anonymous$$g language. It handles indexes in the standard way.
to owen, the learning route and self discovery is always better.
$$anonymous$$aking a quick test isn't obvious, and easy to forget. I still sometimes spend too much time guessing and searching, when I realize I could have spent 5 $$anonymous$$utes setting up a clean test.
Follow this Question
Related Questions
Multiple Cars not working 1 Answer
Distribute terrain in zones 3 Answers
Creating a custom inspector utilizing a list of class instances with serialization? 1 Answer
Displaying list in UI 2 Answers
Null reference at for loop (list) 0 Answers