I have a very interesting question.

```
String[] values = new String[3];
values = line.Split(';');
Console.Write("Val:" + values[0] + ", " + values[1] + ", " + values[2]);

```

Could someone tell me why I get an **IndexOutOfRangeException** when it is in range?

EDIT:
The line has 3 sectors, for example `1;2;3`. 
The console writes out the `Val: ...` but in the output i still get an **IndexOutOfRangeException**.