C-minor v0.0

OperatorEvaluation.ExplicitCast Method

Assembly: Topten.Cminor.Compiler.dll
Namespace: Topten.Cminor
Declaring Type: OperatorEvaluation

Explicitlyl cast a value to another

public static object ExplicitCast(object value, Type targetType);

Parameters

object value

The value to convert

Type targetType

The target type

Returns

object