I made a new project, but it is the same code, when I run it it doesn't work: VS 2022 
I made a new project, but it is the same code, when I run it it doesn't work:
VS 2022