上一页 1 ··· 352 353 354 355 356 357 358 359 360 ··· 400 下一页
摘要: Console.WriteLine("BitConverter.IsLittleEndian = {0}", BitConverter.IsLittleEndian); Console.WriteLine(); string format... 阅读全文
posted @ 2015-09-23 14:47 ChuckLu 阅读(1411) 评论(0) 推荐(0)
摘要: double值由外部传入 private void Compare(double value) { string text; if (value != 0) //小数位后保留2位 { ... 阅读全文
posted @ 2015-09-22 10:08 ChuckLu 阅读(1327) 评论(0) 推荐(0)
摘要: private void DeviceSetText(TextBox textBox, string text) { //处理text的显示值 if (text != "0") //小数位后保留2位 { ... 阅读全文
posted @ 2015-09-22 09:49 ChuckLu 阅读(461) 评论(0) 推荐(0)
摘要: http://blogs.msdn.com/b/ericlippert/archive/tags/covariance+and+contravariance/ 阅读全文
posted @ 2015-09-22 09:38 ChuckLu 阅读(199) 评论(0) 推荐(0)
摘要: http://blogs.msdn.com/b/ericlippert/archive/2007/10/17/covariance-and-contravariance-in-c-part-two-array-covariance.aspxC# implements variance in two ... 阅读全文
posted @ 2015-09-22 09:37 ChuckLu 阅读(391) 评论(0) 推荐(0)
摘要: http://blogs.msdn.com/b/ericlippert/archive/2007/10/16/covariance-and-contravariance-in-c-part-one.aspxI have been wanting for a long time to do a ser... 阅读全文
posted @ 2015-09-22 09:36 ChuckLu 阅读(301) 评论(0) 推荐(0)
摘要: http://stackoverflow.com/questions/8704332/co-variant-array-conversion-from-x-to-y-may-cause-run-time-exception What it means is this And in more gene 阅读全文
posted @ 2015-09-22 09:25 ChuckLu 阅读(594) 评论(0) 推荐(0)
摘要: (Assuming you're writing in C# here) When an object written in C# is constructed, what happens is that the initializers run in order from the most der 阅读全文
posted @ 2015-09-21 17:37 ChuckLu 阅读(643) 评论(0) 推荐(0)
摘要: https://msdn.microsoft.com/en-us/library/a1sway8w.aspxThe left-shift operator (<<) shifts its first operand left by the number of bits specified by it... 阅读全文
posted @ 2015-09-18 15:05 ChuckLu 阅读(626) 评论(0) 推荐(0)
摘要: 网络字节顺序NBO(Network Byte Order):按从高到低的顺序存储,在网络上使用统一的网络字节顺序,可以避免兼容性问题。 The order in which the bytes of a multi-byte number are transmitted on a network - 阅读全文
posted @ 2015-09-18 09:44 ChuckLu 阅读(4334) 评论(0) 推荐(0)
上一页 1 ··· 352 353 354 355 356 357 358 359 360 ··· 400 下一页