C
Christof Nordiek
</snip>I wanted to call:
foo(ref new string('\0',0), 0); //such intuitive syntax
..
If that would be possible in C#, it would be the same as:
foo(ref "", 0);
(besides, it would be the same instance as any other "" literal; but tha is
only remarkable by reference comparison)
ref doesn't mean your giving an object reference to the method.
it means your giving a variable reference to the method.
Christof