Blog

Output of following code:

public class Employee {
public string EName;
internal int ERegNumber;
public void print(string EName, int ERegNumber) {
Console.WriteLine(“EName:{0}, ERegNumber:{1}”,EName, ERegNumber);
}
}

class Program {
static void Main(string[] args) {
Employee s = new Employee();

#if (!DEBUG && !Program)
s.print(“Beast”, 7570);

#elif (!DEBUG && Program)
s.print(“Fairy”, 7989);

#elif (DEBUG)
s.print(“Zod”, 8014);

#else
Console.WriteLine(“!……”);

#endif
}
}