Click here to Skip to main content
15,914,481 members
Home / Discussions / C#
   

C#

 
AnswerRe: did someone forget typedef? Pin
leppie5-Feb-06 19:30
leppie5-Feb-06 19:30 
AnswerRe: did someone forget typedef? Pin
leppie5-Feb-06 19:37
leppie5-Feb-06 19:37 
GeneralRe: did someone forget typedef? Pin
User 5838525-Feb-06 22:02
User 5838525-Feb-06 22:02 
Questionsuggestion about any Code generator Wizard Pin
emran8345-Feb-06 17:18
emran8345-Feb-06 17:18 
AnswerRe: suggestion about any Code generator Wizard Pin
leppie5-Feb-06 20:50
leppie5-Feb-06 20:50 
GeneralRe: suggestion about any Code generator Wizard Pin
emran8345-Feb-06 22:20
emran8345-Feb-06 22:20 
GeneralRe: suggestion about any Code generator Wizard Pin
leppie6-Feb-06 0:47
leppie6-Feb-06 0:47 
QuestionC# visual studio error? Pin
paully5-Feb-06 17:14
paully5-Feb-06 17:14 
AnswerRe: C# visual studio error? Pin
emran8345-Feb-06 17:20
emran8345-Feb-06 17:20 
QuestionDefault parameter in Method Pin
emran8345-Feb-06 17:10
emran8345-Feb-06 17:10 
AnswerRe: Default parameter in Method Pin
S. Senthil Kumar5-Feb-06 18:13
S. Senthil Kumar5-Feb-06 18:13 
GeneralRe: Default parameter in Method Pin
emran8345-Feb-06 22:15
emran8345-Feb-06 22:15 
AnswerRe: Default parameter in Method Pin
ryancrawcour5-Feb-06 21:49
ryancrawcour5-Feb-06 21:49 
GeneralRe: Default parameter in Method Pin
emran8345-Feb-06 22:19
emran8345-Feb-06 22:19 
GeneralRe: Default parameter in Method Pin
ryancrawcour5-Feb-06 22:23
ryancrawcour5-Feb-06 22:23 
it really isn't very scary ...
all you're doing is creating an object (class or struct either way) that contains your parameters. you assign your defaults in your parameter object and pass that into your method.

that way you can have one method that has the ability to have default values for a parameter.

run the code sample i sent, step through it and you'll see exactly what it is doing ...
if you still unclear, let me know and i'll explain it for you line by line

ciao
RC

QuestionRestore DataBase Using SQLDMO Pin
chudapji5-Feb-06 16:55
chudapji5-Feb-06 16:55 
QuestionWindow Form frozen after calling method Show() Pin
bc11185-Feb-06 16:34
bc11185-Feb-06 16:34 
AnswerRe: Window Form frozen after calling method Show() Pin
Christian Graus5-Feb-06 16:42
protectorChristian Graus5-Feb-06 16:42 
AnswerRe: Window Form frozen after calling method Show() Pin
S. Senthil Kumar5-Feb-06 18:14
S. Senthil Kumar5-Feb-06 18:14 
GeneralRe: Window Form frozen after calling method Show() Pin
bc11185-Feb-06 18:45
bc11185-Feb-06 18:45 
GeneralRe: Window Form frozen after calling method Show() Pin
S. Senthil Kumar6-Feb-06 9:52
S. Senthil Kumar6-Feb-06 9:52 
QuestionLaunch and focus webpage from windows form Pin
jshultz5-Feb-06 12:15
jshultz5-Feb-06 12:15 
Question.xsd ordinal Pin
fmardani5-Feb-06 10:58
fmardani5-Feb-06 10:58 
QuestionMultiple font types in richtextbox? Pin
Xodiak5-Feb-06 9:58
Xodiak5-Feb-06 9:58 
AnswerRe: Multiple font types in richtextbox? Pin
leppie5-Feb-06 12:03
leppie5-Feb-06 12:03 

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.