CodeIdentifier.MakeCamel Method (String)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

This API supports the product infrastructure and is not intended to be used directly from your code.

Produces a camel-case string from an input string.

Namespace:   System.Xml.Serialization
Assembly:  System.Xml (in System.Xml.dll)

public static string MakeCamel(
	string identifier


Type: System.String

The name of a code entity, such as a method parameter, typically taken from an XML element or attribute name.

Return Value

Type: System.String

A camel-case version of the parameter string.

The MakeCamel method converts the initial character from an upper-case to lower-case letter, if necessary.

You do not need to call this method directly.

.NET Framework
Available since 1.1
Return to top