What will be the output of the C#.NET code snippet given below? namespace CuriousTabConsoleApplication { class Sample { static Sample() { Console.Write("Sample class "); } public static void CuriousTab1() { Console.Write("CuriousTab1 method "); } } class MyProgram { static void Main(string[ ] args) { Sample.CuriousTab1(); } } }
Discussion & Comments