Click here to Skip to main content
15,903,012 members
Home / Discussions / C#
   

C#

 
GeneralRe: C# and AccDB: Products with category in combo box. Pin
sdfsdfsdfewrew3feff16-Feb-15 15:56
sdfsdfsdfewrew3feff16-Feb-15 15:56 
GeneralRe: C# and AccDB: Products with category in combo box. Pin
Dave Kreskowiak16-Feb-15 16:11
mveDave Kreskowiak16-Feb-15 16:11 
Questionerror is coming while application is running and ask to continue the application Pin
Member 1142314612-Feb-15 4:41
Member 1142314612-Feb-15 4:41 
AnswerRe: error is coming while application is running and ask to continue the application Pin
Dave Kreskowiak12-Feb-15 5:10
mveDave Kreskowiak12-Feb-15 5:10 
AnswerRe: error is coming while application is running and ask to continue the application Pin
OriginalGriff12-Feb-15 5:26
mveOriginalGriff12-Feb-15 5:26 
AnswerRe: error is coming while application is running and ask to continue the application Pin
jschell12-Feb-15 11:15
jschell12-Feb-15 11:15 
Questionaltering a merge sort to compare strings from input box Pin
Member 1083623511-Feb-15 21:10
Member 1083623511-Feb-15 21:10 
AnswerRe: altering a merge sort to compare strings from input box Pin
Richard MacCutchan11-Feb-15 21:41
mveRichard MacCutchan11-Feb-15 21:41 
C#
int length = Int32.Parse(Microsoft.VisualBasic.Interaction.InputBox("Enter a Number for how many Names to Sort :"));
 
string[] nameArray = new string[length];
foreach (string n in nameArray)
{

You cannot use foreach at this point, since your array does not contain any strings. And even if it did, you never add them to the array. You should use the number as a loop counter and enter a string at each offset. Although you could probably improve this by using a collection class rather than an array.
GeneralRe: altering a merge sort to compare strings from input box Pin
harold aptroot11-Feb-15 21:42
harold aptroot11-Feb-15 21:42 
AnswerRe: altering a merge sort to compare strings from input box Pin
Pete O'Hanlon11-Feb-15 21:47
mvePete O'Hanlon11-Feb-15 21:47 
AnswerRe: altering a merge sort to compare strings from input box Pin
OriginalGriff11-Feb-15 22:01
mveOriginalGriff11-Feb-15 22:01 
GeneralRe: altering a merge sort to compare strings from input box Pin
Member 1083623511-Feb-15 23:23
Member 1083623511-Feb-15 23:23 
GeneralRe: altering a merge sort to compare strings from input box Pin
OriginalGriff11-Feb-15 23:49
mveOriginalGriff11-Feb-15 23:49 
QuestionDeclare the type of cell of DevExpress GridView ? Pin
Member 245846711-Feb-15 20:15
Member 245846711-Feb-15 20:15 
AnswerRe: Declare the type of cell of DevExpress GridView ? Pin
Dave Kreskowiak12-Feb-15 2:44
mveDave Kreskowiak12-Feb-15 2:44 
GeneralRe: Declare the type of cell of DevExpress GridView ? Pin
Member 245846715-Feb-15 19:49
Member 245846715-Feb-15 19:49 
GeneralRe: Declare the type of cell of DevExpress GridView ? Pin
Dave Kreskowiak16-Feb-15 2:41
mveDave Kreskowiak16-Feb-15 2:41 
GeneralRe: Declare the type of cell of DevExpress GridView ? Pin
Member 245846716-Feb-15 16:53
Member 245846716-Feb-15 16:53 
GeneralRe: Declare the type of cell of DevExpress GridView ? Pin
Dave Kreskowiak16-Feb-15 17:56
mveDave Kreskowiak16-Feb-15 17:56 
QuestionAny examples on using libsodium-net , saving keypairs, encrypt/decrypt files? Pin
vizimuchi11-Feb-15 8:32
vizimuchi11-Feb-15 8:32 
AnswerRe: Any examples on using libsodium-net , saving keypairs, encrypt/decrypt files? Pin
Afzaal Ahmad Zeeshan11-Feb-15 9:23
professionalAfzaal Ahmad Zeeshan11-Feb-15 9:23 
GeneralRe: Any examples on using libsodium-net , saving keypairs, encrypt/decrypt files? Pin
vizimuchi11-Feb-15 16:01
vizimuchi11-Feb-15 16:01 
QuestionHow can I open a webpage in IE and fill in 1 or more text boxes in the page? Pin
turbosupramk311-Feb-15 2:14
turbosupramk311-Feb-15 2:14 
AnswerRe: How can I open a webpage in IE and fill in 1 or more text boxes in the page? Pin
turbosupramk311-Feb-15 6:31
turbosupramk311-Feb-15 6:31 
GeneralRe: How can I open a webpage in IE and fill in 1 or more text boxes in the page? Pin
Eddy Vluggen11-Feb-15 7:33
professionalEddy Vluggen11-Feb-15 7:33 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.