'New to Visual Studio and code not showing when opening the file

I'm new to Visual Studio and for some reason now when I open my code file it doesn't show the code, but if I build it shows the solution. Does anyone know why this is happening?

Picture of screen



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source