How to Call CMS Static Block in Phtml File using Magento 2?

If you have created CMS Static Block and you want to call it from the template file,
You can call like below way in Magento 2,

<?php 
      echo $block->getLayout()->createBlock('Magento\Cms\Block\Block')
                 ->setBlockId('block_identifier')
                 ->toHtml();
?>

Where block_identifier is your static block identifier. Clear Cache and Check your result.