Using Extension Methods on a C# Interface to Enable DCI in Xamarin

Scala has several nice language features, including the elegant use of val for immutable variables and var for mutable, but the feature that I miss the most on a day-to-day basis is “traits.” Traits allow you to implement one or more methods of an interface. The canonical use is to “mix-in” behavior while avoiding the […]