C#.NET Interview questions


Total available count: 70
Subject - Microsoft Technologies
Subsubject - C#.NET

Differences between Properties and Indexers in C#.NET?

Properties:
1. Properties can be identified by its name
2. These can be static or an instance of a member
3. Get accessor has no formal parameters
4. A set accessor of a property contains the implicit value parameters
 
Indexers:
1. Indexers can be verified by this keyword
2. These can't be static
3. Get accessor has formal parameters
4. A set accessor of an indexer has the same formal parameters that indexer does have



Next 5 interview question(s)

1
Explain about Indexers in C#.NET?
2
Unsafe keyword in C#.NET?
3
Partial classes and Partial methods in C#.NET?
4
this and base keywords in C#.NET?
5
Static members and Instance members in C#.NET?