I import data from a csv file and then store it in a list (List<Customer> customers). The data is added to the list by creating and adding objects. The ob
I want to get selected Item from ListView. My view is: <ListView Name="StudentGrid" Grid.Row="1" Margin="1,1,1,1" ItemsSource="{Binding studentList}" Selecte
I am trying to build a NuGet package from a Framework 4.8 .csproj file for a library. The project compiles fine. I have some unit tests that run fine. I run
I'm using Domain Event to update some tables. I have created a class that inherits INotificationHandlers like this: public class DamageTypeEvents:INotificatio
I've made a neural network and now I need to save the results of the training process into a local file. In total, there are 7,155,264 values. I've tried with a
I have the following line of C# code: dueEvents.Sort((e1, e2) => e1.EventDateGmt.CompareTo(e2.EventDateGmt)); dueEvents is a List. The Eve
I'm new at asp.net and moq and xunit test, I want to create a test case for my asp.net project. I have the service file that is CRUD action, I have been written
Yes, I know, there are tons of threads on this topic. I read a lot of them and used them often (more or less) successfully. Now I got an old DLL (programmed in
I want to display on the screen that the player has achieved their goals in this much time after playing the game. But when I display Time.time it keeps changin
Hello I'm learning integration testing and I want to test a 'POST' method from my controller using xunit and WebApplicationFactory But I'm getting this exceptio
I have tried using the Patch Class to scale the Deployments but unable to do so. Please let me know how to do it. i have researched a lot but no proper docs on
I am wondering what the difference between IQueryable, List, IEnumerator is and when I should use each one? For instance when using Linq to SQL I would do some
So I am using a compute shader in unity to find groups of vertices that overlap (are the same as) other groups of vertices in a Vector3[]. I have a List < Li
I'm having a strange problem in Visual Studio 2022, and would like to know if someone else faced it. It only happens when editting .cshtml files, on Asp.net MVC
I have the following recordset for a given School (i.e., ABC in this example) , I need to groupby on Class and Activity and take the first row . Then I need to
I have a Xamarin Forms application which supports different languages. Therefore I have multiple AppResource.[languagecode].resx files. Wanting to add Papiament
I dont want the pictureboxes to spawn in each other or to overlap.
I have been battling this for some time now without success. So Your help is extremely appreciated. I have created a dropdown list from sql database. What I wan
I have been battling with this error for a while now. I hope putting it here will help. I have attached by models and also the method call being made. The erro
I'm trying implement the follow query in LINQ, but I don't find solution: SQL: SELECT COUNT(*) AS AmountMonths FROM (SELECT SUBSTRING(CONVERT(NVARCHAR(12), pay_