Optional ref keyword when using COM

suggest change

The ref keyword for callers of methods is now optional when calling into methods supplied by COM interfaces. Given a COM method with the signature

void Increment(ref int x);

the invocation can now be written as either

Increment(0); // no need for "ref" or a place holder variable any more

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents