代表 [英] Delegates

查看:72
本文介绍了代表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在试图了解

c#中的代表时遇到了问题,有没有人知道我可以找到一个好的

和简单解释的链接?


感谢

解决方案

kode,


查看该部分。名为

" Delegates Tutorial"的.NET框架文档,位于(注意换行):

http://msdn.microsoft.com/library/de ... estutorial.asp


希望这会有所帮助。

-

- Nicholas Paldino [.NET / C#MVP ]

- mv*@spam.guard.caspershouse.com

" kode" <一个******* @ discussions.microsoft.com>在留言中写道

news:00 **************************** @ phx.gbl ... < blockquote class =post_quotes>我在尝试理解c#中的代表时遇到了问题,是否有人知道我可以找到一个好的
和简单解释的链接?

谢谢



在Jesse Liberty的C#

书中也有一个非常好的章节,恰好是免费在线提供
http://www.oreilly .com / catalog / progc ... hapter / ch12.pd

f


干杯!


顺便说一下,他为什么事件有他们的b / b
做的访问者的讨论是愚蠢的,但这是另一个故事..

- ----原始消息-----
kode,

查看位于(wa)的.NET框架
文档标题为Delegates Tutorial的部分。 tch for line wrap):

http://msdn.microsoft.com/library/default.asp?
url = / library / en-us / csref / html / vcwlkdelegatestutorial.asp
希望这会有所帮助。

-
- Nicholas Paldino [.NET / C#MVP]
- mv*@spam.guard.caspershouse.com

kode <一个******* @ discussions.microsoft.com>写在
messagenews:00 **************************** @ phx.gbl ...

我在尝试理解c#中的代表
时遇到了问题,是否有人知道某些链接,我可以找到一个好的
和简单的解释?

感谢





b hacker< al **** @ digitalword.net>写道:

顺便说一下他为什么事件有他们做的访问者的讨论是愚蠢的,但这是另一个故事..




什么是愚蠢的关于它?对我来说很有意义。


-

Jon Skeet - < sk *** @ pobox.com>
http://www.pobox.com/~skeet

如果回复小组,请不要给我发邮件


im having problems trying to understand the delegates in
c#, does anybody know some link where i can find a good
and simple explanation?

thanks

解决方案

kode,

Check out the section of the .NET framework documentation titled
"Delegates Tutorial", located at (watch for line wrap):

http://msdn.microsoft.com/library/de...estutorial.asp

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"kode" <an*******@discussions.microsoft.com> wrote in message
news:00****************************@phx.gbl...

im having problems trying to understand the delegates in
c#, does anybody know some link where i can find a good
and simple explanation?

thanks



there''s also a pretty good chapter in Jesse Liberty''s C#
book, which just happens to be available FREE ONLINE
http://www.oreilly.com/catalog/progc...hapter/ch12.pd
f

cheers!

btw his discussion of why events have the accessors they
do is dumb, but that''s another story..

-----Original Message-----
kode,

Check out the section of the .NET framework documentation titled"Delegates Tutorial", located at (watch for line wrap):

http://msdn.microsoft.com/library/default.asp? url=/library/en-us/csref/html/vcwlkdelegatestutorial.asp
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"kode" <an*******@discussions.microsoft.com> wrote in messagenews:00****************************@phx.gbl...

im having problems trying to understand the delegates in c#, does anybody know some link where i can find a good
and simple explanation?

thanks


.



would b hacker <al****@digitalword.net> wrote:

btw his discussion of why events have the accessors they
do is dumb, but that''s another story..



What''s "dumb" about it? Makes perfect sense to me.

--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too


这篇关于代表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆