Bug Vanquisher

29 November 2008

It Bit You In The Butt

Filed under: Bugz — Tanveer Badar @ 3:20 AM

new Guid( )

Fact 1: Guid is a value type.
Fact 2: Values types are initialized to all zero upon construction.
Fact 3: Value types cannot have default constructors.
Conclusion 1: new Guid( ) should earn you lots of spanking.
Conclusion 2: Guid.NewGuid( ) is the right thing to do.

22 November 2008

Happy Birthday Windows

Filed under: Fun — Tanveer Badar @ 2:28 AM

.

Blog at WordPress.com.