Method in ICollection in C# that adds all elements of another ICollection to it
- by drasto
Is there some method in ICollection in C# that would add all elements of another collection?
Right now I have to always write foreach cycle for this:
ICollection<Letter> allLetters = ... //some initalization
ICollection<Letter> justWrittenLetters = ... //some initalization
... //some code, adding to elements to those ICollections
…