Single Choice
Easy
QIs there any error in below code?
class ContainerExample
{
public static void main(Args _args)
{
container containerName;
containerName[1] = 12;
containerName[2] = "hello";
}
}
ID: #21703
Array Introduction in X++ Language
90 views
Question Info
#21703Q ID
EasyDifficulty
Array Introduction in X++ LanguageTopic
Your Answer
Choose the Best Option
Click any option to instantly check if you're correct.
Correct Answer
Explanation
Compile time error: The array indexing syntax can only be applied to X++ array types. Use the SetValue and GetValue methods on managed array types.
Continue Practice
Share
Share This Question
Challenge a friend or share with your study group.
More from This Topic