I know that using
is used to release (give dispose
) resources. My question is in the following case:
public void FuncNaoFazNada()
{
using(var acd = new AlgumaClasseIDisposable())
{
return;
}
}
In this case, will the resources used by ACD be waived? Or will the flow break keep the resources allocated?