TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
nallya
NA
459
474.2k
Doubt Regarding Book "List-EBook"
Dec 6 2012 5:03 AM
Sir,
i have downloaded the book "List-EBook"
http://www.c-sharpcorner.com/ebooks/free/61/programming-list-with-C-Sharp.aspx
from and running list sample,i have doubt on 4th page sample u have given that,
We can also limit the size of a list. The following code snippet creates a list where the key type is float and the total number of items it can hold is 3.
List<float> PriceList = new List<float>(3);
The following code snippet adds items to the list.
PriceList.Add(3.25f);
PriceList.Add(2.76f);
PriceList.Add(1.15f);
but i am able to add more list item in this sample although its limit (3) is given.
clear my doubt,
Thanks.
Reply
Answers (
2
)
asp.net file uploading
Provider in ADO.NET