Home » Posts tagged "Dot Net Interview Question"

Tag Archives: Dot Net Interview Question

C# Interview Question Part – 2

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. Can you store multiple data types in System.Array? No. 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. How can you sort the elements of the [...]

Tags: , ,