摘要: 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 阅读(167) 评论(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 阅读(160) 评论(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 阅读(185) 评论(0) 推荐(0) 编辑
摘要: var _value = '@ViewBag.Name';// $('#Name').children('option:selected').val(_value);$('#Name option:selected').val(_value); $('#Name option:selected').text(_value); 阅读全文
posted @ 2012-03-29 10:28 rayray2 阅读(134) 评论(0) 推荐(0) 编辑
摘要: .rep_reason{margin-left:30px;display:block;} 阅读全文
posted @ 2012-03-28 15:21 rayray2 阅读(368) 评论(0) 推荐(0) 编辑
摘要: background-position:100% 100%; 阅读全文
posted @ 2012-03-28 11:03 rayray2 阅读(131) 评论(0) 推荐(0) 编辑
摘要: 并且IIS使用了.NET Framework 4.0,所以这个文件夹是C:\WINDOWS\ Microsoft.NET\Framework\v4.0.50727\Temporary ASP.NET Files, 阅读全文
posted @ 2012-03-28 10:18 rayray2 阅读(128) 评论(0) 推荐(0) 编辑