Indexed Properties in C# 4.0(blogs.msdn.com)

submitted by KirillOsenkovKirillOsenkov(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.

add a comment |category: |Views: 23

tags: another

new Add a live kick counter to your blog >> liveImage

You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:
Comments:

No comments so far

information Login or create an account to comment on this story