Home / Programming MCQs / C# MCQs / Question
M
Q. The ref type parameters are____________.
No solution found for this question. Add Solution and get +2 points.
You must be Logged in to update hint/solution
Login to discuss.
Which of the following is the correct way to create an object of the class Sample? 1. Sample s = new Sample(); 2. Sample s; 3. Sample s; s = new Sample(); 4. s = new Sample();
A class implements two interfaces each containing three methods. The class contains no instance data. Which of the following correctly indicate the size of the object created from this class?
Which of the following statements are correct about the Stack collection? 1. It can be used for evaluation of expressions. 2. All elements in the Stack collection can be accessed using an enumerator. 3. It is used to maintain a FIFO list. 4. All elements stored in a Stack collection must be of similar type. 5. Top-most element of the Stack collection can be accessed using the Peek() method.
Which of the following statements is correct about constructors in C#.NET?
A variable which is declared inside a method is called a________variable
A connection string contains
Which of the following constitutes the .NET Framework? 1. ASP.NET Applications 2. CLR 3. Framework Class Library 4. WinForm Applications 5. Windows Services
Which of the Control objects is viewed as a container that can hold other objects when you design a Windows application?
What will be the output of the following C# code?
Syntax for declaration and initialization of data variable is?
Discusssion
Login to discuss.