Interview answers verified by specialists.

Find interview questions and answers on this website:


See right interview answers on 30 common job interview questions

Trace the output for the following program.

using System;

namespace CareerRideTest
{

private class Demo
{
public void show()
{
Console.WriteLine("Access Modifiers");
}
}

class MainClass
{

static void Main(string[] args)
{
Demo obj = new Demo();
obj.show();
Console.ReadKey();
}
}
}

Elements defined in a namespace cannot be explicitly declared as private, protected, or protected internal. In a namespace class can be declared as public or internal. By default class access specifier is internal.

Do you know that?

biggest challenge for 41.8% freelancers is to find clients Next

Articles:

Fast Payments
Payoneer sing up to get free 
$25