Indexed Properties in C# 4.0(blogs.msdn.com)
submitted by
KirillOsenkov(570) 2 years, 3 months ago
In C# 4.0 you can call parameterized properties that are declared in other languages (VB, COM, C++, etc) using the indexer syntax, for instance instead of excel.get_Range("a") you can now write excel.Range["a"].
You still can’t declare your own indexed properties from C#.
The feature is immediately available in Visual Studio 2010 Beta 2 for your indexing pleasure.
|category: C#
|Views: 23
tags:
C# another
Everyones tags:
Your Tags: