会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
sky20080101
博客园
首页
新随笔
联系
管理
订阅
上一页
1
2
3
4
5
6
7
8
下一页
2017年4月20日
Ruby for
摘要: #!/usr/bin/ruby -w# -*- coding: UTF-8 -*-for i in 1..5 print i," "endprint "\n"for i in 1...5 print i," "end##1 2 3 4 5 #1 2 3 4 #
阅读全文
posted @ 2017-04-20 16:09 sky20080101
阅读(95)
评论(0)
推荐(0)
2017年4月19日
休眠 睡眠 计算机
摘要: 关机计算机:shutdown.exe -s -t 00重启计算机:shutdown.exe -r -t 00注销计算机:shutdown.exe -l -t 00锁定计算机:rundll32.exe user32.dll,LockWorkStation休眠计算机:rundll32.exe powrP
阅读全文
posted @ 2017-04-19 18:10 sky20080101
阅读(166)
评论(0)
推荐(0)
class struct Equals
摘要: { class clsA { private int _i; public int I { set { _i = value; } get { return _i; } } } struct strctB { private...
阅读全文
posted @ 2017-04-19 09:05 sky20080101
阅读(165)
评论(0)
推荐(0)
2017年4月18日
class struct
摘要: { class clsA { private int _i; public int I { set { _i = value; } get { return _i; } } } struct strctB { private...
阅读全文
posted @ 2017-04-18 14:35 sky20080101
阅读(146)
评论(0)
推荐(0)
2017年4月17日
Object.ReferenceEquals
摘要: class Program { static void Main(string[] args) { int i = 2,j = 2; bool a = Object.Equals(i, j); bool b = Object.ReferenceEquals(i, j); ...
阅读全文
posted @ 2017-04-17 08:56 sky20080101
阅读(199)
评论(0)
推荐(0)
CalcIntegerLength
摘要: private static int CalcIntegerLength(int iLen) { //String str_iLen = Convert.ToString(iLen); int strLen = 0;// str_iLen.Length; do { ...
阅读全文
posted @ 2017-04-17 00:08 sky20080101
阅读(264)
评论(0)
推荐(0)
2017年4月3日
ReadIniTest_GetPrivateProfileString
摘要: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Runtime.InteropServices; namespace ReadIniTest { class Class1 { [DllImport("kernel3...
阅读全文
posted @ 2017-04-03 10:24 sky20080101
阅读(152)
评论(0)
推荐(0)
2017年3月29日
map test
摘要: // mapTest.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include #include #include using namespace std; int main(int argc, char* argv[]) { map test; ...
阅读全文
posted @ 2017-03-29 17:24 sky20080101
阅读(266)
评论(0)
推荐(0)
2017年3月23日
逻辑判断
摘要: class Program { static void Main(string[] args) { bool b = true; int i = 0; if (b || (++i>0)) { } Conso...
阅读全文
posted @ 2017-03-23 09:59 sky20080101
阅读(140)
评论(0)
推荐(0)
2017年3月22日
AppDomain.Unload_MarshalByRefObject
摘要: internal string GetClassInfo(string assemblyName, string className, string strField) { string ret = strField; if (!String.IsNullOrEmpty(assemblyName) && !Strin...
阅读全文
posted @ 2017-03-22 17:03 sky20080101
阅读(144)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
下一页
公告