Type of issue
Other
Description
Code snippet in the examples doesn't compile with dotnet run... Errors spit out.
app failed with 1 error(s) (0.3s)
.\MiscLang\07.03-C#\proj\csharp-script\app.cs(79,38): error CS0246: The type name 'CounterSample' could not be found in the namespace 'System.Diagnostics'. This type has been forwarded to assembly 'System.Diagnostics.PerformanceCounter, Version=0.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' Consider adding a reference to that assembly.
EDIT: well it meant to be used by constructing a project so I think I will close this issue, consider this noise.
Page URL
https://learn.microsoft.com/en-us/dotnet/api/system.diagnostics.stopwatch.gettimestamp?view=net-9.0
Content source URL
https://github.com/dotnet/dotnet-api-docs/blob/main/xml/System.Diagnostics/Stopwatch.xml
Document Version Independent Id
1cc404de-7a6a-912c-228d-46f76fdce63e
Platform Id
bf7c35e4-ee84-3a98-bc4b-9c46814f67d5
Article author
@dotnet-bot
Type of issue
Other
Description
Code snippet in the examples doesn't compile with
dotnet run... Errors spit out.EDIT: well it meant to be used by constructing a project so I think I will close this issue, consider this noise.
Page URL
https://learn.microsoft.com/en-us/dotnet/api/system.diagnostics.stopwatch.gettimestamp?view=net-9.0
Content source URL
https://github.com/dotnet/dotnet-api-docs/blob/main/xml/System.Diagnostics/Stopwatch.xml
Document Version Independent Id
1cc404de-7a6a-912c-228d-46f76fdce63e
Platform Id
bf7c35e4-ee84-3a98-bc4b-9c46814f67d5
Article author
@dotnet-bot