Examlex
Consider the class below:
Class Test
{
Static void Main()
{
Int[] a = {99,22,11,3,11,55,44,88,2,-3};
Int result = 0;
For (int i = 0;i < a.Length;++i)
{
If (a[i] > 30)
{
Result += a[i];
}
}
Console.WriteLine($"Result is: {result}") ;
}
}
The output of this C# program will be:
Q8: GroupBoxes can display captions and do not
Q11: Visual C# programs are created using Microsoft's
Q14: The SelectedIndexChanged occurs when the user selects
Q20: The Next method produces a random number
Q23: Programmers should not take into consideration that
Q24: Which of the following statements is false<br>A)
Q40: An uncaught exception:<br>A) is a possible exception
Q44: Which of the following statements about arrays
Q53: The SelectedIndex property returns the index of
Q86: What kind of language is pseudocode<br>A) a