Indexed properties | Get Ready For C# 4.0

Posted by Tarek N. Elsamni | Posted in | Posted on 12:35

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

Comments (0)

Post a Comment