随笔分类 -  源代码

各种代码集合
摘要:来源:http://www.codeproject.com/Tips/297011/How-to-Toggle-String-Case-in-NET#alternative22使用LINQ:public static string ToggleCase(this string str){ if (string.IsNullOrEmpty(str)) return str; return string.Join("", (from i in str select (char.IsLetter(i) ? ... 阅读全文
posted @ 2013-12-29 01:30 KeenLeung 阅读(2164) 评论(0) 推荐(0) 编辑
摘要:1】 1 using System; 2 using System.Data; 3 using System.Configuration; 4 using System.Collections; 5 using System.Web; 6 using System.Web.Security; 7 using System.Web.UI; 8 using System.Web.UI.WebControls; 9 using System.Web.UI.WebControls.WebParts;10 using System.Web.UI.HtmlControls;11 using System. 阅读全文
posted @ 2013-12-28 22:29 KeenLeung 阅读(335) 评论(0) 推荐(0) 编辑
摘要://数据库操作 public class DataBase { private SqlConnection conn;//数据库连接对象 #region 打开数据库连接 private void Open() { if (conn == null) { conn = new SqlConnection(); //conn.ConnectionString = ConfigurationSettings.AppSettings... 阅读全文
posted @ 2013-12-28 10:46 KeenLeung 阅读(289) 评论(0) 推荐(0) 编辑
摘要:摘自:http://blog.csdn.net/mevin/article/details/6714520程序代码:view plaincopy to clipboardusing System; using System.Collections.Generic; using System.Linq; using System.Text; namespace c_sharp_sort { class Program { static void Main(string[] args) { int[] test7 = { 2... 阅读全文
posted @ 2013-12-27 22:59 KeenLeung 阅读(287) 评论(0) 推荐(0) 编辑
摘要:cih病毒源代码来源:http://www.292775.com/news/new/w12/200507/11924.html****************************************************************************; * The Virus Program Information *; ****************************************************************************; * *; * Designer : CIH Original Place : TTIT of 阅读全文
posted @ 2012-04-30 23:59 KeenLeung 阅读(9256) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示