• Top Posts

    What is a String? What are the properties of a String Class in C#?

    •  String is a collection of char objects. We can also declare string variables in c#.

           EX : string name = “C# Questions”;
                  A string class in C# represents a string.

    • The properties of String class are Chars and Length.
    • Chars get the Char object in the current String.
    • Length gets the number of objects in the current String.

    No comments

    Post Top Ad

    ad728

    Post Bottom Ad

    ad728