Click here to Skip to main content
15,910,009 members
Home / Discussions / C#
   

C#

 
GeneralRe: Control Array Pin
StephenMcAllister24-Sep-05 21:57
StephenMcAllister24-Sep-05 21:57 
Questionxml node problem Pin
thepersonof24-Sep-05 8:48
thepersonof24-Sep-05 8:48 
AnswerRe: xml node problem Pin
Guffa24-Sep-05 12:27
Guffa24-Sep-05 12:27 
QuestionApplication Domains Pin
Tomas Brennan24-Sep-05 4:41
Tomas Brennan24-Sep-05 4:41 
AnswerRe: Application Domains Pin
Nick Parker24-Sep-05 9:05
protectorNick Parker24-Sep-05 9:05 
GeneralRe: Application Domains Pin
Tomas Brennan25-Sep-05 5:38
Tomas Brennan25-Sep-05 5:38 
GeneralRe: Application Domains Pin
Tomas Brennan29-Sep-05 3:13
Tomas Brennan29-Sep-05 3:13 
QuestionBig StructLayout question Pin
Alex Cutovoi24-Sep-05 4:14
Alex Cutovoi24-Sep-05 4:14 
Hi fellows

I'm studying C# and I've seen the StructLayoutAttribute class. In their description was written this:
"The StructLayoutAttribute class allows the user to control the physical layout of data fields of a class or structure".
I've seen the LayoutKind enumerator too. This was written in their description: "Control the layout of an object when exporting to unmanaged code".
There are three options:
Auto, which the runtime chooses the appropriate layout for the members of an object.
Explicit: which the precise position (Confused | :confused: how? precise position?) of each member of object in unmanaged memory is controlled.
Sequential: which the members of object are laid out sequentially, in order that they appear whn exported to unmanaged code.

I didn't understand nothing. What want it to say when it says "control the physical layout" of a class?

Thanks for help guys
AnswerRe: Big StructLayout question Pin
Guffa24-Sep-05 8:44
Guffa24-Sep-05 8:44 
QuestionC# articles Pin
CWinThread24-Sep-05 4:12
CWinThread24-Sep-05 4:12 
AnswerRe: C# articles Pin
Alex Cutovoi24-Sep-05 4:21
Alex Cutovoi24-Sep-05 4:21 
GeneralRe: C# articles Pin
CWinThread24-Sep-05 13:18
CWinThread24-Sep-05 13:18 
QuestionWhich is efficient? "" or string.Empty ? Pin
manivannan.p24-Sep-05 2:59
manivannan.p24-Sep-05 2:59 
AnswerRe: Which is efficient? "" or string.Empty ? Pin
mav.northwind24-Sep-05 3:17
mav.northwind24-Sep-05 3:17 
GeneralRe: Which is efficient? "" or string.Empty ? Pin
Guffa24-Sep-05 8:52
Guffa24-Sep-05 8:52 
GeneralRe: Which is efficient? "" or string.Empty ? Pin
mav.northwind24-Sep-05 9:29
mav.northwind24-Sep-05 9:29 
GeneralRe: Which is efficient? "" or string.Empty ? Pin
leppie24-Sep-05 14:34
leppie24-Sep-05 14:34 
GeneralRe: Which is efficient? "" or string.Empty ? Pin
Guffa25-Sep-05 5:36
Guffa25-Sep-05 5:36 
GeneralRe: Which is efficient? "" or string.Empty ? Pin
Nick Parker24-Sep-05 9:22
protectorNick Parker24-Sep-05 9:22 
AnswerRe: Which is efficient? "" or string.Empty ? Pin
Judah Gabriel Himango24-Sep-05 10:37
sponsorJudah Gabriel Himango24-Sep-05 10:37 
AnswerRe: Which is efficient? "" or string.Empty ? Pin
Mohamad Al Husseiny25-Sep-05 8:12
Mohamad Al Husseiny25-Sep-05 8:12 
QuestionOpening Word in WebBrowser control and selecting some text Pin
mirano24-Sep-05 2:28
mirano24-Sep-05 2:28 
QuestionHow to get handles opened by the current process? Pin
Anonymous24-Sep-05 0:28
Anonymous24-Sep-05 0:28 
AnswerRe: How to get handles opened by the current process? Pin
Dave Kreskowiak24-Sep-05 16:04
mveDave Kreskowiak24-Sep-05 16:04 
Question5 years of C# and still no open projects... Pin
Anonymous23-Sep-05 23:39
Anonymous23-Sep-05 23:39 

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.