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

C#

 
AnswerRe: project doubt Pin
Pete O'Hanlon17-Jun-09 5:33
mvePete O'Hanlon17-Jun-09 5:33 
GeneralRe: project doubt Pin
OriginalGriff17-Jun-09 5:38
mveOriginalGriff17-Jun-09 5:38 
QuestionHow to determine the number of references a program is currently using? Pin
Abul Kayes17-Jun-09 0:26
Abul Kayes17-Jun-09 0:26 
AnswerRe: How to determine the number of references a program is currently using? Pin
OriginalGriff17-Jun-09 0:51
mveOriginalGriff17-Jun-09 0:51 
GeneralRe: How to determine the number of references a program is currently using? Pin
Luc Pattyn17-Jun-09 1:10
sitebuilderLuc Pattyn17-Jun-09 1:10 
GeneralRe: How to determine the number of references a program is currently using? Pin
Abul Kayes17-Jun-09 4:56
Abul Kayes17-Jun-09 4:56 
GeneralRe: How to determine the number of references a program is currently using? Pin
Abul Kayes17-Jun-09 4:53
Abul Kayes17-Jun-09 4:53 
GeneralRe: How to determine the number of references a program is currently using? Pin
Luc Pattyn17-Jun-09 5:05
sitebuilderLuc Pattyn17-Jun-09 5:05 
you can't, there is nothing to support that in .NET
The GC is based on (a slightly conservative) reachability or "life" analysis, not on reference counting.
why would you need a reference count?
if only for one or a few classes of your own, you could try and implement it yourself, including an override for the = operator. Not sure you can get it all tight though.

Smile | :)

Luc Pattyn [Forum Guidelines] [My Articles]

DISCLAIMER: this message may have been modified by others; it may no longer reflect what I intended, and may contain bad advice; use at your own risk and with extreme care.

QuestionCalculate difference between two dates Pin
KIDYA17-Jun-09 0:15
KIDYA17-Jun-09 0:15 
AnswerRe: Calculate difference between two dates Pin
OriginalGriff17-Jun-09 0:33
mveOriginalGriff17-Jun-09 0:33 
AnswerRe: Calculate difference between two dates Pin
Baran M17-Jun-09 0:36
Baran M17-Jun-09 0:36 
AnswerRe: Calculate difference between two dates Pin
himanshu256117-Jun-09 0:38
himanshu256117-Jun-09 0:38 
QuestionSystem.Drawing.Image to IPicture and back changes the image Pin
Sander123432117-Jun-09 0:09
Sander123432117-Jun-09 0:09 
AnswerRe: System.Drawing.Image to IPicture and back changes the image Pin
Henry Minute17-Jun-09 1:24
Henry Minute17-Jun-09 1:24 
QuestionSQL Data type validation Pin
jonhbt16-Jun-09 23:49
jonhbt16-Jun-09 23:49 
AnswerRe: SQL Data type validation Pin
himanshu256117-Jun-09 0:46
himanshu256117-Jun-09 0:46 
AnswerRe: SQL Data type validation Pin
PIEBALDconsult17-Jun-09 9:12
mvePIEBALDconsult17-Jun-09 9:12 
GeneralRe: SQL Data type validation Pin
jonhbt17-Jun-09 23:12
jonhbt17-Jun-09 23:12 
GeneralRe: SQL Data type validation Pin
PIEBALDconsult18-Jun-09 4:42
mvePIEBALDconsult18-Jun-09 4:42 
QuestionC# XmlDocument Encoding Pin
Samb198516-Jun-09 22:24
Samb198516-Jun-09 22:24 
AnswerRe: C# XmlDocument Encoding Pin
SeMartens16-Jun-09 22:45
SeMartens16-Jun-09 22:45 
GeneralRe: C# XmlDocument Encoding Pin
Samb198516-Jun-09 23:18
Samb198516-Jun-09 23:18 
GeneralRe: C# XmlDocument Encoding Pin
SeMartens16-Jun-09 23:45
SeMartens16-Jun-09 23:45 
GeneralRe: C# XmlDocument Encoding Pin
Samb198516-Jun-09 23:47
Samb198516-Jun-09 23:47 
GeneralRe: C# XmlDocument Encoding Pin
SeMartens16-Jun-09 23:53
SeMartens16-Jun-09 23:53 

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.