title: C# getters and setters method definition - beginner
body: <p>I am new to C#. i was going through a tutorial. and it shows how to create accesor-mutator to a variable as shown below;</p>
  
  <pre><code>public String var1 {
  
  get {return "";}
  set {someVar = value;}
  
  } 
  </code></pre>
  
  <p>1.) Can't i create getters and setter like created in java</p>
  
  <pre><code>public getVar() {return "";}
  public setVar(String x){var=x;}
  </code></pre>
  
  <p>2.) What is <code>value</code> used in C# ?</p>