using System.Diagnostics;
public struct StackArray8
throw new IndexOutOfRangeException();
throw new IndexOutOfRangeException();
public static void Main()
Stopwatch sw = new Stopwatch();
for (int i = 0; i < 100000; i++)
StackArray8 packetHeader = new StackArray8();
Console.WriteLine("Elapsed={0}", sw.Elapsed);
for (int j = 0; j < 100000; j++)
byte[] byteHeader = new byte[8];
Console.WriteLine("Elapsed={0}", sw.Elapsed);