Author Archive: David Anderson

Microsoft .NET

When is it appropriate to override ToString?

This question was asked on StackOverflow. Because my answer was upvoted well, I decided include it as a blog post. First, let’s talk about what ToString actually is. The ToString method lives in System.Object, and because System.Object is the base…
Read more

Microsoft .NET

Math in C# using the Quadratic Formula

Simple enough. If you want to ensure exact order translate the local variable function Func(Of double,double,double,Tuple(Of double,double)) to an actual member function or static function.