![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
程序杂记
诚找UP主合作
I am a sinner
展开
-
冒泡排序
外层循环N-1,内层循环N-1-i: for (int i = 0; i { for (int j = 0; j { if (nuberArr[j] > nuberArr[j+1]) {原创 2014-05-23 11:19:12 · 294 阅读 · 0 评论 -
MD5加密
首先引入命名空间:using System.Security.Cryptography;public static string MD5(string encryptString){byte[] result = Encoding.Default.GetBytes(encryptString);MD5 md5 = new MD5CryptoServiceProvider原创 2014-05-23 11:20:54 · 295 阅读 · 0 评论