比较两个object是否相等

You can use the Enumerable.SequenceEqual() in the System.Linq to compare the contents in the array

bool isEqual = Enumerable.SequenceEqual(target1, target2);

posted on 2020-03-26 17:07  马什么梅  阅读(181)  评论(0编辑  收藏  举报

导航