Click here to Skip to main content
15,899,124 members
Home / Discussions / C#
   

C#

 
GeneralRe: HttpWebResponse Strange Behavior... Pin
DuKeClod27-Feb-04 9:30
DuKeClod27-Feb-04 9:30 
GeneralXML comments don't show up when referencing DLL Pin
krisp26-Feb-04 18:53
krisp26-Feb-04 18:53 
GeneralRe: XML comments don't show up when referencing DLL Pin
Heath Stewart27-Feb-04 3:43
protectorHeath Stewart27-Feb-04 3:43 
GeneralArray iteration using unsafe code Pin
Meysam Mahfouzi26-Feb-04 18:23
Meysam Mahfouzi26-Feb-04 18:23 
GeneralRe: Array iteration using unsafe code Pin
Member 26118827-Feb-04 2:55
Member 26118827-Feb-04 2:55 
GeneralRe: Array iteration using unsafe code Pin
Heath Stewart27-Feb-04 3:34
protectorHeath Stewart27-Feb-04 3:34 
GeneralRe: Array iteration using unsafe code Pin
scadaguy27-Feb-04 3:07
scadaguy27-Feb-04 3:07 
GeneralRe: Array iteration using unsafe code Pin
turbochimp27-Feb-04 4:01
turbochimp27-Feb-04 4:01 
Is the object unmanaged? If not, it will be difficult. The GC is agnostic of pointers, so pointers are not allowed to reference types or structs that may appear (including structs with references) on the managed heap. If it were allowed, you could potentially wind up with heap resources referenced only by pointers that could be reclaimed while still in use.

From the language spec:
Unlike references (values of reference types), pointers are not tracked by the garbage collector - the garbage collector has no knowledge of pointers and the data to which they point. For this reason a pointer is not permitted to point to a reference or to a struct that contains references, and the referent type of a pointer must be an unmanaged-type.

An unmanaged-type is any type that isn't a reference-type and doesn't contain reference-type fields at any level of nesting. In other words, an unmanaged-type is one of the following:
sbyte, byte, short, ushort, int, uint, long, ulong, char, float, double, decimal, or bool.


The most exciting phrase to hear in science, the one that heralds the most discoveries, is not 'Eureka!' ('I found it!') but 'That's funny...’

GeneralArray of Interfaces Pin
Meysam Mahfouzi26-Feb-04 18:07
Meysam Mahfouzi26-Feb-04 18:07 
GeneralRe: Array of Interfaces Pin
Corinna John26-Feb-04 21:06
Corinna John26-Feb-04 21:06 
GeneralRe: Array of Interfaces Pin
Member 26118827-Feb-04 2:42
Member 26118827-Feb-04 2:42 
GeneralRe: Array of Interfaces Pin
Heath Stewart27-Feb-04 3:29
protectorHeath Stewart27-Feb-04 3:29 
GeneralRe: Array of Interfaces Pin
Werdna27-Feb-04 5:26
Werdna27-Feb-04 5:26 
Generaldatagrid to windows form Pin
ASGill26-Feb-04 17:27
ASGill26-Feb-04 17:27 
GeneralRe: datagrid to windows form Pin
Mazdak26-Feb-04 21:15
Mazdak26-Feb-04 21:15 
GeneralRe: datagrid to windows form Pin
ASGill28-Feb-04 15:38
ASGill28-Feb-04 15:38 
GeneralRe: datagrid to windows form Pin
Mazdak28-Feb-04 21:42
Mazdak28-Feb-04 21:42 
GeneralContext Menu Events Pin
BigBlob20226-Feb-04 16:53
BigBlob20226-Feb-04 16:53 
GeneralRe: Context Menu Events Pin
Nick Parker26-Feb-04 17:42
protectorNick Parker26-Feb-04 17:42 
GeneralRe: Context Menu Events Pin
BigBlob20226-Feb-04 18:02
BigBlob20226-Feb-04 18:02 
GeneralRe: Context Menu Events Pin
Nick Parker26-Feb-04 18:32
protectorNick Parker26-Feb-04 18:32 
GeneralRe: Context Menu Events Pin
BigBlob20227-Feb-04 7:49
BigBlob20227-Feb-04 7:49 
QuestionHow to gain access to a network share? Pin
Throckmorton26-Feb-04 14:44
Throckmorton26-Feb-04 14:44 
AnswerRe: How to gain access to a network share? Pin
Verdant12326-Feb-04 16:37
Verdant12326-Feb-04 16:37 
AnswerRe: How to gain access to a network share? Pin
Heath Stewart27-Feb-04 3:23
protectorHeath Stewart27-Feb-04 3:23 

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.