List
Lists are created as instances of List
.
Creating list
List is created by giving it itemType it will contain.
[Fact]
public void Define_list()
{
/* Given */
var itemType = ScalarType.Int;
/* When */
var list = new List(itemType);
/* Then */
Assert.Equal(itemType, list.OfType);
}