title: c# class create parameters
body: <pre><code> public ControlCenter_v3(string st = @"Data Source=.; Initial Catalog=controlcenter_v3; Integrated Security=true;")
              : base(st)
          {
              Open();
          }
  </code></pre>
  
  <p>I made ​​mistakes as in the above code block does not. but I am getting the following error when I do the way it exist?</p>
  
  <pre><code>public ControlCenter_v3(string st = ConnectionStrings.Default.ControlCenter_V3)
              : base(st)
          {
              Open();
          }
  </code></pre>
  
  <p>Error</p>
  
  <blockquote>
    <p>The property or indexer 'Data.Properties.ConnectionStrings.Default' cannot be used in this context because it lacks the get accessor</p>
  </blockquote>