Without Book Interview Questions and Answers | Online Test | Moct Test
Download Android App in your Android Device from Google Play Store
- Search for "Withoutbook Practice Exam Test" in Mobile/Tablet Play Store
Institute Training Search by Name or Email

Exams Attended

Make Homepage

Bookmark this page

Subscribe Email Address

C# Interview Questions and Answers

Ques 1. Whatís the advantage of using System.Text.StringBuilder over System.String?

Ans. StringBuilder is more efficient in the cases, where a lot of manipulation is done to the text. Strings are immutable, so each time itís being operated on, a new instance is created.

Is it helpful? Add Comment View Comments
Ques 2. Can you store multiple data types in System.Array?
Ans. No.
Is it helpful? Add Comment View Comments
Ques 3. Whatís the difference between the System.Array.CopyTo() and System.Array.Clone()?
Ans. The first one performs a deep copy of the array, the second one is shallow.
Is it helpful? Add Comment View Comments
Ques 4. How can you sort the elements of the array in descending order?
Ans. By calling Sort() and then Reverse() methods.
Is it helpful? Add Comment View Comments
Ques 5. Whatís the .NET datatype that allows the retrieval of data by a unique key?
Ans. HashTable.
Is it helpful? Add Comment View Comments

Most helpful rated by users:

©2016 WithoutBook