One of the frequent causes of memory leaks in .Net are event handlers which are never removed from their source objects.
Will this WCF code cause a memory leak, or will the lamda go out of scope too, allowing both the proxy class and the handler to be GCed?
void AMethod()
{
WCFClient proxy;
proxy = new WCFClient();
proxy.RemoteOperationCompleted += (sender, e) => proxy.Close();
proxy.Open();
proxy.RemoteOperationAsync();
}