摘要:
大王女王大人若是看不懂的话,请把注释去掉。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++) { ... 阅读全文
摘要:
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/" }; ... 阅读全文
摘要:
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); ... 阅读全文
摘要:
<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;"> 阅读全文
摘要:
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 阅读全文
摘要:
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... 阅读全文
摘要:
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)); ... 阅读全文
摘要:
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... 阅读全文
摘要:
匿名类型的变量必须的声名的时候初始化,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... 阅读全文