title: How to Create a new Version Programmatically in Sharepoint List
body: <p>I have a choice field called stage lets assume it has following values used as a dropdown</p>
  
  <pre><code>stage1
  stage2
  stage3
  </code></pre>
  
  <p>on change of stage I would like to record TimeStamp and Who updated the item information </p>
  
  <p>How can I do it on my List without creating any other list, I think using Versioning I can add a new version whenever before and after properties are change on that Field.</p>
  
  <pre><code>//ItemUpdating Event 
  if(properties.ListItem["Stage"] != properties.AfterProperties["Stage"])
  {
     //Create a Version;
  }
  </code></pre>
  
  <p>I cannot find how to create a version here.</p>