What are indexers in c# .net?
Answer / Shashi Yadav
Indexers allow you to access elements of an object as if they were part of an array, using square brackets. In other words, they enable properties that behave like arrays. Here's an example: {"example": "public int this[int index] {
get {
// Code for getting element by index
}
set {
// Code for setting element by index
}}"}
| Is This Answer Correct ? | 0 Yes | 0 No |
In a site to turn off cookies for one page which method is followed?
What is Dispose method in .NET ?
9 Answers 247Customer, KAP, TCS,
What is a view? What is the use of it?
What language do desktop applications use?
Can you see a loop recorder?
Can you specify an access modifier for an enumeration?
What is namespace in oop?
How To Maintain Transaction In C#?
1 Answers Phoenix Technologies,
How do I declare inout arguments in c#?
What is difference between list and dictionary in c#?
What is the boxing and unboxing in c#?
What is xaml in c#?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)