3
Answers

ref parameter

Ask a question
I have a void: 

private void teste(ref ControlCollection controles)

{

}

when i use the void:

teste(ref this.Page.Controls);

it returns the error to follow

Error 14 A property or indexer may not be passed as an out or ref parameter
 

thanks!


Answers (3)