You might try something like:
string[] lines = { "a" , "b" , "c" , "d" , } ;
string[] blocks = { "x" , "y" , "z" , } ;
string[][] parameters = new string[2][] ;
parameters[0] = lines ;
parameters[1] = blocks ;
Or something like
string[] lines = { "a" , "b" , "c" , "d" , } ;
string[] blocks = { "x" , "y" , "z" , } ;
string[][] parameters = { lines , blocks , } ;
See the Arrays Tutorial on MSDN @ http://msdn.microsoft.com/en-us/library/aa288453(v=vs.71).aspx
Also this question might help: All possible C# array initialization syntaxes
Or...since it's unclear what you want exactly...something like this:
static Tuple<TRow,TCol>[,] CreateMatrix<TRow,TCol>( TRow[] rows , TCol[] cols )
{
Tuple<TRow,TCol>[,] matrix = new Tuple<TRow,TCol>[rows.Length,cols.Length];
for ( int r = 0 ; r < rows.Length ; ++r )
{
for ( int c = 0 ; c < cols.Length ; ++c )
{
Tuple<TRow,TCol> cell = new Tuple<TRow,TCol>( rows[r] , cols[c] ) ;
matrix[r,c] = cell ;
}
}
return matrix ;
}