3
Answers

ref parameter

Thiago Prohaska

Thiago Prohaska

17y
1.9k
1
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)