Timeline for Stopwatch exception implementation in C#
Current License: CC BY-SA 3.0
18 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jun 30, 2023 at 20:06 | answer | added | Siddharth18 | timeline score: -1 | |
| Nov 12, 2017 at 8:07 | vote | accept | Ibrahim | ||
| Nov 11, 2017 at 18:27 | history | edited | JvR | CC BY-SA 3.0 |
Transcribe assignment to text
|
| Nov 11, 2017 at 17:53 | answer | added | JvR | timeline score: 2 | |
| Nov 11, 2017 at 6:44 | history | edited | Jamal | CC BY-SA 3.0 |
deleted 53 characters in body; edited title
|
| Nov 11, 2017 at 6:35 | history | reopened |
t3chb0t forsvarir Mast♦ alecxe mdfst13 |
||
| Nov 10, 2017 at 9:51 | comment | added | Mast♦ | You can further improve the quality of your question by fully transcribing the image of the exercise. | |
| Nov 10, 2017 at 8:13 | review | Reopen votes | |||
| Nov 11, 2017 at 6:35 | |||||
| Nov 10, 2017 at 8:07 | history | edited | t3chb0t |
edited tags
|
|
| Nov 10, 2017 at 7:55 | comment | added | Ibrahim | I have edited the post and added a new code that solves my question, however, I need help in optimizing my code to use fewer lines of code and perhaps improving its readability. | |
| Nov 10, 2017 at 7:53 | history | edited | Ibrahim | CC BY-SA 3.0 |
Improved the code.
|
| Nov 9, 2017 at 13:22 | history | closed |
t3chb0t Mast♦ Denis Heslacher Pimgd |
Not suitable for this site | |
| Nov 9, 2017 at 12:49 | comment | added | Pieter Witvoet |
You may want to look at the existing System.Diagnostics.Stopwatch class for inspiration. Specifically its Elapsed and IsRunning properties, and the fact that none of its methods write anything to the console: that's not their responsibility, and it would add an unnecessary dependency which makes the class more difficult to reuse.
|
|
| Nov 9, 2017 at 11:08 | comment | added | Ibrahim | Oh I'm sorry, but I found a similar post of the same issue at stack overflow, and they advised him to post it here (didn't find his post though). | |
| Nov 9, 2017 at 10:47 | review | Close votes | |||
| Nov 9, 2017 at 13:22 | |||||
| Nov 9, 2017 at 10:38 | comment | added | t3chb0t | I have no idea how to implement an exception system in this case. - Unfortuantelly we cannot help you with that. Code Review is about improving working code, not about implementing missing features. You should read about how exeptions work first. | |
| Nov 9, 2017 at 10:04 | review | First posts | |||
| Nov 9, 2017 at 10:28 | |||||
| Nov 9, 2017 at 10:01 | history | asked | Ibrahim | CC BY-SA 3.0 |