MCQs > IT & Programming > DotNet Using C# > Given the code below, which item will cause a compilation error? static void F1(params int [] y) { } static void Sample() { int [] j = new Int32[3]; List k = new List(); // ANSWER GOES HERE }

DotNet Using C# MCQs

Given the code below, which of the following items will cause a compilation error?

static void F1(params int [] y)

{

}

static void Sample()

{

int [] j = new Int32[3];

List k = new List();

// ANSWER GOES HERE

}

Answer

Correct Answer: F1(k)

Explanation:

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

DotNet Using C# Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

DotNet Using C# Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it