摘要: 大王女王大人若是看不懂的话,请把注释去掉。using System;namespace ConsoleApplication10{ class Program { static void Main(string[] args) { Node headNode = new Node(0); Node preNode = headNode; Node currentNode; for (int i = 1; i < 10; i++) { ... 阅读全文
posted @ 2013-05-27 17:37 JeanGe 阅读(169) 评论(0) 推荐(0) 编辑
摘要: using System;using System.IO;using System.Net;using System.Net.Sockets;using System.Text;using System.Threading;namespace ConsoleApplication22{ class Program { static void Main(string[] args) { string[] prefixed = new string[] { "http://localhost:45678/" }; ... 阅读全文
posted @ 2013-05-24 14:11 JeanGe 阅读(268) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Net;using System.Net.Sockets;using System.Text;namespace ConsoleApplication22{ class Program { static void Main(string[] args) { IPAddress address = IPAddress.Loopback; IPEndPoint endPoint = new IPEndPoint(address, 45678); ... 阅读全文
posted @ 2013-05-24 10:30 JeanGe 阅读(229) 评论(0) 推荐(0) 编辑
摘要: <html><head></head><body><div style="float:left;"> <div id="div1" style="width:100px;height:100px;background-color:white;"> </div> <div id="div2" style="width:100px;height:100px;background-color:white;"> 阅读全文
posted @ 2013-05-21 14:27 JeanGe 阅读(156) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2013-05-20 23:06 JeanGe 阅读(153) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;namespace ConsoleApplication7{ class Program { static void Main(string[] args) { string[] names = { "Sheldon", "Penny", "Rajesh", "Howard", "Leo 阅读全文
posted @ 2013-02-10 12:35 JeanGe 阅读(157) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;namespace ConsoleApplication5{ class Program { delegate int TwoIntegerOperation(int a, int b); static void Main(string[] args) { TwoIntegerOperation fu... 阅读全文
posted @ 2013-02-03 15:15 JeanGe 阅读(136) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;namespace ConsoleApplication4{ class Program { static void Main(string[] args) { String s = "aaaa"; Console.WriteLine(s.extendMethod(true)); ... 阅读全文
posted @ 2013-02-03 12:58 JeanGe 阅读(129) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;namespace ConsoleApplication3{ class Program { const bool testValue = true; static void Main(string[] args) { testDefault(true); testDefault... 阅读全文
posted @ 2013-02-03 12:53 JeanGe 阅读(183) 评论(0) 推荐(0) 编辑
摘要: 匿名类型的变量必须的声名的时候初始化,intellisense会直接显示其成员。动态类型可以先声名,后初始化,intellisense不会显示其成员。动态类型声名的引用可以指向匿名类型对象,匿名类型可以包含动态类型成员,这些都无碍。using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;namespace ConsoleApplication2{ class Program { static bool f... 阅读全文
posted @ 2013-01-31 20:38 JeanGe 阅读(1008) 评论(0) 推荐(0) 编辑