Hacker News new | past | comments | ask | show | jobs | submit login

Ragged arrays. You can do this:

    int[][] x = new int[2][];
    x[0] = new int[] { 1, 2, 3 };
    x[1] = new int[] { 1, 2, 3, 4 };



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: