I'm using Visual Studio 2019 and I have 5 or more areas in my ASP.NET Core MVC application. When I was about to create a new controller and new razor (.cshtml
I have this code public void insertAssignment(long mediaEvent_ID, long mediaBranch_ID, int? isPremiere, int? isNew, int? isLastChance, int? isPrevShown, int
i have a wave spawner script from a video i saw, since I'm fairly new to this still and its just more so a learning experience than anything really, but when sp
I'm making a multiplayer game. I want to make a system. When a "x" player play a game and there is a "y" player. "x" player should see "y" player's score on "y"
I have HTML markup being read from an XmlDocument using InnerText as below. However, once read into the string "content"; string content = Convert.ToString(XmlD
How to support snap layout in WinForms for windows 11. I'm using c# 10. My application's custom maximize button shows only tooltip. MainForm's WndProc code: pr
Edit: To make it short: as AFigmentOfMyImagination pointed out in his answer, there exists no IsPressedChanged event. However, here is the original question: I
I have a C# unity function and I'm trying to request some json from a webserver but for some reason its not exiting the function where I want it to: using Syste
My code looks like below. public async Task<MetaDataItem> GetMetadata(Stream sm){ using (ZipArchive archive = new ZipArchive(sm, ZipArchiveMode.Read,
i've been trying all day to setup a function that creates a file from plaintext or a stream in a razor page. i create csv plaintext in a backend and send it to
I try to remove Events between two distinct events. I've found a way to declare a dynamic context, which meets the situation in which I want to remove the event
I am trying to zip all the files in one directory in C#. However, one file is used by another process and causing an exception like, "(that) file is in use by a
First time trying to render something and I have big troubles... I am using DirectN library and SwapChainSurface class from KlearTouch.MediaPlayer. I am trying
I am having difficulty comparing a string passed from usermode type LPWSTR to a LDR table entry type UNICODE_STRING Kernel C: struct { int pid; int user
I have an image with multiple portraits inside, how can I pick each one of them without cutting the image in photoshop or something like that. The image would b
Is there a way to send log messages to the local syslog service on centos 7 within a c# program? In python there is the syslog library but with c# the only way
Following problem: I want to start the cmd as administrator in C# with a process to get the UAC befor the code: var process = new Process(); var ps= new Process
e.g. Here in this example, if I want to start thread on method M1 this way, Purpose is I need to call M2, M3 on same thread method to avoid repeated code. Is th
Currently I'm trying to databind object properties to a datagridview. The thing is that the datagridview should have a combobox column, where the user has to ch
Using ASP.NET Framework 4.7.1, I am trying to compress a file but Visual Studio is showing that ZipArchiveEntry does not contain the definition of ExtractToFile