Click here to Skip to main content
15,925,868 members
Home / Discussions / C#
   

C#

 
GeneralRe: RTF to HTML converter Pin
vijayakumar.bu6-Jan-09 20:17
vijayakumar.bu6-Jan-09 20:17 
AnswerRe: RTF to HTML converter Pin
Jani Giannoudis15-Jan-09 13:02
mvaJani Giannoudis15-Jan-09 13:02 
Questiongetting a list of folders within a folder Pin
Jordanwb20-Oct-07 14:12
Jordanwb20-Oct-07 14:12 
AnswerRe: getting a list of folders within a folder Pin
Luc Pattyn20-Oct-07 14:21
sitebuilderLuc Pattyn20-Oct-07 14:21 
GeneralRe: getting a list of folders within a folder Pin
Jordanwb20-Oct-07 14:26
Jordanwb20-Oct-07 14:26 
QuestionStatic variable declaration C# Pin
NGSjamesc20-Oct-07 13:18
NGSjamesc20-Oct-07 13:18 
AnswerRe: Static variable declaration C# Pin
Dave Doknjas20-Oct-07 13:23
Dave Doknjas20-Oct-07 13:23 
AnswerRe: Static variable declaration C# Pin
Scott Dorman20-Oct-07 16:17
professionalScott Dorman20-Oct-07 16:17 
These are the same; both of these statements define the following portions of the field declaration:

[modifier] [accessibility] [data type] [variable name] and [initializer]

The static keyword is the modifier, which identifies exactly one storage location.
The public keyword is the accessibility, which defines the external visibility of the field.
The int is the datatype.

The language specification doesn't require a specific order for the modifier and the accessability keywords, as long as they come before the datatype the compiler will understand what is meant.

This lack of order for these keywords is done mainly to leave the order up to individual preference. Some people prefer the accessibility to be stated first, while others prefer the modifier first.




Scott.

—In just two days, tomorrow will be yesterday.

[Forum Guidelines] [Articles] [Blog]

QuestionHelp CrystalReport Pin
KppsK20-Oct-07 12:08
KppsK20-Oct-07 12:08 
QuestionD vs C# Pin
Mike717120-Oct-07 11:08
Mike717120-Oct-07 11:08 
AnswerRe: D vs C# Pin
Christian Graus20-Oct-07 12:47
protectorChristian Graus20-Oct-07 12:47 
GeneralRe: D vs C# Pin
Mike717120-Oct-07 14:28
Mike717120-Oct-07 14:28 
GeneralRe: D vs C# Pin
Christian Graus20-Oct-07 14:37
protectorChristian Graus20-Oct-07 14:37 
AnswerRe: D vs C# Pin
PIEBALDconsult21-Oct-07 12:39
mvePIEBALDconsult21-Oct-07 12:39 
QuestionTextBox.Name Pin
j_sen20-Oct-07 8:56
j_sen20-Oct-07 8:56 
AnswerRe: TextBox.Name Pin
Luc Pattyn20-Oct-07 9:17
sitebuilderLuc Pattyn20-Oct-07 9:17 
GeneralRe: TextBox.Name Pin
Guffa20-Oct-07 9:27
Guffa20-Oct-07 9:27 
GeneralRe: TextBox.Name Pin
Luc Pattyn20-Oct-07 12:14
sitebuilderLuc Pattyn20-Oct-07 12:14 
AnswerRe: TextBox.Name Pin
Guffa20-Oct-07 9:26
Guffa20-Oct-07 9:26 
QuestionHow to add visio shapes into Win Forms using C#? Pin
Pooya Musavi20-Oct-07 3:56
Pooya Musavi20-Oct-07 3:56 
AnswerRe: How to add visio shapes into Win Forms using C#? Pin
Giorgi Dalakishvili20-Oct-07 4:37
mentorGiorgi Dalakishvili20-Oct-07 4:37 
QuestionSplash Screen in C# for Beginners - Intermediate Pin
andyr200520-Oct-07 2:22
andyr200520-Oct-07 2:22 
AnswerRe: Splash Screen in C# for Beginners - Intermediate Pin
Luc Pattyn20-Oct-07 2:27
sitebuilderLuc Pattyn20-Oct-07 2:27 
GeneralRe: Splash Screen in C# for Beginners - Intermediate Pin
Uwe Keim20-Oct-07 3:48
sitebuilderUwe Keim20-Oct-07 3:48 
GeneralRe: Splash Screen in C# for Beginners - Intermediate Pin
Luc Pattyn20-Oct-07 5:15
sitebuilderLuc Pattyn20-Oct-07 5:15 

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.