CSharp.TryGetOperatorSymbol Method
- Namespace
- Kampute.DocToolkit.Languages
- Assembly
- Kampute.DocToolkit.dll
Definition
Attempts to get the operator symbol for a given operator name.
public static bool TryGetOperatorSymbol(string operatorName, [NotNullWhen(true)] out string symbol)Parameters
operatorNamestring- The operator name to look up (such as "Equality" or "Addition").
symbolstring- When this method returns, contains the operator symbol if found; otherwise,
null.
