您可以在这里快速查找:


 
您的位置: 编程学习 > asp.net教程 > 200509
文章分类

Java技术
2005: 03 04 05 06 07 08
09 10 11 12
2006: 01 02

Asp.net
2005: 07 08 09 10 11 12
2006: 01 02

VB编程
2006: 02

Asp编程
2005: 11 12
2006: 01 02

C++/VC
2005: 10 11 12
2006: 01 02

Delphi
2005: 12
2006: 01 02

其它

 本文章适合所有读者

MSDN 中 Buffer 的 错误示例程序.

Montaque

ms-help://MS.VSCC.2003/MS.MSDNQTR.2003FEB.2052/cpref/html/frlrfsystembufferclassbytelengthtopic.htm

[C#]
int [] arr = new int [5] {0, 1, 2, 3, 4};
Debug.Assert (Buffer.ByteLength(arr) == 20);
for (int i = 0; i < Buffer.ByteLength(arr); i++)
  {
  Console.Write(arr[i]);
  }
//This will print: 00000001000200030004

这个程序居然能够运行? hoho