The syntax ____ assigns either the value entered in thetxtSalescontrol (converted to Decimal) or the number 0 to the third element in thedecSalesarray.

A. Decimal.TryParse(txtSales.Text, decSales(3))
B. Decimal.TryParse(txtSales.Text, decSales(0))
C. Decimal.TryParse(txtSales.Text, decSales(2))
D. TryParse(txtSales.Text, decSales(1))


Answer: C

Computer Science & Information Technology

You might also like to view...

Which data validation property specifies a value that is automatically entered into a field?

A) Default value B) Validation rule C) Input mask D) Required

Computer Science & Information Technology

When an array is declared, the numeric value specified in parentheses is the ____.

A. highest numbered index of the array B. upperbound index C. subscript D. depreciation value

Computer Science & Information Technology

When using the Preserve keyword to redimension an array to a smaller size, a separate array of elements will be made to store the values that were truncated from the end of the array.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

The radio frequency spectrum is divided into over 450 different sections or ____.

A. bands B. amplitudes C. wavelengths D. heights

Computer Science & Information Technology