Sitecore Content Hub documentation provides an example script that does not compile: https://doc.sitecore.com/ch/en/developers/cloud-dev/create-public-links-for-approved-assets-automatically.html#create-a-script

This receives several compile errors, such as "Error CS0103 Line 7, Column 31 The name 'entities' does not exist in the current context":
[![Build error screenshot][1]][1]


  [1]: https://i.sstatic.net/I7KqKBWk.png