Optional ref keyword when using COM
suggest changeThe 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
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents