C# Programming - Constructors
Exercise : Constructors - General Questions
- Constructors - General Questions
11.
Is it possible to invoke Garbage Collector explicitly?
12.
Which of the following statements are correct about the C#.NET code snippet given below?
class Sample
{
static int i;
int j;
public void proc1()
{
i = 11;
j = 22;
}
public static void proc2()
{
i = 1;
j = 2;
}
static Sample()
{
i = 0;
j = 0;
}
}13.
Which of the following statements is correct?
14.
Is it possible for you to prevent an object from being created by using zero argument constructor?
15.
Which of the following statements are correct about static functions?
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers