Whirlwind 12: What's new in C# 4 - More COM Love

7 minutes, 41 seconds


Right click “Save as…”

ISV Architect Evangelist Bruce Kyle of Microsoft and MVP Stuart Celarier explore the new languages features in C#. It's a Whirlwind Tour of the important language features of C# 4. Stuart describes each major feature and why it is useful. But doesn't get into best practices nor suggested usages. Just the facts about each feature.

Whirlwinds are bite-sized webcasts, generally shorter than 15 minutes. You can start anywhere in the series to learn about the parts you're most interested in.

Stuart describes two improvements to C# 4 for COM Interop.

  • ref keyword is optional if you are not going to use a return value when calling COM.
  • No Primary Interop Assembly (PIA) is required.

Stuart describes the importance of these two new features in C#.

Discover the entire series on C#.

What's new in C# 2

What's new in C# 3

What's new in C# 4

For the latest news for developers and ISVs, see US ISV Developer Community blog.

For code samples and additional information on C# 4, see Visual Stuart.NET.


Follow the discussion

Comments closed

Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation, please create a new thread in our Forums, or Contact Us and let us know.