Linq减法.
var s = from o in new string[] { "a", "c" }
where
(from cs in new string[] { "a","c" } where o != cs select cs).Any()
select o;
作者:NewSea 出处:http://newsea.cnblogs.com/
QQ,MSN:iamnewsea@hotmail.com 如无特别标记说明,均为NewSea原创,版权私有,翻载必纠。欢迎交流,转载,但要在页面明显位置给出原文连接。谢谢。 |