Timeline for Efficient counting
Current License: CC BY-SA 3.0
10 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Apr 13, 2017 at 12:39 | history | edited | Community Bot |
replaced http://codegolf.stackexchange.com/ with https://codegolf.stackexchange.com/
|
|
| Feb 22, 2017 at 12:30 | history | edited | Mika | CC BY-SA 3.0 |
added 135 characters in body
|
| Feb 22, 2017 at 12:28 | comment | added | Mika | @Emigna Really? I'm just new to using lambdas/anonymous functions so I'm not sure yet haha, thanks! | |
| Feb 22, 2017 at 12:27 | comment | added | Emigna |
The parenthesis around a is not required either way though.
|
|
| Feb 22, 2017 at 12:26 | comment | added | Emigna |
I don't know the consensus on this in C#. That syntax is valid, but will only work if the delegate has already been declared (otherwise i will be undeclared for the recursive call).
|
|
| Feb 22, 2017 at 11:48 | comment | added | Mika | Updated it but I'm not 100% sure if it's correct this way | |
| Feb 22, 2017 at 11:48 | history | edited | Mika | CC BY-SA 3.0 |
added 2 characters in body
|
| Feb 22, 2017 at 11:47 | comment | added | Mika | @Emigna you're right! I totally missed that :( | |
| Feb 22, 2017 at 10:50 | comment | added | Emigna |
I think you need to explicitly name the function i for this to work as you're using recursion.
|
|
| Feb 22, 2017 at 10:10 | history | answered | Mika | CC BY-SA 3.0 |