![]() Related Questions C# requires only a single parameter for delegates: the method address. Unlike other languages, where the programmer must specify an object reference and the method to invoke, C# can infer both pieces of Latest Answer : This article is good.IntroductionIn this article I am going to share my knowledge on Delegates in C#.This would explain the Delegate using simple examples so that the beginner can understand the same.What is Delegate?Definition:Delegate is type which ... .NET FRAMEWORK1. What is .NET Framework?The .NET Framework has two main components: the common language runtime and the .NET Framework class library.You can think of the runtime as an agent that manages Latest Answer : The .NET framework is a platform over which multiple languages are running.The 2 main components are
1. FRAMEWORK CLASS LIBRARY2. COMMON LANGUAGE RUNTIMEIt's features like CTS provide Cross Language Interoprabality.The CLR is the main Governing body ... Read Answers (1) | Asked by : Prasanna Muthukrishnan Skill/Topic: AdvancedA) Specialized DLLsB) PointersC) Delegates Latest Answer : C) Delegates ... A) EnumerationsB) DelegatesC) ArraysExplanation: Enumerations are of Value Type Latest Answer : ans: A) Enumerations ... A) TrueB) FalseExplanation: It is possible and such delegates are called as Multicast delegates Latest Answer : FalseIn some cases you may want to call not just one, but two or more methods through a single delegate. This is known as multicasting. You accomplish multicasting by encapsulating the various methods in delegates, and then you combine the delegates using ... A) TrueB) False Latest Answer : #2 is right and gave acurate definition of event and event handler but since we declare a event using delegate so we usually say a event is a delegate but from the declaration we can see what is a delegate is the eventhandler. ... A) Using InterfaceB) Using Abstract classC) Using DelegatesD) Using Events Latest Answer : (a) by the help of interface ... Latest Answer : multiple delegates and multicast delegates both are diffrent terms with diffrent aspects.delegate having one property that it could have multiple delegates in it.it means single delegates contain multiple delegates definition whilein other case multicast ... The following code illustrates a situation where a boss wants to keep track of the work progress of its subordinates: using System;namespace BigCompany { public class Boss { public void WorkerPercentageDone(int Latest Answer : public class Boss { public void WorkerPercentageDone(int percentage) { ... What is a delegate in C# and when are they commonly used in Windows Forms programming? Latest Answer : Delegeates are reference to methods Delegates are most commonly used in event handling. ...
Sponsored Links
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||