DateTime is not precise enough to meassure such small time gaps. You can use a stopwatch for that from the System.Diagnostics namespace
int num = 1024 * 1024;
Stopwatch sw = new Stopwatch();
sw.Start();
long AForMemory = DateTime.Now.Ticks;
double[] massDoubleForMemory = new double[num];
sw.Stop();
long elapsed = sw.ElapsedTicks;
If your attempt is to diagnose the impact that certain types of allocations have, then you're very likely looking at the wrong place. Allocation in .NET can be very fast or very slow. If an allocation is preceded by a garbage collection for example or a new memory block needs to be reserved by the garbage collector to satisfy your request, the request itself might take a long time compared to when the gc collector has enough space available. The GC is dynamic in a way that it can determine anytime to do some heavy operations.
Apart from that, the real performance problems come with garbage collections, not allocations.