Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 630 results for
delegates
- Page 1
Re: delegates
Programming
Software Development
18 Years Ago
by beuls
Delegates
are nothing but function pointers. You can read the book …++; } Console.WriteLine("{0}",dec); return dec; } //Declaration of
delegates
for both functions public delegate string deldectobin(int k); public…
Re: delegates...why ?
Programming
Software Development
12 Years Ago
by Tellalca
Delegates
are not very powerful indeed. As you said, it is … method, well you cannot call them in your method! So
delegates
enable you to define the master method and let others…
Re: Why Must I use Static to call a class from a form
Programming
Software Development
13 Years Ago
by Ketsuekiame
Delegates
are used mainly for callbacks and event listeners. They're …
Re: Delegate
Programming
Software Development
16 Years Ago
by vp_aries14
…fx+fy+fz; In this example we create three
delegates
of FigureDelegate type and attach to these elements our three…type (MulticastDelegate) and attach three of our already created
delegates
. As all our methods are of void return type … triggered by the program. To understand the usage of
delegates
for event model, the previous examples are used here.…
Re: What is the relationship between Thread and Delegate when using component in Thread?
Programming
Software Development
12 Years Ago
by Mitja Bonca
Delegates
are used to add methods to events dynamically. Threads run … or more tasks at once that share resources. Another explanation:
Delegates
: Basically, a delegate is a method to reference a method…
Re: gatepass system
Programming
Software Development
14 Years Ago
by kvprajapati
Delegates
the events and code to update your database.
Re: delegates...why ?
Programming
Software Development
12 Years Ago
by kudvenkat
… new with c#. And i'm learning now about
delegates
. I understand what they are (i think...) and…is appreciated... tnx in adv. guys (-![/QUOTE] [B]
Delegates
are used extensively by Framework developers. At the following URL… you can find a practical use of
delegates
.[/B] [URL="http://venkatcsharpinterview.blogspot.com/2011…
Re: delegates...why ?
Programming
Software Development
12 Years Ago
by skatamatic
[QUOTE=Tellalca;1726268]
Delegates
are not very powerful indeed. As you said, it is … method, well you cannot call them in your method! So
delegates
enable you to define the master method and let others… appropriate.[/QUOTE] I think you are talking about events, exclusively.
Delegates
only define a single method. This could also be accomplished…
Re: delegates
Programming
Software Development
18 Years Ago
by kedar_challa
…QUOTE=Pscsc]Hello Im new to c# , I found
delegates
very difficult to understood can any one recommend a good…can make it simple to me ,, thank you[/QUOTE] Hi,
Delegates
are the objects that stores reference to methods. This is… similar to "Function Pointers" in vc++, but
delegates
are type safe. It is not much difficult to understand…
Re: delegates...why ?
Programming
Software Development
12 Years Ago
by Momerath
When you are building something that others will use (like the Forms class in the .NET library), you don't know what methods that will be called when things like events happen. So you use
delegates
.
Delegates
help your code be more reusable.
Re: delegates...why ?
Programming
Software Development
12 Years Ago
by Momerath
… where the event handlers are added to an array of
delegates
that the control (in this case a Button) maintains. When… those events happen, it goes through the array of
delegates
and calls each one. They (the people at Microsoft who…
Re: delegates...why ?
Programming
Software Development
12 Years Ago
by charlybones
This is indeed one of the best explanations about
Delegates
that I have seen on-line. Thanks to everyone who'… I see it (and I could be wrong) is that
Delegates
can be very useful, but depending on the application that…
delegates
Programming
Software Development
18 Years Ago
by Pscsc
Hello Im new to c# , I found
delegates
very difficult to understood can any one recommend a good sites , examples , books or any thing that can make it simple to me ,, thank you
delegates...why ?
Programming
Software Development
12 Years Ago
by u.j.chandler
… pretty new with c#. And i'm learning now about
delegates
. I understand what they are (i think...) and how to…
delegates and references to objects
Programming
Software Development
15 Years Ago
by BobLewiston
…the literature acknowledges that there are significant differences between
delegates
and the use of pointers to objects, I'… my current understanding, for comparison to the way
delegates
work: Steps to create and prepare to use …code] This seems very similar to how I understand
delegates
to work, which I've summarized below. Steps to…
Re: delegates and references to objects
Programming
Software Development
15 Years Ago
by Rashakil Fol
Your view of
delegates
and the mechanics of using them is very accurate. [QUOTE=… type: specify the signature (including return type) of methods that
delegates
of this type can point to. This is called "… you're talking about C# 1.1
delegates
, because there are new ways to create
delegates
in C# 2.0 and C…
Re: delegates and references to objects
Programming
Software Development
15 Years Ago
by BobLewiston
… you're talking about C# 1.1
delegates
, because there are new ways to create
delegates
in C# 2.0 and C…
Re: delegates and references to objects
Programming
Software Development
15 Years Ago
by Rashakil Fol
… reality it's a function pointer. We're ignoring anonymous
delegates
, though, for which there is no method name and more…
Re: Delegates and Functions
Programming
Software Development
14 Years Ago
by sknake
… give a simple example)? >> Never really.
Delegates
are provided for convenience of calling. For example the Button… button's click event. This also means that
delegates
make your assemblies extendible to other assemblies with having… code. >> what is the difference between
delegates
and calling a function? As Serkan pointed out the …
Re: Delegates and Functions
Programming
Software Development
14 Years Ago
by RehabReda
… methods for every math function you want to integrate. With
delegates
you only have to write one such method. In this… would be different, but you would still do it with
delegates
. Hope this makes it clear.:)[/QUOTE] THANKS ddanbe a lot…if u have found something on books which is describing
delegates
in a simple way please notify me with the name…
Delegates and Functions
Programming
Software Development
14 Years Ago
by RehabReda
… give a simple example)? 2-what is the difference between
delegates
and calling a function? 3-and i know that…
delegates
can refer to multiple methods so when i invoke it …
Re: Delegates and Functions
Programming
Software Development
14 Years Ago
by serkan sendur
… as a parameter[/COLOR] 2-what is the difference between
delegates
and calling a function? [COLOR="red"]delegate is…) into a single entity.[/COLOR]3-and i know that
delegates
can refer to multiple methods so when i invoke it…
Re: Delegates and Functions
Programming
Software Development
14 Years Ago
by RehabReda
… as a parameter[/COLOR] 2-what is the difference between
delegates
and calling a function? [COLOR="red"]delegate is…) into a single entity.[/COLOR]3-and i know that
delegates
can refer to multiple methods so when i invoke it…
Re: Delegates and Functions
Programming
Software Development
14 Years Ago
by RehabReda
… delegate (please give a simple example)? >> Never really.
Delegates
are provided for convenience of calling. For example the Button…'s the button's click event. This also means that
delegates
make your assemblies extendible to other assemblies with having no…
Re: Delegates and Functions
Programming
Software Development
14 Years Ago
by ddanbe
… methods for every math function you want to integrate. With
delegates
you only have to write one such method. In this… would be different, but you would still do it with
delegates
. Hope this makes it clear.:)
Re: Delegates and Functions
Programming
Software Development
14 Years Ago
by RehabReda
… super way to do it, but it works in explaining
delegates
(I hope) // The higher the "parts" the better…
Re: Delegates and Functions
Programming
Software Development
14 Years Ago
by ddanbe
… would even say it is essential and necessary to use
delegates
in this case! You integrate a [B]function F[/B…
Re: Delegates and Functions
Programming
Software Development
14 Years Ago
by RehabReda
… would even say it is essential and necessary to use
delegates
in this case! You integrate a [B]function F[/B…
Re: Delegates and Functions
Programming
Software Development
14 Years Ago
by serkan sendur
the best way to understand
delegates
is to have some knowledge about C. search for C function pointers, and you will have a good understanding of this delegate concept. It takes a while till you see it in action. Interfaces are also like that, you understand why they are useful when you see them in use.
Re: Delegates and Functions
Programming
Software Development
14 Years Ago
by RehabReda
[QUOTE=serkan sendur;963404]the best way to understand
delegates
is to have some knowledge about C. search for C …
1
2
3
11
Next
Last
Search
Search
Forum Categories
Hardware/Software
Programming
Digital Media
Community Center
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Meet People
Forums
Top Members
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2024 DaniWeb® LLC