c# 288

#C#
C++ 简单SOCKET 通信

#include "stdafx.h" #include <Winsock2.h> #include <stdio.h> #includ…

c#
2015-09-20 560

#C#
json 序列化与反序列化C#类

添加System.runtime.serialization.dll引用 public static class JsonSerializer { private static I…

c#
2015-09-20 557

#C#
HTML5之文件拖拽

将HTML5中的文件拖拽封装成了类 drag.js: document.write("<script language='javascript' src='util…

c#
2015-09-20 939

#C#
AES加密解密C#代码

using System; using System.Collections.Generic; using System.Linq; using System.Text; usin…

c#
2015-09-20 241

#C#
二分查找法 C#实现

public int FindPosition(int num, int[] arr) { int left = 0; int right = arr.Length - 1; wh…

c#
2015-09-20 455

#C#
C#线程池的代码

sealed class MyThreadPool { //线程锁对象 private static object lockObj = new object(); //任务队列 p…

c#
2015-09-18 307

#C#
c#绘制仪表

using System; using System.Collections.Generic; using System.ComponentModel; using System.…

c#
2015-09-09 600

#C#
实现支持断点续传多线程下载的 Http Web 客户端C#工具类

/* .Net/C#: 实现支持断点续传多线程下载的 Http Web 客户端工具类 (C# DIY HttpWebClient) * Reflector 了一下 System.N…

c#
2015-09-09 924

#C#
c#里面的AES加密解密

C#, Java, PHP, Python和Javascript几种语言的AES加密解密实现 更多 1 AES Javascript Java C# Python PHP c#里面…

c#
2015-09-05 775

#C#
C#图片处理示例(裁剪,缩放,清晰度,水印)

using System; using System.Collections.Generic; using System.Text; using System.IO; using …

c#
2015-09-05 547

#C#
C# socket通信实现两个控制台之间聊天

1、运行效果 图1 启动服务端 图2 启动客户端 图3 客户发消息 图4 服务端发消息 图5 客户主动关闭,服务段打印异常详情 2、服务器端源码 服务端和客户端都要添加一下name…

c#
2015-08-31 916

#C#
基于C#的百度图片批量下载工具

using System; using System.Collections.Generic; using System.ComponentModel; using System.…

c#
2015-08-31 745