Home / C# Programming / Strings - C# :: Discussion

Discussion :: Strings - C#

  1. Which of the following statements about a String is correct?

  2. A.
    A String is created on the stack.
    B.
    Whether a String is created on the stack or the heap depends on the length of the String.
    C.
    A String is a primitive.
    D.
    A String can be created by using the statement String s1 = new String;
    E.
    A String is created on the heap.

    View Answer

    Workspace

    Answer : Option E

    Explanation :

    No answer description available for this question.


Be The First To Comment