CSharpProcedural.

ValidateMemberName(string, bool) Method

Summary

Converts the specified string into a valid member name by skipping any invalid characters or replacing them with underscores.

Syntax

public static string ValidateMemberName(string name, bool replaceWithUnderscores = false)

Parameters

Name Type Description
name string
replaceWithUnderscores bool

Return Value

Type Description
string