Logo F2FInterview

C# Interview Questions

Q   |   QA
‹‹ previous123456789

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.

No.

The first one performs a deep copy of the array, the second one is shallow.

By calling Sort() and then Reverse() methods.

HashTable.

‹‹ previous123456789

In order to link this F2FInterview's page as Reference on your website or Blog, click on below text area and pres (CTRL-C) to copy the code in clipboard or right click then copy the following lines after that paste into your website or Blog.

Get Reference Link To This Page: (copy below code by (CTRL-C) and paste into your website or Blog)
HTML Rendering of above code: