I'm facing a problem in my code, where I have properties of two different models whose type cannot be changed by me. One is a string array and one is a collection of string. Now I need to add all the elements in the string array to the collection. I'm providing a sample code below.
Collection<string> collection = new Collection<string>();
string[] arraystring = new string[]{"Now","Today","Tomorrow"};
collection.Add(/*Here I need to give the elements of the above array*/);
Note: I cannot change the Collection to ICollection. It has to be Collection only.