Toggle navigation
Home
Latest pastes
FAQ
Random
Register
Login
C# program that adds elements to List
SUBMITTED BY:
inzi
DATE:
March 29, 2017, 7:16 p.m.
FORMAT:
C#
SIZE:
264 Bytes
Raw
Download
Tweet
HITS:
522
Go to comments
Report
C
#
program
that
adds
elements
to
List
using
System.Collections.Generic
;
class
Program
{
static
void
Main
()
{
List
<
int
>
list
=
new
List
<
int
>
();
list
.
Add
(
2
);
list
.
Add
(
3
);
list
.
Add
(
5
);
list
.
Add
(
7
);
}
}
Please enable JavaScript to view the
comments powered by Disqus.
comments powered by
Disqus