Sofu Documentation
List Constructor
NamespacesSofu.SofuListList()()()
Members
IconMemberDescription
List()()()
Creates an empty List.

List(IEnumerable<(Of <(SofuObject>)>))
Creates a new List and copies its contents from a something Enumerable
Examples
CopyC#
LinkedList<SofuObject> mylink = new LinkedList<SofuObject>();
mylink.AddFirst(new Sofu.Sofu.Value("1"));
mylink.AddFirst(new Sofu.Sofu.Value("2"));
mylink.AddFirst(new Sofu.Sofu.Value("3"));
mylink.AddFirst(new Sofu.Sofu.Value("4"));
mylink.AddFirst(new Sofu.Sofu.Value("5"));
Sofu.Sofu.List mylist = new Sofu.Sofu.List(mylink);
mylist.Write("reverse.sofu");

List(List)
Creates a new List, copies its elements from another Sofu.List;

Assembly: Sofu (Module: Sofu) Version: 0.2.1.0 (0.2.1.0)