Because the interface specifies that the method MUST return an object
. A string
may inherit from object
, but the interface specifies a method that returns the much more generic type.
Keep in mind, though, there's nothing stopping you from doing the following:
public object Moop()
{
return "Some new string";
}