Questions tagged [console.out.writeline]
3 questions
7
votes
5 answers
Xna debugging
I use the console.out.writeline() to print the coordinates belonging to the different sprites in a XNA game. But after a few seconds, the game starts to go really slow, and almost stop.
(When not writing to the console, there are no problems with…

eflles
- 6,606
- 11
- 41
- 55
6
votes
4 answers
Console.SetOut to StreamWriter, write to textfile constantly
I'm using the Console.SetOut method to write all my Console.Out.WriteLines to a file, and this works. The only problem is that it only writes everything to the textfile when I close my application instead of it writing whenever a…

Fverswijver
- 459
- 1
- 12
- 30
0
votes
3 answers
Create and write file txt
How can I create and then modify writing on this file?
string fileName = @"C:\...\MioFile.txt";
In main:
File.CreateText(fileName);
Then when I would edit the file by adding text.
StreamWriter writer = new…

Skipper
- 83
- 1
- 2
- 8