adplus-dvertising
frame-decoration

Question

Which among the following is the correct statement about delegate declaration ?

delegate void del(int i);

a.

on declaring the delegate, a class called del is created

b.

the del class is derived from the MulticastDelegate class

c.

the del class will contain a one argument constructor and an invoke() method

d.

all of the mentioned

Posted under C# programming

Answer: (d).all of the mentioned

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Which among the following is the correct statement about delegate declaration ? delegate void del(int i);

Similar Questions

Discover Related MCQs

Q. Which of the following is an incorrect statement about delegate?

Q. Which among the following differentiates a delegate in C#.NET from a conventional function pointer in other languages?

Q. Choose the incorrect statement about delegates?

Q. Which of the following statements is correct about a delegate?

Q. Choose the statements which makes delegate in C#.NET different from a normal class?

Q. Which of the following are the correct statements about delegates?

Q. Incorrect statements about delegates are?

Q. Select the modifiers which control the accessibility of the delegate:

Q. What is meant by the term generics?

Q. Are generics in C# are same as the generics in java and templates in C++?

Q. Choose the advantages of using generics?

Q. What does the following code block defines?

class Gen<T>
{
T ob;
}

Q. What does the following code set defines?

public Gen(T o)
{
ob = o;
}

Q. Select the type argument of an open constructed type?

Q. Which among the given classes is present in System.Collection.Generic.namespace?

Q. Which of these is a correct way of defining generic method?

Q. Which of these type parameters is used for generic methods to return and accept any type of object?

Q. Which of given statements are valid about generics in .NET Framework?

Q. Which of the following is a valid statement about generic procedures in C#.NET are?

Q. Which among the given classes represents System.Collections.Generic namespace?