My Report

C# Programming Practice Test 7


Correct Answer: 2 points | Wrong: -1 point
Grades: A* (100% score) | A (80%-99%) | B (60%-80%) | C (40%-60%) | D (0%-40%)
advertisement

1. Which of the given stream methods provide access to the output console by default in C#.NET?

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

3. Which of these is a method used to clear all the data present in output buffers?

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

5. Which of these methods are used to read single character from the console?

6. The number of input methods defined by the stream method Console.In in C#.NET is?

7. Select the namespace on which the stream classes are defined?

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

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

10. What does the following C# code block defines?

 class Gen<T> 
 {  
      T ob;    
 }

 

Manish Bhojasia - Founder & CTO at Sanfoundry
Manish Bhojasia, a technology veteran with 20+ years @ Cisco & Wipro, is Founder and CTO at Sanfoundry. He lives in Bangalore, and focuses on development of Linux Kernel, SAN Technologies, Advanced C, Data Structures & Alogrithms. Stay connected with him at LinkedIn.

Subscribe to his free Masterclasses at Youtube & discussions at Telegram SanfoundryClasses.