help

  1. creampuff1

    Question I Need Help Using IntelliSense

    I dont know how to describe the problem im having, Im typing "Transform" into visual studio but Intellisense isnt understanding it, the tutorial im following it recognizes it and auto fills it. My code isnt working because of this, please help! My Code The Tutorial
  2. X

    Why doesn't this work....

    If the player doesn't pick up the ak47 it still prints out that they win. public static void Main() { Console.WriteLine("Welcome to my horror game: the super death scary monster of doooom"); Console.WriteLine("Once upon a time, a scary monster \n Yes or no?")...
  3. csharpnoob

    Answered If item already Exists in DataGridView Update Quantity

    hi i want to update qty when add item in DataGridView If the row with the same data already exists in DataGridView , just ++ the value of Qty . i don't want add new column. every time add item i just want if the row with same data just update qty here is my code im just learning sorry for...
  4. D

    Need help with entity search

    Hi, I'm a student, I need to finish a WPF project, and I really need your help. At the moment I've made a database, authorization, output of information about entities in DataGrid. I'm a beginner and I can't implement entity search, and I also can't figure out what queries can be made for a...
  5. Moriarty

    Resolved Help!! Need for today

    Help me pls
  6. spicyadmin

    Errors and more erros

    I've been trying to find a solution to a problem I am having. I am trying to save a picture to the "My Pictures" folder but I keep getting an error in the code saying "cannot convert from 'string' to 'system.environment.specialfolderoption'"...
  7. E

    Question Creating a blog

    Hey everyone, I hope you're doing great today. I'm a beginner in C# and I have an assignment where I need to create a blog: These are the criteria that need to be included in the assignment; The blog should be a list that can save string arrays. Each individual blog post should be a string...
  8. S

    Resolved How to make arithmetical operations?

    How to make arithmetical operations in C#? I'm making a calculator, And I don't know what signs needs to be for Addition, Subtraction and Division. if (aritmeticalOperation == "Multiplication") //It can be other operation too. { long num01...
  9. M

    show the message with WaitForSeconds

    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...
  10. V

    Question Error in method JsonDocument.Parse

    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...
  11. T

    Trying to reduce gravity of player in unity2D

    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...
  12. Paradoxz1

    Question BMI Calculator

    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...
  13. V1ck

    script cannot convert int?

    rSimple script i don't get the problem
  14. 1

    Question GUI Framework Question

    Is there any free GUI Framework with a slider similar to the one shown below?
  15. D

    Question C#; I need help with easy tasks

    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...
  16. shawnhee

    Resolved Minimize Windows Form when Clicked Outside the Application

    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...
  17. shawnhee

    Resolved Windows Forms Application overlayed other Application

    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...
  18. F

    Answered How to store bigger values in variables.

    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...
  19. carl4020

    error CS0103: The name [name] does not exist in the current context

    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...
  20. M

    Resolved How to Implement DbSet and DbContext in Service-Repository Architecture?

    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...
Back
Top Bottom