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

Discussion :: Strings - C#

  1. Which of the following will be the correct output for the C#.NET code snippet given below?

    String s1="Kicit"; Console.Write(s1.IndexOf('c') + " ");  Console.Write(s1.Length);

  2. A.
    3 6
    B.
    2 5
    C.
    3 5
    D.
    2 6
    E.
    3 7

    View Answer

    Workspace

    Answer : Option B

    Explanation :

    No answer description available for this question.


Be The First To Comment