MCQOPTIONS
Saved Bookmarks
| 1. |
What will be the output of the C#.NET code snippet given below? namespace IndiabixConsoleApplication { class Sample { static Sample() { Console.Write("Sample class "); } public static void Bix1() { Console.Write("Bix1 method "); } } class MyProgram { static void Main(string[ ] args) { Sample.Bix1(); } } } |
| A. | Sample class Bix1 method |
| B. | Bix1 method |
| C. | Sample class |
| D. | Bix1 method Sample class |
| Answer» B. Bix1 method | |