Click here to Skip to main content
15,897,371 members
Home / Discussions / C#
   

C#

 
AnswerRe: Virtual Dispatching Pin
leppie1-Sep-05 18:07
leppie1-Sep-05 18:07 
QuestionDeserialize - comments? Pin
peterchen1-Sep-05 13:34
peterchen1-Sep-05 13:34 
AnswerRe: Deserialize - comments? Pin
leppie1-Sep-05 14:14
leppie1-Sep-05 14:14 
GeneralRe: Deserialize - comments? Pin
peterchen1-Sep-05 20:30
peterchen1-Sep-05 20:30 
GeneralRe: Deserialize - comments? Pin
Mathew Hall2-Sep-05 0:43
Mathew Hall2-Sep-05 0:43 
QuestionC#/.NET coding standards: private members Pin
peterchen1-Sep-05 13:11
peterchen1-Sep-05 13:11 
AnswerRe: C#/.NET coding standards: private members Pin
Christian Graus1-Sep-05 13:58
protectorChristian Graus1-Sep-05 13:58 
GeneralRe: C#/.NET coding standards: private members Pin
Mathew Hall2-Sep-05 1:03
Mathew Hall2-Sep-05 1:03 
I use uppercase for public, lowercase for private. To be CLS compliant, if you have a private member and you want a public property, you can't do this

Not true (for C# anyway - VB is another story Dead | X| ) - if you mark your assembly with [assembly: CLSCompliant(true)] and then do something like this

protected string hello;<br />
public string Hello<br />
{<br />
  get<br />
  {<br />
    return this.hello;<br />
  }<br />
}


the compiler throws a fit but if you change

protected string hello;

to

private string hello;

everything works fine. I do all my coding in C# this way and VB doesn't have any problems using the assemblies

"I think I speak on behalf of everyone here when I say huh?" - Buffy
GeneralRe: C#/.NET coding standards: private members Pin
Christian Graus4-Sep-05 10:23
protectorChristian Graus4-Sep-05 10:23 
AnswerRe: C#/.NET coding standards: private members Pin
Mathew Hall2-Sep-05 1:07
Mathew Hall2-Sep-05 1:07 
Questiondrag and drop scrolling Pin
xilefxilef1-Sep-05 10:20
xilefxilef1-Sep-05 10:20 
AnswerRe: drag and drop scrolling Pin
Judah Gabriel Himango1-Sep-05 10:27
sponsorJudah Gabriel Himango1-Sep-05 10:27 
Questioncan this be done in C# / .NET / WinForms? Pin
peterchen1-Sep-05 10:08
peterchen1-Sep-05 10:08 
AnswerRe: can this be done in C# / .NET / WinForms? Pin
Judah Gabriel Himango1-Sep-05 10:17
sponsorJudah Gabriel Himango1-Sep-05 10:17 
GeneralRe: can this be done in C# / .NET / WinForms? Pin
peterchen1-Sep-05 10:37
peterchen1-Sep-05 10:37 
GeneralRe: can this be done in C# / .NET / WinForms? Pin
Judah Gabriel Himango1-Sep-05 10:55
sponsorJudah Gabriel Himango1-Sep-05 10:55 
GeneralRe: can this be done in C# / .NET / WinForms? Pin
Mathew Hall2-Sep-05 1:15
Mathew Hall2-Sep-05 1:15 
AnswerRe: can this be done in C# / .NET / WinForms? Pin
hamster11-Sep-05 16:11
hamster11-Sep-05 16:11 
QuestionAccesing a xml Pin
BECK71-Sep-05 10:07
BECK71-Sep-05 10:07 
AnswerRe: Accesing a xml Pin
Stanciu Vlad1-Sep-05 10:21
Stanciu Vlad1-Sep-05 10:21 
GeneralRe: Accesing a xml Pin
BECK71-Sep-05 10:40
BECK71-Sep-05 10:40 
GeneralRe: Accesing a xml Pin
Stanciu Vlad1-Sep-05 10:47
Stanciu Vlad1-Sep-05 10:47 
GeneralRe: Accesing a xml Pin
BECK71-Sep-05 10:52
BECK71-Sep-05 10:52 
GeneralRe: Accesing a xml Pin
Mohamad Al Husseiny1-Sep-05 11:30
Mohamad Al Husseiny1-Sep-05 11:30 
GeneralRe: Accesing a xml Pin
BECK72-Sep-05 7:01
BECK72-Sep-05 7:01 

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.