Click here to Skip to main content
15,891,951 members
Home / Discussions / C#
   

C#

 
GeneralRe: Treeview Node Select Problem Pin
Rick van Woudenberg7-Feb-08 13:26
Rick van Woudenberg7-Feb-08 13:26 
GeneralRe: Treeview Node Select Problem Pin
Alan N8-Feb-08 2:07
Alan N8-Feb-08 2:07 
Generalobject or struct naming based on string variable Pin
tokyostormdrain7-Feb-08 12:45
tokyostormdrain7-Feb-08 12:45 
AnswerRe: object or struct naming based on string variable Pin
Guffa7-Feb-08 13:01
Guffa7-Feb-08 13:01 
Questionpassing arrays as arguments in C# Pin
Xarzu7-Feb-08 11:46
Xarzu7-Feb-08 11:46 
GeneralRe: passing arrays as arguments in C# Pin
pmarfleet7-Feb-08 11:49
pmarfleet7-Feb-08 11:49 
GeneralRe: passing arrays as arguments in C# Pin
Christian Graus7-Feb-08 12:04
protectorChristian Graus7-Feb-08 12:04 
AnswerRe: passing arrays as arguments in C# Pin
Eslam Afifi7-Feb-08 12:04
Eslam Afifi7-Feb-08 12:04 
Just do something like
void MyFunction(int[] myarray)
{ }

and call it like this
int[] arr = {2,4,6};
MyFunction(arr);

You can also use the params keyword which allow you to pass the elements as parameter as well as the former way.
Let's say something like
void MyFunction(params int[] myarray)
{ }

call it either
int[] arr = {2,4,6};
MyFunction(arr);

or
MyFunction(2,4,6);

AnswerRe: passing arrays as arguments in C# Pin
Guffa7-Feb-08 12:05
Guffa7-Feb-08 12:05 
GeneralRe: passing arrays as arguments in C# Pin
Ravenet7-Feb-08 16:17
Ravenet7-Feb-08 16:17 
GeneralBitwise masking - What's wrong with this code? [SOLVED] Pin
#realJSOP7-Feb-08 10:01
mve#realJSOP7-Feb-08 10:01 
GeneralRe: Bitwise masking - What's wrong with this code? Pin
led mike7-Feb-08 10:07
led mike7-Feb-08 10:07 
GeneralRe: Bitwise masking - What's wrong with this code? Pin
Christian Graus7-Feb-08 10:08
protectorChristian Graus7-Feb-08 10:08 
GeneralRe: Bitwise masking - What's wrong with this code? Pin
#realJSOP7-Feb-08 10:18
mve#realJSOP7-Feb-08 10:18 
GeneralRe: Bitwise masking - What's wrong with this code? Pin
Christian Graus7-Feb-08 11:25
protectorChristian Graus7-Feb-08 11:25 
GeneralRe: Bitwise masking - What's wrong with this code? Pin
#realJSOP7-Feb-08 23:16
mve#realJSOP7-Feb-08 23:16 
GeneralRe: Bitwise masking - What's wrong with this code? Pin
Ennis Ray Lynch, Jr.7-Feb-08 15:25
Ennis Ray Lynch, Jr.7-Feb-08 15:25 
Generalfloating values issue Pin
Ryno Burger7-Feb-08 8:41
Ryno Burger7-Feb-08 8:41 
GeneralRe: floating values issue Pin
J$7-Feb-08 8:47
J$7-Feb-08 8:47 
GeneralRe: floating values issue Pin
led mike7-Feb-08 8:49
led mike7-Feb-08 8:49 
GeneralRe: floating values issue Pin
Ryno Burger7-Feb-08 8:51
Ryno Burger7-Feb-08 8:51 
GeneralRe: floating values issue Pin
Luc Pattyn7-Feb-08 12:21
sitebuilderLuc Pattyn7-Feb-08 12:21 
GeneralRe: floating values issue Pin
benjymous7-Feb-08 22:03
benjymous7-Feb-08 22:03 
GeneralWith apologies Pin
Ennis Ray Lynch, Jr.8-Feb-08 3:48
Ennis Ray Lynch, Jr.8-Feb-08 3:48 
GeneralProblem with Insert statement Pin
MumbleB7-Feb-08 7:54
MumbleB7-Feb-08 7:54 

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.