C#
文章平均质量分 63
jygdragon
主要做软件开发工作。主要使用Delphi,dotnet开发工具,对于sqlserver,oracle比较熟悉;希望有志于相关开发工作的朋友相互交流,探讨,提高技术。
展开
-
字符串处理
<br /> byte[] array = new byte[2];<br /> array = System.Text.Encoding.Default.GetBytes("啊");<br />int i1 = (short)(array[0] - '/0');<br /> int i2 = (short)(array[1] - '/0');<br />//unicode解码方式下的汉字码<br /> array = System.Text.Encoding.Unicode.GetBytes("啊原创 2011-04-02 17:13:00 · 233 阅读 · 0 评论 -
很早以前收集的常用代码
<br />一、定义变量:<br /> <br />string strExample; 字符串("aaa")<br />char chrExample; 字符('a')<br />bool blnExample; Bool型(true/false)<br />DataTime datExample; 日期型("09/19/2002")<br />int intExample; 整数(32位有符号整数)<br />double dblExample; 浮点数(64位双精度浮点数)<br /> <br />二原创 2011-04-02 17:14:00 · 279 阅读 · 0 评论 -
很早以前收集的常用代码
<br />一、定义变量:<br /> <br />string strExample; 字符串("aaa")<br />char chrExample; 字符('a')<br />bool blnExample; Bool型(true/false)<br />DataTime datExample; 日期型("09/19/2002")<br />int intExample; 整数(32位有符号整数)<br />double dblExample; 浮点数(64位双精度浮点数)<br /> <br />二原创 2011-04-02 17:16:00 · 319 阅读 · 0 评论