C# interview questions and answers By admin | December 7, 2003 1.What’s the advantage of using System.Text.StringBuilder over System.String? 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. 2.Can you store multiple data types in System.Array? No. 3.What’s the difference between the System.Array.CopyTo() and System.Array.Clone()? The first one performs a deep copy of the array, the second one is shallow. 4.How can you sort the elements of the array in descending order? By calling Sort() and then Reverse() methods. 5.What’s the .NET datatype that allows the retrieval of data by a unique key? HashTable. 6.What’s class SortedList underneath? A sorted HashTable. 7.Will finally block get executed if the exception had not occurred? Yes. 8.What’s the C# equivalent of C++ catch (…), which was a catch-all statement for any possible exception? A catch blo
Posts
- Get link
- X
- Other Apps
10 Common HR Round Interview Questions & Answers................... Congratulations! On crossing 2 to 3 rounds of job interviews and now it’s the turn of the last and final round of the job interview process. The last round is the HR round, this is generally the deciding interview round where you discuss about growth prospective and career milestones. In this round you either get your dream job or lurk behind because of some silly mistakes. To help you prepare well in advance for the Hr round of job interview process we have listed down 10 common questions that are asked. Go through them and find some good strategy suggestions to help you crack the interview like a pro. 1- Tell me about you? A1 - This question is asked in almost all job interviews. It is normally the most asked question because it sets the stage and gets you talking. Answer the question by simply talking about your relevant experience and education. No life history is required here. Q2- Explain why I should h