title: How to ADD/EDIT/DELETE events in ICLOUD calendar using CALDAV
body: <p>I am implementing a new functionality to manage events in ICLOUD calendar(includes my own calendar as well as other ICLOUD users calendar).I successfully implemented the functionality with CALDAV, but here I wanted to know is there any better approach to do the same.
  Below mentioned steps will explain how I achieved ADD/EDIT/DELETE functionality with CALDAV in other ICLOUD users calendar.</p>
  
  <p><strong>otheruser@gmail.com</strong> :icloud account of a user who shares his calendar with me
  <strong>myaccount@gmail.com</strong>: referring to my icloud account</p>
  
  <ol>
  <li><p>otheruser@gmail.com will share his/her calendar with myaccount@gmail.com
          <a href="https://i.stack.imgur.com/V9LM6.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/V9LM6.png" alt="enter image description here"></a></p>
  
  <p>Once i accept the request this calendar will be listed in myaccount@gmail.com</p></li>
  <li><p>Using below CALDAV api I will get all calendars listed in my account
    <a href="https://i.stack.imgur.com/2m84K.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/2m84K.png" alt="enter image description here"></a></p></li>
  <li><p>From the response of above request I will get each calendar url and perform add/edit/delete action accordingly.</p></li>
  </ol>
  
  <p>Note:Here one drawback is I need to ask each user of my application to share(but sharing it private not as public) his personal calendar with my account.</p>
  
  <p>I am using c# as it is a .net application.</p>
  
  <p>Any help would be appreciated.Thanks in advance.</p>