C# Class SGDE.Content.Code.Library.Boolean

A Boolean object is a data type that can have one of two values, either true or false, used for logical operations.
Inheritance: Object
显示文件 Open project: sgdc/sgdc-old

Public Methods

Method Description
Boolean ( ) : System

Creates a Boolean object with the value of false.

Boolean ( Object expression = null ) : System

Creates a Boolean object with the specified value.

toString ( ) : String

Returns the string representation ("true" or "false") of the Boolean object.

Private Methods

Method Description
Boolean ( bool b ) : System

Method Details

Boolean() public method

Creates a Boolean object with the value of false.
public Boolean ( ) : System
return System

Boolean() public method

Creates a Boolean object with the specified value.
public Boolean ( Object expression = null ) : System
expression Object Any expression.
return System

toString() public method

Returns the string representation ("true" or "false") of the Boolean object.
public toString ( ) : String
return String