开发者

timer in a console application C#.net [duplicate]

This question already has answers here: Closed 11 years ago.

Possible Duplicate:

How do you add a timer to a C# console application

i have a console application. Now to the timer function I want to pass a streamwriter o开发者_运维百科bject so that i can write a certain set of data after elapse of say like 10 seconds. How do i do it??


You don't pass the streamwriter in, use a member variable.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜