For those curious, here is a very nice explanation: andrewlock.net/why-is-string…
Here is a fun little random number generator :D dotnetfiddle.net/O4JjXn
1
3
Replying to @kroskiewicz
@kroskiewicz I know of a perfect song for your game XD youtube.com/watch?v=dhPHMdYO…
1
Harry retweeted
Please RT, this is broken!
Unfortunately GameFromScratch lost the ability to post to @YouTube because their systems can't defeat a script kiddy attack. Warned them after I was blackmailed, and now awaiting the long manual appeal process while locked out. Really @YTCreators?
Replying to @KonajuGames @tomspilman
Nope: dotnetfiddle.net/4UBZuJ
It has to do multiplication before division, as that is the only way to get that first more "precise" result.
1
So fixing up some unit tests for MonoGame, and than I come across this... dotnetfiddle.net/HvbP1M
Its fixed in .NET Core it seems, but still, how is this a thing in the first place...
#dotnet #csharp
Replying to @flibitijibibo
Please don't take this the wrong way, but you should try and follow MS C# conventions usually, and you should follow them especially if you wanna write tutorials as the new users won't know any better (I just randomly scrolled to a code snippet with a bit more code in it).
1






