discount C#

 nodes.Distinct().ToList().ForEach(s => Console.WriteLine(s));
原文地址:https://www.cnblogs.com/smartisn/p/15030577.html