各位老大
请问c#有没有指针的概念?我要每五秒钟读一个数的值int m_int;
这个int 是一直增长的
而我要没5秒读一次这个int ;
如果 这个int不增长了 就输出这个int
要怎么写这段代码?谢谢!!!!!!!
请问c#有没有指针的概念?我要每五秒钟读一个数的值int m_int;
这个int 是一直增长的
而我要没5秒读一次这个int ;
如果 这个int不增长了 就输出这个int
要怎么写这段代码?谢谢!!!!!!!
int iForCheck = 0;
int iLastValue = 0; // timer中 if (iLastValue == iForCheck&& iForCheck !=0)
{
//输出
}
iLastValue = iForCheck;