
C#
xulecn
.........................................
展开
-
sizeof 的相关问题
1、什么是sizeof 首先看一下sizeof在msdn上的定义: The sizeof keyword gives the amount of storage, in bytes, associated with a variable or a type (including aggregate types). This keyword returns a value转载 2006-09-10 20:43:00 · 576 阅读 · 0 评论 -
在.NET中实现彩色光标,动画光标和自定义光标
在.NET中实现彩色光标,动画光标和自定义光标 using System;using System.Drawing;using System.Windows.Forms;using System.Runtime.InteropServices;using System.Reflection;namespace ColorCursor{/// <s转载 2006-09-11 10:28:00 · 581 阅读 · 1 评论 -
C#中一些字符串操作的常用用法
//获得汉字的区位码 byte[] array = new byte[2]; array = System.Text.Encoding.Default.GetBytes("啊");int i1 = (short)(array[0] - /0); int i2 = (short)(array[1] - /0);//unicode解码方式下转载 2006-09-11 10:24:00 · 539 阅读 · 0 评论 -
C# 2.0 泛型
原文阅读!Dan Vallejos WebLog!C# 2.0 Generics C# 2.0 泛型-----------------------Visual Studio 2005 also introduces the next version of C#. C# 2.0 introduces generics, iterators, partial class defini翻译 2006-09-15 12:35:00 · 733 阅读 · 0 评论 -
ASP.NET中Cookie编程的基础知识
ASP.NET中Cookie编程的基础知识(1) 简介 Cookie 为 Web 应用程序保存转载 2006-09-26 18:32:00 · 905 阅读 · 0 评论