Hello everybody
1) const int[] array={1,2,3,4}; //this gives below error
"Error 1 'ConsoleApplication1.Main.array' is of type 'int[]'.
A const field of a reference type other than string can only be initialized with null"
In my opinion according to error messeagge, it is not meaningfull to use const for reference types.Am i wrong ?
2) How can i concatenate int array ? Example:
int[] x={1,2,3} + {4,5,6};
I know that + operator will not work so what is best way to do it as strings ?