MCQs > IT & Programming > C# > What is wrong with the code given below: class CCheck{ public static void Main()   {   int nLen = 5;   int[] arrNum = new int[nLen];   } }

C# MCQs

What is wrong with the code given below:

class CCheck
{
public static void Main()
   {
   int nLen = 5;
   int[] arrNum = new int[nLen];
   }
}


Answer

Correct Answer: Nothing is wrong with the code. It will compile without errors

Explanation:

Note: This Question is unanswered, help us to find answer for this one

C# Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

C# Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it