If I put the following as the very first line of code in my application, I
get a result of 1.
Console.WriteLine("Gen 0 has been swept {0} times.", GC.CollectionCount(0))
-Scott
Is this causing you any perf issues?
Thanks
Muhammed
CLR Performance Team.
"Scott M." <s-...@nospam.nospam> wrote in message
news:#YUbpn5E...@TK2MSFTNGP03.phx.gbl...
-Scott
"Muhammed Fawzy" <mfaw...@hotmail.com> wrote in message
news:B007D6B2-6DB1-4DF3...@microsoft.com...