Friday April 29th

Thursday April 28th

Wednesday April 27th

1 Kicks

DateTime.Now Causes Boxing

This post describes in detail how calling to DateTime.Now actually causes the CLR to box an integer (4 bytes) during every call. This could seriously hurt performance for applications that may attempt to reduce dynamic allocations to a minimum (in order to reduce the number of induced GC collections).

0 comments

Commenting on Stories is limited for now and will open up to those recommended by the community. Learn how
Loading DotNetKicks...
brought to you by the Kicks Network