.NET
netvscom.txt
Associated article: .NET Versus COM
Tags: .NET Mobile
Published source code accompanying the article by Robert Gunion in which he evalutes the differences between .NET and COM, and C++/Visual Basic and C#. Also see NETVSCOM.ZIP.
.NET Versus COM
by Robert Gunion
Example 1:
(a)
void MyMethod()
{
int myInt;
myInt = 5;
} // (myInt doesn't need to be removed from memory manually)
(b)
void MyMethod()
{
int * pmyInt = new int;
*pmyInt = 5;
delete pmyInt; // must delete the pointer to prevent a memory ...


