Ninja Snacks Tales From the Enterprise

C# A Quanta of Bad Design

by

This bit me in the ass yesterday.

0m.Equals(0.0m)

but

0m.ToString().Equals(0.0m.ToString()).Equals(false)
wtf
comments powered by Disqus