What\'s wrong with this C# code? I tried to overload the + operator to add two arrays, but got an error message as follows:
One of the parameters of a binary operato
You can only add operators to a type that you create yourself. A int[] is a built in type you can't add operators to it.
int[]
You could create your own class that encapsulates an array, and add the operator to it.