StringBuilder is a simplistic demo demonstrating how to use the System.Text.StringBuilder class from Delphi. This demo also serves as a quick start example for using CrossTalk.
A window will appear like this:
StringBuilder is a console application. However CrossTalk is fully usable in VCL Forms applications as well. StringBuilder is a simplistic demo designed as the first demo to be simple as possible. The code for StringBuilder is Delphi code, however closely mimics the equivalent C# or VB.NET code.
Instead of using a using clause in C#, simpy add the generated .pas file name to the uses clause in Delphi. In the case of StringBuilder, you can see CTmscorlib in the uses clause.