JSON serializer returns an empty JSON object. using System.Text.Json; (int, int) tuple1 = (1, 2); var token = JsonSerializer.Serialize(tuple1); // return empty
So far, this is the button click event to instantiate the other form of the button. It pops up the other form—but the first form is still in the backgroun
Opened an old project from years ago. Build fails because Visual Studio (2019) does not recognize an assembly that is clearly there - specifically, Autofac. You
I am using Word Interop to calculate the number of lines present in a Table Cell. The Cell in question is shown below (Special characters enabled for clarity).
I develop applications targeting the Hololens 2 platform (mixed reality). The general idea of the application I am trying to build is using a point cloud regist
I made a player in my game, such that it goes into slow-motion when you hold down the space bar. But I want the player to only be available to be in slow-motion
I use the layer2 cloud connector to sync between Sharepoint DB (right) and SQL Server database (left). I sync from right to left only. I make a dynamic column o
I'm trying to send files to .net api, but api response me {"mensaje":"startIndex cannot be larger than length of string. (Parameter 'startIndex')"} void _ha
I have developed a WPF app on .NET 5 (CRUD operations with Entity Framework Core). MSI packages are built with Wix toolset. Up to here everything works. I am cu
I am trying to get multiple parameters from a struct in a single interop call. The struct in question has the following signature: struct struct_name { uint
I have a user "Administrator" in my AD and added some of the user groups as a memberOf. I logged the windows with Administrator, then execute the code below cod
Let me just preface my question by saying I'm quite new to unity and programming as a whole. However I've been experimenting with some movement and after adding
Say I use some .json files to descript some object data which effect to the program's behavior, I hope to use these files in the following scenarios The default
I wrote code about the settings page that uses static bool then I need to Check If the public static bool changed or not In the form that I needed to call (Form
I'm having an issue parsing some XML with C#. To give an example, I'm taking some XML that contains the following tag: <Message>Hello, my name is

I installed the last update for Maui (https://github.com/dotnet/maui). When I add an image, it makes an error: "error MAUI0000: System.NotSupportedException: Mu
As you are supposed to use the Start() or Awake() methods instead of the class constructors in Unity to initialize your class properties, VisualStudio complains
I am programming a multilevel menu / submenu in ASP.NET MVC. I have this table: Id Name ParentId ---------------------------------- 1
Can someone please help to convert this query to C# .NET core? db.getCollection("accout").aggregate().match({ $or: [{"clientnum1": "xxxx"},{ "clientnum2": ""}],
I am dealing with a prisoners paradox type problem where there are multiple combinations (2x2 -> 4) and each has a different result. Is there a good way of l