English 中文(简体)
C#[复制]中代表的确切内容
原标题:what exactly is delegate in C# [duplicate]
  • 时间:2010-06-02 18:00:22
  •  标签:
  • c#
  • delegates
This question already has answers here:
Closed 13 years ago.

Possible Duplicate:
Can someone distill into proper English what a delegate is?

Hi All, can somebody explain the use of delegate..I know that it is used to invoke methods at run time...but exactly what does it mean..can somebody explain it with some simple example, which will help a newcomer to understand delegate better

问题回答

Chris 论文撰写了我所阅读的关于代表和事件的最佳文章。 引文如下:。 http://www.sellsbrothers.com/even/delegates.htm

就像你已经走过来(部分是任何路)。 代表是指一种方法并可加以执行。 这往往指另一物体上的一种方法。

代表可在由活动驱动的方案拟订工作中使用very。 例如: 代表可用以在座标上点击您的表格时,就你系统中可能采取其他一系列行动的某些其他物体行使职能。 代表们还有助于改变管制方案。

这里有很好的解释。 可以考虑的是,代表实际上是一个反对。





相关问题
Anyone feel like passing it forward?

I m the only developer in my company, and am getting along well as an autodidact, but I know I m missing out on the education one gets from working with and having code reviewed by more senior devs. ...

NSArray s, Primitive types and Boxing Oh My!

I m pretty new to the Objective-C world and I have a long history with .net/C# so naturally I m inclined to use my C# wits. Now here s the question: I feel really inclined to create some type of ...

C# Marshal / Pinvoke CBitmap?

I cannot figure out how to marshal a C++ CBitmap to a C# Bitmap or Image class. My import looks like this: [DllImport(@"test.dll", CharSet = CharSet.Unicode)] public static extern IntPtr ...

How to Use Ghostscript DLL to convert PDF to PDF/A

How to user GhostScript DLL to convert PDF to PDF/A. I know I kind of have to call the exported function of gsdll32.dll whose name is gsapi_init_with_args, but how do i pass the right arguments? BTW, ...

Linqy no matchy

Maybe it s something I m doing wrong. I m just learning Linq because I m bored. And so far so good. I made a little program and it basically just outputs all matches (foreach) into a label control. ...

热门标签