Ní thacaítear leis an mbrabhsálaí seo a thuilleadh.
Uasghrádú go Microsoft Edge chun leas a bhaint as na gnéithe is déanaí, nuashonruithe slándála, agus tacaíocht theicniúil.
Which of the following can be used to access the third element in an array?
myArray[3].
myArray[3]
myArray[2].
myArray[2]
myArray{3}.
myArray{3}
Which of the following choices describes the correct way to create a new integer array with three elements?
int[] myArray = new int[3];.
int[] myArray = new int[3];
int[] myArray = new int[2];.
int[] myArray = new int[2];
int myArray = new int[3];.
int myArray = new int[3];
Which of the following foreach statements is syntactically correct?
foreach
foreach (int value in values).
foreach (int value in values)
foreach (int value of values).
foreach (int value of values)
foreach (int value with values).
foreach (int value with values)
You must answer all questions before checking your work.
An raibh an leathanach seo ina chabhair?
An bhfuil cabhair uait leis an ábhar seo?
Ar mhaith leat triail a bhaint as Ask Learn chun soiléiriú nó chun thú a threorú tríd an ábhar seo?