Question
Does c# support parameterized properties?

Answers

No. C# does, however, support the concept of an indexer from language spec. An indexer is a member that enables an object to be indexed in the same way as an array. Whereas properties enable field-like access, indexers enable array-like access. As an example, consider the Stack class presented earlier. The designer of this class may want to expose array-like access so that it is possible to inspect or alter the items on the stack without performing unnecessary Push and Pop operations. That is, Stack is implemented as a linked list, but it also provides the convenience of array access.
Indexer declarations are similar to property declarations, with the main differences being that indexers are nameless (the name used in the declaration is this, since this is being indexed) and that indexers include indexing parameters. The indexing parameters are provided between square brackets.   Your Comment




More Software Questions..
What is the inputsplit in map reduce software?

What is software configuration management?

What Is Java Api For Xml-based Rpc (jax-rpc)?

How can you implement fine-grained auditing?

What is IBM’s simple explanation for Big Data’s four critical features?

What is static synchronized method in JDBC API? Give an example?

What does the NULLIF function do?

What happens if a start method is not invoked and the run method is directly invoked?

Should we override finalize method

what is the difference between mysql_fetch_array and mysql_fetch_object?

How will XML affect my document links?

Why to use Style Sheets?

What are Filters in MVC?

Can you explain Application layer in OSI model?

How to define new testplan attributes?

What are the minimum system requirements to run Photoshop? Is it possible to run Photoshop over linux?

Which oracle package is used to manage the oracle lock management services?

What is Latch Up? Explain Latch Up with cross section of a CMOS Inverter. How do you avoid Latch Up?

What is marker interface?

What types of partitioning are there for BW?



Search
Can you Answer!!
  • Q What is fishbucket or what is fishbucket index?
  • Q We have an application whose code can't be changed.can we improve its performance?
  • Q Which fruit is known as the oldest cultivated fruit?
  • Q Explain what is dental abscesses?
  • Q  I have multiple constructors defined in a class. Is it possible to call a constructor from another constructor’s body?
  • Q What is Test Data Questions related to Test Data.
  • Q Can any object be stored in a Viewstate?
  • Q Which singer-songwriter from Sale released the album ‘White Ladder’ in 1998?
  • Q What are the most important things in making a company successful and what is the role of an employee in its success ?
  • Q How do you create a new branch for a deadline step?
  • Q When defining a new ledger in the special purpose ledger, how can you retrospectively populate fi data for a previous fiscal year ?