Okay, I feel silly for asking this because it seems so basic, but I was trying to append another string to an arrary of strings like in this other post: Append string to array
And it’s not working! Everyone said it worked for them, but I made a new array of strings, threw some animal names in there, and then tried to use .Concat like @ClaytonM said to do. I’m getting the error message below, which I know tells me that the variable types are different, so this method doesn’t work. What am I missing?
Thanks, @Gokul001 . That helps me understand what part I had wrong. I am relatively new to coding (~1 year). Is the difference that an array has a fixed length whereas an IEnumerable can be any length?
Thanks, @ppr ! That’s helpful, too. So, when we use .Concat on an array, it turns the array into an IEnumerable, and we need to turn it back into an array?