Click here to Skip to main content
15,891,629 members
Home / Discussions / C#
   

C#

 
AnswerRe: Strange Syntax- public string NewPassword { get; set; }and more Pin
Matt Meyer26-Jul-11 5:30
Matt Meyer26-Jul-11 5:30 
AnswerRe: Strange Syntax- public string NewPassword { get; set; }and more [modified] Pin
Herboren29-Jul-11 11:10
Herboren29-Jul-11 11:10 
GeneralHello all people, Pin
electrician_man25-Jul-11 6:11
electrician_man25-Jul-11 6:11 
GeneralRe: Hello all people, Pin
David198725-Jul-11 6:14
David198725-Jul-11 6:14 
GeneralRe: Hello all people, Pin
DaveyM6925-Jul-11 8:30
professionalDaveyM6925-Jul-11 8:30 
Questiondata filter options for grid Pin
dessiymartin24-Jul-11 23:51
dessiymartin24-Jul-11 23:51 
AnswerRe: data filter options for grid Pin
Dave Kreskowiak25-Jul-11 1:49
mveDave Kreskowiak25-Jul-11 1:49 
AnswerRe: data filter options for grid Pin
PIEBALDconsult25-Jul-11 2:44
mvePIEBALDconsult25-Jul-11 2:44 
AnswerRe: data filter options for grid Pin
robertalis26-Jul-11 1:48
robertalis26-Jul-11 1:48 
QuestionHow can I check if my IIS is alive using C#? Pin
goldsoft24-Jul-11 4:17
goldsoft24-Jul-11 4:17 
AnswerRe: How can I check if my IIS is alive using C#? Pin
Mark Salsbery24-Jul-11 8:03
Mark Salsbery24-Jul-11 8:03 
Questionlooking for regex format Pin
Gali197822-Jul-11 21:44
Gali197822-Jul-11 21:44 
AnswerRe: looking for regex format Pin
l a u r e n23-Jul-11 1:46
l a u r e n23-Jul-11 1:46 
AnswerRe: looking for regex format Pin
PIEBALDconsult23-Jul-11 4:07
mvePIEBALDconsult23-Jul-11 4:07 
AnswerRe: looking for regex format Pin
OriginalGriff23-Jul-11 22:05
mveOriginalGriff23-Jul-11 22:05 
QuestionEF 4.1 Pin
mehrdadc4822-Jul-11 21:37
mehrdadc4822-Jul-11 21:37 
AnswerRe: EF 4.1 Pin
Mark Salsbery23-Jul-11 14:37
Mark Salsbery23-Jul-11 14:37 
GeneralRe: EF 4.1 Pin
mehrdadc4823-Jul-11 18:21
mehrdadc4823-Jul-11 18:21 
GeneralRe: EF 4.1 Pin
Mark Salsbery23-Jul-11 21:11
Mark Salsbery23-Jul-11 21:11 
Questionc# pointers ? Pin
l a u r e n22-Jul-11 11:02
l a u r e n22-Jul-11 11:02 
AnswerRe: c# pointers ? Pin
Mark Salsbery22-Jul-11 12:06
Mark Salsbery22-Jul-11 12:06 
GeneralRe: c# pointers ? Pin
l a u r e n23-Jul-11 1:40
l a u r e n23-Jul-11 1:40 
well ok so i have a List<> of POCO objects that are serialized into json and back for transport over the wire from a web service ... now i don't send the actual data bytes with the list of items just the id and name (the data bytes can be several mb) and request the actual data bytes on demand ... once they are loaded from the server they are stored in memory in the List<>

my main form has a function to get a given document from the List<> ... that causes the doc class to see if the data is there, and if not, go get it and set a flag saying we have it now

then it returns the doc.doc_data which is a byte [] variable

my actual question is this: when i do "return doc.doc_data" does it make a copy of the data on the stack and pass it back, or does it simply return a ptr / ref to that data?

the 1st option would be very bad .... the 2nd is what i hope happens but i don't know how to tell what it is doing

hope that explains it better
Smile | :)

"mostly watching the human race is like watching dogs watch tv ... they see the pictures move but the meaning escapes them"

GeneralRe: c# pointers ? Pin
Mark Salsbery23-Jul-11 5:05
Mark Salsbery23-Jul-11 5:05 
GeneralRe: c# pointers ? Pin
l a u r e n23-Jul-11 5:59
l a u r e n23-Jul-11 5:59 
GeneralRe: c# pointers ? PinPopular
Mark Salsbery23-Jul-11 6:15
Mark Salsbery23-Jul-11 6: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.