C# - Delays using Console

Thread Starter

atferrari

Joined Jan 6, 2004
4,770
C# - Using Console.

I need to implement delays between actions.

They should happen once or be asigned to repetitive actions.

I identified Threading.Timer and Timers.Timer already but I can not find how they should be used.

Could anyone explain how, showing a sample of code?

Gracias.
 

Thread Starter

atferrari

Joined Jan 6, 2004
4,770
In the C# environment is the window that opens for basic input/utput without the GUI and associated frills provided by the windows in WIN XP among others.

Please do no take this as an exact definition of "Console". Is what I understand from all this as a newcomer to C#.

Can you help now?
 

elep

Joined Jan 7, 2009
3
Most likely you are looking for solution of your problem in a wrong place, because it is very strange to delay console application.
If you want to let user to read text output from you application, you’d better ask him to hit a key, when he read the text.
Anyway can you please a bit better explain what problem you are trying to solve?
 

Thread Starter

atferrari

Joined Jan 6, 2004
4,770
I think I am looking in the right place.

I want to be able implementing:

a) delays between actions (once)

b) delays between actions (repetitive)

Some of the replies I got up to now are doing that. Next step is learning to use them in full.
 
Top