/// <summary> /// 汉字转拼音或转拼音首字母 /// </summary> public class ChineseToSpell { pr…
public static BinaryTreeNode BuildBinarySearchTree(int[] sortedArray) { if (sortedArray.Le…
using System; using System.Management; class NetworkSpace { static void Main(string[] args…
一个将汉字转换成拼音的C#类代码 using System; using System.Collections.Generic; using System.Text; namesp…
一个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.…
获取cpu信息 using System.Collections; using System.Collections.Generic; using System.Managemen…
using System.Collections; using System.Configuration; using System.Data; using System.Linq…
C#完全实现AES算法加密解密函数 /// <summary> /// Aes加密、解密,密钥长度256,密钥长度不大于32个字节 /// </summary&g…
使用C#调用存储过程,用函数合理组织代码,使程序更加的清晰(示例)