Click here to Skip to main content
16,005,734 members
Home / Discussions / C#
   

C#

 
GeneralRe: Is there a way (hopefuly an easy one) to access the video card buffer/memory? Pin
xax11-Oct-08 3:05
xax11-Oct-08 3:05 
AnswerRe: Is there a way (hopefuly an easy one) to access the video card buffer/memory? Pin
Giorgi Dalakishvili10-Oct-08 3:07
mentorGiorgi Dalakishvili10-Oct-08 3:07 
QuestionImplementing an interface question Pin
Harvey Saayman10-Oct-08 2:16
Harvey Saayman10-Oct-08 2:16 
AnswerRe: Implementing an interface question Pin
leppie10-Oct-08 2:26
leppie10-Oct-08 2:26 
GeneralRe: Implementing an interface question Pin
Harvey Saayman10-Oct-08 2:34
Harvey Saayman10-Oct-08 2:34 
GeneralRe: Implementing an interface question Pin
leppie10-Oct-08 2:41
leppie10-Oct-08 2:41 
GeneralRe: Implementing an interface question Pin
Harvey Saayman10-Oct-08 2:44
Harvey Saayman10-Oct-08 2:44 
GeneralRe: Implementing an interface question Pin
DaveyM6910-Oct-08 3:01
professionalDaveyM6910-Oct-08 3:01 
I slightly disagree with Leppie on this one.

I've seen it written many times that classes are easier to deal with and everyone says use them in C#.

If your example is really as simple as you've posted then seeing as each NodeModuleLevelStruct is going to be very small and is only using value types for properties/fields I'd be tempted to keep it as a struct. Small basic structs are easy to deal with, and if you want it to act like a reference type in a method you can always use the ref keyword. I find using structs very useful as I can be sure (so long as I've coded them properly) that my original instance is unchanged and if I want to change it, I can use ref or assign a copy's values to it.

It depends on how big it is, what it contains, and how you plan on using it.

Dave
BTW, in software, hope and pray is not a viable strategy. (Luc Pattyn)
Visual Basic is not used by normal people so we're not covering it here. (Uncyclopedia)

GeneralRe: Implementing an interface question Pin
leppie10-Oct-08 3:51
leppie10-Oct-08 3:51 
GeneralRe: Implementing an interface question Pin
DaveyM6910-Oct-08 4:28
professionalDaveyM6910-Oct-08 4:28 
GeneralRe: Implementing an interface question Pin
Guffa10-Oct-08 6:26
Guffa10-Oct-08 6:26 
GeneralRe: Implementing an interface question Pin
DaveyM6910-Oct-08 8:05
professionalDaveyM6910-Oct-08 8:05 
GeneralRe: Implementing an interface question Pin
Guffa10-Oct-08 12:08
Guffa10-Oct-08 12:08 
GeneralRe: Implementing an interface question Pin
DaveyM6910-Oct-08 13:00
professionalDaveyM6910-Oct-08 13:00 
Questiondata formating Pin
muharrem10-Oct-08 1:40
muharrem10-Oct-08 1:40 
AnswerRe: data formating Pin
DaveyM6910-Oct-08 1:49
professionalDaveyM6910-Oct-08 1:49 
QuestionDataSource Pin
reza assar10-Oct-08 1:34
reza assar10-Oct-08 1:34 
AnswerRe: DataSource Pin
SeMartens10-Oct-08 1:44
SeMartens10-Oct-08 1:44 
AnswerRe: DataSource Pin
nelsonpaixao10-Oct-08 12:54
nelsonpaixao10-Oct-08 12:54 
Questioncreat a shortcut Pin
reza assar10-Oct-08 1:31
reza assar10-Oct-08 1:31 
AnswerRe: creat a shortcut Pin
DaveyM6910-Oct-08 1:33
professionalDaveyM6910-Oct-08 1:33 
QuestionOut of memory errors on drawing images in Pdf file Pin
Ninii10-Oct-08 1:23
Ninii10-Oct-08 1:23 
AnswerRe: Out of memory errors on drawing images in Pdf file Pin
leppie10-Oct-08 2:28
leppie10-Oct-08 2:28 
GeneralRe: Out of memory errors on drawing images in Pdf file Pin
Ninii10-Oct-08 21:48
Ninii10-Oct-08 21:48 
Questionhow to show a range of date using calender control in c# .net Pin
aurosikhadas10-Oct-08 1:01
aurosikhadas10-Oct-08 1: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.