上一页 1 ··· 7 8 9 10 11 12 13 下一页
摘要: -> 运算符将指针取消引用与成员访问组合在一起。 x->y 其中 x 为 T* 类型的指针,y 为 T 的成员 等效于 (*x).y 只能在标记为不安全的代码中使用 -> 运算符。不能重载 -> 运算符。 // compile with: /unsafestruct Point{ public int x, y;}class MainClass12{ unsaf... 阅读全文
posted @ 2014-07-26 10:50 enif 阅读(282) 评论(0) 推荐(0) 编辑
摘要: ?? 运算符称为 null 合并运算符,用于定义可以为 null 值的类型和引用类型的默认值。 如果此运算符的左操作数不为 null,则此运算符将返回左操作数;否则返回右操作数。 class NullCoalesce{ static int? GetNullableInt() { return null; } static string GetSt... 阅读全文
posted @ 2014-07-26 10:40 enif 阅读(355) 评论(0) 推荐(0) 编辑
摘要: 生命有尽,大道无涯. 想学的东西太多. 只有不断的学习, 心里才不会产生空虚. 阅读全文
posted @ 2014-05-09 13:38 enif 阅读(131) 评论(0) 推荐(0) 编辑
摘要: XAML中 Margin:左 上 右 下 CSS中 Margin:上 右 下 左 阅读全文
posted @ 2014-05-09 10:03 enif 阅读(258) 评论(0) 推荐(0) 编辑
摘要: '' 纸张尺寸换算. 1单位= 1/100英寸 Private pw As Integer = CInt((PackingListPrint.pw.Value * 100 / 25.4)) '纸宽 Private ph As Integer = CInt((PackingListPrint.ph.Value * 100 / 25.4)) '纸高 Private ml... 阅读全文
posted @ 2014-05-08 17:27 enif 阅读(446) 评论(0) 推荐(0) 编辑
摘要: private static void ExtractResourceToFile(string resourceName, string filename) { if (!System.IO.File.Exists(filename)) using (System.IO.Stream s = System.Reflection.Assemb... 阅读全文
posted @ 2014-04-17 12:08 enif 阅读(394) 评论(0) 推荐(0) 编辑
摘要: DPI Scale ColumnWidth RowHeight 72dpi 75% cw=(pix-5)/6 rh=pix*1 96dpi 100% cw=(pix-5)/8 rh=pix*0.75 ... 阅读全文
posted @ 2014-04-17 10:54 enif 阅读(3425) 评论(0) 推荐(0) 编辑
摘要: 接口、抽象类、抽象方法和虚方法 interface、abstract class、abstract function、virtual function 1,接口是抽象类的一种变体,接口的所有方法都是抽象方法,必须由继承的类全部实现方法体。接口可以间接实例化。 2,抽象类不能直接实例化,必须做为基类被派生类实现抽象方法。 抽象类里面可以有实方法(有方法体)。 3,抽象方法不提供实际... 阅读全文
posted @ 2014-04-10 18:17 enif 阅读(497) 评论(0) 推荐(1) 编辑
摘要: System.String.Join("", new string[] { }); 阅读全文
posted @ 2014-01-02 11:15 enif 阅读(500) 评论(0) 推荐(0) 编辑
摘要: ALTER PROCEDURE [dbo].[TentoSerial] @num int, @ret nvarchar(10) output ASdeclare @StringXL nvarchar(50) declare @CharXL nvarchar(10) declare @modnum intset @StringXL='0123456789ABCDEFGHJKLMNPRSTUVWXYZ' set @CharXL=''if @num>35936 begin raiserror('流水号已超过上限35936',16,-1) retu 阅读全文
posted @ 2013-11-09 11:03 enif 阅读(387) 评论(0) 推荐(0) 编辑
上一页 1 ··· 7 8 9 10 11 12 13 下一页
豫ICP备2021034901号