object oriented

  1. P

    Hello I am making a primitive AI program, but do not know how to instantiate a class...

    namespace SafeHaven { public class Class { public string Name { get; set; } public string Description { get; set; } public decimal Balance { get; set; } public int Amount { get; set; } = 0; public void MakeCharacteristics() { } public...
  2. 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...
Back
Top Bottom