C# String StartsWith()The C# StartsWith() method is used to check whether the beginning of this string instance matches the specified string. SignatureParameterstr: it is string type parameter which is used to check beginning of string. ReturnIt returns boolean value. C# String StartsWith() Method ExampleOutput: False True
Next TopicC# String SubString()
|