I have an array
int[] arr1 = new int[] { 1, 2, 3 };
Console.WriteLine("How to print the text arr1 ?? ");
I need the array name i.e. 'arr1' in console output/Writeline, seems simple but need help.
Edit :
Output should be
arr1
NOT
1 2 3
Good to know, this is achieved in PHP too.