Logo

Programming-Idioms

History of Idiom 171 > diff from v18 to v19

Edit summary for version 19 by silver-dragon:
New VB implementation by user [silver-dragon]

Version 18

2019-09-27, 23:12:17

Version 19

2019-09-30, 14:27:08

Idiom #171 Add an element at the end of a list

Append element x to the list s.

Idiom #171 Add an element at the end of a list

Append element x to the list s.

Extra Keywords
push grow
Extra Keywords
push grow
Code
Dim dinosaurs As New List(Of String)
dinosaurs.Add("Tyrannosaurus")
Doc URL
https://docs.microsoft.com/en-us/dotnet/api/system.collections.generic.list-1.add?view=netframework-4.8