I'm newbie in C#. I know C and C++ language. Currently I have a C# related project. So, I just want to know basic concept about C#.
In C#, If I give negative array index, then What happens? Is it Undefined behaviour?
Like :
int [] arr = {1,2,3};
Console.WriteLine("{0}", arr[-1]);