人気の面接質問と回答・オンラインテスト
面接対策、オンラインテスト、チュートリアル、ライブ練習のための学習プラットフォーム

集中型学習パス、模擬テスト、面接向けコンテンツでスキルを伸ばしましょう。

WithoutBook は、分野別の面接質問、オンライン練習テスト、チュートリアル、比較ガイドをひとつのレスポンシブな学習空間にまとめています。

面接準備

C# 面接の質問と回答

質問 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?

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[]

役に立ちましたか? コメントを追加 コメントを見る
 

質問 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.

役に立ちましたか? コメントを追加 コメントを見る
 

ユーザー評価で最も役立つ内容:

著作権 © 2026、WithoutBook。