You are on page 1of 2

Csharp.NET Test Breakdown: 1. A variable which is declared inside a method is called a________variable Correct 2.

Feature of a local variable Correct 3. Two methods with the same name but with different parameters. Correct 4. Is there any errors in this -> EmployeeMgmt constructor: Public int EmployeeMgmt { emp_id = 100; } Correct 5. If a class is using an interface, it must Correct 6. What is the output of the code public class B : A { } Correct 7. Sealed Classes cannot be a base class. Correct 8. ___________________ allow to encapsulate discrete units of functionality and provide a graphical representation of that functionality to the user Correct 9. Features of Read only variables Correct 10. An Event has _____ as default return type Correct 11. int keyword targets to which .Net type? Correct 12. How many web.config files that can be there an ASP.NET application? Correct 13. Difference between Convert.ToString() and ToString() Correct 14. Boxing in .Net allows the user to convert Correct 15. The RangeValidator control supports the following data types

Correct 16. How to kill a user session explicitly? Correct 17. Convert vs. Parse methods Correct 18. Different ways a method can be overloaded in C#.NET Correct 19. Can you store multiple data types in System.Array? Correct 20. Which of the following is incorrect about System.Text.StringBuilder and System.String? Correct 21. What is accessibility modifier protected internal? Correct 22. What is the .NET collection class that allows an element to be accessed using a unique key? Correct 23. Can you inherit multiple interfaces? Correct 24. What does the keyword virtual mean in the method definition? Correct 25. _______________ represents a drawing surface and provides methods for rendering to that drawing surface. Correct

You might also like