摘要: using System.Drawing; using System.Drawing.Drawing2D; /// /// BitmapHelper /// public static class BitmapScaleHelper { /// /// 缩放图片 /// /// 原图... 阅读全文
posted @ 2017-04-05 18:08 zslm___ 阅读(3483) 评论(0) 推荐(1) 编辑
摘要: /// /// 素数帮忙类 /// 本类是从.net源码 类 internal static class HashHelpers 类里抽取相应的代码 /// https://referencesource.microsoft.com/#mscorlib/system/collections/hashtable.cs,e8668bf19da49963 /// Ha... 阅读全文
posted @ 2017-04-05 15:40 zslm___ 阅读(334) 评论(0) 推荐(0) 编辑
摘要: /// /// DateTimeHelper /// public static class DateTimeHelper { /// /// Unix时间起始时间 /// public static readonly DateTime StarTime = new DateTime(1970... 阅读全文
posted @ 2017-04-05 15:19 zslm___ 阅读(1755) 评论(0) 推荐(0) 编辑
摘要: using System; using System.IO; using System.Linq; using System.Runtime.Serialization; using System.Text; using System.Xml.Serialization; /// /// Xml序列化 /// public static class XmlSeri... 阅读全文
posted @ 2017-04-05 14:40 zslm___ 阅读(1556) 评论(0) 推荐(0) 编辑
摘要: /// /// 字典串帮忙类 /// public static class StringHelper { /// /// 以默认编码返回字符串所对应的字节数组 /// /// 字符串 /// 字节数组 public static byte[] GetBytes... 阅读全文
posted @ 2017-04-05 13:26 zslm___ 阅读(1056) 评论(0) 推荐(0) 编辑
摘要: public static class IntHelper { /// /// 转换为2进制字符串 /// /// /// public static string To2Base(this int num) { return Convert.... 阅读全文
posted @ 2017-04-05 13:25 zslm___ 阅读(546) 评论(0) 推荐(0) 编辑
摘要: /// /// 从M进制转换为N进制 /// internal class MBase2NBase { /// /// M进制值字符串 /// private string MValue = "123"; /// /// 除法商 //... 阅读全文
posted @ 2017-04-05 13:24 zslm___ 阅读(721) 评论(0) 推荐(0) 编辑
摘要: using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace G2.Utils { /// /// 字典帮助类 /// ... 阅读全文
posted @ 2017-04-05 10:09 zslm___ 阅读(1258) 评论(0) 推荐(0) 编辑