>Is the file "Microsoft Visual Studio .NET 2003\VC7\INCLUDE\crtdbg.h"
>(specifically, the new operators) used in any way, shape or form in C#?
No
Mattias

Signature
Mattias Sjögren [C# MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.
First, header files are not used by C#, so your first assumption is correct.
However, your second assumption is *not* correct. Garbage Collection
*minimizes the possibility* of memory leaks, but they are still entirely
possible. For example, some managed classes encapsulate or use unmanaged
resources, and implement the IDisposable interface. These should always be
disposed. There are some other cases in which memory leaks can result as
well.

Signature
HTH,
Kevin Spencer
Microsoft MVP
Ministry of Software Development
http://unclechutney.blogspot.com
Never trust a dunderhead with a blunderbuss.
> Is the file "Microsoft Visual Studio .NET 2003\VC7\INCLUDE\crtdbg.h"
> (specifically, the new operators) used in any way, shape or form in C#
> ? I am involved in writing an app that uses managed C++ and C# and I'd
> just like to verify that the memory leaks we're getting aren't
> connected with the C# side of things. I know the Garbage Collector is
> supposed to stop memory leaks, but I am stumped.