HelperFunctions.AsPrettyString Method

An example of an extension method. Returns a human readable string representing an instance of MainClass.
<Extension()> _ 
Public Shared Function AsPrettyString( _ 
ByVal obj As MainClass
) As String
This language is not supported or no code example is available.
public static string AsPrettyString( 
this MainClass obj 
)
This language is not supported or no code example is available.
static member AsPrettyString :  
obj:MainClass 
-> string
This language is not supported or no code example is available.
[Extension()] 
public:  
static String^ AsPrettyString( 
MainClass^ obj 
)
This language is not supported or no code example is available.
public  
Extension() 
static function AsPrettyString( 
obj : MainClass 
) : String;
This language is not supported or no code example is available.

Parameters

obj
MainClass

Return Value

string

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1, 1.0

.NET Core

Supported in: 1.0, 1.1, 2.0

.NET Standard

Supported in: 2.0

Xamarin.Android

Supported in: 7.1

Portable Class Library

Supported in: Portable Class Library

In this article

Definition