摘要:
private static void D1() { int[] ints = new int[] { 1, 1, 11, 3, 2, 4, 5, 6, 7, 5, 12, 3, 32, 4, 5, 8 }; var s = ints.Select(o => o).AsEnumerable().Distinct().ToList(); } 阅读全文
posted @ 2012-04-01 19:45
rayray2
阅读(171)
评论(0)
推荐(0)
摘要:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><head><meta http-equiv="content-type" conte 阅读全文
posted @ 2012-04-01 19:42
rayray2
阅读(165)
评论(0)
推荐(0)
摘要:
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Linq.Expressions;namespace ConsoleApp1{ class Program { static void Main(string[] args) { var s = new [] { new {id=1 , name =2}, new {id=2, name =2},new {id=4, name =4} }; var d = new[] { new {id=1 , make 阅读全文
posted @ 2012-04-01 19:39
rayray2
阅读(188)
评论(0)
推荐(0)
浙公网安备 33010602011771号