Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

Indexed properties | Get Ready For C# 4.0

Many COM Apis Expose “indexed properties” which are essentially properties with parameters. C# will not allow you to declare indexed properties, but to the extent that non-C# APIs expose them, will now allow you to access these using element access syntax. So instead of



You can now write the more intuitive



This post first appeared on Code Snippets, please read the originial post: here

Share the post

Indexed properties | Get Ready For C# 4.0

×

Subscribe to Code Snippets

Get updates delivered right to your inbox!

Thank you for your subscription

×