摘要:
转:https://my.oschina.net/aofe/blog/267882 堆和栈的区别: · 1> 堆空间的内存是动态分配的,一般存放对象,并且需要手动释放内存。需要程序员自己申请并且指明大小,如C语言的malloc函数。 · 2> 栈空间的内存由系统自动分配,一般存放局部变量等,不需要手
阅读全文
posted @ 2018-02-23 13:32
口袋里的SKY
阅读(114)
推荐(0)
摘要:
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AIMS.RedisMng { using System.Collections.Generic; using System....
阅读全文
posted @ 2018-02-07 15:30
口袋里的SKY
阅读(191)
推荐(0)
摘要:
using Hyperion; using System; using System.Collections.Generic; using System.IO; using System.IO.Compression; using System.Linq; using System.Runtime.Serialization.Formatters.Binary; using System.Tex...
阅读全文
posted @ 2018-02-07 15:16
口袋里的SKY
阅读(507)
推荐(0)
摘要:
using Newtonsoft.Json; using StackExchange.Redis; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AIMS.RedisMng { pu...
阅读全文
posted @ 2018-01-31 16:29
口袋里的SKY
阅读(778)
推荐(0)
摘要:
using DotNet.Log; /// /// StackExchangeRedisHelper /// /// 在StackExchange.Redis中最重要的对象是ConnectionMultiplexer类, 它存在于StackExchange.Redis命名空间中。 /// 这个类隐藏了Redis服务的操作细节,ConnectionM...
阅读全文
posted @ 2018-01-29 13:41
口袋里的SKY
阅读(265)
推荐(0)
摘要:
SQL Server数据库基础 当创建了数据库之后,下一步就需要设计数据库对象。SQL Server能够创建多种数据库对象,如表、索引、视图、存储过程、游标、触发器等。本章将对其基础知识、相关的操作进行详细介绍。 本章主要内容: l 表 l 索引 l 视图 l 存储过程 l 游标 l 触发器 1 表
阅读全文
posted @ 2018-01-25 09:21
口袋里的SKY
阅读(491)
推荐(0)
摘要:
for (var i = 0; i < dt.Rows.Count; i++) { double SaleAmount = 0; Double.TryParse(dt.Rows[i]["SaleAmount"].ToString(), out Sal...
阅读全文
posted @ 2018-01-25 09:16
口袋里的SKY
阅读(131)
推荐(0)
摘要:
if (KeyValueOperator.CreateInstance().Exist(nJTerminal.SerialNum)) { RealTimeDataModel rtModel = KeyValueOperator.CreateInstance().Get(nJTerminal.SerialNum); ...
阅读全文
posted @ 2018-01-23 15:52
口袋里的SKY
阅读(674)
推荐(0)
摘要:
枚举 枚举类型声明为一组相关的符号常数定义了一个类型名称。枚举用于“多项选择”场合,就是程序运行时从编译时已经设定的固定数目的“选择”中做出决定。 枚举类型(也称为枚举)为定义一组可以赋给变量的命名整数常量提供了一种有效的方法。例如,假设您必须定义一个变量,该变量的值表示一周中的一天。该变量只能存储
阅读全文
posted @ 2018-01-17 11:43
口袋里的SKY
阅读(398)
推荐(0)
摘要:
要使用Dictionary集合,需要导入C#泛型命名空间 System.Collections.Generic(程序集:mscorlib) 要使用Dictionary集合,需要导入C#泛型命名空间 System.Collections.Generic(程序集:mscorlib) Dictionary
阅读全文
posted @ 2018-01-17 09:31
口袋里的SKY
阅读(680)
推荐(0)