debugging error

  1. Kevin24

    Model Binding fails silently (HTTP 400)

    I am trying to make a full stack ASP.NET application using razor pages. In my page, I am trying to make a form submit data properly. Here is my view page with the form: @page @model RogersPizza.Pages.OrderModel @{ Layout = "Shared/_Layout.cshtml"; } @section title { <title>Order</title>...
  2. A

    Question Programming a prime number detector

    I was trying to program a prime number detector, pretty close to success. Here is my code, along with the error by the compiler, which I can't figure what it means. using System; public class Program { public static void Main() { string Input(){ string input = Console.ReadLine()...
  3. J

    Use of unassigned local variable?

    Greetings, I am completely new to programming and also to C#. I'm working out of a book called "Beginning C# 6 Programming with Visual Studio 2015". There is an example that I'm having trouble de-bugging and I swear I have typed everything exactly as in the book! but perhaps I'm missing...
Back
Top Bottom