Project details have been [login to view URL] few questions and simple c# coding. That s all.
Consider the following declaration:
decimal [] meanTempsArray = new decimal[25];
Answer the following questions:
1. What is the index of the first element of the array?
2. What is the index of the last element of the array?
3. How many elements are contained within the array?
4. What is the data type of each element?
5. Write a statement that will assign the value 7.5 to the array element at index 7.
Answer
5 points
Question 2
1.
Write a statement that will set the visibility of a control named messageLabel to the value of a CheckBox named displayCheckBox.
Answer
5 points
Question 3
1.
Suppose that the Project you're working on contains a Form object named SummaryForm, write the statements that would need to be added to SummaryForm to declare two private, class-level variables named totalCustomersInteger and totalOrdersDecimal, as type string and decimal, respectively. Also write the statements necessary to create a public property named totalCustomers, which will set the value of totalCustomesrInteger, and a public property names totalOrders, which will set the value of totalOrdersDecimal. You must use correct C# syntax to answer this question.
Answer
5 points
Question 4
1.
What is the difference between public, protected, and private?
Answer
5 points
Question 5