C# Socket简单例子(服务器与客户端通信)
服务器端代码:using System.Net.Sockets; using System.Net; using System.Threading;using System;using System.Text;namespace SocketServer { class Program { private static byte[] …… 阅读全文
服务器端代码:using System.Net.Sockets; using System.Net; using System.Threading;using System;using System.Text;namespace SocketServer { class Program { private static byte[] …… 阅读全文
服务器程序:using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Net;using System.Net.Sockets;using System.IO;using System.Threading;namespace SocketServe …… 阅读全文
using System;using System.Collections.Generic;using System.Text;using System.Linq;using System.IO;namespace BF{ class Program { static void Main() { string ai …… 阅读全文
using System;using System.Text;namespace ValueType{ class Program { static void Main() { Console.Write("请输入一个字母:"); char a = (char)Console.Read(); …… 阅读全文
using System;using System.Text;namespace Test{ enum Color1 { red,yellow,blue,black,white} class Program { static void Main() { Console.WriteLine((int)Color1. …… 阅读全文
using System;using System.Text;using System.IO;namespace KMP{ class Kmp { public int[] next; public string mainStr;//主串 public string modeStr;//模式串 public K …… 阅读全文
//文件中的数据格式为// 1 2 3 4 5// 1 2 3 5 6using System;using System.Text;using System.Collections;using System.IO;namespace InsertSort{ class Program { static void Main() { …… 阅读全文