Weird behaviour if I included code after File.Exists

So the EvaluateDbFile function is checking if a db file exists, if I leave it as it is now it evaluates correctly to the existence of the file, if it exists it writes "File Exists" to the console and if it doesn't I get "File Does Not Exist" but if I put in a conditional that says if the file doesn't exist run the CreateDb function it creates the file, but doesn't run the CreateDb function as the Console.Writeline in that doesn't trigger.
image.png
Was this page helpful?