Magento 2 Get static block content

In some cases, i hope not to0 many, you want to get content from a static block in Magento 2.  You can use the following code snippet in your block to get the static block info by identifier name.

Create a block class

Usage in your phtml