Example #1
0
 /** Change the contents of the newly created blog entry. */
 static AtomEntry EditEntry(AtomEntry toEdit)
 {
     Console.WriteLine("\nUpdating post");
     // Edit the new entry
     if (toEdit != null)
     {
         toEdit.Title.Text = "Marriage Woes!";
         Console.WriteLine("  Press enter to update");
         Console.ReadLine();
         toEdit = toEdit.Update();
     }
     return(toEdit);
 }