console app

  1. Paradoxz1

    Resolved Create list of numbers to be displayed as string

    Hey guys, I have been looking around for a while now but I can't find anything to help me with my issue. I'm trying to create a list that has weeks of the year in it 1-52 weeks in 1 year and then display the weeks in a formated string. So that every 3 weeks are displayed (Week 1 Week 4 Week 7...
  2. Paradoxz1

    Resolved Do while loop until Enter key

    Hello! I'm new to programming in C# and I'm trying an exercise where I have to write a console application that loops until the enter key is pressed. My issue is that I don't know how to do a "Do While" loop to keep looping until the Enter key has been pressed since I need to press enter key to...
  3. Polski Arrow

    Resolved Test code with loops not working.

    Hi, I wrote that code below and built and compiled it to console program. That's my test code for strategy game in console. There I have to choose area by typing X and Y coordinates. Areas are int variables which can represent empty area (0) ad area with number of pawn (1-25). How should it...
  4. JazzEngineer

    Question How do I call method without it's constructor?

    Attached please find a DrawPoker console game. I can't figure out how to call the CreateDeck or Shuffle methods without calling the Deck constructor. The problem is that calling the Deck constructor generates a new Deck object. This new Deck object is NOT referred to by the rest of the code. My...
Top Bottom