Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
i*i is shorter and (maybe) a little faster with many numbers
a
andb
already are of the typebyte
, so casting them will not do anything. However, the addition operator+
returns anint
(as bytes are not necessarily used as numbers, soa + b
implicitly does is(int) a + (int) b
), hence we do need to cast the result.Nice one - glad I could help!
Thank you for your service.
This error happens when the code is outputting too much data to the log window. So this could be caused by using Console.WriteLine a lot or by writing to the log window inside an (infinite) loop. Have a careful look to make sure the loop is being terminated.
If you aren't sure, feel free to post the code and check the "Mark as having spoiler content" checkbox.
not an issue.