Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Delegates

Delegates

Scheduled Pinned Locked Moved C#
tutorialquestion
5 Posts 5 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • W Offline
    W Offline
    waheed awan
    wrote on last edited by
    #1

    i didnt understand the advantage of using delegates i want to know some practical aspect why to use delegates? why we assign a function to a delegate instead of directly calling that function. Plz provide me saome practical example of delegates so that i can take advantage of delegates

    L P K 3 Replies Last reply
    0
    • W waheed awan

      i didnt understand the advantage of using delegates i want to know some practical aspect why to use delegates? why we assign a function to a delegate instead of directly calling that function. Plz provide me saome practical example of delegates so that i can take advantage of delegates

      L Offline
      L Offline
      led mike
      wrote on last edited by
      #2

      waheed awan wrote:

      Plz provide me saome practical example of delegates so that i can take advantage of delegates

      No. They already exist, here in CodeProject Articles and on MSDN. Go find them yourself.

      1 Reply Last reply
      0
      • W waheed awan

        i didnt understand the advantage of using delegates i want to know some practical aspect why to use delegates? why we assign a function to a delegate instead of directly calling that function. Plz provide me saome practical example of delegates so that i can take advantage of delegates

        P Offline
        P Offline
        Pete OHanlon
        wrote on last edited by
        #3

        waheed awan wrote:

        i didnt understand the advantage of using delegates i want to know some practical aspect why to use delegates?

        Well, if you have to attend a conference and don't want to take time away from the bar to go to talks, you could hire somebody to go for you - they would be your delegates.

        Deja View - the feeling that you've seen this post before.

        S 1 Reply Last reply
        0
        • P Pete OHanlon

          waheed awan wrote:

          i didnt understand the advantage of using delegates i want to know some practical aspect why to use delegates?

          Well, if you have to attend a conference and don't want to take time away from the bar to go to talks, you could hire somebody to go for you - they would be your delegates.

          Deja View - the feeling that you've seen this post before.

          S Offline
          S Offline
          sabrown100
          wrote on last edited by
          #4

          But what's the point in coding?

          1 Reply Last reply
          0
          • W waheed awan

            i didnt understand the advantage of using delegates i want to know some practical aspect why to use delegates? why we assign a function to a delegate instead of directly calling that function. Plz provide me saome practical example of delegates so that i can take advantage of delegates

            K Offline
            K Offline
            KennyPatel
            wrote on last edited by
            #5

            Hi. I hope you Will find your answer in this link. http://www.exforsys.com/tutorials/csharp/delegates-in-csharp.html[^] Thanks -- modified at 4:42 Saturday 3rd November, 2007

            Thanks

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups