I use the following code.
Collection<MyClass> MyCollection1 = new Collection<MyClass>();
MyCollection.Concat(GetSecondCollcetion());
No matter what function GetSecondCollcetion() returns(Obviously Object of Collection<MyClass>) the MyCollection1 Always Empty. Please Help
Try (if you don’t explicitly need MyCollection to be a variable of
Collection<MyClass>:Alternatively
Or as @Cine says: