I've created an ASP.NET Core 6 MVC project, and I want to see "Test" when i request it but I'm getting NullReferenceException. But when I create the R ...
I've created an ASP.NET Core 6 MVC project, and I want to see "Test" when i request it but I'm getting NullReferenceException. But when I create the R ...
So I have a code segment where I am expecting a method that is repeatedly called from inside a loop to return null at one point - null is returned bec ...
I am writing unit tests using xunit and moq for services in a servic fabric application. I am passing the mocks like this Then test code is ( I ha ...
all My application sometimes crashes and throws an exception When I delete multiple items in ListBox. I delete items through the delete command in M ...
When I run this script copied from a tutorial, the Unity console consistently returns a NullReferenceException: Object reference not set to an instanc ...
I'm having a problem with my singleton class scripts I'd like to get your help with. The script ultimately works, but every time I launch the Unity E ...
Attempting to get visitors that aren't logged in to be redirected to the login page. This is my Index.razor file: @page "/" @inject NavigationManager ...
I am using the Transform function in Unity inorder to rotate my gun in my 2d top down shooter when the mouse is aimed in a certain direction. However, ...
I'm pretty new to developing in Xamarin and I have 'some' background with WinForms using C# and Android Studio using Java. The case is this, I alread ...
Forgot to mention this is done in a ASP.net.Core entityframework 6 environment. With razor pages I have a foreach Loop. This loops all my parkingspot ...
I'm currently making a simple game for my project, which is spawning food and damaging it until its vanishes. I have to write a script that instantiat ...
I have 2 scripts one on player : and second on object : I using Unity 2022.1.19f1 and C#. Thank you for your healp, Michal I would like to hav ...
Hi im having such problem with installation of downloaded APK file there is code where it occures with System.NullReferenceException: 'Object referen ...
I write an assembly during runtime, which stores me all getter methods for all properties from about 1000 types. The code I use to pull the getters i ...
I have a .NET MAUI project and just want to display an alert. This already worked well, but in some cases it throws me a NullRefereceException. The Co ...
I would like to be able to change a books property (availability, +1 if I click "return" button or -1 if I click "loan" button"). I've been toying ar ...
For example I have xUnit test It's possible from the owner of the package (in general) to somehow instruct the compiler that the output of the meth ...
I implemented Admob rewarded ads and they work perfectly in unity, but when building and running the game on my Android the ad doesn't run. This is t ...
First, a little context. I'm working on a full-stack project with Angular as the front end, so there are a decent amount of intermediary classes in my ...
I am using an endpoint that I developed with Java Spring boot to developed an Android app, the response keeps returning null when I tried to register ...