i was making a game in unity and i got this error: Assets\PlayerController.cs(37,21): error CS0120: An object reference is required for the no
I have a simple Bitmap in my app. I need to save it as DDS (Direct Draw Surface) not like a simple image with .dds extension, but need to encode pixel data and
Screen What's wrong with this file? I tried add .obj to gitignore file but that's doesn't helped. Also i don't even changed anything in this file i think that's
I have made my level out of a probuilder object that has inverted normals so the player may exist inside of it. This has caused some issues as for some reason.
using Epplus how can I set an entire row background color to red? I've got this int rowNumber = ws.Cells[rowIndex].Value; ws.Cells[rowIndex].Style.Fill.Pattern
I am trying to debug some xUnit tests in VS code but I get this error when I try to manually debug the tests one by one (instead of just running dotnet test whi
Let's say I have a simple UWP app (so no .NET 5 or C# 8 without workarounds irrelevant to this situation), with many pages that contain buttons, all of which mu
Let's say I have a simple UWP app (so no .NET 5 or C# 8 without workarounds irrelevant to this situation), with many pages that contain buttons, all of which mu
I have already written code in C# for UG NX in a .cs file, but I want to use it on NX without having to copy and paste it into NX's Journal. I have written the
I am practicing to learn more about the Dependency Injection and the Middleware in ASP.NET Core and I have faced an issue I can not resolve, so need the assista
I need to display a sentence on a progress bar, I've found XAML solutions but I need C# specific solutions, meaning I need to set the text in code. This is an i
As stated in the question I am attempting to do a date comparison for tasks that are done within a specific date range. My model has a boolean called "Done" and
Im new at modding Terraria with tModLoader, and im looking for a way to modify startup sequence and the splash pictures. Is there any way to do that? Thanks for
I want the joystick fixed on the bottom-right the screen, no matter the resolution/window size. Although my solution works, there must be a cleaner code for thi
I am working on a project using ASP.NET Core 5.0 to build a web app (MVC). I tried to use the Html.RenderAction extension method but I get the following error.
I have a c# MVC web application (.NET 4.52) using an older version of Devart LinqConnect to scaffold the database etc. The app has been around for 10 years wit
When I make any change to a CSHTML file while debugging then reload the page, I get this exception. This used to work, and I'm not aware of any changes that cou
I would like a Func<float,float> parameter to a method but default it to a static function: public Animation(float timeForAnimation,Vect
Alright, I've got a real stupid question. I have a two-dimensionial array of nullable integers. I wanna get the non-nullable corners of that array - so like, th
I have a client using HttpClient.GetAsync to call into a Azure Function Http Trigger in .Net 5. When I call the function using PostMan, I get my custom header d