Click here to Skip to main content
15,893,668 members
Home / Discussions / C#
   

C#

 
GeneralRe: How can I get the file name with full path of File which is Sent to Print to Printer++ Pin
Shohel Ahsan29-May-14 1:25
Shohel Ahsan29-May-14 1:25 
QuestionHow do I add a video bookmark? Pin
Member 1085116328-May-14 19:16
Member 1085116328-May-14 19:16 
Questionoverloading a construtor Pin
sneezesnoeze28-May-14 11:00
sneezesnoeze28-May-14 11:00 
AnswerRe: overloading a construtor Pin
Matt T Heffron28-May-14 11:04
professionalMatt T Heffron28-May-14 11:04 
GeneralRe: overloading a construtor Pin
sneezesnoeze28-May-14 11:21
sneezesnoeze28-May-14 11:21 
GeneralRe: overloading a construtor Pin
Pete O'Hanlon28-May-14 12:47
mvePete O'Hanlon28-May-14 12:47 
AnswerRe: overloading a construtor Pin
Eddy Vluggen28-May-14 11:14
professionalEddy Vluggen28-May-14 11:14 
AnswerRe: overloading a construtor Pin
Matt T Heffron28-May-14 11:48
professionalMatt T Heffron28-May-14 11:48 
sneezesnoeze wrote:
I have no clue why a default constructor would call the more complex constructor.

Surprisingly, this is common and reasonable.
This is to accomplish providing default values for the various parameters of the complex constructor.
See section "10.11.6 Optional instance constructor parameters" of the : C# Language Specification[^]
Starting with C# 4.0 optional arguments (see C# Language Features, From C# 2.0 to 4.0[^]) provides this capability if the default values are constant value expressions (or new S() or default(S) where S is a value type):
See section "10.6.1 Method parameters" of the C# Language Specification (linked above).
A positive attitude may not solve every problem, but it will annoy enough people to be worth the effort.

AnswerRe: overloading a construtor Pin
BobJanova29-May-14 1:01
BobJanova29-May-14 1:01 
GeneralRe: overloading a construtor Pin
sneezesnoeze2-Jun-14 10:32
sneezesnoeze2-Jun-14 10:32 
QuestionSong Organizer c# Pin
AtmotechDejan28-May-14 9:55
AtmotechDejan28-May-14 9:55 
AnswerRe: Song Organizer c# Pin
Mycroft Holmes28-May-14 13:00
professionalMycroft Holmes28-May-14 13:00 
QuestionMethod for erase textboxes by clicking a button Pin
Vexy28-May-14 7:19
Vexy28-May-14 7:19 
AnswerRe: Method for erase textboxes by clicking a button Pin
Eddy Vluggen28-May-14 7:22
professionalEddy Vluggen28-May-14 7:22 
GeneralRe: Method for erase textboxes by clicking a button Pin
Vexy28-May-14 7:28
Vexy28-May-14 7:28 
GeneralRe: Method for erase textboxes by clicking a button Pin
Eddy Vluggen28-May-14 7:51
professionalEddy Vluggen28-May-14 7:51 
AnswerRe: Method for erase textboxes by clicking a button Pin
Pete O'Hanlon28-May-14 8:24
mvePete O'Hanlon28-May-14 8:24 
GeneralRe: Method for erase textboxes by clicking a button Pin
Vexy28-May-14 8:36
Vexy28-May-14 8:36 
GeneralRe: Method for erase textboxes by clicking a button Pin
Eddy Vluggen28-May-14 9:18
professionalEddy Vluggen28-May-14 9:18 
AnswerRe: Method for erase textboxes by clicking a button Pin
osamashatnawe29-May-14 0:27
osamashatnawe29-May-14 0:27 
QuestionHow to find interfaces in code programmatically Pin
Frygreen28-May-14 6:31
Frygreen28-May-14 6:31 
AnswerRe: How to find interfaces in code programmatically Pin
Richard MacCutchan28-May-14 6:40
mveRichard MacCutchan28-May-14 6:40 
AnswerRe: How to find interfaces in code programmatically Pin
Kornfeld Eliyahu Peter28-May-14 6:41
professionalKornfeld Eliyahu Peter28-May-14 6:41 
AnswerRe: How to find interfaces in code programmatically Pin
Eddy Vluggen28-May-14 7:21
professionalEddy Vluggen28-May-14 7:21 
AnswerRe: How to find interfaces in code programmatically Pin
jschell28-May-14 8:46
jschell28-May-14 8:46 

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.