Netcore interview question

The benefit of using a static function