随笔分类 - 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
阅读全文
摘要:Unity is a game development ecosystem: a powerful rendering engine fully integrated with a complete set of intuitive tools and rapid workflows to crea
阅读全文
摘要: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/
阅读全文
摘要:private static readonly Regex REGEX_LINE_BREAKS = new Regex(@"\n\s*", RegexOptions.Compiled); private static readonly Regex REGEX_LINE_SPACE = new Reg
阅读全文
摘要: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...
阅读全文
摘要: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
阅读全文
摘要:#region AES加密 /// <summary> /// 加密数据 /// </summary> /// <param name="input">加密前的字符串</param> /// <returns>加密后的字符串</returns> public static string AESEncrypt(string input) { //盐值 string saltValue = "saltValue"; //...
阅读全文
摘要: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
阅读全文