×

Multiple-Choice Questions

Web Technologies MCQs

Computer Science Subjects MCQs

Databases MCQs

Programming MCQs

Testing Software MCQs

Digital Marketing Subjects MCQs

Cloud Computing Softwares MCQs

AI/ML Subjects MCQs

Engineering Subjects MCQs

Office Related Programs MCQs

Management MCQs

More

What is String.Length in C#?

57. What is String.Length in C#?

  1. Property
  2. Method
  3. Constructor
  4. Both A and B

Answer: A) Property

Explanation:

The String.Length is property of System.String class that is used to get the number of characters in the current String object.

Syntax of String.Length property is:

public int Length { get; }

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.