title: How to restrict the pass by reference default behaviour
body: <p>How to restrict the pass by reference behaviour of c# ? I don't want to change the original value of global variable,but it changed when it is assigned to a local variable and if any changes done to the local variable,it also affected the global variable.How to avoid this?</p>
  
  <p>Thanks in Advance..</p>