I have a basic WinForms application and want to be able to write data from this application to an Excel spreadsheet. So far I have the following code: Microsof
I have created a Sql helper class which handles most of my needs. Amongst those, I have a function which executes a SQL statement and returns a SqlDataReader a
I'm trying to automate some tasks for myself and I wrote a few .NET Core 1.0 console applications. One of them is BrowserRouter - a simple application which, ba
I've created a new project using .NET 6 and EF Core 6 but when I try to create a migration using dotnet ef migrations add, the CLI begins running the applicatio
Greetings Overflowers, I know in C we can define a struct inline with the variable declaration so that the struct type is specific to this variable. This is in
I have an outlook addin currently in development that reads mail properties from outlook and displays on a winform. I built the outlook on an environment with
I have the following certificates Certificates I want to configure my asp .net core web API to use these certificates in order to use https redirection. I am us
I have the following certificates Certificates I want to configure my asp .net core web API to use these certificates in order to use https redirection. I am us
I need to display simplest version of elapsed time span. Is there any ready thing to do that? Samples: HH:mm:ss 10:43:27 > 10h43m27s 00:04:12 > 4m12s 0
I am attempting to setup a new work space and transfer all of my projects from my old computer to the new one. However, I am getting this error when I try to r
I'm trying to create a custom authorization policy. Let's say I want the URL to contain a token. For example: https://example.com/customer/list?token=2nHxltsDOj
Basically i would like to be able to have a reference to a variable inside a instance of a class, but i'd like the reference to become a class variable so I don
I need a default value set and many different pages access and update..initially can I set the default value in the class constructor like this? What is the pr
I have some extension methods I defined in my C# class, which I can import just fine into an IronPython script. However, when I attempt to call one of these met
I have a large string and it’s stored in a string variable, str. And I want to get a substring from that in C#. Suppose the string is: " Retrieves a subst
I have an image which I grab using a camera. Sometimes, the lighting is uneven in them image. There are some dark shades. This causes incorrect optimal threshol
I'm trying to develop a system maintenance screen for my application in which I have several tabs each representing a different maintenance option i.e. maintain
For vsinstr -coverage hello.exe, I can use the C# code as follows. Process p = new Process(); StringBuilder sb = new StringBuilder("/COVERAGE "); sb.Append("
I have ConsoleApplication on .NET Core and also i added my DbContext to dependencies, but howewer i have an error: Unable to create an object of type 'MyCon
I have an array of objects. now I want to convert them to json. var dd =new MyUser[10]; for (int i = 0; i < 10; i++) { Debug.Log