In this post, you will show how to get the version of any extension/module in Magento 2.
You can use you can use following code snippet:
$versionInfo = $this->_objectManager->get('Magento\Framework\Module\ModuleList')->getOne('Hello_World'); echo "<pre>"; print_r($versionInfo); echo "</pre>";
Here, Hello is vendor name and World is module name.
I hope you like this post, Please feel free to comment below, suggestion and problems!