In addition, avoid returning objects that are null or in an invalid state.
此外,避免返回空对象或者状态无效的对象。
If the file does not exist (as determined by the file open error), write the "null" state to the file.
如果该文件不存在(由文件打开错误确定),则把“null”状态写入文件。
The second parameter (state) can either be null or an object containing application-specific information.
public void TimerCallback(object state);第二个参数(state)可以为空或者是包含程序规范信息的对象。
应用推荐