What will be the output of the C#.NET code snippet given below?
namespace McqsMentorConsoleApplication
{
class Sample
{
static Sample()
{
Console.Write("Sample class ");
}
public static void Bits1()
{
Console.Write("Bits1 method ");
}
}
class MyProgram
{
static void Main(string[ ] args)
{
Sample.Bits1();
}
}
}
Answer: A . Sample class Bits1 method