| SystemExtensionsFirstLetterToUpper Method |
Returns the specified string, converting the first letter to upper case.
Namespace: Slash.SystemExt.UtilsAssembly: Slash.System (in Slash.System.dll) Version: 1.0.5843.24176
Syntax public static string FirstLetterToUpper(
this string s
)
<ExtensionAttribute>
Public Shared Function FirstLetterToUpper (
s As String
) As String
public:
[ExtensionAttribute]
static String^ FirstLetterToUpper(
String^ s
)
[<ExtensionAttribute>]
static member FirstLetterToUpper :
s : string -> string
Parameters
- s
- Type: SystemString
String to convert the first letter of.
Return Value
Type:
StringSpecified string with first letter in upper case.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
String. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also