If not what’s the best way to create it ?
Note: merging is not just appending, it fusionned keys that are the same.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
This functionality exist on a List element. Arrays are fixed width items in C#, so you can’t modify the size without creating a new array. However, Lists are a different story. You can do:
Additionally, with LINQ it’s trivially easy to convert between List and Array with the
extension methods. If you want to do that with an indeterminate number of arrays, you could do something like this:
And call: