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 derived classes have greater accessibility than their base types?
Explain the top reason to use c# language?
Why do we Need of static class in c#?
What is the advantage of constructor?
What is literal control
Is c# and c sharp same?
What is an enumerator c#?
What is access modifier in c#?
What is use of FormBoarderStyle Propertie
Give an example of a ctype.
Why do we need events in c#?
What does int32 mean?
How do I develop c# apps?
Can a static class have a constructor c#?
What is meaning of type safety in c#?