Cat<T,K> Constructors

Definition

Overloads

Cat<T,K>()

Default constructor.

Cat<T,K>(T)

Constructor with one generic parameter.

Cat<T,K>(String, Int32, String, Boolean)

It's a complex constructor. The parameter will have some attributes.

Cat<T,K>()

Default constructor.

public Cat ();

Applies to

Cat<T,K>(T)

Constructor with one generic parameter.

public Cat (T ownType);

Parameters

ownType
T

This parameter type defined by class.

Applies to

Cat<T,K>(String, Int32, String, Boolean)

It's a complex constructor. The parameter will have some attributes.

public Cat (string nickName, out int age, string realName, bool isHealthy);

Parameters

nickName
String

it's string type.

age
Int32

It's an out and ref parameter.

realName
String

It's an out paramter.

isHealthy
Boolean

It's an in parameter.

Applies to