• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
 






Kevin Gao

 
 

Powered by 博客园
博客园 | 首页 | 新随笔 | 联系 | 订阅 订阅 | 管理
上一页 1 ··· 69 70 71 72 73 74 75 76 77 ··· 83 下一页

2011年11月4日

C#中各种数据类型转换的方法的类
摘要: //各种数据类型转换方法的类 public class GF_Convert { /// <summary> /// 字符串 转换 char数组 /// </summary> /// <param name="in_str"></param> /// <param name="in_len"></param> /// <returns></returns> public static char[] string2chararray(string in_str, 阅读全文
posted @ 2011-11-04 16:38 Kevin Gao 阅读(5113) 评论(0) 推荐(1)
 
C#对系统注册表操作的类
摘要: using System;using System.Collections.Generic;using System.Text;using Microsoft.Win32; //对注册表操作using System.Collections; //使用Arraylistusing System.Security.Cryptography;//加密解密using System.IO; //文件操作using System.Runtime.InteropServices;//调用DLL DllImportusing System.Management; //获取硬件信息using System.Ne 阅读全文
posted @ 2011-11-04 16:16 Kevin Gao 阅读(325) 评论(0) 推荐(0)
 
C#对系统注册表操作的类
摘要: using System; using System.Collections.Generic; using System.Text; using Microsoft.Win32; //对注册表操作 using System.Collections; //使用A... 阅读全文
posted @ 2011-11-04 16:16 Kevin Gao 阅读(6) 评论(0) 推荐(0)
 
VB.Net C#代码转换工具
摘要: 最常用C#转换为VB.NEThttp://www.developerfusion.co.uk/utilities/convertcsharptovb.aspxVB.NET转换为C#http://www.developerfusion.com/utilities/convertvbtocsharp.aspx1http://www.kamalpatel.net/(最常用的,不过对于16进制的Int不能正常转换)在线版:VB.Net =>C#http://www.ellkay.com/ConvertVB2CSharp.htmC#=>VB.Nethttp://www.kamalpatel. 阅读全文
posted @ 2011-11-04 16:03 Kevin Gao 阅读(974) 评论(0) 推荐(0)
 
VB.Net C#代码转换工具
摘要: 最常用 C#转换为VB.NET http://www.developerfusion.co.uk/utilities/convertcsharptovb.aspx VB.NET转换为C# http://www.developerfusion.com/utili... 阅读全文
posted @ 2011-11-04 16:03 Kevin Gao 阅读(23) 评论(0) 推荐(0)
 
Socket基础知识分享
摘要: Socket Programming Considerations 写Socket程序的时候需要注意设置下面的timeout,避免对方没有响应的时候,导致Socket程序挂起或等待时间过长 1.1 Accept Timeout Accep... 阅读全文
posted @ 2011-11-04 13:59 Kevin Gao 阅读(32) 评论(0) 推荐(0)
 
Socket基础知识分享
摘要: Socket Programming Considerations写Socket程序的时候需要注意设置下面的timeout,避免对方没有响应的时候,导致Socket程序挂起或等待时间过长1.1Accept TimeoutAccept timeout仅对ServerSocket有用。ServerSocket使用accept()方法来监听客户端Socket的连接。默认,ServerSocket.accept()方法会一直阻塞直到有客户端来连接。通常,我们不需要设置accept timeout.但有时候特殊情况,还是要考虑设置accept timeout.比如:程序A给程序B发了一个JMS消息,然后 阅读全文
posted @ 2011-11-04 13:58 Kevin Gao 阅读(7121) 评论(0) 推荐(3)
 
System.Timers.Timer与System.Windows.Forms.Timer 区别
摘要: 根据msdn解释:System.Threading.Timer 是一个简单的轻量计时器,它使用回调方法并由线程池线程提供服务。 不建议将其用于 Windows 窗体,因为其回调不在用户界面线程上进行。 System.Windows.For... 阅读全文
posted @ 2011-11-04 12:09 Kevin Gao 阅读(31) 评论(0) 推荐(0)
 
System.Timers.Timer与System.Windows.Forms.Timer 区别
摘要: 根据msdn解释:System.Threading.Timer 是一个简单的轻量计时器,它使用回调方法并由线程池线程提供服务。不建议将其用于 Windows 窗体,因为其回调不在用户界面线程上进行。System.Windows.Forms.Timer 是用于 Windows 窗体的更佳选择。Windows 窗体 Timer 组件是单线程组件,精度限定为 55 毫秒。如果您需要更高精度的多线程计时器,请使用System.Threading 命名空间中的Timer 类。要获取基于服务器的计时器功能,可以考虑使用System.Threading.Timer,它可以引发事件并具有其他功能。 ... 阅读全文
posted @ 2011-11-04 12:08 Kevin Gao 阅读(4374) 评论(0) 推荐(0)
 
怎样才能充分利用SQL索引
摘要: 怎样才能充分利用SQL索引 背景:目前WEB的普及太快,很多网站都会因为大流量的数据而发生服务器习惯性死机,一个查询语句只能适用于一定的网络环境.没有优化的查询当遇上大数据量时就不适用了. 本文主旨:讨论什么情况下能利用上索引. ... 阅读全文
posted @ 2011-11-04 09:24 Kevin Gao 阅读(7) 评论(0) 推荐(0)
 
上一页 1 ··· 69 70 71 72 73 74 75 76 77 ··· 83 下一页