I have some codes that i find very hard to understand. Can someone help me break it down line by line?
Service1Client client = new Service1Client();
client.getPrimaryListCompleted += new EventHandler<getPrimaryListCompletedEventArgs>(AddPrimaryMarkerGraphics);
client.getPrimaryListAsync();
The first line creates an instance of the class
Service1Client.The second line hooks up an event handler for the event
getPrimaryListCompleted.the third line starts an asynchronous request. When there is a response, the
getPrimaryListCompletedwill be triggered so that the event handler can use the response.