Generates a CSharp like type name string.

Namespace: VVVV.Utils.Reflection
Assembly: VVVV.Utils (in VVVV.Utils.dll) Version: 1.0.4694.10871

Syntax

C#
public static string GetCSharpName(
	this Type type,
	bool includeNamespace
)

Parameters

type
Type: System..::..Type
A .Net Type
includeNamespace
Type: System..::..Boolean
If true, the return string comes with namespace prefix.

Return Value

Type name as one would write it in CSharp

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Type. When you use instance method syntax to call this method, omit the first parameter. For more information, see or .

See Also