Die meistgefragten Interviewfragen und Antworten sowie Online-Tests
Lernplattform fur Interviewvorbereitung, Online-Tests, Tutorials und Live-Ubungen

Baue deine Fahigkeiten mit fokussierten Lernpfaden, Probetests und interviewreifem Inhalt aus.

WithoutBook vereint themenbezogene Interviewfragen, Online-Ubungstests, Tutorials und Vergleichsleitfaden in einem responsiven Lernbereich.

Interview vorbereiten

C# Interviewfragen und Antworten

Frage 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.

Ist das hilfreich? Kommentar hinzufugen Kommentare ansehen
 

Frage 2. Can you store multiple data types in System.Array?

You never use System. Array directly. You can store items whose data type is equivalent to, or derived from, the data type of the array. This means that you can store multiple data types, provided that they derive from a common base type, or implement a common interface.

Example:
If you want to store different types, use System.Collections.ArrayList or object[]

Ist das hilfreich? Kommentar hinzufugen Kommentare ansehen
 

Frage 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.

Ist das hilfreich? Kommentar hinzufugen Kommentare ansehen
 

Frage 4. How can you sort the elements of the array in descending order?

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

Ist das hilfreich? Kommentar hinzufugen Kommentare ansehen
 

Frage 5. What’s the .NET datatype that allows the retrieval of data by a unique key?

HashTable.

Ist das hilfreich? Kommentar hinzufugen Kommentare ansehen
 

Am hilfreichsten laut Nutzern:

Copyright © 2026, WithoutBook.