开发者

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

开发者 https://www.devze.com 2023-02-16 17:29 出处:网络
This question already has answers here: Closed 11 years ago. Possible Duplicate: How do you add a timer to a C# console application
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

精彩评论

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