Recently in my projects I've been finding more use for extension methods in C#. If you're not familiar with extension methods, they go something like this. public static class Extensions { public static string AsScoreString(this MyClassA myclass) { return myclass.Foo.ToString() + " points!"; } } public class MyClassA { public int Foo { get;set; } } Basically some syntax sugar. In ...
Read more
Sunday, September 22, 2013
4 min read