Click here to Skip to main content
15,887,776 members
Home / Discussions / C#
   

C#

 
GeneralRe: which constructor gets called first? Pin
Luc Pattyn22-Jul-07 3:35
sitebuilderLuc Pattyn22-Jul-07 3:35 
GeneralRe: which constructor gets called first? Pin
Paul Conrad22-Jul-07 5:34
professionalPaul Conrad22-Jul-07 5:34 
GeneralRe: which constructor gets called first? Pin
Luc Pattyn22-Jul-07 5:46
sitebuilderLuc Pattyn22-Jul-07 5:46 
GeneralRe: which constructor gets called first? Pin
Paul Conrad22-Jul-07 5:49
professionalPaul Conrad22-Jul-07 5:49 
GeneralRe: which constructor gets called first? Pin
Guffa22-Jul-07 9:03
Guffa22-Jul-07 9:03 
GeneralRe: which constructor gets called first? Pin
Paul Conrad22-Jul-07 9:33
professionalPaul Conrad22-Jul-07 9:33 
GeneralRe: which constructor gets called first? Pin
Guffa22-Jul-07 10:11
Guffa22-Jul-07 10:11 
GeneralRe: which constructor gets called first? Pin
Luc Pattyn22-Jul-07 9:39
sitebuilderLuc Pattyn22-Jul-07 9:39 
Hi Paul,

the problem with your examples is they show result, not source.

Anyway, I did my little experiment and I observed:

PRE gives non-proportional font, pink background, and preservation of spaces and tabs

CODE gives non-proportional font, red foreground (hardly noticable), and when copying several
lines then newlines are lost.

for both: the optional "lang=cs" does not do anything.


My conclusion:
- I will continue to use PRE without CODE for blocks of code, (so one can copy them easily)
- I will occasionally use CODE without PRE inside a text alinea to quote a piece of
code that fits on a single line (so the newline-not-copied problem isnt relevant).

Does this match your view on things ?

Regards



GeneralRe: which constructor gets called first? Pin
Paul Conrad22-Jul-07 9:51
professionalPaul Conrad22-Jul-07 9:51 
GeneralRe: which constructor gets called first? Pin
Luc Pattyn22-Jul-07 9:57
sitebuilderLuc Pattyn22-Jul-07 9:57 
GeneralRe: which constructor gets called first? Pin
Luc Pattyn22-Jul-07 10:00
sitebuilderLuc Pattyn22-Jul-07 10:00 
GeneralRe: which constructor gets called first? Pin
Paul Conrad22-Jul-07 10:00
professionalPaul Conrad22-Jul-07 10:00 
GeneralRe: which constructor gets called first? Pin
Guffa22-Jul-07 10:15
Guffa22-Jul-07 10:15 
GeneralRe: which constructor gets called first? Pin
Paul Conrad22-Jul-07 10:19
professionalPaul Conrad22-Jul-07 10:19 
GeneralRe: which constructor gets called first? Pin
Luc Pattyn22-Jul-07 10:27
sitebuilderLuc Pattyn22-Jul-07 10:27 
GeneralRe: which constructor gets called first? Pin
Paul Conrad22-Jul-07 10:37
professionalPaul Conrad22-Jul-07 10:37 
GeneralRe: which constructor gets called first? Pin
Luc Pattyn22-Jul-07 10:51
sitebuilderLuc Pattyn22-Jul-07 10:51 
GeneralRe: which constructor gets called first? Pin
Paul Conrad22-Jul-07 11:08
professionalPaul Conrad22-Jul-07 11:08 
GeneralRe: which constructor gets called first? Pin
Paul Conrad22-Jul-07 9:57
professionalPaul Conrad22-Jul-07 9:57 
QuestionCreating Screen Saver in C# [modified] Pin
Identity Undisclosed22-Jul-07 1:15
Identity Undisclosed22-Jul-07 1:15 
AnswerRe: Creating Screen Saver in C# Pin
Luc Pattyn22-Jul-07 1:23
sitebuilderLuc Pattyn22-Jul-07 1:23 
GeneralRe: Creating Screen Saver in C# Pin
Identity Undisclosed22-Jul-07 1:44
Identity Undisclosed22-Jul-07 1:44 
GeneralRe: Creating Screen Saver in C# Pin
Luc Pattyn22-Jul-07 2:05
sitebuilderLuc Pattyn22-Jul-07 2:05 
GeneralRe: Creating Screen Saver in C# Pin
Identity Undisclosed22-Jul-07 2:19
Identity Undisclosed22-Jul-07 2:19 
GeneralRe: Creating Screen Saver in C# Pin
Luc Pattyn22-Jul-07 2:31
sitebuilderLuc Pattyn22-Jul-07 2:31 

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.