Tech
Forums
Jobs
Books
Events
Videos
Conference
Annual Conference
Bcrypt
Ai Conference
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Contribute
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
6
Answers
How to Find Max/Min value in a ListBox
Ask a question
Ask a question
Upload Source Code:
Select only zip and rar file.
Behrouz Hosseini
14y
11.3k
1
Reply
Hi Guys,
I am new at c sharp and I would like to know how I can find a min and max value in a listBox.
lets say I have a listbox which gets the elements from a text box and by a btn click events like this:
int intItems = (int)Convert.ToInt32(txtInput.Text);
listBox1.Items.Add(intItems);
I know how to get count and sum and average of these elements
could you please let me know how I can find these values(Max, Min)?
Regards
Post
Reset
Cancel
Answers (
6
)
Next Recommended Forum
Delete a datagrid row that is databound
Object recognition through csharp