How to initialize an array in c# : <p>Hey i'm trying to initialize an array in c# and don't know why this doesn't work</p>

<pre><code>Wave currentWave = new Wave(
                                {
                                    {1, 1, 1}, 
                                    {1, 1},
                                    {1, 1, 1}
                                }, 
                                    {3, 2}
                                );

private class Wave {
    private int currentLoad;
    private int[] aTimesToNextLoad;
    private int[][] aEnemieLoads;

    public Wave(int[][] aEnemiesToLoad, int[] aTimesToNextLoad) {
        this.aEnemieLoads     = aEnemieLoads;
        this.aTimesToNextLoad = aTimesToNextLoad;
    }
}
</code></pre>

<p>I get like 18 syntax errors with this. I have also tried using <code>new int[][] {...}</code>, then i get this message:</p>

<p>Array initializers can only be used in a variable or field initializer. Try using a new expression instead</p>

<p>What is the solution?</p>
