title: Property or indexer must have at least one accessor
body: <p>I'm learning C#, trying to get to grips with accessors at the moment.<br>
  I'm going nuts looking at this, I have no idea what I've done wrong:</p>
  
  <pre><code>class BankAccount
  {
      // *PROPERTIES* 
      private int _initialDeposit = 0;
  
      // **ACCESSORS** 
      public int SavingsAccount
      {
          set
          {
              _initialDeposit = value;
          }
          get
          {
              return _initialDeposit;
          }
      }
  }
  </code></pre>
  
  <p>The Form looks like this:</p>
  
  <pre><code>public partial class BankForm : Form
  {
      private BankAccount _myAccount;
  
      public BankForm()
      {
          InitializeComponent();
          _myAccount = new BankAccount();
      }
  
      private void initialDepositButton_Click(object sender, EventArgs e)
      {
          _myAccount.SavingsAccount = Convert.ToInt32(initialDepositTextBox.Text);
          bankAccountListBox.Text = "Account opened with initial Deposit " + initialDepositTextBox.Text;
      }
  }
  </code></pre>
  
  <p>But I get this error:</p>
  
  <blockquote>
    <p>Property or indexer must have at least one accessor</p>
  </blockquote>