I'm just wondering if anyone knows why you are not allowed to use interfaces with implicit or explicit operators?
eg. this leads to a compile-time error:
public static explicit operator MyPlayer(IPlayer player) { ... }
"custom conversions to or from the interface are not allowed"
Thank,
theburningmonk Mar 12 '10 at 14:05 2010-03-12 14:05
source share