Right now I have a couple separate regular expressions to filter data from a string but I'm curious if there's a way to do it all in one go. Sample Data: (DATA$
I have an AudioManager for my Game. When I try to play a clip on a NPC it doesn't get played. The script itself works because the background music is playing pr
I'm working on a Blazor WASM App and I want my users to easily open pdf files on specific pages that contain additional information. I cannot distribute those f
I was wondering, how do I make something like "Program messes with my gameplay" in C#. I just want a program to move with mouse, click, press some keys, you get
I've shared MEF exports that implement IAsyncDisposable. If an export in MEF implements IDisposable it will be disposed when the composition container (or maybe
I created a MongoDB watcher to create actions based on the created document. Of course, the watcher does not detect documents that are created while the service
I have an input .txt file that looks something like this. command1 param1 command2 param2 command3 param3 command4 param4 I am trying to reduce the
Right now I'm trying to add ASCII art to my console project using these symbols: ┌─┬┐ ╔═╦╗ ╓─╥
I created an owin middleware for asp.net framework. I want to mark some endpoints (methods of controller) to skip them from middleware processing. For asp core
When I use Response.Redirect(...) to redirect my form to a new page I get the error: A first chance exception of type 'System.Threading.ThreadAbortException
I have a problem with Entity Framework, I think I have a problem defining the one to many mapping, but I can't seem to find it. When I try to save my changes an
I have a c# project which I want to unit test. I'm trying to simply debug a unit test in VSCode running on linux, but I get the following error: Failed to start
I'm developing an UWP app via C#, that uses IBasicVideoEffect with IDirect3DSurface. As mentioned in documentation, I have created Windows Runtime Component (Un
I have state machine build with MassTransit: public class OrderStateMachine : MassTransitStateMachine<Order> { public State Completed { get; init; }
If I have two pictures slots in my game, one displayed as an icon and one displayed as the full image. Should I have two differents pictures in my Resources fol
I'm trying to open a word document and change its text direction to correct ones, here : IEnumerable<DocumentFormat.OpenXml.Wordprocessing.Text> texts = d
We have to requirement to virtualize a ListView/ItemsControl with a VirtualizingStackPanel. Although everything works as expected, the Control's ItemTemplate ad
i have a problem with my token. when we start our program, the cache should be checked for a valid token. This works for the first time, but afterwards refreshT
i have a list of gameobject and I would like to check if each of those is currently active in the scene. The following is my code. foreach (GameObject hazard in
After I converted the version from .NET Core 3.1 to 6.0, I figured out that all decimal(10, 5) type columns were automatically rounding the decimal part of the