Curioustab
Aptitude
General Knowledge
Verbal Reasoning
Computer Science
Interview
Take Free Test
Aptitude
General Knowledge
Verbal Reasoning
Computer Science
Interview
Take Free Test
Delegates Questions
C#.NET — About the delegate declaration below, which statements are correct? delegate void del(int i); Consider: 1) Declaring the delegate creates a class named del. 2) The signature of del need not match the method's signature. 3) The generated del class derives from MulticastDelegate. 4) The method invoked by del must not be static. 5) The del class contains a one-argument constructor and an Invoke() method.
C#.NET — Delegates: In which of the following areas are delegates most commonly used? Remoting Serialization File Input/Output Multithreading Event handling
C#.NET — Delegates: Identify the incorrect statement.
C#.NET — Which of the following is a necessary condition for implementing delegates?
C#.NET — Correct delegate call: Identify the correct way to invoke MyFun() in class Sample. class Sample { public void MyFun(int i, float j) { Console.WriteLine("Welcome to CuriousTab !"); } }
C#.NET delegates — Which of the following statements are correct?
Generics in C#.NET — For a generic class SortObjects that must compare any type (int, float, byte, etc.), which construct should be used to implement the comparison function cleanly and type-safely?
C#.NET delegates — Which statement is incorrect about a delegate?