Hi,
I´m currently wokring on an application, the purpose of the app is to display a message with a text, then you should be able to close the message down (like a notification). The message should be displayed after a couple of seconds.
So what i need help with is to understand how to show the...
Please tell me. I can't solve the error in the JsonDocument.Parse method in any way.
Translation of the error text: Error CS1061 / "object" does not contain a definition for "Parse" and it was not possible to find an extension method "Parse" that takes the type "object" as the first argument...
Hi, I'm very new to C#, but I haven't found any information on the internet on how to do this, so I looked to a forum.
This is my script at the moment;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class useGlider : MonoBehaviour {
private Rigidbody2D...
Hi,
I have been trying for the past 6 days to get this BMI calculator working to my requirements but to no success. I am not even able to get a value out from it. I don't know where to start looking for the issue as I have been looking at this code for hours now and been looking at different...
I have to wrote a program solving these in an easiest way, not really know how without the mistakes, so thanks for any help.
The 'file' contains whats under
" John Medeic,MD
10|7|5|3|8|2|1|0|9|3|4|5|5|6|7|2|3 "
Task. 1.
Load and correctly interpret the data contained in the file.
As a result...
I want to minimize my windows form when i clicked anywhere outside it.... But this code will just close the whole program, can anyone help? I want to hide the app to taskbar, and when i press it from taskbar it shows up again.......
Here is the code:
protected override void...
My WFA has overlayed other application since i added this code unto it. But i need this code to lock other users from repositioning the form. Please help 🙏
protected override void WndProc(ref Message m)
{
const int WM_NCLBUTTONDOWN = 161;
const int WM_SYSCOMMAND = 274;
const int...
So I've this very simple program:
int number;
number = Convert.ToInt32(Console.ReadLine());
I want to be able to store a password in this variable. But when I try to add more than 10 digit numbers the program throws an Exception "Value is either too large or too small for an int32".
How can I...
Hello. Basically i suck at code at times and i am very shit at troubleshooting. I get these errors in my MeshGenerator.cs:
Assets\Scripts\OpenWorld\Procedural Landmass Generation\MeshGenerator.cs(52,32): error CS0103: The name 'heightCurve' does not exist in the current context...
I am updating my .NET Core web app from just MVC to a Service-Repository pattern.
My question is, how do you implement DbSet<> when you add the Service and Repository layers?
I originally added these to my ApplicationDbContext file under the Data folder. Is this still correct? Then would I just...
How do you use a ForEach loop on ViewModels on .NET MVC?
I have 2 models:
A Park Model:
public class Park
{
[Key]
public int ParkId { get; set; }
public string ParkName { get; set; }
public string ParkState { get; set; }
public string ParkLatitude {...
Hi everyone, I have something that i simply need to get some help with.
I am doing some exercises with async and await. I have this method that i want to make asynchronous. It simply supposed to take an array of strings, and then create a List of strings with the same content, but just with...
lets say i have a square 2x2. when i slide my finger upwards i want it to get bigger in the Y axes and smaller in the x axes..and when i slide my finger down i want it to get smaller in Y and bigger in X.
i have some code but i dont like how it works. can someone help me to create something better?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.