Skip to content

ParameterKindExtensions.ToCSharpKeywords Method ​

Definition ​

Returns the equivalent of the specified ParameterKind in C# keywords, for example, "params" for Params. The empty string is returned for Normal.

c#
public static string ToCSharpKeywords(this ParameterKind parameterKind);

View source

Parameters ​

NameTypeDescription
parameterKindParameterKindThe ParameterKind.

Returns ​

String

The equivalent C# keywords.