Initializing a List<string> in C#

Posted by Pramodh on Stack Overflow See other posts from Stack Overflow or by Pramodh
Published on 2010-06-02T05:52:11Z Indexed on 2010/06/02 5:53 UTC
Read the original article Hit count: 216

Filed under:

how to make the items in a List to zero

I've a list List< String> sampleList which contains 10 items.

eg:

1
2
3
4
5
6
7
8
9
0

how to make the list contents into zero like

0
0
0
0
0
0
0
0
0
0

Thanks in advance...

© Stack Overflow or respective owner

Related posts about c#