Click here to Skip to main content
15,908,906 members
Home / Discussions / C#
   

C#

 
QuestionTreeNode question Pin
Muammar©24-Apr-08 1:46
Muammar©24-Apr-08 1:46 
GeneralRe: TreeNode question Pin
Simon P Stevens24-Apr-08 2:00
Simon P Stevens24-Apr-08 2:00 
GeneralRe: TreeNode question Pin
Muammar©24-Apr-08 2:04
Muammar©24-Apr-08 2:04 
GeneralRe: TreeNode question Pin
Ruben Jönsson25-Apr-08 13:34
Ruben Jönsson25-Apr-08 13:34 
GeneralSQL Data Access Class and Casting DataSets Pin
blakey40424-Apr-08 0:22
blakey40424-Apr-08 0:22 
GeneralRe: SQL Data Access Class and Casting DataSets Pin
Broken Bokken24-Apr-08 3:13
Broken Bokken24-Apr-08 3:13 
AnswerRe: SQL Data Access Class and Casting DataSets Pin
blakey40424-Apr-08 3:54
blakey40424-Apr-08 3:54 
GeneralRe: SQL Data Access Class and Casting DataSets Pin
Broken Bokken24-Apr-08 9:28
Broken Bokken24-Apr-08 9:28 
you should look into using the params keyword instead of an arraylist.

C#
public void MyMethod(params object[] parameters)
{
   //do stuff
}


When you call it you can pass them in without having to create a list. You can add as many parameters as you want and is great when you need to pass a list as a parameter to a method.

Broken Bokken

You can't carry out a ninja-style assasination dressed as an astronaut. It's the luminous fabric; too visible. - Tripod

http://www.brokenbokken.com

GeneralConvert CCITT ulaw To PCM Audio format Pin
Gopal.S24-Apr-08 0:19
Gopal.S24-Apr-08 0:19 
GeneralRe: Convert CCITT ulaw To PCM Audio format Pin
Mike Dimmick24-Apr-08 4:40
Mike Dimmick24-Apr-08 4:40 
GeneralRe: Convert CCITT ulaw To PCM Audio format Pin
ChrisKo24-Apr-08 9:00
ChrisKo24-Apr-08 9:00 
QuestionConnecting C# with microsoft access through a netwok Pin
Yousefjt7724-Apr-08 0:13
Yousefjt7724-Apr-08 0:13 
AnswerRe: Connecting C# with microsoft access through a netwok Pin
Arjun Marwaha24-Apr-08 2:20
Arjun Marwaha24-Apr-08 2:20 
Generaldivide by zero Pin
George_George23-Apr-08 23:30
George_George23-Apr-08 23:30 
GeneralRe: divide by zero Pin
Pete O'Hanlon24-Apr-08 0:02
mvePete O'Hanlon24-Apr-08 0:02 
GeneralRe: divide by zero Pin
George_George24-Apr-08 0:05
George_George24-Apr-08 0:05 
GeneralRe: divide by zero Pin
Simon P Stevens24-Apr-08 0:24
Simon P Stevens24-Apr-08 0:24 
GeneralRe: divide by zero Pin
George_George24-Apr-08 0:58
George_George24-Apr-08 0:58 
GeneralRe: divide by zero Pin
Pete O'Hanlon24-Apr-08 1:16
mvePete O'Hanlon24-Apr-08 1:16 
GeneralRe: divide by zero Pin
George_George24-Apr-08 1:23
George_George24-Apr-08 1:23 
GeneralRe: divide by zero Pin
George_George24-Apr-08 0:07
George_George24-Apr-08 0:07 
GeneralRe: divide by zero Pin
Guffa24-Apr-08 0:20
Guffa24-Apr-08 0:20 
QuestionRe: divide by zero [modified] Pin
Simon P Stevens24-Apr-08 0:27
Simon P Stevens24-Apr-08 0:27 
GeneralRe: divide by zero Pin
Simon P Stevens24-Apr-08 0:47
Simon P Stevens24-Apr-08 0:47 
GeneralRe: divide by zero Pin
George_George24-Apr-08 1:04
George_George24-Apr-08 1:04 

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.