C#

The answers are displayed on multiple websites. I have joined the code from these two links: https://stackoverflow.com/questions/951856/is-there-an-easy-way-to-check-the-net-framework-version https://www.c-sharpcorner.com/article/how-to-identify-which-net-framework-is-installed/ And got