Click here to Skip to main content
15,912,457 members
Home / Discussions / C#
   

C#

 
GeneralRe: Clarity Pin
Ennis Ray Lynch, Jr.17-Jul-06 17:14
Ennis Ray Lynch, Jr.17-Jul-06 17:14 
GeneralRe: Clarity Pin
Judah Gabriel Himango17-Jul-06 17:54
sponsorJudah Gabriel Himango17-Jul-06 17:54 
GeneralMy opinion on languages is such Pin
Ennis Ray Lynch, Jr.17-Jul-06 19:36
Ennis Ray Lynch, Jr.17-Jul-06 19:36 
GeneralRe: My opinion on languages is such Pin
leppie17-Jul-06 22:13
leppie17-Jul-06 22:13 
GeneralRe: My opinion on languages is such Pin
wout de zeeuw17-Jul-06 22:42
wout de zeeuw17-Jul-06 22:42 
AnswerRe: Can anyone think of any disadvantage of using a params parameter? Pin
leppie17-Jul-06 22:15
leppie17-Jul-06 22:15 
GeneralRe: Can anyone think of any disadvantage of using a params parameter? Pin
wout de zeeuw17-Jul-06 22:41
wout de zeeuw17-Jul-06 22:41 
GeneralRe: Can anyone think of any disadvantage of using a params parameter? Pin
leppie17-Jul-06 22:52
leppie17-Jul-06 22:52 
wout de zeeuw wrote:
I would have guessed that just the compiler would insert a new Vector4D[] { a, b, c } statement, which the programmer would otherwise have to do manually.


Not even. I am not sure what exactly what causes the penalty, as seen thru a profiler, but I suspect it needs to do a type check on the 1st params parameter, exactly for the array case.

Regarding your other question: not all languages support the params keyword. And in the case of AddRange() will cause a method resolution conflict possibly.


GeneralRe: Can anyone think of any disadvantage of using a params parameter? Pin
wout de zeeuw17-Jul-06 23:08
wout de zeeuw17-Jul-06 23:08 
QuestionWhen do use validator and/or try...throw statement. Pin
Skanless17-Jul-06 11:22
Skanless17-Jul-06 11:22 
AnswerRe: When do use validator and/or try...throw statement. Pin
leckey17-Jul-06 11:41
leckey17-Jul-06 11:41 
AnswerRe: When do use validator and/or try...throw statement. Pin
Nader Elshehabi17-Jul-06 11:55
Nader Elshehabi17-Jul-06 11:55 
GeneralRe: When do use validator and/or try...throw statement. Pin
Skanless17-Jul-06 12:51
Skanless17-Jul-06 12:51 
QuestionClient/Server App. Event Notification Pin
Ing. Pedro Fernandez17-Jul-06 10:14
Ing. Pedro Fernandez17-Jul-06 10:14 
AnswerUse Webservices Pin
Ennis Ray Lynch, Jr.17-Jul-06 10:24
Ennis Ray Lynch, Jr.17-Jul-06 10:24 
AnswerRe: Client/Server App. Event Notification Pin
led mike17-Jul-06 19:11
led mike17-Jul-06 19:11 
QuestionDevelope a telephone system in c# Pin
ystar17-Jul-06 10:11
ystar17-Jul-06 10:11 
AnswerTAPI Pin
Ennis Ray Lynch, Jr.17-Jul-06 10:23
Ennis Ray Lynch, Jr.17-Jul-06 10:23 
AnswerRe: Develope a telephone system in c# Pin
ystar17-Jul-06 10:34
ystar17-Jul-06 10:34 
GeneralRe: Develope a telephone system in c# Pin
Dave Kreskowiak17-Jul-06 12:12
mveDave Kreskowiak17-Jul-06 12:12 
AnswerRe: Develope a telephone system in c# Pin
Divyang Mithaiwala17-Jul-06 18:23
Divyang Mithaiwala17-Jul-06 18:23 
QuestionProblem accessing an object Pin
Goalie3517-Jul-06 9:04
Goalie3517-Jul-06 9:04 
AnswerRe: Problem accessing an object Pin
Josh Smith17-Jul-06 9:07
Josh Smith17-Jul-06 9:07 
GeneralRe: Problem accessing an object Pin
Goalie3517-Jul-06 9:15
Goalie3517-Jul-06 9:15 
GeneralRe: Problem accessing an object Pin
Josh Smith17-Jul-06 9:27
Josh Smith17-Jul-06 9:27 

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.