.Net

Question about ValueTask / ValueTask<T>

Recently read articles about it: https://devblogs.microsoft.com/dotnet/understanding-the-whys-whats-and-whens-of-valuetask/ https://blog.marcgravell.com/2019/08/prefer-valuetask-to-task-always-and.html Both of the articles says that Do not await ValueTask multiple times. Do not await ValueTask concurrently. Let’s say I have a Web API that has a singleton Read more…

By , ago
.Net

I don’t understand why it won’t let me do this if statement. It’s meant to be a function so the user can choose a what their practice is then the function will make sure the correct variables are used but I don’t know why this if statement isn’t working.

== double-equals to test equality. Thank you for saving me from my own stupidity Also, a note for the future, pay more attention to error messages. The ones you see imply a conversion error, and Read more…

By , ago
.Net

Yellow Book Solutions

On Rob Miles’s Yellow Book website, he includes a link to download the full University of Hull course, including lectures, labs, and two large projects (ACWs). I can’t seem to find sample solutions to labs Read more…

By , ago
.Net

My recent desktop app

Password Memorising App Kindly check out my desktop application. I guarantee it will help you memorise your passwords. Edit: The app doesn’t store your passwords. It hashes and salts the password and stores it in Read more…

By , ago