Timeline for Count occurrences of an integer
Current License: CC BY-SA 3.0
12 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Feb 11, 2014 at 12:28 | history | edited | Timwi | CC BY-SA 3.0 | added 14 characters in body |
| Feb 11, 2014 at 9:59 | comment | added | Grozz | @Timwi I don't see a problem here, if the last input is also in arabic it should work fine. | |
| Feb 11, 2014 at 2:37 | comment | added | Bob | @mo_roodi Go grab LINQPad! ;) | |
| Feb 11, 2014 at 0:48 | comment | added | Timwi | Actually it has another bug. It only runs correctly if the system locale is one that uses 0123456789 digits. int.ToString() is culture-sensitive, meaning, it would use ٠١٢٣٤٥٦٧٨٩ on an Arabic machine :) | |
| Feb 10, 2014 at 22:38 | comment | added | Mo D | Serves me right for quickly knocking this up in Notepad... I've tweaked the code so it is now correct! | |
| Feb 10, 2014 at 22:36 | history | edited | Mo D | CC BY-SA 3.0 | It had a bug... Should have corrected it now. |
| Feb 10, 2014 at 21:57 | comment | added | Grozz | It has a bug, .Range accepts (int start, int count), not (start, end). I always fall into this trap myself :) | |
| Feb 10, 2014 at 18:41 | comment | added | Obl Tobl | of course, nice anyways | |
| Feb 10, 2014 at 18:39 | comment | added | Justin | @OblTobl without a visible loop. | |
| Feb 10, 2014 at 15:03 | review | First posts | |||
| Feb 10, 2014 at 16:16 | |||||
| Feb 10, 2014 at 14:53 | comment | added | Obl Tobl | clever solution! i like it that you did it without a loop. | |
| Feb 10, 2014 at 14:47 | history | answered | Mo D | CC BY-SA 3.0 |