The ref method parameter keyword on a method parameter causes a method to refer to the same variable that was passed into the method. Any changes made to the parameter in the method will be reflected in that variable when control passes back to the calling method.
ну, предположим.
An overload will occur if declarations of two methods differ only in their use of ref.
какой, нах, overload? как компилятор поймёт, какой метод вызывается?
A property is not a variable and cannot be passed as a ref parameter.
ур-роды. меня ещё в Дельфи это достало, и тут то же самое. так трудно временный объект на стеке сделать?
ну, предположим.
An overload will occur if declarations of two methods differ only in their use of ref.
какой, нах, overload? как компилятор поймёт, какой метод вызывается?
A property is not a variable and cannot be passed as a ref parameter.
ур-роды. меня ещё в Дельфи это достало, и тут то же самое. так трудно временный объект на стеке сделать?
(no subject)
Date: 2003-01-15 12:28 pm (UTC)