Saturday, December 29, 2007

ref vs out parameter

ref
Before passing ref parameter the sender class must instantiate the ref argument, so ref requires additional bandwidth to send the object both ways.
ref allows the called methods to modify the object to which the reference refers because the reference itself is being passed by reference.
out
An out argument is created by the called method and it is returned to the caller.

Power toy for .NETCF 3.5

Microsoft has released the Power Toy for .NETCF 3.5, it includes few important features that were available with .NET but missing from .NETCF like

· Remote Performance Monitor and GC Heap Viewer

· NETCF CLR Profiler

· App Configuration Tool (NetCFcfg.exe)

For additional details please refer http://blogs.msdn.com/netcfteam/archive/2007/09/12/power-toys-for-net-compact-framework-3-5-ctp-released.aspx