Here "system" refers to the operating system. It is not the number of milliseconds since your program has started which seems to be what you are expecting.
If you want numbers that aren't based on the system time, consider using the abstraction offered by the Stopwatch class. http://msdn.microsof....Stopwatch.aspx
No the code I just learnt was the system.enviroment tick because it takes the stop time and minus when I start but it works in example program I use it in mine same way and doesn't work?