.Net
Build your own Music Pad with C#, HTML, and CSS – Blazor WebAssembly tut…
no comments yet Be the first to share what you think! C# devs null reference exceptions source
no comments yet Be the first to share what you think! C# devs null reference exceptions source
I’ve got a dictionary in which i’m storing instantiated structs. Server.cs // Create an empty list of shards public static Dictionary<Guid, Shard> shards = new Dictionary<Guid, Shard>(); // Shard struct public struct Shard { public Read more…
I’ve made a few mad libs projects for fun, and I want to share them with some people. I’m using Visual Studio 2019, if that’s important (im new to c#, sorry) Normally when you debug Read more…
When should I use it? Is it good practice to use it? I have searched this question and the only thing I find is: bool b = exp?true:false; But why don’t just write this? bool Read more…
One thing that blew up for us in a very unexpected way is it appears ConfigureServices is now called in Startup when using WebApplicationFactory even when you use .UseStartup on the builder in the WAF. Read more…
Can somebody please help me? thanks in advance This is the video i used: https://www.youtube.com/watch?v=I1nC0nKX6-o&pbjreload=101 and this is the plain c# code: using System; //This will be used to thred our keylogger. using System.Threading; //This Read more…
Im new to WPF and C#. I try to create a 2d Pong Game and need to process key input from two person at the same time. At this time i can process one input Read more…
a) My first question is why would you need methods that are not attached to an event? Is it because rather that retyping the code, you can use a reusable code in a general method Read more…
Context: Implementing StateMachines that control character states in a game. I have an interface named IState. Implementations of IState register with an implementation of IStateMachine. In the IStateMachine implementation I need to have two separate Read more…
I’ve started a project about an app which is using YouTube API so I can control the music, I listen, while gaming. I got approved for using YouTube API but I’m not so sure how Read more…