Click here to Skip to main content
15,922,533 members
Home / Discussions / C#
   

C#

 
AnswerRe: help Pin
Drew McGhie11-Sep-06 10:43
Drew McGhie11-Sep-06 10:43 
AnswerRe: help Pin
Nader Elshehabi11-Sep-06 10:50
Nader Elshehabi11-Sep-06 10:50 
AnswerRe: help Pin
Professor Sharada Ulhas11-Sep-06 11:10
Professor Sharada Ulhas11-Sep-06 11:10 
GeneralRe: help Pin
led mike11-Sep-06 11:48
led mike11-Sep-06 11:48 
QuestionHaving a small issue with typed dataset Pin
Shriniwasan Viswanathan11-Sep-06 9:29
Shriniwasan Viswanathan11-Sep-06 9:29 
AnswerRe: Having a small issue with typed dataset Pin
gus_br11-Sep-06 11:37
gus_br11-Sep-06 11:37 
QuestionHow to use array list in a recursive function:(pls help) Pin
aynka200011-Sep-06 8:51
aynka200011-Sep-06 8:51 
AnswerRe: How to use array list in a recursive function:(pls help) Pin
Guffa11-Sep-06 8:58
Guffa11-Sep-06 8:58 
I think that you don't want to do what you are asking for at all. I think that you want to create the ArrayList once, and use it in the recursive function.

Create the ArrayList before you call the recursive function, and pass the reference to the ArrayList as a parameter:

static void Permute(int[] a, int start, int finish, ArrayList results)) {
	results.Add(a);
	if (start != finish) {
		Permute(a, start + 1, finish, results);
	}
}



---
b { font-weight: normal; }

AnswerRe: How to use array list in a recursive function:(pls help) Pin
Nader Elshehabi11-Sep-06 9:03
Nader Elshehabi11-Sep-06 9:03 
QuestionHow to create a resizable Windows.Forms.Control object? [modified] Pin
ystl11-Sep-06 8:04
ystl11-Sep-06 8:04 
AnswerRe: How to create a resizable Windows.Forms.Control object? Pin
Nader Elshehabi11-Sep-06 8:21
Nader Elshehabi11-Sep-06 8:21 
GeneralRe: How to create a resizable Windows.Forms.Control object? Pin
ystl14-Sep-06 6:10
ystl14-Sep-06 6:10 
QuestionDataGrid Update Problem Pin
llap44411-Sep-06 6:34
llap44411-Sep-06 6:34 
AnswerRe: DataGrid Update Problem Pin
Nader Elshehabi11-Sep-06 7:01
Nader Elshehabi11-Sep-06 7:01 
GeneralRe: DataGrid Update Problem Pin
llap44411-Sep-06 7:26
llap44411-Sep-06 7:26 
GeneralRe: DataGrid Update Problem Pin
Syed Shahid Hussain11-Sep-06 7:40
Syed Shahid Hussain11-Sep-06 7:40 
QuestionHow to change "ReadOnly" value with Controls[] Pin
N3croman11-Sep-06 6:03
N3croman11-Sep-06 6:03 
AnswerRe: How to change "ReadOnly" value with Controls[] Pin
Nader Elshehabi11-Sep-06 6:15
Nader Elshehabi11-Sep-06 6:15 
GeneralRe: How to change "ReadOnly" value with Controls[] Pin
N3croman11-Sep-06 6:23
N3croman11-Sep-06 6:23 
GeneralRe: How to change "ReadOnly" value with Controls[] Pin
Judah Gabriel Himango11-Sep-06 7:09
sponsorJudah Gabriel Himango11-Sep-06 7:09 
Question"This assembly does not allow partially trusted callers" when program executed from network drive Pin
Nigor11-Sep-06 6:01
Nigor11-Sep-06 6:01 
AnswerRe: "This assembly does not allow partially trusted callers" when program executed from network drive Pin
Judah Gabriel Himango11-Sep-06 7:02
sponsorJudah Gabriel Himango11-Sep-06 7:02 
QuestionGlobally accessible properties Pin
WetRivrRat11-Sep-06 5:47
WetRivrRat11-Sep-06 5:47 
AnswerRe: Globally accessible properties Pin
Bijesh11-Sep-06 6:39
Bijesh11-Sep-06 6:39 
QuestionCompile with specified version of .NET framework Pin
dobrzan11-Sep-06 5:37
dobrzan11-Sep-06 5:37 

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.