With a third party API I observed the following.
Instead of using,
public static string getString(){ return \"Hello World\"; }
i
in my opinion, this is useful when you have more than one result in a function.