C# Class Expression, Data-Structures-and-Algorithms

Mostrar archivo Open project: TelerikAcademy/Data-Structures-and-Algorithms Class Usage Examples

Public Methods

Method Description
Evaluate ( string expression ) : double

Private Methods

Method Description
Brackets ( string expression, int &index ) : double
Number ( string expression, int &index ) : double
Power ( string expression, int &index ) : double
Product ( string expression, int &index ) : double
Sum ( string expression, int &index ) : double

Method Details

Evaluate() public static method

public static Evaluate ( string expression ) : double
expression string
return double