object initialization

  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. Keith_K

    Question copy constructor vs parameterized constructor

    In what case(s) would it be wise to use a copy constructor instead of a parameterized constructor and vise-versa?
Top Bottom