Had to write C# unit tests and one thing I do not understand is that why this method
CollectionAssert.AreEquivalent(new List<string> {"turn:foo.com"}, new []{ new Uri("turn:foo.com"));
passes?
First parameter is a List of strings, second is an array of Uri types. List and Uri classes are the default .NET classes.
I searched for possible explanations and haven’t found anything.