title: c# constructor default parameters correct way
body: <p>So I need to understand which way is the correct/best one?</p>
  
  <h2>First way:</h2>
  
  <pre><code>class Customer
  {
      string firstName;
      string lastName;
  
      public Customer(string firstName="non", string lastName="applicable")
      {
          this.firstName = firstName;
          this.lastName = lastName;
      }
  }
  </code></pre>
  
  <h2>Second way:</h2>
  
  <pre><code>class Customer
  {
      string firstName;
      string lastName;
  
      public Customer()
      : this("non","applicable")
      { }
  
      public Customer(string firstName, string lastName)
      {
          this.firstName = firstName;
          this.lastName = lastName;
      }
  }
  </code></pre>
  
  <p>If I'm creating a method printFullName(), it works in both cases. So which one to chose? The first one seems easier to me.</p>