Question:Which of the following is a valid way to declare an array in C#? 

A int[] arr = new int[5]; 

B int arr = {5}; 

C int arr = new int[5]; 

D int[] arr = [5]; 

+ Answer
+ Report
Total Preview: 16

Copyright © 2024. Powered by Intellect Software Ltd