Click here to Skip to main content
15,888,202 members
Home / Discussions / C#
   

C#

 
AnswerRe: 2D Array Managed and Unmanaged code Data Marshling Pin
David Knechtges22-May-13 3:28
David Knechtges22-May-13 3:28 
QuestionQuestion about constructors of a class Pin
Arun kumar Gautam21-May-13 18:22
Arun kumar Gautam21-May-13 18:22 
AnswerRe: Question about constructors of a class Pin
PIEBALDconsult21-May-13 18:50
mvePIEBALDconsult21-May-13 18:50 
GeneralRe: Question about constructors of a class Pin
Arun kumar Gautam21-May-13 19:06
Arun kumar Gautam21-May-13 19:06 
AnswerRe: Question about constructors of a class PinPopular
Pete O'Hanlon21-May-13 20:21
mvePete O'Hanlon21-May-13 20:21 
GeneralRe: Question about constructors of a class Pin
Arun kumar Gautam21-May-13 20:43
Arun kumar Gautam21-May-13 20:43 
AnswerRe: Question about constructors of a class Pin
DaveyM6921-May-13 22:12
professionalDaveyM6921-May-13 22:12 
AnswerRe: Question about constructors of a class Pin
harold aptroot22-May-13 3:49
harold aptroot22-May-13 3:49 
Because the language specification says so.
17.10.4 Default constructors
If a class contains no instance constructor declarations, a default instance constructor is automatically
provided. That default constructor simply invokes the parameterless constructor of the direct base class.

Really it should be have said "if and only if", because that's what they mean. If you don't define a ctor, the default one exists. If you do define a ctor, the default one goes away. You can get it back if you want, because it's trivial:
C#
public TypeName() { }
(it would be protected for abstract classes)
QuestionSome Columns of DataGridView Wont Accept Values Pin
matt_1ca21-May-13 17:51
matt_1ca21-May-13 17:51 
AnswerRe: Some Columns of DataGridView Wont Accept Values Pin
matt_1ca21-May-13 18:30
matt_1ca21-May-13 18:30 
GeneralRe: Some Columns of DataGridView Wont Accept Values Pin
matt_1ca22-May-13 14:57
matt_1ca22-May-13 14:57 
GeneralRe: Some Columns of DataGridView Wont Accept Values Pin
matt_1ca22-May-13 15:11
matt_1ca22-May-13 15:11 
QuestionTo Throw or Not To Throw Pin
Kevin Marois21-May-13 12:39
professionalKevin Marois21-May-13 12:39 
AnswerRe: To Throw or Not To Throw Pin
Garth J Lancaster21-May-13 13:19
professionalGarth J Lancaster21-May-13 13:19 
AnswerRe: To Throw or Not To Throw Pin
SledgeHammer0121-May-13 13:37
SledgeHammer0121-May-13 13:37 
GeneralRe: To Throw or Not To Throw Pin
Kevin Marois21-May-13 13:40
professionalKevin Marois21-May-13 13:40 
GeneralRe: To Throw or Not To Throw Pin
SledgeHammer0121-May-13 14:31
SledgeHammer0121-May-13 14:31 
AnswerRe: To Throw or Not To Throw Pin
SoMad21-May-13 13:55
professionalSoMad21-May-13 13:55 
AnswerRe: To Throw or Not To Throw Pin
PIEBALDconsult21-May-13 14:13
mvePIEBALDconsult21-May-13 14:13 
GeneralRe: To Throw or Not To Throw Pin
Eddy Vluggen21-May-13 22:29
professionalEddy Vluggen21-May-13 22:29 
AnswerRe: To Throw or Not To Throw Pin
Dave Kreskowiak21-May-13 14:29
mveDave Kreskowiak21-May-13 14:29 
GeneralRe: To Throw or Not To Throw Pin
PIEBALDconsult21-May-13 14:52
mvePIEBALDconsult21-May-13 14:52 
GeneralRe: To Throw or Not To Throw Pin
Keith Barrow22-May-13 2:20
professionalKeith Barrow22-May-13 2:20 
GeneralRe: To Throw or Not To Throw Pin
Dave Kreskowiak22-May-13 2:25
mveDave Kreskowiak22-May-13 2:25 
AnswerRe: To Throw or Not To Throw Pin
V.21-May-13 23:38
professionalV.21-May-13 23:38 

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.