Click here to Skip to main content
15,890,123 members
Home / Discussions / C#
   

C#

 
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 
GeneralRe: Multiple font types in richtextbox? Pin
Xodiak5-Feb-06 12:49
Xodiak5-Feb-06 12:49 
GeneralRe: Font Embedding Pin
emran8345-Feb-06 17:15
emran8345-Feb-06 17:15 
GeneralRe: Font Embedding Pin
Dave Kreskowiak6-Feb-06 6:29
mveDave Kreskowiak6-Feb-06 6:29 
QuestionDrop Down menu on a website and tabs on a website Pin
naglbitur5-Feb-06 8:40
naglbitur5-Feb-06 8:40 
QuestionHTML interfaces Pin
Mridang Agarwalla5-Feb-06 6:22
Mridang Agarwalla5-Feb-06 6:22 
AnswerRe: HTML interfaces Pin
leppie5-Feb-06 8:14
leppie5-Feb-06 8:14 
Questionhow i can work with struct and union(union in struct .etc) Pin
gary.ruan5-Feb-06 0:49
gary.ruan5-Feb-06 0:49 

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.