using System.Collections;
int[] arr0 = new int[]{};
int[] arr1 = new int[3] { 1, 2, 3 };
int[] arr2 = {1, 2, 3};
string[] strArr = {"hello", "world"};
object[] objArr = strArr;
int [][] multiDArr = {new []{0,1,2}, new []{2,3,4,5,6}};
int[,] multiDArr1 = { { 0, 1, 2 }, { 3, 4, 5 } };
Console.WriteLine(multiDArr1[0, 1]);
var a = new List<int>();
a.Add(1);
a.Add(2);
foreach (var i in a)
{
Console.WriteLine(i);
}
var b = new List<int>
{
1, 2, 3
};
var someSet = new HashSet<int>
{
1, 2, 3
};
var someMap = new Dictionary<int, string>
{
{1, "hello"},
{2, "world"}
};