Click here to Skip to main content
15,898,938 members
Home / Discussions / C#
   

C#

 
GeneralRe: on .net Pin
dvsr20-Oct-05 12:10
dvsr20-Oct-05 12:10 
GeneralRe: on .net Pin
Christian Graus20-Oct-05 15:14
protectorChristian Graus20-Oct-05 15:14 
AnswerRe: Lorge volume ...Can .NET Handle ? Pin
A.A.20-Oct-05 15:07
A.A.20-Oct-05 15:07 
AnswerRe: Lorge volume ...Can .NET Handle ? Pin
Dave Kreskowiak20-Oct-05 22:43
mveDave Kreskowiak20-Oct-05 22:43 
GeneralRe: Lorge volume ...Can .NET Handle ? Pin
dvsr21-Oct-05 3:34
dvsr21-Oct-05 3:34 
AnswerRe: Lorge volume ...Can .NET Handle ? Pin
Guffa21-Oct-05 3:16
Guffa21-Oct-05 3:16 
QuestionDefault parameters in C# method Pin
Yanshof20-Oct-05 11:04
Yanshof20-Oct-05 11:04 
AnswerRe: Default parameters in C# method Pin
Christian Graus20-Oct-05 12:03
protectorChristian Graus20-Oct-05 12:03 
Nope, VB.NET has this, and C# doesn't. Funny enough, I raised this at the MVP summit to the guys who design the language, and didn't get a flood of support.

The only way to do this is to write two methods, one that takes the extra parameter and one that does not. Make sure they both call the same underlying function.


Christian Graus - Microsoft MVP - C++
GeneralRe: Default parameters in C# method Pin
Yanshof20-Oct-05 12:07
Yanshof20-Oct-05 12:07 
GeneralRe: Default parameters in C# method Pin
Christian Graus20-Oct-05 12:10
protectorChristian Graus20-Oct-05 12:10 
GeneralRe: Default parameters in C# method Pin
Yanshof20-Oct-05 12:36
Yanshof20-Oct-05 12:36 
GeneralRe: Default parameters in C# method Pin
Christian Graus20-Oct-05 12:49
protectorChristian Graus20-Oct-05 12:49 
GeneralRe: Default parameters in C# method Pin
PaulPrice23-Jul-07 9:50
PaulPrice23-Jul-07 9:50 
AnswerRe: Default parameters in C# method Pin
Ali Beirami21-Oct-05 3:00
Ali Beirami21-Oct-05 3:00 
QuestionCatastrophic Error Pin
NET_GEEK20-Oct-05 11:01
NET_GEEK20-Oct-05 11:01 
AnswerRe: Catastrophic Error Pin
Christian Graus20-Oct-05 12:03
protectorChristian Graus20-Oct-05 12:03 
GeneralRe: Catastrophic Error Pin
NET_GEEK20-Oct-05 17:59
NET_GEEK20-Oct-05 17:59 
GeneralRe: Catastrophic Error Pin
Christian Graus23-Oct-05 12:13
protectorChristian Graus23-Oct-05 12:13 
QuestionReading Registry Data Pin
TeamWild20-Oct-05 8:43
TeamWild20-Oct-05 8:43 
AnswerRe: Reading Registry Data Pin
Christian Graus20-Oct-05 10:40
protectorChristian Graus20-Oct-05 10:40 
GeneralRe: Reading Registry Data Pin
TeamWild20-Oct-05 23:14
TeamWild20-Oct-05 23:14 
Questionsplit a web service Pin
krism4220-Oct-05 8:27
krism4220-Oct-05 8:27 
AnswerRe: split a web service Pin
Matt Newman20-Oct-05 8:56
Matt Newman20-Oct-05 8:56 
GeneralRe: split a web service Pin
krism4220-Oct-05 9:02
krism4220-Oct-05 9:02 
AnswerRe: split a web service Pin
Tom Larsen20-Oct-05 11:20
Tom Larsen20-Oct-05 11:20 

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.