why we are using delegates and in which condition it is
required?

Answer Posted / praveenkumarreddy.m

Delegates are used to refer multiple functions.Delegates
used in creating events in c#.net.

Is This Answer Correct ?    11 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Do you know caching feature?

656


Explain the difference between asp & asp.net.

639


How do you identify that the page is postback?

627


How can we communicate with each server in N-tier Architecture? and what are the methods?

1870


What is http request and response?

616






What is globalization and localization in asp net?

586


What are the advantages of Web API?

723


Explain the overview of asp.net?

658


Hi this is the coding for adding data in to an xml table i want the coding for update and delete Try Dim emp_xml_doc As New XmlDocument If System.IO.File.Exists(Server.MapPath("emp.xml")) Then emp_xml_doc.Load(Server.MapPath("emp.xml")) Dim myrow_element As XmlElement myrow_element = emp_xml_doc.CreateElement("EmpDetails") Dim str As String str = "" & TxtEmpId.Text & "" & _ "" & TxtName.Text & "" & _ "" & TxtSalary.Text & "" myrow_element.InnerXml = str emp_xml_doc.DocumentElement.AppendChild(myrow_element) emp_xml_doc.Save(Server.MapPath("emp.xml")) Response.Write("Record Saved") Dim ds As New DataSet ds.ReadXml(Server.MapPath("emp.xml")) GridView1.DataSource = ds GridView1.DataBind() Else Response.Write("File does not exist.") End If Catch ex As Exception Response.Write(ex.ToString) End Try *********************** this is the xml file 100 xxx 2000 yyy dddd 77777 rrrr rrrr 6666 qaqa sini 50000 errrrrrrrr rrrrrrrrr 677777 rrr rrr 33

1818


Which ASP.NET configuration options are supported in the ASP.NET implementation on the shared web hosting platform?

731


Which method is used to enforce garbage collection in .net?

511


How ASP.NET page works?

758


What is difference between or and orelse?

633


What is xaml? Are xaml file compiled or built on runtime?

605


What is the difference between sealed vs static class?

662