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

C#

 
SuggestionRe: WinForm Database is locked SQLite Pin
Richard Deeming22-Apr-15 4:43
mveRichard Deeming22-Apr-15 4:43 
GeneralRe: WinForm Database is locked SQLite Pin
DPaul199422-Apr-15 5:27
DPaul199422-Apr-15 5:27 
QuestionHow to register the library flash for C# 2005 ? Pin
Member 245846721-Apr-15 17:53
Member 245846721-Apr-15 17:53 
QuestionIf a class can call its base constructor then why the constructor is not inherited Pin
CRobert45621-Apr-15 17:04
CRobert45621-Apr-15 17:04 
GeneralRe: If a class can call its base constructor then why the constructor is not inherited Pin
PIEBALDconsult21-Apr-15 17:15
mvePIEBALDconsult21-Apr-15 17:15 
GeneralRe: If a class can call its base constructor then why the constructor is not inherited Pin
CRobert45621-Apr-15 17:26
CRobert45621-Apr-15 17:26 
GeneralRe: If a class can call its base constructor then why the constructor is not inherited Pin
PIEBALDconsult21-Apr-15 17:32
mvePIEBALDconsult21-Apr-15 17:32 
GeneralRe: If a class can call its base constructor then why the constructor is not inherited Pin
Matt T Heffron22-Apr-15 9:53
professionalMatt T Heffron22-Apr-15 9:53 
That just sounds wrong.
From the C# 5 lang spec: section 1.6.6.3
The ... constructor (which is like an instance method) ...
Because the constructor is an instance member, it is permitted to access both the ... instance field and the ... static field.
The constructor has access to all of the instance's fields and properties and even instance methods.
Section 1.6.7.1
Unlike other members, instance constructors are not inherited, and a class has no instance constructors other than those actually declared in the class. If no instance constructor is supplied for a class, then an empty one with no parameters is automatically provided.
Section 10.11.1:
If an instance constructor has no constructor initializer, a constructor initializer of the form base() is implicitly provided. Thus, an instance constructor declaration of the form
     C(...) {...}
is exactly equivalent to
     C(...): base() {...}
A positive attitude may not solve every problem, but it will annoy enough people to be worth the effort.

GeneralRe: If a class can call its base constructor then why the constructor is not inherited Pin
David A. Gray3-May-15 10:26
David A. Gray3-May-15 10:26 
AnswerRe: If a class can call its base constructor then why the constructor is not inherited Pin
Eddy Vluggen22-Apr-15 0:28
professionalEddy Vluggen22-Apr-15 0:28 
QuestionWrong select query SQLite? Pin
DPaul199420-Apr-15 20:00
DPaul199420-Apr-15 20:00 
AnswerRe: Wrong select query SQLite? Pin
Garth J Lancaster20-Apr-15 20:40
professionalGarth J Lancaster20-Apr-15 20:40 
GeneralRe: Wrong select query SQLite? Pin
DPaul199420-Apr-15 20:43
DPaul199420-Apr-15 20:43 
GeneralRe: Wrong select query SQLite? Pin
Garth J Lancaster20-Apr-15 21:07
professionalGarth J Lancaster20-Apr-15 21:07 
GeneralRe: Wrong select query SQLite? Pin
DPaul199421-Apr-15 0:26
DPaul199421-Apr-15 0:26 
GeneralRe: Wrong select query SQLite? Pin
DPaul199420-Apr-15 20:44
DPaul199420-Apr-15 20:44 
GeneralRe: Wrong select query SQLite? Pin
Garth J Lancaster20-Apr-15 21:08
professionalGarth J Lancaster20-Apr-15 21:08 
GeneralRe: Wrong select query SQLite? Pin
DPaul199421-Apr-15 0:26
DPaul199421-Apr-15 0:26 
GeneralRe: Wrong select query SQLite? Pin
Richard Deeming21-Apr-15 2:30
mveRichard Deeming21-Apr-15 2:30 
QuestionHi! Pin
Member King Fisher20-Apr-15 17:51
Member King Fisher20-Apr-15 17:51 
SuggestionRe: Hi! Pin
Richard MacCutchan20-Apr-15 21:28
mveRichard MacCutchan20-Apr-15 21:28 
QuestionEmpty path name is not legal Pin
DPaul199420-Apr-15 10:12
DPaul199420-Apr-15 10:12 
AnswerRe: Empty path name is not legal Pin
Sascha Lefèvre20-Apr-15 10:18
professionalSascha Lefèvre20-Apr-15 10:18 
GeneralRe: Empty path name is not legal Pin
DPaul199420-Apr-15 10:27
DPaul199420-Apr-15 10:27 
GeneralRe: Empty path name is not legal Pin
Sascha Lefèvre20-Apr-15 10:35
professionalSascha Lefèvre20-Apr-15 10:35 

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.