一、封装的类 using System; using System.Collections.Generic; using System.Linq; using System.Tex…
c#下实现ping操作代码 这里我写的是一个窗体程序。首先添加textbox,listbox,button控件,其中textbox录入域名或IP,listbox显示结果. pri…
C# 两个目录同步的代码 using System; using System.Collections.Generic; using System.IO; using System…
using System; using System.Collections.Generic; using System.ComponentModel; using System.…
[HttpPost] public string xdg() { &…
vs2010中运行,必须引用Mysql.data /连接数据库/ using System; using System.Collections.Generic; using Sys…
List<FileInfo> list = new List<FileInfo>(); public void FindFile(string path, …
一个C#生成简单验证码的类 using System; using System.Collections.Generic; using System.Linq; using Sys…
<%@ Page Language="C#" EnableViewState="false" %> <%@ Import …
#region 邮件发送 /// <summary> /// 发送邮件支持HTML格式 先引用System.Net.Mail; /// </summary>…
1. StreamWriter - 文件写入类 StreamWriter s = new StreamWriter(address + "/Menu.ini",…
public int[] SelectionSort(int[] arr) { //1. Find min //2. Swap it with first element //3.…