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

C#

 
GeneralRe: 2 not so # things Pin
leppie11-Jul-03 18:11
leppie11-Jul-03 18:11 
GeneralRe: 2 not so # things Pin
Nick Parker11-Jul-03 18:30
protectorNick Parker11-Jul-03 18:30 
GeneralRe: 2 not so # things Pin
leppie11-Jul-03 18:45
leppie11-Jul-03 18:45 
GeneralRe: 2 not so # things Pin
Nick Parker12-Jul-03 5:26
protectorNick Parker12-Jul-03 5:26 
GeneralRe: 2 not so # things Pin
Heath Stewart11-Jul-03 18:31
protectorHeath Stewart11-Jul-03 18:31 
GeneralRe: 2 not so # things Pin
leppie11-Jul-03 19:29
leppie11-Jul-03 19:29 
GeneralRe: 2 not so # things Pin
Heath Stewart12-Jul-03 0:41
protectorHeath Stewart12-Jul-03 0:41 
GeneralRe: 2 not so # things Pin
James T. Johnson11-Jul-03 18:57
James T. Johnson11-Jul-03 18:57 
leppie wrote:
An abstract class may not be constructed, so why do you need to provide a constructor?

If you don't provide one at all (and alter the C# compiler to not provide one for you) you can't inherit from it to make use of the abstract class.

We can infer that because combining abstract with sealed results in an error that the C# desigers want the abstract keyword to imply that you want the class to be inherited from at some point.

It is perfectly legal to have a private constructor on an abstract class, which if all constructors are private then the class can't be inherited from.

James

"I despise the city and much prefer being where a traffic jam means a line-up at McDonald's"
Me when telling a friend why I wouldn't want to live with him

GeneralRe: 2 not so # things Pin
Heath Stewart11-Jul-03 18:21
protectorHeath Stewart11-Jul-03 18:21 
GeneralRe: 2 not so # things Pin
leppie11-Jul-03 18:29
leppie11-Jul-03 18:29 
GeneralOK, slap me silly and call me Susan - NOT Pin
leppie11-Jul-03 18:49
leppie11-Jul-03 18:49 
GeneralRe: 2 not so # things Pin
leppie11-Jul-03 19:40
leppie11-Jul-03 19:40 
GeneralRe: 2 not so # things Pin
Heath Stewart12-Jul-03 0:15
protectorHeath Stewart12-Jul-03 0:15 
GeneralRe: 2 not so # things Pin
leppie12-Jul-03 1:54
leppie12-Jul-03 1:54 
GeneralTooltips Pin
Nnamdi Onyeyiri11-Jul-03 12:25
Nnamdi Onyeyiri11-Jul-03 12:25 
GeneralRe: Tooltips Pin
Nick Parker11-Jul-03 18:33
protectorNick Parker11-Jul-03 18:33 
GeneralRe: Tooltips Pin
Nnamdi Onyeyiri11-Jul-03 23:27
Nnamdi Onyeyiri11-Jul-03 23:27 
GeneralServer Certificates Pin
Jeff Phillips11-Jul-03 8:36
Jeff Phillips11-Jul-03 8:36 
GeneralRe: Server Certificates Pin
Heath Stewart11-Jul-03 8:46
protectorHeath Stewart11-Jul-03 8:46 
GeneralCan't find namespace Pin
Shaun Becker11-Jul-03 5:38
Shaun Becker11-Jul-03 5:38 
GeneralRe: Can't find namespace Pin
Heath Stewart11-Jul-03 6:16
protectorHeath Stewart11-Jul-03 6:16 
GeneralRe: Can't find namespace Pin
Shaun Becker11-Jul-03 11:39
Shaun Becker11-Jul-03 11:39 
GeneralRe: Can't find namespace Pin
Heath Stewart11-Jul-03 12:10
protectorHeath Stewart11-Jul-03 12:10 
GeneralRe: Can't find namespace Pin
Anonymous12-Jul-03 1:06
Anonymous12-Jul-03 1:06 
GeneralProgram containing large struct arrays Pin
Mike_V11-Jul-03 4:59
Mike_V11-Jul-03 4:59 

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.