Results 1 to 2 of 2

Thread: What is the difference between delegates and interfaces

  1. #1
    MyersGray is offline Senior Member
    Join Date
    Dec 2009
    Posts
    197
    Rep Power
    3

    Default What is the difference between delegates and interfaces

    I am studying programming languages: C + +, C Sharp, Java, PHP and databases. . Everyday I practice programs and just love to learn new things in a new programming language. These days I am working on C sharp, and I came across a question what is the difference between delegates and interfaces? Please help me.

  2. #2
    SullivanWalker is offline Senior Member
    Join Date
    Dec 2009
    Posts
    189
    Rep Power
    3

    Default

    There is a huge difference between these two interfaces and delegates in C Sharp. Until I know what interfaces allow us to expand some functional objects, and it is a contract between the interface and an object that implements it. Interface used to get / achieve multiple inheritances in C #. On the other hand, we have delegates who only safe callback or function pointers. They can also enable us to communicate that something had happened at the event.

Similar Threads

  1. Abstract course or Interfaces in C#
    By TaylorRyan in forum Software Jargons
    Replies: 1
    Last Post: 04-20-2010, 01:34 PM
  2. Consequence of c# Interfaces
    By PerezMorris in forum Programming
    Replies: 1
    Last Post: 02-09-2010, 05:43 PM
  3. Interfaces of Open Office's
    By laressa in forum Everything Else
    Replies: 0
    Last Post: 03-18-2009, 09:59 AM
  4. External Interfaces
    By ostin55 in forum Programming
    Replies: 0
    Last Post: 07-30-2008, 06:53 PM
  5. Interfaces
    By youckin in forum Wireless Networking
    Replies: 0
    Last Post: 06-20-2008, 09:18 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
SEO by SubmitEdge

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48