Category Archives: C#

C# vs F#: some parallel refactoring (and generalization)

So, shortly after adding the more in depth examples in my last post, I started playing around with the TryParse method in C# to see how “nice” I could make the example code:
public class User
{
public int Age { get; set; }
public DateTime SignupDate { get; set; }
[...]