Coding
Would you use an external login functionality as a user?
First of all, happy new year! I ask this question for my upcoming app. I mean sign in with google, etc. Thank you for your time. I answered yes because it is almost always my Read more…
First of all, happy new year! I ask this question for my upcoming app. I mean sign in with google, etc. Thank you for your time. I answered yes because it is almost always my Read more…
Being new to C#, I browsed the MS docs section on Classes briefly and wrote up an OOP program as I normally would in my preferred language in a very short amount of time… nice. Read more…
Hello, all. So I’ve been working on this really large project for months. It has two blazor websites(one for the public, one for authenticated admins and mods). those parts aren’t relevant It has a NET Read more…
I just have a very simple question, does C# have command like this? DoCommand(“int x = 20”); or just like Eval () in JavaScript? I believe Roslyn can help with this. See this answer on Read more…
Is there a way to simplify “RainbowFade” function? I’m just getting started with programming, and I’ve heard that using a lot of “else if” isn’t good.I think this is better. Okay that simplified the code Read more…
Is there any systematic tutorial that covers different ways of multithreading in C# and when to use them respectively (like patterns)? Thanks. There are many different ways of course but the difference between most of Read more…
I was looking at the ConcurrentBag documentation page, and the code sample they provided has the following: itemsInBag is a plain int, and it is written to concurrently without synchronization. This looks like a race Read more…
I am trying to create a table in C# by using the grid system.When the grid is generated I assign it to my property GridLayoutand use Bindingto set it in my XAML. However the page Read more…
C# Wasm Benchmark is a project that compares the performance of: C# Wasm AOT C# Wasm Interpreted C# Runtime (.NET 5) JavaScript I have for a long time wanted to inspect the performance of C# Read more…
I’m trying to write fast long division using techniques like register lowering and rewriting the entire operation using cheaper instructions like shifts. Why? FOR SCIENCE! Benchmark code here: https://gist.github.com/badamczewski/4361974487c102bf7c02680257c7e49f Other Methods: (posting images crashes my Read more…