CodeBlockToString Method
Returns a string representation of the CodeBlock object, including the programming language
and the corresponding code in a formatted manner.
Namespace: GenerativeAI.CoreAssembly: GenerativeAI (in GenerativeAI.dll) Version: 2.0.2+aa51399cad6d90cc71158d589a6268608b3c1893
public override string ToString()
Return Value
String
A string that contains the language of the code and the formatted code content.