Home / MCQ Bank / Computer
Computer Control Flow Statements In C Sharp Difficulty: Medium

What will be the output of the following C# code? static void Main(string[] args) { int i = 10 , j = 0; label: i--; if ( i > 0) { Console.WriteLine(i+ " "); goto label; } Console.ReadLine(); }

Select the correct option to test your answer:

More Computer Questions

What is the primary benefit of using a B+ Tree over a B-Tree? What is the primary purpose of the "groupby" method in Pandas when working with categorical data? In analog computer The filesize() function returns the file size in ___________ In Access press LEFT ARROW or CTRL+LEFT ARROW