System.DateTime.Now.MilliSecond returns the number of milliseconds within a minute, that is, the millisecond value at the moment when the time is taken. It should be a number between 0 and 999 directly.
Privateint _curTimeMillisecond=DateTime.Now.Millisecond;