What’s a multicast delegate?

1 Answer

Answer :

A delegate that has multiple handlers assigned to it. Each assigned handler (method) is called. 

Related questions

Description : What’s a multicast delegate?

Last Answer : A delegate that has multiple handlers assigned to it. Each assigned handler (method) is called. 

Description : Define what is a multicast delegate?

Last Answer : Each delegate object holds a reference to a single method. However, it is possible for a delegate object to hold references and invoke multiple methods. Such delegate objects are called multicast delegates or combinable delegates.

Description : What’s a delegate? 

Last Answer : A delegate object encapsulates a reference to a method. 

Description : What’s a delegate? 

Last Answer : A delegate object encapsulates a reference to a method. 

Description : Explain what a delegate is and how one works. 

Last Answer : A delegate acts like a strongly typed function pointer. Delegates can invoke the methods that they reference without making explicit calls to those methods.

Description : What is a delegate useful for?

Last Answer : The main reason we use delegates is for use in event driven programming. 

Description : Write some code to use a delegate. 

Last Answer : Member function with a parameter using System; namespace Console1 { class Class1 { delegate void myDelegate(int parameter1); static void Main(string[] args) { MyClass myInstance = new ... void AMethod(int param1) { Console.WriteLine(param1); } } }

Description : What is a delegate? 

Last Answer : A delegate in C# is like a function pointer in C or C++. A delegate is a variable that calls a method indirectly, without knowing its name. Delegates can point to static or/and member functions. It is also possible to use a multicast delegate to point to multiple functions.

Description : What does to delegate mean ?

Last Answer : answer:As a verb, to delegate means to assign a job or task or job function to a subordinate. As a noun, a delegate is someone who represents a group of people to a governing body.

Description : When did people first start to delegate authority?

Last Answer : It started as soon as there were two people. There have always been leaders and followers (and people who get in the way).

Description : What person was NOT a delegate to the constitutional convention?

Last Answer : This is an unusual question - there were a great many people whowere NOT delegates. A better question would be "Who were thedelegates?"

Description : What are the basic reasons why supervisors fail to delegate as much as they should?

Last Answer : Need answer

Description : What delegate from Virginia had a plan for a strong central government?

Last Answer : Need answer

Description : Which statement best describes a responsibility of the project manager: a. to be the sole source of expertise for estimating techniques on cost and time. b. to deliver the project objectives to ... benefits. d. to delegate all accountability for managing time, cost and quality to team leaders.

Last Answer : b. to deliver the project objectives to enable benefits to be realised.

Description : Which statement best describes a responsibility of the project manager: a. to be the sole source of expertise for estimating techniques on cost and time.  b. to deliver the project objectives to ... benefits.  d. to delegate all accountability for managing time, cost and quality to team leaders.

Last Answer : b. to deliver the project objectives to enable benefits to be realised.

Description : From the following action , which action is not re delegate to subordinate authorities ? a . action related with creation of Post. b. appointing a government servant c. issue order related with changes of allowance

Last Answer : . action related with creation of Post.

Description : How do you decide what to delegate and to whom?

Last Answer : Identify the strengths of your team members and their From there, invest the tasks upon each member based on where you think you'll get the best return.

Description : When top -level managers delegate very little authority to lower -level employees, the organisation is : A)centralised B)decentralised C)empowered D)marketing -oriented

Last Answer : D)marketing -oriented

Description : Whats an assembly ?

Last Answer : Answer: Assemblies are the building blocks of .NET Framework applications; they form the fundamental unit of deployment, version control, reuse, activation scoping, and security permissions. An assembly is ... implementations. To the runtime, a type does not exist outside the context of an assembly.

Description : What’s a strong name ?

Last Answer : Answer: A strong name includes the name of the assembly, version number, culture identity, and a public key token.

Description : What’s the difference between private and shared assembly? 

Last Answer : Answer: Privateassembly is used inside an application only and does not have to be identified by a strong name. Shared assembly can be used by multiple applications and has to have a strong name.

Description : What’s the advantage of using System.Text.StringBuilder over System.String? 

Last Answer : StringBuilder is more efficient in the cases, where a lot of manipulation is done to the text. Strings are immutable, so each time it’s being operated on, a new instance is created.

Description : What’s the difference between the Debug class and Trace class? 

Last Answer : Documentation looks the same. Use Debug class for debug builds, use Trace class for both debug and release builds.

Description : What’s the difference between // comments, /* */ comments and /// comments?

Last Answer : Single-line comments, multi-line comments, and XML documentation comments.

Description : What’s the implicit name of the parameter that gets passed into the set method/property of a class?

Last Answer : Value. The data type of the value parameter is defined by whatever data type the property is declared as.

Description : What’s the difference between an interface and abstract class?

Last Answer : Answer: An abstract class and Interface both have method only but not have body of method.The difference between Abstract class and An Interface is that if u call Ablstract class then u have to call ... type, Parameter type, Parameter Number all must be same . Only body of method can change. 

Description : What’s an abstract class?

Last Answer : Answer:Classes that cannot be instantiated. We cannot create an object from such a class for use in our program. We can use an abstract class as a base class, creating new classes that will inherit from ... can inherit from a non-abstract class. In C++, this concept is known as pure virtual method.

Description : What’s the C# syntax to catch any possible exception?

Last Answer : A catch block that catches the exception of type System.Exception. You can also omit the parameter data type in this case and just write catch {}.

Description : What’s the .NET collection class that allows an element to be accessed using a unique key? 

Last Answer : HashTable. 

Description : What’s the difference between the System.Array.CopyTo() and System.Array.Clone()?

Last Answer : The first one performs a deep copy of the array, the second one is shallow. 

Description : What’s the advantage of using System.Text.StringBuilder over System.String?

Last Answer : StringBuilder is more efficient in cases where there is a large amount of string manipulation. Strings are immutable, so each time a string is changed, a new instance in memory is created.

Description : What’s the difference between System.String and System.Text.StringBuilder classes?

Last Answer : System.String is immutable. System.StringBuilder was designed with the purpose of having a mutable string where a variety of operations can be performed.

Description : What’s the top .NET class that everything is derived from?

Last Answer : System.Object.

Description : What’s the difference between camel and pascal casing?

Last Answer : PascalCasing, camelCasing 

Description : What’s the difference between the Debug class and Trace class? 

Last Answer : Documentation looks the same. Use Debug class for debug builds, use Trace class for both debug and release builds.

Description : What’s the difference between // comments, /* */ comments and /// comments?

Last Answer : Single-line comments, multi-line comments, and XML documentation comments.

Description : What’s the implicit name of the parameter that gets passed into the set method/property of a class?

Last Answer : Value. The data type of the value parameter is defined by whatever data type the property is declared as.

Description : What’s an abstract class?

Last Answer : A class that cannot be instantiated. An abstract class is a class that must be inherited and have the methods overridden. An abstract class is essentially a blueprint for a class without any implementation.

Description : What’s the C# syntax to catch any possible exception?

Last Answer : A catch block that catches the exception of type System.Exception. You can also omit the parameter data type in this case and just write catch {}.

Description : What’s the .NET collection class that allows an element to be accessed using a unique key?

Last Answer : HashTable.

Description : What’s the difference between the System.Array.CopyTo() and System.Array.Clone()?

Last Answer : The Clone() method returns a new array (a shallow copy) object containing all the elements in the original array. The CopyTo() method copies the elements into another existing array. Both perform a ... create a new instance of each element's object, resulting in a different, yet identacle object.

Description : What’s the advantage of using System.Text.StringBuilder over System.String?

Last Answer : StringBuilder is more efficient in cases where there is a large amount of string manipulation. Strings are immutable, so each time a string is changed, a new instance in memory is created. 

Description : What’s the difference between System.String and System.Text.StringBuilder classes?

Last Answer : System.String is immutable. System.StringBuilder was designed with the purpose of having a mutable string where a variety of operations can be performed.

Description : What’s the top .NET class that everything is derived from? 

Last Answer : System.Object.

Description : What’s the difference between System.String and System.StringBuilder classes?

Last Answer : System.String is immutable, System.StringBuilder was designed with the purpose of having a mutable string where a variety of operations can be performed.

Description : What’s an interface class? 

Last Answer : It’s an abstract class with public abstract methods all of which must be implemented in the inherited classes.

Description : What’s an abstract class? 

Last Answer : A class that cannot be instantiated. A concept in C++ known as pure virtual method. A class that must be inherited and have the methods over-ridden. Essentially, it’s a blueprint for a class without any implementation.

Description : What’s the top .NET class that everything is derived from?

Last Answer : System.Object.

Description : What’s the implicit name of the parameter that gets passed into the class’ set method?

Last Answer : Value, and it’s datatype depends on whatever variable we’re changing. 

Description : What si the difference between interface and abstractclass Select Answer:  1. interface contain only methods  2. we can't declare a variable for interface  3. interface contain only events  4. None  5. All

Last Answer : Ans : 2 The only Difference between Interface and Abstract class is we can declare a variable in abstract class but we can't declare in variable interface