Answer Posted / rajkumar
hi..all you said in the above example is by considering
only 1 variable in a class i.e., string. if suppose i have
multiple variables/members in class how can use indexer
conscept.
i think u got my question. ur only assing 1 value through
object. what if i had other variables in class.??
please clarify my doubt. very urgent
| Is This Answer Correct ? | 4 Yes | 3 No |
Post New Answer View All Answers
Can mvc be used for desktop applications?
How does array sort work?
Is string passed by reference in c#?
How do I enforce const correctness in c#?
How to use the sreamReader class to read form a text file?
Is c# int immutable?
What is the difference between values and reference types?
What is the extension of c# file?
Explain get and set accessor properties?
What is Global Assembly Cache (GAC) and what is the purpose of it? (How to make an assembly to public? Steps) How more than one version of an assembly can keep in same place?
Where is c# compiler located?
Why we use dll in c#?
What is console read in c#?
What is a ienumerator?
How do you specify a custom attribute for the entire assembly?