Vb.net How to make a program that list words in alphabetic order?
-
There are usually 8 words on my homework that i have to list in alphabetic order and i cant do it how can i make a program that has 8 textboxes and i type in the words like cat, fish etc and then i click a button and then the alphabetic order comes 1 2 3 ... 8 ?
-
Answer:
1. put the words in an array 2. sort the array 3. read the array from element 0 thru element (n-1)
Marius at Yahoo! Answers Visit the source
Other answers
Public Class Form1 Dim Words() As String = {"Occasion", "Word", "Dynamic", "Active", "Web"} Public Sub New() ' Add any initialization after the InitializeComponent() call. Dim W As New List(Of String)(Words) W.Sort() Me.TextBox1.Text = String.Join(vbNewLine, W) End Sub End Class
Lapband Man
Related Q & A:
- How to disable a sharepoint 2010 list column through sharepoint designer?Best solution by SharePoint
- How to make a list with only images?Best solution by Super User
- How to write a program to monitor the temperature of CPU?Best solution by Stack Overflow
- How to create a private distribution list?Best solution by Yahoo! Answers
- How do I make a group contact list?Best solution by Yahoo! Answers
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.