vs code program wont run on another person's pc?

im trying to have my friend use a c# program i wrote in vs code

the console just closes right after it opens (with some text on it sometimes but it closes too quick to copy it or see it)

he uses windows 11 and i use windows 10 if that's any help.
Was this page helpful?