dotnet / dotnet/dotnet-api-docs
Text and code example do not match
- Dominant language
- C#
- Stars
- 949
- Forks
- 1.7k
- Avg merge
- 3d 27m
- Merged PRs (30d)
- 49
Description
In the example, the timers are not started "...with an interval of 150 milliseconds". The interval of the timers in the example is random between 80 (incl.) and 120 (excl.) milliseconds.
The simulated task (Thread.Sleep) is also not "...from 50 to 200 milliseconds" but from 90 (incl.) to 110 (excl.) milliseconds.
Both in the text, and in the comment before the code lines.
Please fix this, and also check if there are other problems on this page.
Thank you!
---
#### Document Details
⚠ *Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.*
* ID: 5ae6f909-7560-40b5-921c-0c26f64686b3
* Version Independent ID: 668d4500-6242-18ad-553c-4d3a68d566ca
* Content: [Timer.Stop Method (System.Timers)](https://docs.microsoft.com/en-us/dotnet/api/system.timers.timer.stop?view=netframework-4.7.2)
* Content Source: [xml/System.Timers/Timer.xml](https://github.com/dotnet/dotnet-api-docs/blob/master/xml/System.Timers/Timer.xml)
* Product: **dotnet-api**
* GitHub Login: @dotnet-bot
* Microsoft Alias: **dotnetcontent**
Contributor guide
Assessment
This issue has not been assessed yet.