Fork me on GitHub

随笔分类 -  C#

摘要:Microsoft recently released .NET Core and ASP.NET 5 Release Candidate, supported on Windows, OS X and Linux. Microsoft states this release is ready fo 阅读全文
posted @ 2015-12-04 16:48 Nick.Chung 阅读(258) 评论(0) 推荐(0) 编辑
摘要:Unity is a game development ecosystem: a powerful rendering engine fully integrated with a complete set of intuitive tools and rapid workflows to crea 阅读全文
posted @ 2015-01-27 17:21 Nick.Chung 阅读(196) 评论(0) 推荐(0) 编辑
摘要:Create native iOS, Android,Mac and Windows apps in C#.Anything you can do in Objective-C, Swift or Java, you can do in C#.Ref:http://xamarin.com/ 阅读全文
posted @ 2014-08-13 10:41 Nick.Chung 阅读(149) 评论(0) 推荐(0) 编辑
摘要:private static readonly Regex REGEX_LINE_BREAKS = new Regex(@"\n\s*", RegexOptions.Compiled); private static readonly Regex REGEX_LINE_SPACE = new Reg 阅读全文
posted @ 2012-12-11 16:10 Nick.Chung 阅读(149) 评论(0) 推荐(0) 编辑
摘要:using System;using System.Net;using System.Windows;using System.IO;public class HttpClient{ private WebRequest webRequest = null; public delegate void ResponseEventHandler(String responseResult); public event ResponseEventHandler onResponseEventHandler; public delegate void RequestEventH... 阅读全文
posted @ 2012-12-03 10:55 Nick.Chung 阅读(492) 评论(0) 推荐(0) 编辑
摘要:SQLHelper.cs//===============================================================================// Microsoft Data Access Application Block for .NET// http://msdn.microsoft.com/library/en-us/dnbda/html/daab-rm.asp//// SQLHelper.cs//// This file contains the implementations of the SqlHelper and SqlHelper 阅读全文
posted @ 2012-11-23 16:39 Nick.Chung 阅读(384) 评论(0) 推荐(0) 编辑
摘要:#region AES加密 /// <summary> /// 加密数据 /// </summary> /// <param name="input">加密前的字符串</param> /// <returns>加密后的字符串</returns> public static string AESEncrypt(string input) { //盐值 string saltValue = "saltValue"; //... 阅读全文
posted @ 2012-11-12 17:12 Nick.Chung 阅读(789) 评论(0) 推荐(0) 编辑
摘要:using System;using System.Linq;using System.Linq.Expressions;using System.Collections.Generic; public static class PredicateBuilder { public static Expression<Func<T, bool>> True<T>() { return f => true; } public static Expression<Func<T, bool>> False<T>() { re 阅读全文
posted @ 2012-11-12 16:45 Nick.Chung 阅读(495) 评论(0) 推荐(0) 编辑